Skip to content

Commit

Permalink
update package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed Feb 20, 2023
1 parent 92c60b2 commit 7759d5f
Show file tree
Hide file tree
Showing 27 changed files with 9,414 additions and 13,213 deletions.
6 changes: 3 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packages/*/node_modules
packages/*/dist
docs/
build/
data_wizard/static/
rest_pandas/static/
packages/analyst/index.js
9 changes: 7 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@
"ecmaFeatures": {
"jsx": true
},
"babelOptions": {
"plugins": ["@babel/plugin-syntax-import-assertions"]
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["react", "jest"],
"rules": {}
"plugins": ["react", "jest", "import"],
"rules": {
"import/extensions": [2, "ignorePackages"]
}
}
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ jobs:
- name: Install dependencies
run: |
npm ci
npm run lerna exec npm ci
npm run bootstrap
npm run build
- name: Lint with ESLint
run: npm run lint
Expand Down
11 changes: 11 additions & 0 deletions babel.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
plugins: [["@babel/plugin-transform-react-jsx", { useSpread: true }]],
env: {
test: {
presets: [
["@babel/preset-env", { targets: { node: "current" } }],
"@babel/preset-react",
],
},
},
};
11 changes: 0 additions & 11 deletions babel.config.js

This file was deleted.

6 changes: 6 additions & 0 deletions jest.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
testMatch: ["**/__tests__/**/*.js?(x)"],
transformIgnorePatterns: [
"/node_modules/(?!@wq|redux-orm|d3|internmap|delaunator|robust-predicates)",
],
};
6 changes: 0 additions & 6 deletions jest.config.js

This file was deleted.

21,355 changes: 9,262 additions & 12,093 deletions package-lock.json

Large diffs are not rendered by default.

70 changes: 36 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,47 @@
{
"name": "django-rest-pandas",
"type": "module",
"scripts": {
"bootstrap": "lerna bootstrap",
"lerna": "lerna",
"test": "lerna run test",
"build": "lerna run build",
"test": "npm test --workspaces",
"build": "npm run build --workspaces --if-present",
"jest": "jest --verbose",
"rollup": "rollup",
"prettier": "prettier --write .",
"lint": "eslint *.js packages"
"lint": "eslint ."
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/eslint-parser": "^7.15.4",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.14.5",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-replace": "^3.0.0",
"@wq/rollup-plugin": "^1.3.0-beta.3",
"babel-eslint": "^10.0.3",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^23.7.0",
"eslint-plugin-react": "^7.25.1",
"jest": "^27.2.0",
"jest-fetch-mock": "^3.0.1",
"lerna": "^3.20.2",
"prettier": "^2.4.0",
"rollup": "^2.56.3",
"rollup-plugin-terser": "^7.0.2"
},
"lerna": {
"packages": [
"packages/*"
],
"version": "independent"
"@babel/cli": "^7.20.7",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@babel/runtime": "^7.20.7",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.3.0",
"babel-plugin-direct-import": "^1.0.0",
"eslint": "^8.32.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-react": "^7.32.1",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.4.3",
"jest-fetch-mock": "^3.0.3",
"prettier": "^2.8.3",
"rollup": "^3.10.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-ignore": "^1.0.10"
},
"prettier": {
"tabWidth": 4,
"singleQuote": true
}
"tabWidth": 4
},
"workspaces": [
"packages/analyst",
"packages/chart",
"packages/pandas"
]
}
3 changes: 3 additions & 0 deletions packages/analyst/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
index.js
index.js.map
version.js
Loading

0 comments on commit 7759d5f

Please sign in to comment.