chore: package.json clean-up (#1030)

* fix: clean-up of package.json and exclude swc/core-linux-x64 libs

* chore: try remove node_modules/@swc/core-linux-x64-gnu/swc.linux-x64-gnu.node

* Update apps/trading/netlify.toml
This commit is contained in:
m.ray 2022-08-15 14:57:47 +02:00 committed by GitHub
parent 50a8bdf265
commit 83982ee3d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 13 deletions

View File

@ -0,0 +1,2 @@
[functions]
included_files = ["!node_modules/@swc/**/*"]

View File

@ -51,6 +51,15 @@
"options": { "options": {
"lintFilePatterns": ["apps/trading/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": ["apps/trading/**/*.{ts,tsx,js,jsx}"]
} }
},
"build-netlify": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
"cp apps/trading/netlify.toml netlify.toml",
"nx build trading"
]
}
} }
}, },
"tags": [] "tags": []

View File

@ -14,13 +14,9 @@
"private": true, "private": true,
"dependencies": { "dependencies": {
"@apollo/client": "^3.5.8", "@apollo/client": "^3.5.8",
"@babel/plugin-proposal-export-default-from": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/runtime": "^7.18.9",
"@blueprintjs/icons": "^3.32.0", "@blueprintjs/icons": "^3.32.0",
"@emotion/react": "^11.9.0", "@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1", "@emotion/styled": "^11.8.1",
"@nrwl/next": "13.10.3",
"@radix-ui/react-accordion": "^0.1.6", "@radix-ui/react-accordion": "^0.1.6",
"@radix-ui/react-dialog": "^0.1.5", "@radix-ui/react-dialog": "^0.1.5",
"@radix-ui/react-dropdown-menu": "^0.1.6", "@radix-ui/react-dropdown-menu": "^0.1.6",
@ -34,7 +30,6 @@
"@sentry/nextjs": "^6.19.3", "@sentry/nextjs": "^6.19.3",
"@sentry/react": "^6.19.2", "@sentry/react": "^6.19.2",
"@sentry/tracing": "^6.19.2", "@sentry/tracing": "^6.19.2",
"@testing-library/user-event": "^14.4.1",
"@walletconnect/ethereum-provider": "^1.7.5", "@walletconnect/ethereum-provider": "^1.7.5",
"@web3-react/core": "8.0.20-beta.0", "@web3-react/core": "8.0.20-beta.0",
"@web3-react/metamask": "8.0.16-beta.0", "@web3-react/metamask": "8.0.16-beta.0",
@ -44,7 +39,6 @@
"allotment": "^1.14.5", "allotment": "^1.14.5",
"alpha-lyrae": "vegaprotocol/alpha-lyrae", "alpha-lyrae": "vegaprotocol/alpha-lyrae",
"apollo": "^2.33.9", "apollo": "^2.33.9",
"autoprefixer": "^10.4.2",
"bignumber.js": "^9.0.2", "bignumber.js": "^9.0.2",
"buffer": "^6.0.3", "buffer": "^6.0.3",
"classnames": "^2.3.1", "classnames": "^2.3.1",
@ -53,7 +47,6 @@
"duration-js": "^4.0.0", "duration-js": "^4.0.0",
"env-cmd": "^10.1.0", "env-cmd": "^10.1.0",
"ethers": "^5.6.0", "ethers": "^5.6.0",
"faker": "^5.5.3",
"graphql": "^15.7.2", "graphql": "^15.7.2",
"graphql-ws": "^5.6.3", "graphql-ws": "^5.6.3",
"i18next": "^20.3.5", "i18next": "^20.3.5",
@ -63,7 +56,6 @@
"lodash": "^4.17.21", "lodash": "^4.17.21",
"next": "12.0.9", "next": "12.0.9",
"pennant": "^0.4.12", "pennant": "^0.4.12",
"postcss": "^8.4.6",
"react": "18.2.0", "react": "18.2.0",
"react-copy-to-clipboard": "^5.0.4", "react-copy-to-clipboard": "^5.0.4",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
@ -77,9 +69,6 @@
"react-window": "^1.8.7", "react-window": "^1.8.7",
"react-window-infinite-loader": "^1.0.7", "react-window-infinite-loader": "^1.0.7",
"recharts": "^2.1.2", "recharts": "^2.1.2",
"regenerator-runtime": "0.13.7",
"tailwindcss": "^3.0.23",
"tslib": "^2.0.0",
"uuid": "^8.3.2", "uuid": "^8.3.2",
"web-vitals": "^2.1.4", "web-vitals": "^2.1.4",
"zod": "^3.17.3", "zod": "^3.17.3",
@ -97,6 +86,7 @@
"@nrwl/eslint-plugin-nx": "13.10.3", "@nrwl/eslint-plugin-nx": "13.10.3",
"@nrwl/jest": "13.10.3", "@nrwl/jest": "13.10.3",
"@nrwl/linter": "13.10.3", "@nrwl/linter": "13.10.3",
"@nrwl/next": "13.10.3",
"@nrwl/nx-cloud": "13.3.1", "@nrwl/nx-cloud": "13.3.1",
"@nrwl/react": "13.10.3", "@nrwl/react": "13.10.3",
"@nrwl/storybook": "13.10.3", "@nrwl/storybook": "13.10.3",
@ -113,6 +103,7 @@
"@svgr/webpack": "^5.4.0", "@svgr/webpack": "^5.4.0",
"@testing-library/jest-dom": "^5.16.2", "@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "13.3.0", "@testing-library/react": "13.3.0",
"@testing-library/user-event": "^14.4.1",
"@types/classnames": "^2.3.1", "@types/classnames": "^2.3.1",
"@types/faker": "^5.5.8", "@types/faker": "^5.5.8",
"@types/jest": "27.4.1", "@types/jest": "27.4.1",
@ -129,6 +120,7 @@
"@types/uuid": "^8.3.4", "@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "5.32.0", "@typescript-eslint/eslint-plugin": "5.32.0",
"@typescript-eslint/parser": "5.32.0", "@typescript-eslint/parser": "5.32.0",
"autoprefixer": "^10.4.2",
"babel-jest": "27.5.1", "babel-jest": "27.5.1",
"babel-loader": "8.1.0", "babel-loader": "8.1.0",
"cypress": "^10.2.0", "cypress": "^10.2.0",
@ -145,6 +137,7 @@
"eslint-plugin-react": "7.27.0", "eslint-plugin-react": "7.27.0",
"eslint-plugin-react-hooks": "4.3.0", "eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-unicorn": "^41.0.0", "eslint-plugin-unicorn": "^41.0.0",
"faker": "^5.5.3",
"glob": "^8.0.1", "glob": "^8.0.1",
"husky": "^7.0.4", "husky": "^7.0.4",
"jest": "27.2.3", "jest": "27.2.3",
@ -155,15 +148,19 @@
"npmlog": "^6.0.2", "npmlog": "^6.0.2",
"nx": "13.10.1", "nx": "13.10.1",
"prettier": "^2.5.1", "prettier": "^2.5.1",
"postcss": "^8.4.6",
"react-test-renderer": "17.0.2", "react-test-renderer": "17.0.2",
"recast": "^0.21.1", "recast": "^0.21.1",
"regenerator-runtime": "0.13.7",
"replace-in-file": "^6.3.2", "replace-in-file": "^6.3.2",
"resize-observer-polyfill": "^1.5.1", "resize-observer-polyfill": "^1.5.1",
"sass": "1.49.9", "sass": "1.49.9",
"storybook-addon-themes": "^6.1.0", "storybook-addon-themes": "^6.1.0",
"ts-jest": "27.0.5", "ts-jest": "27.0.5",
"tailwindcss": "^3.0.23",
"type-fest": "^2.12.2", "type-fest": "^2.12.2",
"typescript": "~4.5.2", "typescript": "~4.5.2",
"tslib": "^2.0.0",
"url-loader": "^3.0.0" "url-loader": "^3.0.0"
}, },
"lint-staged": { "lint-staged": {

View File

@ -484,7 +484,7 @@
"@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6"
"@babel/plugin-syntax-dynamic-import" "^7.8.3" "@babel/plugin-syntax-dynamic-import" "^7.8.3"
"@babel/plugin-proposal-export-default-from@^7.12.1", "@babel/plugin-proposal-export-default-from@^7.18.10": "@babel/plugin-proposal-export-default-from@^7.12.1":
version "7.18.10" version "7.18.10"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.10.tgz#091f4794dbce4027c03cf4ebc64d3fb96b75c206" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.10.tgz#091f4794dbce4027c03cf4ebc64d3fb96b75c206"
integrity sha512-5H2N3R2aQFxkV4PIBUR/i7PUSwgTZjouJKzI8eKswfIjT0PhvzkPn0t0wIS5zn6maQuvtT0t1oHtMUz61LOuow== integrity sha512-5H2N3R2aQFxkV4PIBUR/i7PUSwgTZjouJKzI8eKswfIjT0PhvzkPn0t0wIS5zn6maQuvtT0t1oHtMUz61LOuow==
@ -1077,7 +1077,7 @@
"@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-create-regexp-features-plugin" "^7.18.6"
"@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6"
"@babel/preset-env@^7.12.1", "@babel/preset-env@^7.12.11", "@babel/preset-env@^7.15.0", "@babel/preset-env@^7.16.0", "@babel/preset-env@^7.18.10", "@babel/preset-env@^7.18.2": "@babel/preset-env@^7.12.1", "@babel/preset-env@^7.12.11", "@babel/preset-env@^7.15.0", "@babel/preset-env@^7.16.0", "@babel/preset-env@^7.18.2":
version "7.18.10" version "7.18.10"
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.18.10.tgz#83b8dfe70d7eea1aae5a10635ab0a5fe60dfc0f4" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.18.10.tgz#83b8dfe70d7eea1aae5a10635ab0a5fe60dfc0f4"
integrity sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA== integrity sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA==