Skip to content

Commit 9dd7846

Browse files
committed
chore: nx migrate to 15.9.2
1 parent a6d302a commit 9dd7846

File tree

10 files changed

+8798
-2106
lines changed

10 files changed

+8798
-2106
lines changed

Diff for: .eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

Diff for: .github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: emiliopedrollo/[email protected]
2121
if: github.ref_name == 'develop'
2222
with:
23-
github_token: ${{ github.token }}
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
2424
source_ref: develop
2525
target_branch: master
2626
allow_fast_forward: false
@@ -65,7 +65,7 @@ jobs:
6565
- name: Merge branch
6666
uses: emiliopedrollo/[email protected]
6767
with:
68-
github_token: ${{ github.token }}
68+
github_token: ${{ secrets.GITHUB_TOKEN }}
6969
source_ref: master
7070
target_branch: develop
7171
allow_fast_forward: false

Diff for: apps/api/jest.config.ts

+8-7
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
export default {
33
displayName: 'api',
44
preset: '../../jest.preset.js',
5-
globals: {
6-
'ts-jest': {
7-
tsconfig: '<rootDir>/tsconfig.spec.json',
8-
},
9-
},
5+
globals: {},
106
testEnvironment: 'node',
117
transform: {
12-
'^.+\\.[tj]s$': 'ts-jest',
8+
'^.+\\.[tj]s$': [
9+
'ts-jest',
10+
{
11+
tsconfig: '<rootDir>/tsconfig.spec.json',
12+
},
13+
],
1314
},
1415
moduleFileExtensions: ['ts', 'js', 'html'],
1516
coverageDirectory: '../../coverage/apps/api',
16-
};
17+
}

Diff for: jest.preset.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
const nxPreset = require('@nrwl/jest/preset').default;
1+
const nxPreset = require('@nrwl/jest/preset').default
22

3-
module.exports = { ...nxPreset };
3+
module.exports = {
4+
...nxPreset,
5+
snapshotFormat: { escapeString: true, printBasicPrototype: true },
6+
}

Diff for: libs/nestjs-auth/jest.config.ts

+7-6
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
export default {
33
displayName: 'nestjs-auth',
44
preset: '../../jest.preset.js',
5-
globals: {
6-
'ts-jest': {
7-
tsconfig: '<rootDir>/tsconfig.spec.json',
8-
},
9-
},
5+
globals: {},
106
testEnvironment: 'node',
117
transform: {
12-
'^.+\\.[tj]s$': 'ts-jest',
8+
'^.+\\.[tj]s$': [
9+
'ts-jest',
10+
{
11+
tsconfig: '<rootDir>/tsconfig.spec.json',
12+
},
13+
],
1314
},
1415
moduleFileExtensions: ['ts', 'js', 'html'],
1516
coverageDirectory: '../../coverage/libs/nestjs-auth',

Diff for: libs/nestjs-logger/jest.config.ts

+7-6
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
export default {
33
displayName: 'nestjs-logger',
44
preset: '../../jest.preset.js',
5-
globals: {
6-
'ts-jest': {
7-
tsconfig: '<rootDir>/tsconfig.spec.json',
8-
},
9-
},
5+
globals: {},
106
testEnvironment: 'node',
117
transform: {
12-
'^.+\\.[tj]s$': 'ts-jest',
8+
'^.+\\.[tj]s$': [
9+
'ts-jest',
10+
{
11+
tsconfig: '<rootDir>/tsconfig.spec.json',
12+
},
13+
],
1314
},
1415
moduleFileExtensions: ['ts', 'js', 'html'],
1516
coverageDirectory: '../../coverage/libs/nestjs-logger',

Diff for: libs/nestjs-storage/jest.config.ts

+7-6
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
export default {
33
displayName: 'nestjs-storage',
44
preset: '../../jest.preset.js',
5-
globals: {
6-
'ts-jest': {
7-
tsconfig: '<rootDir>/tsconfig.spec.json',
8-
},
9-
},
5+
globals: {},
106
testEnvironment: 'node',
117
transform: {
12-
'^.+\\.[tj]s$': 'ts-jest',
8+
'^.+\\.[tj]s$': [
9+
'ts-jest',
10+
{
11+
tsconfig: '<rootDir>/tsconfig.spec.json',
12+
},
13+
],
1314
},
1415
moduleFileExtensions: ['ts', 'js', 'html'],
1516
coverageDirectory: '../../coverage/libs/nestjs-storage',

0 commit comments

Comments
 (0)