Skip to content

Commit fd72796

Browse files
committed
chore: update nx
1 parent ad7260c commit fd72796

File tree

8 files changed

+703
-564
lines changed

8 files changed

+703
-564
lines changed

package.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@
2222
"util:update-dependencies": "ts-node -P ./tools/tsconfig.json ./tools/update-dependencies.ts",
2323
"version": "prettier lerna.json --write"
2424
},
25+
"dependencies": {},
2526
"devDependencies": {
2627
"@ant-design/icons-svg": "^4.2.1",
2728
"@commitlint/cli": "^17.1.2",
2829
"@commitlint/config-conventional": "^17.1.0",
29-
"@nrwl/cli": "14.7.6",
30-
"@nrwl/eslint-plugin-nx": "14.7.6",
31-
"@nrwl/jest": "14.7.6",
32-
"@nrwl/linter": "14.7.6",
30+
"@nrwl/cli": "14.7.8",
31+
"@nrwl/eslint-plugin-nx": "14.7.8",
32+
"@nrwl/jest": "14.7.8",
33+
"@nrwl/linter": "14.7.8",
3334
"@nrwl/nx-cloud": "14.6.2",
34-
"@nrwl/react": "14.7.6",
35-
"@nrwl/tao": "14.7.6",
36-
"@nrwl/web": "14.7.6",
37-
"@nrwl/workspace": "14.7.6",
35+
"@nrwl/react": "14.7.8",
36+
"@nrwl/tao": "14.7.8",
37+
"@nrwl/web": "14.7.8",
38+
"@nrwl/workspace": "14.7.8",
3839
"@stackblitz/sdk": "^1.8.0",
3940
"@testing-library/jest-dom": "^5.16.5",
4041
"@testing-library/react": "^13.4.0",
@@ -77,11 +78,12 @@
7778
"immer": "^9.0.15",
7879
"is-builtin-module": "^3.2.0",
7980
"jest": "^27.5.1",
80-
"lerna": "^5.5.1",
81+
"jest-environment-jsdom": "28.1.1",
82+
"lerna": "^5.5.2",
8183
"lodash": "^4.17.21",
8284
"marked": "^4.1.0",
8385
"mocha": "^10.0.0",
84-
"nx": "14.7.6",
86+
"nx": "14.7.8",
8587
"postcss-html": "^1.5.0",
8688
"postcss-markdown": "^1.2.0",
8789
"prettier": "^2.7.1",

packages/platform/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
preset: '../../jest.preset.js',
44
transform: {
55
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nrwl/react/plugins/jest',
6-
'^.+\\.[tj]sx?$': 'babel-jest',
6+
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }],
77
},
88
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
99
coverageDirectory: '../../coverage/packages/platform',

packages/platform/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"tags": ["scope:platform"],
66
"targets": {
77
"build": {
8-
"executor": "@nrwl/web:webpack",
8+
"executor": "@nrwl/webpack:webpack",
99
"outputs": ["{options.outputPath}"],
1010
"options": {
1111
"compiler": "babel",
@@ -38,7 +38,7 @@
3838
}
3939
},
4040
"serve": {
41-
"executor": "@nrwl/web:dev-server",
41+
"executor": "@nrwl/webpack:dev-server",
4242
"options": {
4343
"buildTarget": "platform:build",
4444
"port": 4310,

packages/platform/src/app/routes/login/Login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export default function Login(): JSX.Element | null {
185185
})}
186186
>
187187
<div>
188-
<span>© 2022 made with ❤ by </span>
188+
<span>© {new Date().getFullYear()} made with ❤ by </span>
189189
<a className="app-link" href="//github.com/xiejay97">
190190
Xie Jay
191191
</a>

packages/site/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
preset: '../../jest.preset.js',
44
transform: {
55
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nrwl/react/plugins/jest',
6-
'^.+\\.[tj]sx?$': 'babel-jest',
6+
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/react/babel'] }],
77
},
88
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
99
coverageDirectory: '../../coverage/packages/site',

packages/site/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
]
2222
},
2323
"build": {
24-
"executor": "@nrwl/web:webpack",
24+
"executor": "@nrwl/webpack:webpack",
2525
"outputs": ["{options.outputPath}"],
2626
"options": {
2727
"compiler": "babel",
@@ -60,7 +60,7 @@
6060
]
6161
},
6262
"serve-base": {
63-
"executor": "@nrwl/web:dev-server",
63+
"executor": "@nrwl/webpack:dev-server",
6464
"options": {
6565
"buildTarget": "site:build",
6666
"port": 4300,

packages/site/src/app/components/footer/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function AppFooter(props: React.HTMLAttributes<HTMLDivElement>): JSX.Elem
2828
</a>
2929
</div>
3030
<div className="app-footer__bottom">
31-
<span>© 2022 made with ❤ by </span>
31+
<span>© {new Date().getFullYear()} made with ❤ by </span>
3232
<a href="//github.com/xiejay97">Xie Jay</a>
3333
</div>
3434
</footer>

0 commit comments

Comments
 (0)