mirror of
https://github.com/gothinkster/realworld.git
synced 2025-12-05 19:06:05 -06:00
chore: update nx to 15.8.9
This commit is contained in:
committed by
Gerome Grignon
parent
4879f32e82
commit
64cb63046e
@@ -1,3 +1,15 @@
|
||||
## Update nx
|
||||
|
||||
```shell
|
||||
npx nx migrate latest
|
||||
```
|
||||
|
||||
### run migrations
|
||||
|
||||
```shell
|
||||
npx nx migrate --run-migrations
|
||||
```
|
||||
|
||||
## detect MDX2 errors for Storybook
|
||||
|
||||
run `npx @hipster/mdx2-issue-checker`
|
||||
|
||||
@@ -3,14 +3,15 @@ export default {
|
||||
clearMocks: true,
|
||||
displayName: 'api',
|
||||
preset: '../../jest.preset.js',
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
tsconfig: '<rootDir>/tsconfig.spec.json',
|
||||
},
|
||||
},
|
||||
globals: {},
|
||||
testEnvironment: 'node',
|
||||
transform: {
|
||||
'^.+\\.[tj]s$': 'ts-jest',
|
||||
'^.+\\.[tj]s$': [
|
||||
'ts-jest',
|
||||
{
|
||||
tsconfig: '<rootDir>/tsconfig.spec.json',
|
||||
},
|
||||
],
|
||||
},
|
||||
moduleFileExtensions: ['ts', 'js', 'html'],
|
||||
coverageDirectory: '../../coverage/apps/api',
|
||||
|
||||
104
migrations.json
104
migrations.json
@@ -1,100 +1,36 @@
|
||||
{
|
||||
"migrations": [
|
||||
{
|
||||
"version": "15.7.0-beta.0",
|
||||
"description": "Split global configuration files into individual project.json files. This migration has been added automatically to the beginning of your migration set to retroactively make them work with the new version of Nx.",
|
||||
"cli": "nx",
|
||||
"implementation": "./src/migrations/update-15-7-0/split-configuration-into-project-json-files",
|
||||
"package": "@nrwl/workspace",
|
||||
"name": "15-7-0-split-configuration-into-project-json-files"
|
||||
"version": "15.8.2-beta.0",
|
||||
"description": "Updates the nx wrapper.",
|
||||
"implementation": "./src/migrations/update-15-8-2/update-nxw",
|
||||
"package": "nx",
|
||||
"name": "15.8.2-update-nx-wrapper"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "15.4.5-beta.0",
|
||||
"description": "Removes es2015Polyfills option since legacy browsers are no longer supported.",
|
||||
"factory": "./src/migrations/update-15-4-5/remove-es2015-polyfills-option",
|
||||
"package": "@nrwl/webpack",
|
||||
"name": "remove-es2015-polyfills-option"
|
||||
"version": "15.8.0-beta.0",
|
||||
"description": "Rename .lib.swcrc to .swcrc for better SWC support throughout the workspace",
|
||||
"factory": "./src/migrations/update-15-8-0/rename-swcrc-config",
|
||||
"package": "@nrwl/js",
|
||||
"name": "rename-swcrc-config"
|
||||
},
|
||||
{
|
||||
"version": "15.8.0-beta.0",
|
||||
"cli": "nx",
|
||||
"version": "15.6.3-beta.0",
|
||||
"description": "Creates or updates webpack.config.js file with the new options for webpack.",
|
||||
"factory": "./src/migrations/update-15-6-3/webpack-config-setup",
|
||||
"package": "@nrwl/webpack",
|
||||
"name": "webpack-config-setup"
|
||||
"description": "Update jest configs to support jest 29 changes (https://jestjs.io/docs/upgrading-to-jest29)",
|
||||
"factory": "./src/migrations/update-15-8-0/update-configs-jest-29",
|
||||
"package": "@nrwl/jest",
|
||||
"name": "update-configs-jest-29"
|
||||
},
|
||||
{
|
||||
"version": "15.8.0-beta.0",
|
||||
"cli": "nx",
|
||||
"version": "15.7.2-beta.0",
|
||||
"description": "Add the babelUpwardRootMode option to the build executor options.",
|
||||
"factory": "./src/migrations/update-15-7-2/add-babelUpwardRootMode-flag",
|
||||
"package": "@nrwl/webpack",
|
||||
"name": "add-babelUpwardRootMode-flag"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "15.7.1-beta.0",
|
||||
"description": "Add node_modules to root eslint ignore",
|
||||
"factory": "./src/migrations/update-15-7-1/add-eslint-ignore",
|
||||
"package": "@nrwl/linter",
|
||||
"name": "add-eslint-ignore"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "15.4.3-beta.0",
|
||||
"description": "Update @nrwl/vite:test reportsDirectory and outputs properties to point to correct paths.",
|
||||
"factory": "./src/migrations/update-15-4-3/update-report-directory",
|
||||
"package": "@nrwl/vite",
|
||||
"name": "update-test-path-placeholder-vars"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "15.4.6-beta.0",
|
||||
"description": "Refactor the Storybook target options",
|
||||
"factory": "./src/migrations/update-15-4-6/refactor-executor-options",
|
||||
"package": "@nrwl/storybook",
|
||||
"name": "update-15.4.6"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "15.5.3-beta.0",
|
||||
"description": "Add @nrwl/webpack if it is missing and is used.",
|
||||
"factory": "./src/migrations/update-15-5-3/ensure-webpack-package",
|
||||
"package": "@nrwl/storybook",
|
||||
"name": "update-15-5-3"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "15.7.0-beta.0",
|
||||
"description": "Add @storybook/addon-essentials to all project-level configs and attempt to remove root config.",
|
||||
"factory": "./src/migrations/update-15-7-0/add-addon-essentials-to-all",
|
||||
"package": "@nrwl/storybook",
|
||||
"name": "update-15-7-0"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "15.6.3-beta.0",
|
||||
"description": "Creates or updates webpack.config.js file with the new options for webpack.",
|
||||
"factory": "./src/migrations/update-15-6-3/webpack-config-setup",
|
||||
"package": "@nrwl/react",
|
||||
"name": "react-webpack-config-setup"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "15.5.4-beta.0",
|
||||
"description": "Update `@nrwl/web/babel` preset to `@nrwl/js/babel` for projects that have a .babelrc file.",
|
||||
"factory": "./src/migrations/update-15-5-4/update-babel-preset",
|
||||
"package": "@nrwl/web",
|
||||
"name": "update-babel-preset"
|
||||
},
|
||||
{
|
||||
"version": "15.7.0-beta.0",
|
||||
"description": "Split global configuration files (e.g., workspace.json) into individual project.json files.",
|
||||
"cli": "nx",
|
||||
"implementation": "./src/migrations/update-15-7-0/split-configuration-into-project-json-files",
|
||||
"package": "@nrwl/workspace",
|
||||
"name": "15-7-0-split-configuration-into-project-json-files"
|
||||
"description": "Update jest test files to support jest 29 changes (https://jestjs.io/docs/upgrading-to-jest29)",
|
||||
"factory": "./src/migrations/update-15-8-0/update-tests-jest-29",
|
||||
"package": "@nrwl/jest",
|
||||
"name": "update-tests-jest-29"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
5783
package-lock.json
generated
5783
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
36
package.json
36
package.json
@@ -47,20 +47,20 @@
|
||||
"@babel/preset-typescript": "7.18.6",
|
||||
"@docusaurus/module-type-aliases": "2.2.0",
|
||||
"@mands/nx-playwright": "^0.2.3",
|
||||
"@nrwl/cli": "15.7.2",
|
||||
"@nrwl/eslint-plugin-nx": "15.7.2",
|
||||
"@nrwl/express": "15.7.2",
|
||||
"@nrwl/jest": "15.7.2",
|
||||
"@nrwl/js": "15.7.2",
|
||||
"@nrwl/linter": "15.7.2",
|
||||
"@nrwl/node": "15.7.2",
|
||||
"@nrwl/nx-cloud": "15.0.3",
|
||||
"@nrwl/react": "15.7.2",
|
||||
"@nrwl/storybook": "15.8.0-beta.9",
|
||||
"@nrwl/vite": "15.7.2",
|
||||
"@nrwl/web": "15.7.2",
|
||||
"@nrwl/webpack": "15.7.2",
|
||||
"@nrwl/workspace": "15.7.2",
|
||||
"@nrwl/cli": "15.8.9",
|
||||
"@nrwl/eslint-plugin-nx": "15.8.9",
|
||||
"@nrwl/express": "15.8.9",
|
||||
"@nrwl/jest": "15.8.9",
|
||||
"@nrwl/js": "15.8.9",
|
||||
"@nrwl/linter": "15.8.9",
|
||||
"@nrwl/node": "15.8.9",
|
||||
"@nrwl/nx-cloud": "15.3.2",
|
||||
"@nrwl/react": "15.8.9",
|
||||
"@nrwl/storybook": "15.8.9",
|
||||
"@nrwl/vite": "15.8.9",
|
||||
"@nrwl/web": "15.8.9",
|
||||
"@nrwl/webpack": "15.8.9",
|
||||
"@nrwl/workspace": "15.8.9",
|
||||
"@nx-plus/docusaurus": "^15.0.0-rc.0",
|
||||
"@playwright/test": "1.32.1",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
|
||||
@@ -79,7 +79,7 @@
|
||||
"@types/cors": "^2.8.12",
|
||||
"@types/express": "4.17.17",
|
||||
"@types/express-rate-limit": "^6.0.0",
|
||||
"@types/jest": "29.2.5",
|
||||
"@types/jest": "29.4.4",
|
||||
"@types/jsonwebtoken": "^8.5.5",
|
||||
"@types/node": "18.11.11",
|
||||
"@types/react": "18.0.26",
|
||||
@@ -105,13 +105,13 @@
|
||||
"eslint-plugin-storybook": "^0.6.10",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"husky": "^8.0.2",
|
||||
"jest": "29.3.1",
|
||||
"jest-environment-jsdom": "29.3.1",
|
||||
"jest": "29.4.3",
|
||||
"jest-environment-jsdom": "29.4.3",
|
||||
"jest-mock-extended": "^3.0.1",
|
||||
"jsdom": "~21.1.0",
|
||||
"lint-staged": "^11.1.2",
|
||||
"newman": "^5.3.0",
|
||||
"nx": "15.7.2",
|
||||
"nx": "15.8.9",
|
||||
"prettier": "^2.6.2",
|
||||
"prisma": "^4.7.1",
|
||||
"react-refresh": "^0.10.0",
|
||||
|
||||
Reference in New Issue
Block a user