chore(repo): update nx to 14.0.2 (#9974)
This commit is contained in:
parent
fda454cb1c
commit
4f99b77e42
@ -84,7 +84,7 @@
|
|||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/dep-graph/client"],
|
"outputs": ["coverage/dep-graph/client"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "dep-graph/client/jest.config.js",
|
"jestConfig": "dep-graph/client/jest.config.ts",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -17,7 +17,8 @@
|
|||||||
"**/*.spec.js",
|
"**/*.spec.js",
|
||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx"
|
"**/*.test.jsx",
|
||||||
|
"jest.config.ts"
|
||||||
],
|
],
|
||||||
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,7 +15,8 @@
|
|||||||
"**/*.spec.js",
|
"**/*.spec.js",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
],
|
],
|
||||||
"files": [
|
"files": [
|
||||||
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-add-nx-to-monorepo',
|
displayName: 'e2e-add-nx-to-monorepo',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/add-nx-to-monorepo/jest.config.js",
|
"jestConfig": "e2e/add-nx-to-monorepo/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-angular-core',
|
displayName: 'e2e-angular-core',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/angular-core/jest.config.js",
|
"jestConfig": "e2e/angular-core/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-angular-extensions',
|
displayName: 'e2e-angular-extensions',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/angular-extensions/jest.config.js",
|
"jestConfig": "e2e/angular-extensions/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-cli',
|
displayName: 'e2e-cli',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/cli/jest.config.js",
|
"jestConfig": "e2e/cli/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-cypress',
|
displayName: 'e2e-cypress',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/cypress/jest.config.js",
|
"jestConfig": "e2e/cypress/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -8,4 +7,5 @@ module.exports = {
|
|||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-detox',
|
displayName: 'e2e-detox',
|
||||||
testTimeout: 600000,
|
testTimeout: 600000,
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/detox/jest.config.js",
|
"jestConfig": "e2e/detox/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-jest',
|
displayName: 'e2e-jest',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/jest/jest.config.js",
|
"jestConfig": "e2e/jest/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-js',
|
displayName: 'e2e-js',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/js/jest.config.js",
|
"jestConfig": "e2e/js/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-linter',
|
displayName: 'e2e-linter',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/linter/jest.config.js",
|
"jestConfig": "e2e/linter/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-next',
|
displayName: 'e2e-next',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/next/jest.config.js",
|
"jestConfig": "e2e/next/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-node',
|
displayName: 'e2e-node',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/node/jest.config.js",
|
"jestConfig": "e2e/node/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-nx-plugin',
|
displayName: 'e2e-nx-plugin',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/nx-plugin/jest.config.js",
|
"jestConfig": "e2e/nx-plugin/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -8,4 +7,5 @@ module.exports = {
|
|||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-react-native',
|
displayName: 'e2e-react-native',
|
||||||
testTimeout: 600000,
|
testTimeout: 600000,
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/react-native/jest.config.js",
|
"jestConfig": "e2e/react-native/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-react',
|
displayName: 'e2e-react',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/react/jest.config.js",
|
"jestConfig": "e2e/react/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-storybook',
|
displayName: 'e2e-storybook',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/storybook/jest.config.js",
|
"jestConfig": "e2e/storybook/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-web',
|
displayName: 'e2e-web',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/web/jest.config.js",
|
"jestConfig": "e2e/web/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-workspace-core',
|
displayName: 'e2e-workspace-core',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/workspace-core/jest.config.js",
|
"jestConfig": "e2e/workspace-core/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-workspace-create',
|
displayName: 'e2e-workspace-create',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/workspace-create/jest.config.js",
|
"jestConfig": "e2e/workspace-create/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest',
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
@ -7,4 +6,5 @@ module.exports = {
|
|||||||
maxWorkers: 1,
|
maxWorkers: 1,
|
||||||
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
||||||
displayName: 'e2e-workspace-integrations',
|
displayName: 'e2e-workspace-integrations',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"run-e2e-tests": {
|
"run-e2e-tests": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "e2e/workspace-integrations/jest.config.js",
|
"jestConfig": "e2e/workspace-integrations/jest.config.ts",
|
||||||
"passWithNoTests": true,
|
"passWithNoTests": true,
|
||||||
"runInBand": true
|
"runInBand": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
12
migrations.json
Normal file
12
migrations.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"migrations": [
|
||||||
|
{
|
||||||
|
"version": "14.0.0-beta.2",
|
||||||
|
"cli": "nx",
|
||||||
|
"description": "Update move jest config files to .ts files.",
|
||||||
|
"factory": "./src/migrations/update-14-0-0/update-jest-config-ext",
|
||||||
|
"package": "@nrwl/jest",
|
||||||
|
"name": "update-jest-config-extensions"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -14,7 +14,7 @@
|
|||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/nx-dev/data-access-documents"],
|
"outputs": ["coverage/nx-dev/data-access-documents"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "nx-dev/data-access-documents/jest.config.js",
|
"jestConfig": "nx-dev/data-access-documents/jest.config.ts",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,5 +8,5 @@
|
|||||||
"types": ["node"]
|
"types": ["node"]
|
||||||
},
|
},
|
||||||
"include": ["**/*.ts"],
|
"include": ["**/*.ts"],
|
||||||
"exclude": ["**/*.spec.ts", "**/*.test.ts"]
|
"exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,6 +17,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/nx-dev/data-access-packages"],
|
"outputs": ["coverage/nx-dev/data-access-packages"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "nx-dev/data-access-packages/jest.config.js",
|
"jestConfig": "nx-dev/data-access-packages/jest.config.ts",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,5 +8,5 @@
|
|||||||
"types": ["node"]
|
"types": ["node"]
|
||||||
},
|
},
|
||||||
"include": ["**/*.ts"],
|
"include": ["**/*.ts"],
|
||||||
"exclude": ["**/*.spec.ts", "**/*.test.ts"]
|
"exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,6 +17,7 @@
|
|||||||
"**/*.spec.js",
|
"**/*.spec.js",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
displayName: 'nx-dev-feature-analytics',
|
displayName: 'nx-dev-feature-analytics',
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
|
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
|
||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../coverage/nx-dev/feature-analytics',
|
coverageDirectory: '../../coverage/nx-dev/feature-analytics',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -14,7 +14,7 @@
|
|||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/nx-dev/feature-analytics"],
|
"outputs": ["coverage/nx-dev/feature-analytics"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "nx-dev/feature-analytics/jest.config.js",
|
"jestConfig": "nx-dev/feature-analytics/jest.config.ts",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,12 @@
|
|||||||
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
||||||
"../../node_modules/@nrwl/react/typings/image.d.ts"
|
"../../node_modules/@nrwl/react/typings/image.d.ts"
|
||||||
],
|
],
|
||||||
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"],
|
"exclude": [
|
||||||
|
"**/*.spec.ts",
|
||||||
|
"**/*.test.ts",
|
||||||
|
"**/*.spec.tsx",
|
||||||
|
"**/*.test.tsx",
|
||||||
|
"jest.config.ts"
|
||||||
|
],
|
||||||
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/nx-dev/feature-doc-viewer"],
|
"outputs": ["coverage/nx-dev/feature-doc-viewer"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "nx-dev/feature-doc-viewer/jest.config.js",
|
"jestConfig": "nx-dev/feature-doc-viewer/jest.config.ts",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,6 +9,12 @@
|
|||||||
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
||||||
"../../node_modules/@nrwl/react/typings/image.d.ts"
|
"../../node_modules/@nrwl/react/typings/image.d.ts"
|
||||||
],
|
],
|
||||||
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"],
|
"exclude": [
|
||||||
|
"**/*.spec.ts",
|
||||||
|
"**/*.test.ts",
|
||||||
|
"**/*.spec.tsx",
|
||||||
|
"**/*.test.tsx",
|
||||||
|
"jest.config.ts"
|
||||||
|
],
|
||||||
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
displayName: 'nx-dev-feature-package-schema-viewer',
|
displayName: 'nx-dev-feature-package-schema-viewer',
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
globals: {
|
globals: {
|
||||||
'ts-jest': {
|
'ts-jest': {
|
||||||
tsconfig: '<rootDir>/tsconfig.spec.json',
|
tsconfig: '<rootDir>/tsconfig.spec.json',
|
||||||
@ -11,4 +11,5 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../coverage/nx-dev/feature-package-schema-viewer',
|
coverageDirectory: '../../coverage/nx-dev/feature-package-schema-viewer',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -16,7 +16,7 @@
|
|||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/nx-dev/feature-package-schema-viewer"],
|
"outputs": ["coverage/nx-dev/feature-package-schema-viewer"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "nx-dev/feature-package-schema-viewer/jest.config.js",
|
"jestConfig": "nx-dev/feature-package-schema-viewer/jest.config.ts",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,7 +17,8 @@
|
|||||||
"**/*.spec.js",
|
"**/*.spec.js",
|
||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx"
|
"**/*.test.jsx",
|
||||||
|
"jest.config.ts"
|
||||||
],
|
],
|
||||||
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.spec.js",
|
"**/*.spec.js",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
displayName: 'nx-dev-feature-search',
|
displayName: 'nx-dev-feature-search',
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
|
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
|
||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../coverage/nx-dev/feature-search',
|
coverageDirectory: '../../coverage/nx-dev/feature-search',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -14,7 +14,7 @@
|
|||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/nx-dev/feature-search"],
|
"outputs": ["coverage/nx-dev/feature-search"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "nx-dev/feature-search/jest.config.js",
|
"jestConfig": "nx-dev/feature-search/jest.config.ts",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,6 +9,12 @@
|
|||||||
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
||||||
"../../node_modules/@nrwl/react/typings/image.d.ts"
|
"../../node_modules/@nrwl/react/typings/image.d.ts"
|
||||||
],
|
],
|
||||||
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"],
|
"exclude": [
|
||||||
|
"**/*.spec.ts",
|
||||||
|
"**/*.test.ts",
|
||||||
|
"**/*.spec.tsx",
|
||||||
|
"**/*.test.tsx",
|
||||||
|
"jest.config.ts"
|
||||||
|
],
|
||||||
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.test.js",
|
"**/*.test.js",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
displayName: 'nx-dev-models-document',
|
displayName: 'nx-dev-models-document',
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
globals: {
|
globals: {
|
||||||
'ts-jest': {
|
'ts-jest': {
|
||||||
tsconfig: '<rootDir>/tsconfig.spec.json',
|
tsconfig: '<rootDir>/tsconfig.spec.json',
|
||||||
@ -12,4 +12,5 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../coverage/nx-dev/models-document',
|
coverageDirectory: '../../coverage/nx-dev/models-document',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -14,7 +14,7 @@
|
|||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/nx-dev/models-document"],
|
"outputs": ["coverage/nx-dev/models-document"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "nx-dev/models-document/jest.config.js",
|
"jestConfig": "nx-dev/models-document/jest.config.ts",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,6 @@
|
|||||||
"declaration": true,
|
"declaration": true,
|
||||||
"types": ["node"]
|
"types": ["node"]
|
||||||
},
|
},
|
||||||
"exclude": ["**/*.spec.ts", "**/*.test.ts"],
|
"exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"],
|
||||||
"include": ["**/*.ts"]
|
"include": ["**/*.ts"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.spec.js",
|
"**/*.spec.js",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
displayName: 'nx-dev-models-menu',
|
displayName: 'nx-dev-models-menu',
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
globals: {
|
globals: {
|
||||||
'ts-jest': {
|
'ts-jest': {
|
||||||
tsconfig: '<rootDir>/tsconfig.spec.json',
|
tsconfig: '<rootDir>/tsconfig.spec.json',
|
||||||
@ -12,4 +12,5 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../coverage/nx-dev/models-menu',
|
coverageDirectory: '../../coverage/nx-dev/models-menu',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -14,7 +14,7 @@
|
|||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/nx-dev/models-menu"],
|
"outputs": ["coverage/nx-dev/models-menu"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "nx-dev/models-menu/jest.config.js",
|
"jestConfig": "nx-dev/models-menu/jest.config.ts",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,6 @@
|
|||||||
"declaration": true,
|
"declaration": true,
|
||||||
"types": ["node"]
|
"types": ["node"]
|
||||||
},
|
},
|
||||||
"exclude": ["**/*.spec.ts", "**/*.test.ts"],
|
"exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"],
|
||||||
"include": ["**/*.ts"]
|
"include": ["**/*.ts"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.spec.js",
|
"**/*.spec.js",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
displayName: 'nx-dev-models-package',
|
displayName: 'nx-dev-models-package',
|
||||||
preset: '../../jest.preset.js',
|
|
||||||
globals: {
|
globals: {
|
||||||
'ts-jest': {
|
'ts-jest': {
|
||||||
tsconfig: '<rootDir>/tsconfig.spec.json',
|
tsconfig: '<rootDir>/tsconfig.spec.json',
|
||||||
@ -12,4 +12,5 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../coverage/nx-dev/models-package',
|
coverageDirectory: '../../coverage/nx-dev/models-package',
|
||||||
|
preset: '../../jest.preset.ts',
|
||||||
};
|
};
|
||||||
@ -14,7 +14,7 @@
|
|||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/nx-dev/models-package"],
|
"outputs": ["coverage/nx-dev/models-package"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "nx-dev/models-package/jest.config.js",
|
"jestConfig": "nx-dev/models-package/jest.config.ts",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,6 @@
|
|||||||
"declaration": true,
|
"declaration": true,
|
||||||
"types": ["node"]
|
"types": ["node"]
|
||||||
},
|
},
|
||||||
"exclude": ["**/*.spec.ts", "**/*.test.ts"],
|
"exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"],
|
||||||
"include": ["**/*.ts"]
|
"include": ["**/*.ts"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"**/*.spec.js",
|
"**/*.spec.js",
|
||||||
"**/*.test.jsx",
|
"**/*.test.jsx",
|
||||||
"**/*.spec.jsx",
|
"**/*.spec.jsx",
|
||||||
"**/*.d.ts"
|
"**/*.d.ts",
|
||||||
|
"jest.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user