Skip to content

Commit

Permalink
feat: Update and cleanup pnpm dependencies (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
pziemkowski authored Sep 22, 2023
1 parent 3c0b8a1 commit 9d2fa78
Show file tree
Hide file tree
Showing 150 changed files with 8,771 additions and 15,357 deletions.
2 changes: 1 addition & 1 deletion docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ services:
- BE_ENDPOINT_URL=http://backend:5001/
volumes:
- ./packages/internal/local-ws-server/:/app/
- /app/node_modules
- /app/node_modules/
18 changes: 1 addition & 17 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,6 @@
"appsDir": "packages",
"libsDir": "packages"
},
"generators": {
"@nx/react": {
"application": {
"style": "styled-components",
"linter": "eslint",
"bundler": "webpack",
"babel": true
},
"component": {
"style": "styled-components"
},
"library": {
"style": "styled-components",
"linter": "eslint"
}
}
},
"generators": {},
"defaultProject": "core"
}
151 changes: 88 additions & 63 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,87 +4,112 @@
"license": "MIT",
"private": true,
"scripts": {
"aws-vault:shell": "aws-vault exec $AWS_VAULT_PROFILE -- $SHELL",
"login:qa": "env-cmd -f .env.qa npm run aws-vault:shell",
"prepare": "husky install",
"postinstall": "pnpm nx run cli:build"
"postinstall": "node packages/internal/cli/scripts/build.js"
},
"devDependencies": {
"@apollo/client": "^3.7.9",
"@apollo/rover": "^0.12.2",
"@babel/preset-react": "^7.14.5",
"@apollo/client": "^3.8.4",
"@apollo/rover": "^0.19.0",
"@babel/preset-react": "^7.22.15",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@nx/devkit": "16.3.2",
"@nx/eslint-plugin": "16.3.2",
"@nx/jest": "16.3.2",
"@nx/js": "16.3.2",
"@nx/linter": "16.3.2",
"@nx/node": "16.3.2",
"@nx/plugin": "16.3.2",
"@nx/react": "16.3.2",
"@nx/web": "16.3.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@nx/devkit": "16.8.1",
"@nx/eslint-plugin": "16.8.1",
"@nx/jest": "16.8.1",
"@nx/js": "16.8.1",
"@nx/linter": "16.8.1",
"@nx/node": "16.8.1",
"@nx/plugin": "16.8.1",
"@nx/react": "16.8.1",
"@nx/web": "16.8.1",
"@nx/webpack": "16.8.1",
"@sb/cli": "*",
"@sb/core": "*",
"@svgr/webpack": "^6.1.2",
"@tailwindcss/typography": "^0.5.9",
"@storybook/addon-actions": "^7.4.3",
"@storybook/react": "^7.4.3",
"@svgr/webpack": "^8.1.0",
"@tailwindcss/typography": "^0.5.10",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "14.0.0",
"@types/gtag.js": "^0.0.12",
"@types/jest": "29.4.4",
"@types/node": "18.14.2",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"@types/react-is": "17.0.3",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.1",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@types/gtag.js": "^0.0.14",
"@types/jest": "^29.5.5",
"@types/node": "^18.15.3",
"@types/ramda": "^0.28.25",
"@types/react": "18.2.22",
"@types/react-dom": "18.2.7",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "5.3.3",
"@types/styled-components": "5.1.26",
"@typescript-eslint/eslint-plugin": "5.59.9",
"@typescript-eslint/parser": "5.59.9",
"babel-jest": "29.4.3",
"babel-plugin-relay": "^14.1.0",
"babel-plugin-styled-components": "1.10.7",
"env-cmd": "^10.1.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-cypress": "^2.10.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.32.2",
"@types/react-test-renderer": "^18.0.2",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"@typescript-eslint/scope-manager": "5.62.0",
"@vitejs/plugin-react": "^4.0.4",
"aws-cdk": "^2.96.2",
"aws-cdk-lib": "^2.96.2",
"babel-jest": "29.7.0",
"constructs": "^10.2.70",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-formatjs": "^4.10.5",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"graphql": "^16.6.0",
"husky": "^8.0.0",
"jest": "29.4.3",
"jest-environment-jsdom": "29.4.3",
"jsonc-eslint-parser": "^2.1.0",
"lint-staged": "^10.5.4",
"nx": "16.3.2",
"nx-cloud": "16.0.5",
"prettier": "^2.6.2",
"react-refresh": "^0.10.0",
"string-argv": "^0.3.2",
"tailwindcss": "^3.3.2",
"tailwindcss-animate": "^1.0.5",
"ts-jest": "29.1.0",
"eslint-plugin-testing-library": "^6.0.1",
"graphql": "^16.8.1",
"husky": "^8.0.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-matcher-utils": "^29.7.0",
"jest-watch-typeahead": "^2.2.2",
"lint-staged": "^14.0.1",
"nx": "16.8.1",
"nx-cloud": "16.4.0",
"plop": "^4.0.0",
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.4",
"tailwindcss": "^3.3.3",
"tailwindcss-animate": "^1.0.7",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"tsconfig-paths": "^4.1.2",
"tslib": "^2.3.0",
"typescript": "5.0.4",
"url-loader": "^4.1.1",
"@sb/cli": "*"
"tsconfig-paths": "^4.2.0",
"tslib": "^2.6.2",
"typescript": "5.2.2",
"vite": "^4.4.9",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-svgr": "^3.3.0",
"vite-tsconfig-paths": "^4.2.1"
},
"dependencies": {
"@aws-sdk/client-cloudformation": "^3.414.0",
"@aws-sdk/client-codebuild": "^3.414.0",
"@aws-sdk/client-ecr": "^3.414.0",
"@aws-sdk/client-ecs": "^3.414.0",
"@aws-sdk/client-iam": "^3.414.0",
"@aws-sdk/client-s3": "^3.417.0",
"@aws-sdk/client-ses": "^3.414.0",
"@aws-sdk/client-sfn": "^3.414.0",
"@aws-sdk/client-sts": "^3.414.0",
"@aws-sdk/client-ses": "^3.414.0",
"@aws-sdk/client-s3": "^3.414.0",
"@aws-sdk/client-codebuild": "^3.414.0",
"@iconify-icons/ion": "^1.2.10",
"@iconify/react": "^4.1.1",
"@sentry/react": "^7.70.0",
"@supercharge/strings": "^2.0.0",
"ramda": "^0.28.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-is": "18.2.0",
"react-router-dom": "6.11.2",
"styled-components": "5.3.6"
"react-helmet-async": "^1.3.0",
"react-hook-form": "^7.46.1",
"react-intl": "^6.4.7",
"react-loading-skeleton": "^3.3.1",
"react-markdown": "^8.0.7",
"react-router": "^6.16.0",
"react-router-dom": "6.16.0",
"regenerator-runtime": "^0.14.0",
"styled-components": "6.0.8"
}
}
3 changes: 0 additions & 3 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
"@sb/infra-core": "*",
"@sb/infra-shared": "*",
"@sb/tools": "*",
"aws-cdk": "^2.84.0",
"aws-cdk-lib": "^2.84.0",
"constructs": "^10.1.225",
"fs-extra": "^11.1.1"
}
}
4 changes: 2 additions & 2 deletions packages/contentful/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"main": "index.js",
"license": "UNLICENSED",
"dependencies": {
"contentful-cli": "^2.6.26",
"contentful-migration": "^4.14.0",
"contentful-cli": "^2.8.13",
"contentful-migration": "^4.15.1",
"dotenv": "^16.3.1"
}
}
6 changes: 1 addition & 5 deletions packages/infra/infra-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@
"build": "tsc --project tsconfig.lib.json",
"cdk": "cdk"
},
"devDependencies": {
"aws-cdk": "^2.84.0",
"aws-cdk-lib": "^2.84.0",
"constructs": "^10.1.225"
}
"devDependencies": {}
}
8 changes: 0 additions & 8 deletions packages/infra/infra-core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"options": {
"lintFilePatterns": ["packages/infra/infra-core/**/*.ts"]
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "packages/infra/infra-core/jest.config.ts",
"passWithNoTests": true
}
}
},
"tags": []
Expand Down
4 changes: 2 additions & 2 deletions packages/infra/infra-functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"esbuild": "^0.16.17",
"serverless": "^3.25.1",
"serverless-esbuild": "^1.37.0"
"serverless": "^3.35.2",
"serverless-esbuild": "^1.48.0"
}
}
8 changes: 0 additions & 8 deletions packages/infra/infra-functions/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@
"options": {
"lintFilePatterns": ["packages/infra/infra-functions/**/*.ts"]
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["coverage/packages/infra/infra-functions"],
"options": {
"jestConfig": "services/auth/jest.config.js",
"passWithNoTests": true
}
}
},
"tags": ["service"]
Expand Down
5 changes: 1 addition & 4 deletions packages/infra/infra-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
"@aws-cdk/aws-apigatewayv2-alpha": "2.66.0-alpha.0",
"@sb/core": "*",
"@sb/infra-core": "*",
"aws-cdk": "^2.84.0",
"aws-cdk-lib": "^2.84.0",
"cdk-ec2-key-pair": "^3.3.1",
"constructs": "^10.1.225"
"cdk-ec2-key-pair": "^3.3.2"
}
}
8 changes: 0 additions & 8 deletions packages/infra/infra-shared/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"options": {
"lintFilePatterns": ["packages/infra/infra-shared/**/*.ts"]
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "packages/infra/infra-shared/jest.config.ts",
"passWithNoTests": true
}
}
},
"tags": []
Expand Down
1 change: 0 additions & 1 deletion packages/internal/cli/.eslintignore

This file was deleted.

23 changes: 22 additions & 1 deletion packages/internal/cli/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
{
"extends": ["../../../.eslintrc.json"]
"extends": [
"../../../.eslintrc.json"
],
"ignorePatterns": [
"!**/*",
"node_modules/**/*",
"dist/**/*"
],
"overrides": [
{
"files": [
"*.ts",
"*.tsx",
"*.js",
"*.jsx"
],
"rules": {
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-extra-semi": "off"
}
}
]
}
34 changes: 14 additions & 20 deletions packages/internal/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,26 @@
"@oclif/errors": "^1.3.6",
"@oclif/plugin-autocomplete": "^2.3.8",
"@oclif/plugin-help": "^5.2.19",
"@oclif/plugin-plugins": "^3.4.0",
"@opentelemetry/api": "^1.5.0",
"@opentelemetry/exporter-trace-otlp-proto": "^0.42.0",
"@opentelemetry/resources": "^1.16.0",
"@opentelemetry/sdk-metrics": "^1.16.0",
"@opentelemetry/sdk-node": "^0.42.0",
"@opentelemetry/sdk-trace-base": "^1.16.0",
"@opentelemetry/sdk-trace-node": "^1.16.0",
"@opentelemetry/semantic-conventions": "^1.16.0",
"@oclif/plugin-plugins": "^3.7.1",
"@opentelemetry/api": "^1.6.0",
"@opentelemetry/exporter-trace-otlp-proto": "^0.43.0",
"@opentelemetry/resources": "^1.17.0",
"@opentelemetry/sdk-metrics": "^1.17.0",
"@opentelemetry/sdk-node": "^0.43.0",
"@opentelemetry/sdk-trace-base": "^1.17.0",
"@opentelemetry/sdk-trace-node": "^1.17.0",
"@opentelemetry/semantic-conventions": "^1.17.0",
"dotenv": "^16.3.1",
"envalid": "^7.3.1",
"lookpath": "^1.2.2",
"node-persist": "^3.1.3",
"ramda": "^0.29.0"
"node-persist": "^3.1.3"
},
"devDependencies": {
"@types/node": "^16.18.47",
"@types/node-persist": "^3.1.4",
"@types/ramda": "^0.29.3",
"eslint": "^7.32.0",
"eslint-config-oclif": "^4",
"eslint-config-oclif": "^4.0.0",
"eslint-config-oclif-typescript": "^1.0.3",
"oclif": "^3.14.0",
"shx": "^0.3.3",
"ts-node": "^10.9.1",
"tslib": "^2.6.2"
"oclif": "^3.16.0",
"shx": "^0.3.4"
},
"oclif": {
"bin": "saas",
Expand Down Expand Up @@ -91,7 +85,7 @@
},
"scripts": {
"build": "shx rm -rf dist && tsc -b",
"lint": "eslint . --ext .ts --config .eslintrc",
"lint": "eslint .",
"postpack": "shx rm -f oclif.manifest.json",
"prepack": "npm run build && oclif manifest && oclif readme",
"version": "oclif readme && git add README.md"
Expand Down
Loading

0 comments on commit 9d2fa78

Please sign in to comment.