Skip to content

Commit 7759d5f

Browse files
committed
update package versions
1 parent 92c60b2 commit 7759d5f

27 files changed

+9414
-13213
lines changed

Diff for: .eslintignore

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
packages/*/node_modules
2-
packages/*/dist
1+
docs/
32
build/
4-
data_wizard/static/
3+
rest_pandas/static/
4+
packages/analyst/index.js

Diff for: .eslintrc.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,14 @@
1818
"ecmaFeatures": {
1919
"jsx": true
2020
},
21+
"babelOptions": {
22+
"plugins": ["@babel/plugin-syntax-import-assertions"]
23+
},
2124
"ecmaVersion": 2018,
2225
"sourceType": "module"
2326
},
24-
"plugins": ["react", "jest"],
25-
"rules": {}
27+
"plugins": ["react", "jest", "import"],
28+
"rules": {
29+
"import/extensions": [2, "ignorePackages"]
30+
}
2631
}

Diff for: .github/workflows/test.yml

-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ jobs:
8787
- name: Install dependencies
8888
run: |
8989
npm ci
90-
npm run lerna exec npm ci
91-
npm run bootstrap
9290
npm run build
9391
- name: Lint with ESLint
9492
run: npm run lint

Diff for: babel.config.cjs

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = {
2+
plugins: [["@babel/plugin-transform-react-jsx", { useSpread: true }]],
3+
env: {
4+
test: {
5+
presets: [
6+
["@babel/preset-env", { targets: { node: "current" } }],
7+
"@babel/preset-react",
8+
],
9+
},
10+
},
11+
};

Diff for: babel.config.js

-11
This file was deleted.

Diff for: jest.config.cjs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
testMatch: ["**/__tests__/**/*.js?(x)"],
3+
transformIgnorePatterns: [
4+
"/node_modules/(?!@wq|redux-orm|d3|internmap|delaunator|robust-predicates)",
5+
],
6+
};

Diff for: jest.config.js

-6
This file was deleted.

Diff for: package-lock.json

+9,262-12,093
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+36-34
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,47 @@
11
{
22
"name": "django-rest-pandas",
3+
"type": "module",
34
"scripts": {
4-
"bootstrap": "lerna bootstrap",
5-
"lerna": "lerna",
6-
"test": "lerna run test",
7-
"build": "lerna run build",
5+
"test": "npm test --workspaces",
6+
"build": "npm run build --workspaces --if-present",
87
"jest": "jest --verbose",
98
"rollup": "rollup",
109
"prettier": "prettier --write .",
11-
"lint": "eslint *.js packages"
10+
"lint": "eslint ."
1211
},
1312
"devDependencies": {
14-
"@babel/core": "^7.8.4",
15-
"@babel/eslint-parser": "^7.15.4",
16-
"@babel/plugin-transform-react-jsx": "^7.14.9",
17-
"@babel/preset-env": "^7.8.4",
18-
"@babel/preset-react": "^7.14.5",
19-
"@rollup/plugin-babel": "^5.3.0",
20-
"@rollup/plugin-commonjs": "^20.0.0",
21-
"@rollup/plugin-node-resolve": "^13.0.4",
22-
"@rollup/plugin-replace": "^3.0.0",
23-
"@wq/rollup-plugin": "^1.3.0-beta.3",
24-
"babel-eslint": "^10.0.3",
25-
"eslint": "^6.8.0",
26-
"eslint-plugin-jest": "^23.7.0",
27-
"eslint-plugin-react": "^7.25.1",
28-
"jest": "^27.2.0",
29-
"jest-fetch-mock": "^3.0.1",
30-
"lerna": "^3.20.2",
31-
"prettier": "^2.4.0",
32-
"rollup": "^2.56.3",
33-
"rollup-plugin-terser": "^7.0.2"
34-
},
35-
"lerna": {
36-
"packages": [
37-
"packages/*"
38-
],
39-
"version": "independent"
13+
"@babel/cli": "^7.20.7",
14+
"@babel/eslint-parser": "^7.19.1",
15+
"@babel/plugin-transform-runtime": "^7.19.6",
16+
"@babel/preset-env": "^7.20.2",
17+
"@babel/preset-react": "^7.18.6",
18+
"@babel/preset-typescript": "^7.18.6",
19+
"@babel/runtime": "^7.20.7",
20+
"@rollup/plugin-babel": "^6.0.3",
21+
"@rollup/plugin-commonjs": "^24.0.0",
22+
"@rollup/plugin-json": "^6.0.0",
23+
"@rollup/plugin-node-resolve": "^15.0.1",
24+
"@rollup/plugin-replace": "^5.0.2",
25+
"@rollup/plugin-terser": "^0.3.0",
26+
"babel-plugin-direct-import": "^1.0.0",
27+
"eslint": "^8.32.0",
28+
"eslint-plugin-import": "^2.27.5",
29+
"eslint-plugin-jest": "^27.2.1",
30+
"eslint-plugin-react": "^7.32.1",
31+
"jest": "^29.3.1",
32+
"jest-environment-jsdom": "^29.4.3",
33+
"jest-fetch-mock": "^3.0.3",
34+
"prettier": "^2.8.3",
35+
"rollup": "^3.10.0",
36+
"rollup-plugin-analyzer": "^4.0.0",
37+
"rollup-plugin-ignore": "^1.0.10"
4038
},
4139
"prettier": {
42-
"tabWidth": 4,
43-
"singleQuote": true
44-
}
40+
"tabWidth": 4
41+
},
42+
"workspaces": [
43+
"packages/analyst",
44+
"packages/chart",
45+
"packages/pandas"
46+
]
4547
}

Diff for: packages/analyst/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
index.js
2+
index.js.map
3+
version.js

0 commit comments

Comments
 (0)