diff --git a/dep-graph/client/jest.config.js b/dep-graph/client/jest.config.ts similarity index 100% rename from dep-graph/client/jest.config.js rename to dep-graph/client/jest.config.ts diff --git a/dep-graph/client/project.json b/dep-graph/client/project.json index 6dce846504..ec1a267953 100644 --- a/dep-graph/client/project.json +++ b/dep-graph/client/project.json @@ -84,7 +84,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/dep-graph/client"], "options": { - "jestConfig": "dep-graph/client/jest.config.js", + "jestConfig": "dep-graph/client/jest.config.ts", "passWithNoTests": true } }, diff --git a/dep-graph/client/tsconfig.app.json b/dep-graph/client/tsconfig.app.json index 7a1a35f04e..8e68a6b6dd 100644 --- a/dep-graph/client/tsconfig.app.json +++ b/dep-graph/client/tsconfig.app.json @@ -17,7 +17,8 @@ "**/*.spec.js", "**/*.test.js", "**/*.spec.jsx", - "**/*.test.jsx" + "**/*.test.jsx", + "jest.config.ts" ], "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] } diff --git a/dep-graph/client/tsconfig.spec.json b/dep-graph/client/tsconfig.spec.json index 65f3147400..17043fc1b2 100644 --- a/dep-graph/client/tsconfig.spec.json +++ b/dep-graph/client/tsconfig.spec.json @@ -15,7 +15,8 @@ "**/*.spec.js", "**/*.test.jsx", "**/*.spec.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ], "files": [ "../../node_modules/@nrwl/react/typings/cssmodule.d.ts", diff --git a/e2e/add-nx-to-monorepo/jest.config.js b/e2e/add-nx-to-monorepo/jest.config.ts similarity index 88% rename from e2e/add-nx-to-monorepo/jest.config.js rename to e2e/add-nx-to-monorepo/jest.config.ts index e2d940f526..356aaf1ed1 100644 --- a/e2e/add-nx-to-monorepo/jest.config.js +++ b/e2e/add-nx-to-monorepo/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-add-nx-to-monorepo', + preset: '../../jest.preset.ts', }; diff --git a/e2e/add-nx-to-monorepo/project.json b/e2e/add-nx-to-monorepo/project.json index af47be398e..237cdff227 100644 --- a/e2e/add-nx-to-monorepo/project.json +++ b/e2e/add-nx-to-monorepo/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/add-nx-to-monorepo/jest.config.js", + "jestConfig": "e2e/add-nx-to-monorepo/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/add-nx-to-monorepo/tsconfig.spec.json b/e2e/add-nx-to-monorepo/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/add-nx-to-monorepo/tsconfig.spec.json +++ b/e2e/add-nx-to-monorepo/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/angular-core/jest.config.js b/e2e/angular-core/jest.config.ts similarity index 88% rename from e2e/angular-core/jest.config.js rename to e2e/angular-core/jest.config.ts index 278543ae33..fb1a8f0ffc 100644 --- a/e2e/angular-core/jest.config.js +++ b/e2e/angular-core/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-angular-core', + preset: '../../jest.preset.ts', }; diff --git a/e2e/angular-core/project.json b/e2e/angular-core/project.json index ab6092f232..7d74b8bd7c 100644 --- a/e2e/angular-core/project.json +++ b/e2e/angular-core/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/angular-core/jest.config.js", + "jestConfig": "e2e/angular-core/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/angular-core/tsconfig.spec.json b/e2e/angular-core/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/angular-core/tsconfig.spec.json +++ b/e2e/angular-core/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/angular-extensions/jest.config.js b/e2e/angular-extensions/jest.config.ts similarity index 88% rename from e2e/angular-extensions/jest.config.js rename to e2e/angular-extensions/jest.config.ts index 5bfe2a0f02..0e54e6da9a 100644 --- a/e2e/angular-extensions/jest.config.js +++ b/e2e/angular-extensions/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-angular-extensions', + preset: '../../jest.preset.ts', }; diff --git a/e2e/angular-extensions/project.json b/e2e/angular-extensions/project.json index be0643f260..f9b9a08b69 100644 --- a/e2e/angular-extensions/project.json +++ b/e2e/angular-extensions/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/angular-extensions/jest.config.js", + "jestConfig": "e2e/angular-extensions/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/angular-extensions/tsconfig.spec.json b/e2e/angular-extensions/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/angular-extensions/tsconfig.spec.json +++ b/e2e/angular-extensions/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/cli/jest.config.js b/e2e/cli/jest.config.ts similarity index 88% rename from e2e/cli/jest.config.js rename to e2e/cli/jest.config.ts index 17c9625da3..c4a38020d0 100644 --- a/e2e/cli/jest.config.js +++ b/e2e/cli/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-cli', + preset: '../../jest.preset.ts', }; diff --git a/e2e/cli/project.json b/e2e/cli/project.json index 935525eada..daef17afe7 100644 --- a/e2e/cli/project.json +++ b/e2e/cli/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/cli/jest.config.js", + "jestConfig": "e2e/cli/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/cli/tsconfig.spec.json b/e2e/cli/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/cli/tsconfig.spec.json +++ b/e2e/cli/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/cypress/jest.config.js b/e2e/cypress/jest.config.ts similarity index 88% rename from e2e/cypress/jest.config.js rename to e2e/cypress/jest.config.ts index 4646d50566..0fc5436ada 100644 --- a/e2e/cypress/jest.config.js +++ b/e2e/cypress/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-cypress', + preset: '../../jest.preset.ts', }; diff --git a/e2e/cypress/project.json b/e2e/cypress/project.json index 8e938d1f82..1ba6665277 100644 --- a/e2e/cypress/project.json +++ b/e2e/cypress/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/cypress/jest.config.js", + "jestConfig": "e2e/cypress/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/cypress/tsconfig.spec.json b/e2e/cypress/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/cypress/tsconfig.spec.json +++ b/e2e/cypress/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/detox/jest.config.js b/e2e/detox/jest.config.ts similarity index 88% rename from e2e/detox/jest.config.js rename to e2e/detox/jest.config.ts index 40033364a9..7ae891b2e1 100644 --- a/e2e/detox/jest.config.js +++ b/e2e/detox/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -8,4 +7,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-detox', testTimeout: 600000, + preset: '../../jest.preset.ts', }; diff --git a/e2e/detox/project.json b/e2e/detox/project.json index 00dec6f198..eff83d21a7 100644 --- a/e2e/detox/project.json +++ b/e2e/detox/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/detox/jest.config.js", + "jestConfig": "e2e/detox/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/detox/tsconfig.spec.json b/e2e/detox/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/detox/tsconfig.spec.json +++ b/e2e/detox/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/jest/jest.config.js b/e2e/jest/jest.config.ts similarity index 88% rename from e2e/jest/jest.config.js rename to e2e/jest/jest.config.ts index 9799855067..3186befe59 100644 --- a/e2e/jest/jest.config.js +++ b/e2e/jest/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-jest', + preset: '../../jest.preset.ts', }; diff --git a/e2e/jest/project.json b/e2e/jest/project.json index d798a4f96f..0bf4fae0fc 100644 --- a/e2e/jest/project.json +++ b/e2e/jest/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/jest/jest.config.js", + "jestConfig": "e2e/jest/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/jest/tsconfig.spec.json b/e2e/jest/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/jest/tsconfig.spec.json +++ b/e2e/jest/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/js/jest.config.js b/e2e/js/jest.config.ts similarity index 87% rename from e2e/js/jest.config.js rename to e2e/js/jest.config.ts index d27c686d76..f459796532 100644 --- a/e2e/js/jest.config.js +++ b/e2e/js/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-js', + preset: '../../jest.preset.ts', }; diff --git a/e2e/js/project.json b/e2e/js/project.json index dd14cc327b..a8e14c81ee 100644 --- a/e2e/js/project.json +++ b/e2e/js/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/js/jest.config.js", + "jestConfig": "e2e/js/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/js/tsconfig.spec.json b/e2e/js/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/js/tsconfig.spec.json +++ b/e2e/js/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/linter/jest.config.js b/e2e/linter/jest.config.ts similarity index 88% rename from e2e/linter/jest.config.js rename to e2e/linter/jest.config.ts index e07ef2a383..da89c131b1 100644 --- a/e2e/linter/jest.config.js +++ b/e2e/linter/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-linter', + preset: '../../jest.preset.ts', }; diff --git a/e2e/linter/project.json b/e2e/linter/project.json index 57e2a8649c..05ccc771f9 100644 --- a/e2e/linter/project.json +++ b/e2e/linter/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/linter/jest.config.js", + "jestConfig": "e2e/linter/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/linter/tsconfig.spec.json b/e2e/linter/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/linter/tsconfig.spec.json +++ b/e2e/linter/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/next/jest.config.js b/e2e/next/jest.config.ts similarity index 88% rename from e2e/next/jest.config.js rename to e2e/next/jest.config.ts index de056a4e29..025c481970 100644 --- a/e2e/next/jest.config.js +++ b/e2e/next/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-next', + preset: '../../jest.preset.ts', }; diff --git a/e2e/next/project.json b/e2e/next/project.json index 99bc995a29..cc4116b57b 100644 --- a/e2e/next/project.json +++ b/e2e/next/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/next/jest.config.js", + "jestConfig": "e2e/next/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/next/tsconfig.spec.json b/e2e/next/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/next/tsconfig.spec.json +++ b/e2e/next/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/node/jest.config.js b/e2e/node/jest.config.ts similarity index 88% rename from e2e/node/jest.config.js rename to e2e/node/jest.config.ts index 91dcecec75..3bb5a0f319 100644 --- a/e2e/node/jest.config.js +++ b/e2e/node/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-node', + preset: '../../jest.preset.ts', }; diff --git a/e2e/node/project.json b/e2e/node/project.json index 04d3e5e6f5..e7be6c736c 100644 --- a/e2e/node/project.json +++ b/e2e/node/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/node/jest.config.js", + "jestConfig": "e2e/node/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/node/tsconfig.spec.json b/e2e/node/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/node/tsconfig.spec.json +++ b/e2e/node/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/nx-plugin/jest.config.js b/e2e/nx-plugin/jest.config.ts similarity index 88% rename from e2e/nx-plugin/jest.config.js rename to e2e/nx-plugin/jest.config.ts index 77f43c0922..2c4ec7c241 100644 --- a/e2e/nx-plugin/jest.config.js +++ b/e2e/nx-plugin/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-nx-plugin', + preset: '../../jest.preset.ts', }; diff --git a/e2e/nx-plugin/project.json b/e2e/nx-plugin/project.json index 53a2279578..09e3be2c94 100644 --- a/e2e/nx-plugin/project.json +++ b/e2e/nx-plugin/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/nx-plugin/jest.config.js", + "jestConfig": "e2e/nx-plugin/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/nx-plugin/tsconfig.spec.json b/e2e/nx-plugin/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/nx-plugin/tsconfig.spec.json +++ b/e2e/nx-plugin/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/react-native/jest.config.js b/e2e/react-native/jest.config.ts similarity index 89% rename from e2e/react-native/jest.config.js rename to e2e/react-native/jest.config.ts index 8e170507a9..dad9c2434a 100644 --- a/e2e/react-native/jest.config.js +++ b/e2e/react-native/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -8,4 +7,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-react-native', testTimeout: 600000, + preset: '../../jest.preset.ts', }; diff --git a/e2e/react-native/project.json b/e2e/react-native/project.json index c0c943f776..2778b55998 100644 --- a/e2e/react-native/project.json +++ b/e2e/react-native/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/react-native/jest.config.js", + "jestConfig": "e2e/react-native/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/react-native/tsconfig.spec.json b/e2e/react-native/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/react-native/tsconfig.spec.json +++ b/e2e/react-native/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/react/jest.config.js b/e2e/react/jest.config.ts similarity index 88% rename from e2e/react/jest.config.js rename to e2e/react/jest.config.ts index 5532486965..e4a2cdcaa4 100644 --- a/e2e/react/jest.config.js +++ b/e2e/react/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-react', + preset: '../../jest.preset.ts', }; diff --git a/e2e/react/project.json b/e2e/react/project.json index bd4eeee0ce..ac9a660522 100644 --- a/e2e/react/project.json +++ b/e2e/react/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/react/jest.config.js", + "jestConfig": "e2e/react/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/react/tsconfig.spec.json b/e2e/react/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/react/tsconfig.spec.json +++ b/e2e/react/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/storybook/jest.config.js b/e2e/storybook/jest.config.ts similarity index 88% rename from e2e/storybook/jest.config.js rename to e2e/storybook/jest.config.ts index 8646b28164..ef8abd5e6f 100644 --- a/e2e/storybook/jest.config.js +++ b/e2e/storybook/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-storybook', + preset: '../../jest.preset.ts', }; diff --git a/e2e/storybook/project.json b/e2e/storybook/project.json index 38fe4d1a85..8b62d65536 100644 --- a/e2e/storybook/project.json +++ b/e2e/storybook/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/storybook/jest.config.js", + "jestConfig": "e2e/storybook/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/storybook/tsconfig.spec.json b/e2e/storybook/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/storybook/tsconfig.spec.json +++ b/e2e/storybook/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/web/jest.config.js b/e2e/web/jest.config.ts similarity index 88% rename from e2e/web/jest.config.js rename to e2e/web/jest.config.ts index 29b5eec327..e6345791a9 100644 --- a/e2e/web/jest.config.js +++ b/e2e/web/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-web', + preset: '../../jest.preset.ts', }; diff --git a/e2e/web/project.json b/e2e/web/project.json index 980c331894..c21a86a3a6 100644 --- a/e2e/web/project.json +++ b/e2e/web/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/web/jest.config.js", + "jestConfig": "e2e/web/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/web/tsconfig.spec.json b/e2e/web/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/web/tsconfig.spec.json +++ b/e2e/web/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/workspace-core/jest.config.js b/e2e/workspace-core/jest.config.ts similarity index 88% rename from e2e/workspace-core/jest.config.js rename to e2e/workspace-core/jest.config.ts index 5af18e8d7e..9368dd6055 100644 --- a/e2e/workspace-core/jest.config.js +++ b/e2e/workspace-core/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-workspace-core', + preset: '../../jest.preset.ts', }; diff --git a/e2e/workspace-core/project.json b/e2e/workspace-core/project.json index 47ad8cc98e..744104583f 100644 --- a/e2e/workspace-core/project.json +++ b/e2e/workspace-core/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/workspace-core/jest.config.js", + "jestConfig": "e2e/workspace-core/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/workspace-core/tsconfig.spec.json b/e2e/workspace-core/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/workspace-core/tsconfig.spec.json +++ b/e2e/workspace-core/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/workspace-create/jest.config.js b/e2e/workspace-create/jest.config.ts similarity index 88% rename from e2e/workspace-create/jest.config.js rename to e2e/workspace-create/jest.config.ts index 63eecbf07c..44ab65491f 100644 --- a/e2e/workspace-create/jest.config.js +++ b/e2e/workspace-create/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-workspace-create', + preset: '../../jest.preset.ts', }; diff --git a/e2e/workspace-create/project.json b/e2e/workspace-create/project.json index cb4a8e9115..b4d19ffe75 100644 --- a/e2e/workspace-create/project.json +++ b/e2e/workspace-create/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/workspace-create/jest.config.js", + "jestConfig": "e2e/workspace-create/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/workspace-create/tsconfig.spec.json b/e2e/workspace-create/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/workspace-create/tsconfig.spec.json +++ b/e2e/workspace-create/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/e2e/workspace-integrations/jest.config.js b/e2e/workspace-integrations/jest.config.ts similarity index 88% rename from e2e/workspace-integrations/jest.config.js rename to e2e/workspace-integrations/jest.config.ts index 78f4bd2db8..0b606c65e4 100644 --- a/e2e/workspace-integrations/jest.config.js +++ b/e2e/workspace-integrations/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { maxWorkers: 1, globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'e2e-workspace-integrations', + preset: '../../jest.preset.ts', }; diff --git a/e2e/workspace-integrations/project.json b/e2e/workspace-integrations/project.json index 2b83427acd..b1a7f20fee 100644 --- a/e2e/workspace-integrations/project.json +++ b/e2e/workspace-integrations/project.json @@ -23,7 +23,7 @@ "run-e2e-tests": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "e2e/workspace-integrations/jest.config.js", + "jestConfig": "e2e/workspace-integrations/jest.config.ts", "passWithNoTests": true, "runInBand": true }, diff --git a/e2e/workspace-integrations/tsconfig.spec.json b/e2e/workspace-integrations/tsconfig.spec.json index 1ad559c708..1a24bfb0a1 100644 --- a/e2e/workspace-integrations/tsconfig.spec.json +++ b/e2e/workspace-integrations/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/jest.config.js b/jest.config.ts similarity index 100% rename from jest.config.js rename to jest.config.ts diff --git a/jest.preset.js b/jest.preset.ts similarity index 100% rename from jest.preset.js rename to jest.preset.ts diff --git a/migrations.json b/migrations.json new file mode 100644 index 0000000000..496ea257c7 --- /dev/null +++ b/migrations.json @@ -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" + } + ] +} diff --git a/nx-dev/data-access-documents/jest.config.js b/nx-dev/data-access-documents/jest.config.ts similarity index 100% rename from nx-dev/data-access-documents/jest.config.js rename to nx-dev/data-access-documents/jest.config.ts diff --git a/nx-dev/data-access-documents/project.json b/nx-dev/data-access-documents/project.json index f1ebd1862f..1ab984c24d 100644 --- a/nx-dev/data-access-documents/project.json +++ b/nx-dev/data-access-documents/project.json @@ -14,7 +14,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/data-access-documents"], "options": { - "jestConfig": "nx-dev/data-access-documents/jest.config.js", + "jestConfig": "nx-dev/data-access-documents/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/data-access-documents/tsconfig.lib.json b/nx-dev/data-access-documents/tsconfig.lib.json index 3b6a2b54ff..339899f151 100644 --- a/nx-dev/data-access-documents/tsconfig.lib.json +++ b/nx-dev/data-access-documents/tsconfig.lib.json @@ -8,5 +8,5 @@ "types": ["node"] }, "include": ["**/*.ts"], - "exclude": ["**/*.spec.ts", "**/*.test.ts"] + "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"] } diff --git a/nx-dev/data-access-documents/tsconfig.spec.json b/nx-dev/data-access-documents/tsconfig.spec.json index 993e75382b..2d1eeacb70 100644 --- a/nx-dev/data-access-documents/tsconfig.spec.json +++ b/nx-dev/data-access-documents/tsconfig.spec.json @@ -17,6 +17,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/data-access-packages/jest.config.js b/nx-dev/data-access-packages/jest.config.ts similarity index 100% rename from nx-dev/data-access-packages/jest.config.js rename to nx-dev/data-access-packages/jest.config.ts diff --git a/nx-dev/data-access-packages/project.json b/nx-dev/data-access-packages/project.json index e9683fc47f..b54062165b 100644 --- a/nx-dev/data-access-packages/project.json +++ b/nx-dev/data-access-packages/project.json @@ -14,7 +14,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/data-access-packages"], "options": { - "jestConfig": "nx-dev/data-access-packages/jest.config.js", + "jestConfig": "nx-dev/data-access-packages/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/data-access-packages/tsconfig.lib.json b/nx-dev/data-access-packages/tsconfig.lib.json index 3b6a2b54ff..339899f151 100644 --- a/nx-dev/data-access-packages/tsconfig.lib.json +++ b/nx-dev/data-access-packages/tsconfig.lib.json @@ -8,5 +8,5 @@ "types": ["node"] }, "include": ["**/*.ts"], - "exclude": ["**/*.spec.ts", "**/*.test.ts"] + "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"] } diff --git a/nx-dev/data-access-packages/tsconfig.spec.json b/nx-dev/data-access-packages/tsconfig.spec.json index 46f2253261..47ab8641e1 100644 --- a/nx-dev/data-access-packages/tsconfig.spec.json +++ b/nx-dev/data-access-packages/tsconfig.spec.json @@ -17,6 +17,7 @@ "**/*.spec.js", "**/*.test.jsx", "**/*.spec.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/feature-analytics/jest.config.js b/nx-dev/feature-analytics/jest.config.ts similarity index 88% rename from nx-dev/feature-analytics/jest.config.js rename to nx-dev/feature-analytics/jest.config.ts index a9905b3fb2..5f6db5d9d9 100644 --- a/nx-dev/feature-analytics/jest.config.js +++ b/nx-dev/feature-analytics/jest.config.ts @@ -1,9 +1,10 @@ module.exports = { displayName: 'nx-dev-feature-analytics', - preset: '../../jest.preset.js', + transform: { '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }], }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/nx-dev/feature-analytics', + preset: '../../jest.preset.ts', }; diff --git a/nx-dev/feature-analytics/project.json b/nx-dev/feature-analytics/project.json index 9e269423e0..1fac384ba2 100644 --- a/nx-dev/feature-analytics/project.json +++ b/nx-dev/feature-analytics/project.json @@ -14,7 +14,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/feature-analytics"], "options": { - "jestConfig": "nx-dev/feature-analytics/jest.config.js", + "jestConfig": "nx-dev/feature-analytics/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/feature-analytics/tsconfig.lib.json b/nx-dev/feature-analytics/tsconfig.lib.json index acc8a9b9d8..ad41401e71 100644 --- a/nx-dev/feature-analytics/tsconfig.lib.json +++ b/nx-dev/feature-analytics/tsconfig.lib.json @@ -8,6 +8,12 @@ "../../node_modules/@nrwl/react/typings/cssmodule.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"] } diff --git a/nx-dev/feature-analytics/tsconfig.spec.json b/nx-dev/feature-analytics/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/nx-dev/feature-analytics/tsconfig.spec.json +++ b/nx-dev/feature-analytics/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/feature-doc-viewer/jest.config.js b/nx-dev/feature-doc-viewer/jest.config.ts similarity index 100% rename from nx-dev/feature-doc-viewer/jest.config.js rename to nx-dev/feature-doc-viewer/jest.config.ts diff --git a/nx-dev/feature-doc-viewer/project.json b/nx-dev/feature-doc-viewer/project.json index 87281eb469..e5f15cc047 100644 --- a/nx-dev/feature-doc-viewer/project.json +++ b/nx-dev/feature-doc-viewer/project.json @@ -14,7 +14,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/feature-doc-viewer"], "options": { - "jestConfig": "nx-dev/feature-doc-viewer/jest.config.js", + "jestConfig": "nx-dev/feature-doc-viewer/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/feature-doc-viewer/tsconfig.lib.json b/nx-dev/feature-doc-viewer/tsconfig.lib.json index 8b853941c7..1672120ed9 100644 --- a/nx-dev/feature-doc-viewer/tsconfig.lib.json +++ b/nx-dev/feature-doc-viewer/tsconfig.lib.json @@ -9,6 +9,12 @@ "../../node_modules/@nrwl/react/typings/cssmodule.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"] } diff --git a/nx-dev/feature-doc-viewer/tsconfig.spec.json b/nx-dev/feature-doc-viewer/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/nx-dev/feature-doc-viewer/tsconfig.spec.json +++ b/nx-dev/feature-doc-viewer/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/feature-package-schema-viewer/jest.config.js b/nx-dev/feature-package-schema-viewer/jest.config.ts similarity index 90% rename from nx-dev/feature-package-schema-viewer/jest.config.js rename to nx-dev/feature-package-schema-viewer/jest.config.ts index c1efdc035f..4cca991c7d 100644 --- a/nx-dev/feature-package-schema-viewer/jest.config.js +++ b/nx-dev/feature-package-schema-viewer/jest.config.ts @@ -1,6 +1,6 @@ module.exports = { displayName: 'nx-dev-feature-package-schema-viewer', - preset: '../../jest.preset.js', + globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json', @@ -11,4 +11,5 @@ module.exports = { }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/nx-dev/feature-package-schema-viewer', + preset: '../../jest.preset.ts', }; diff --git a/nx-dev/feature-package-schema-viewer/project.json b/nx-dev/feature-package-schema-viewer/project.json index 512921617b..df36f43bd3 100644 --- a/nx-dev/feature-package-schema-viewer/project.json +++ b/nx-dev/feature-package-schema-viewer/project.json @@ -16,7 +16,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/feature-package-schema-viewer"], "options": { - "jestConfig": "nx-dev/feature-package-schema-viewer/jest.config.js", + "jestConfig": "nx-dev/feature-package-schema-viewer/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/feature-package-schema-viewer/tsconfig.lib.json b/nx-dev/feature-package-schema-viewer/tsconfig.lib.json index e9f02ac714..41c903f7c0 100644 --- a/nx-dev/feature-package-schema-viewer/tsconfig.lib.json +++ b/nx-dev/feature-package-schema-viewer/tsconfig.lib.json @@ -17,7 +17,8 @@ "**/*.spec.js", "**/*.test.js", "**/*.spec.jsx", - "**/*.test.jsx" + "**/*.test.jsx", + "jest.config.ts" ], "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] } diff --git a/nx-dev/feature-package-schema-viewer/tsconfig.spec.json b/nx-dev/feature-package-schema-viewer/tsconfig.spec.json index 67f149c4c0..a85d573fcf 100644 --- a/nx-dev/feature-package-schema-viewer/tsconfig.spec.json +++ b/nx-dev/feature-package-schema-viewer/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.spec.js", "**/*.test.jsx", "**/*.spec.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/feature-search/jest.config.js b/nx-dev/feature-search/jest.config.ts similarity index 88% rename from nx-dev/feature-search/jest.config.js rename to nx-dev/feature-search/jest.config.ts index 510bc2a809..1746df5d05 100644 --- a/nx-dev/feature-search/jest.config.js +++ b/nx-dev/feature-search/jest.config.ts @@ -1,9 +1,10 @@ module.exports = { displayName: 'nx-dev-feature-search', - preset: '../../jest.preset.js', + transform: { '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }], }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/nx-dev/feature-search', + preset: '../../jest.preset.ts', }; diff --git a/nx-dev/feature-search/project.json b/nx-dev/feature-search/project.json index fc56bd3e69..8a87c0c5ad 100644 --- a/nx-dev/feature-search/project.json +++ b/nx-dev/feature-search/project.json @@ -14,7 +14,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/feature-search"], "options": { - "jestConfig": "nx-dev/feature-search/jest.config.js", + "jestConfig": "nx-dev/feature-search/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/feature-search/tsconfig.lib.json b/nx-dev/feature-search/tsconfig.lib.json index 8b853941c7..1672120ed9 100644 --- a/nx-dev/feature-search/tsconfig.lib.json +++ b/nx-dev/feature-search/tsconfig.lib.json @@ -9,6 +9,12 @@ "../../node_modules/@nrwl/react/typings/cssmodule.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"] } diff --git a/nx-dev/feature-search/tsconfig.spec.json b/nx-dev/feature-search/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/nx-dev/feature-search/tsconfig.spec.json +++ b/nx-dev/feature-search/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/models-document/jest.config.js b/nx-dev/models-document/jest.config.ts similarity index 90% rename from nx-dev/models-document/jest.config.js rename to nx-dev/models-document/jest.config.ts index dc526cc9b6..2ce9d3d03c 100644 --- a/nx-dev/models-document/jest.config.js +++ b/nx-dev/models-document/jest.config.ts @@ -1,6 +1,6 @@ module.exports = { displayName: 'nx-dev-models-document', - preset: '../../jest.preset.js', + globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json', @@ -12,4 +12,5 @@ module.exports = { }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/nx-dev/models-document', + preset: '../../jest.preset.ts', }; diff --git a/nx-dev/models-document/project.json b/nx-dev/models-document/project.json index 7e10f6c932..44ffd1a428 100644 --- a/nx-dev/models-document/project.json +++ b/nx-dev/models-document/project.json @@ -14,7 +14,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/models-document"], "options": { - "jestConfig": "nx-dev/models-document/jest.config.js", + "jestConfig": "nx-dev/models-document/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/models-document/tsconfig.lib.json b/nx-dev/models-document/tsconfig.lib.json index 6efdbeecb5..5c589aef9e 100644 --- a/nx-dev/models-document/tsconfig.lib.json +++ b/nx-dev/models-document/tsconfig.lib.json @@ -6,6 +6,6 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts"], + "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/nx-dev/models-document/tsconfig.spec.json b/nx-dev/models-document/tsconfig.spec.json index 67f149c4c0..a85d573fcf 100644 --- a/nx-dev/models-document/tsconfig.spec.json +++ b/nx-dev/models-document/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.spec.js", "**/*.test.jsx", "**/*.spec.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/models-menu/jest.config.js b/nx-dev/models-menu/jest.config.ts similarity index 90% rename from nx-dev/models-menu/jest.config.js rename to nx-dev/models-menu/jest.config.ts index 2feb34d18d..e49d5b4255 100644 --- a/nx-dev/models-menu/jest.config.js +++ b/nx-dev/models-menu/jest.config.ts @@ -1,6 +1,6 @@ module.exports = { displayName: 'nx-dev-models-menu', - preset: '../../jest.preset.js', + globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json', @@ -12,4 +12,5 @@ module.exports = { }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/nx-dev/models-menu', + preset: '../../jest.preset.ts', }; diff --git a/nx-dev/models-menu/project.json b/nx-dev/models-menu/project.json index 9408910145..4c0ad1e132 100644 --- a/nx-dev/models-menu/project.json +++ b/nx-dev/models-menu/project.json @@ -14,7 +14,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/models-menu"], "options": { - "jestConfig": "nx-dev/models-menu/jest.config.js", + "jestConfig": "nx-dev/models-menu/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/models-menu/tsconfig.lib.json b/nx-dev/models-menu/tsconfig.lib.json index 6efdbeecb5..5c589aef9e 100644 --- a/nx-dev/models-menu/tsconfig.lib.json +++ b/nx-dev/models-menu/tsconfig.lib.json @@ -6,6 +6,6 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts"], + "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/nx-dev/models-menu/tsconfig.spec.json b/nx-dev/models-menu/tsconfig.spec.json index 67f149c4c0..a85d573fcf 100644 --- a/nx-dev/models-menu/tsconfig.spec.json +++ b/nx-dev/models-menu/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.spec.js", "**/*.test.jsx", "**/*.spec.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/models-package/jest.config.js b/nx-dev/models-package/jest.config.ts similarity index 90% rename from nx-dev/models-package/jest.config.js rename to nx-dev/models-package/jest.config.ts index 9798a5129e..17b7153889 100644 --- a/nx-dev/models-package/jest.config.js +++ b/nx-dev/models-package/jest.config.ts @@ -1,6 +1,6 @@ module.exports = { displayName: 'nx-dev-models-package', - preset: '../../jest.preset.js', + globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json', @@ -12,4 +12,5 @@ module.exports = { }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/nx-dev/models-package', + preset: '../../jest.preset.ts', }; diff --git a/nx-dev/models-package/project.json b/nx-dev/models-package/project.json index 6892435277..2e9ec89b91 100644 --- a/nx-dev/models-package/project.json +++ b/nx-dev/models-package/project.json @@ -14,7 +14,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/models-package"], "options": { - "jestConfig": "nx-dev/models-package/jest.config.js", + "jestConfig": "nx-dev/models-package/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/models-package/tsconfig.lib.json b/nx-dev/models-package/tsconfig.lib.json index 6efdbeecb5..5c589aef9e 100644 --- a/nx-dev/models-package/tsconfig.lib.json +++ b/nx-dev/models-package/tsconfig.lib.json @@ -6,6 +6,6 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts"], + "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/nx-dev/models-package/tsconfig.spec.json b/nx-dev/models-package/tsconfig.spec.json index 67f149c4c0..a85d573fcf 100644 --- a/nx-dev/models-package/tsconfig.spec.json +++ b/nx-dev/models-package/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.spec.js", "**/*.test.jsx", "**/*.spec.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/nx-dev/jest.config.js b/nx-dev/nx-dev/jest.config.ts similarity index 100% rename from nx-dev/nx-dev/jest.config.js rename to nx-dev/nx-dev/jest.config.ts diff --git a/nx-dev/nx-dev/project.json b/nx-dev/nx-dev/project.json index 31984ec7bc..0da98cb52a 100644 --- a/nx-dev/nx-dev/project.json +++ b/nx-dev/nx-dev/project.json @@ -102,7 +102,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/nx-dev"], "options": { - "jestConfig": "nx-dev/nx-dev/jest.config.js", + "jestConfig": "nx-dev/nx-dev/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/nx-dev/tsconfig.app.json b/nx-dev/nx-dev/tsconfig.app.json index a76e9d4496..4bb986e226 100644 --- a/nx-dev/nx-dev/tsconfig.app.json +++ b/nx-dev/nx-dev/tsconfig.app.json @@ -5,6 +5,12 @@ "types": ["node", "jest"], "lib": ["dom", "es2019"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*.spec.tsx", + "**/*.test.tsx", + "jest.config.ts" + ], "include": ["**/*.js", "**/*.ts", "**/*.tsx", "next-env.d.ts"] } diff --git a/nx-dev/nx-dev/tsconfig.spec.json b/nx-dev/nx-dev/tsconfig.spec.json index 940452ed40..dd4782d4a0 100644 --- a/nx-dev/nx-dev/tsconfig.spec.json +++ b/nx-dev/nx-dev/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/ui-commands/jest.config.js b/nx-dev/ui-commands/jest.config.ts similarity index 86% rename from nx-dev/ui-commands/jest.config.js rename to nx-dev/ui-commands/jest.config.ts index c3a9641525..c117afd932 100644 --- a/nx-dev/ui-commands/jest.config.js +++ b/nx-dev/ui-commands/jest.config.ts @@ -1,9 +1,10 @@ module.exports = { displayName: 'nx-dev-ui-commands', - preset: '../../jest.preset.js', + transform: { '^.+\\.[tj]sx?$': 'babel-jest', }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage//nx-dev/ui-commands', + preset: '../../jest.preset.ts', }; diff --git a/nx-dev/ui-commands/project.json b/nx-dev/ui-commands/project.json index 6fcf0d4878..c8628b3a6a 100644 --- a/nx-dev/ui-commands/project.json +++ b/nx-dev/ui-commands/project.json @@ -15,7 +15,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/ui-commands"], "options": { - "jestConfig": "nx-dev/ui-commands/jest.config.js", + "jestConfig": "nx-dev/ui-commands/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/ui-commands/tsconfig.lib.json b/nx-dev/ui-commands/tsconfig.lib.json index acc8a9b9d8..ad41401e71 100644 --- a/nx-dev/ui-commands/tsconfig.lib.json +++ b/nx-dev/ui-commands/tsconfig.lib.json @@ -8,6 +8,12 @@ "../../node_modules/@nrwl/react/typings/cssmodule.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"] } diff --git a/nx-dev/ui-commands/tsconfig.spec.json b/nx-dev/ui-commands/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/nx-dev/ui-commands/tsconfig.spec.json +++ b/nx-dev/ui-commands/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/ui-common/jest.config.js b/nx-dev/ui-common/jest.config.ts similarity index 100% rename from nx-dev/ui-common/jest.config.js rename to nx-dev/ui-common/jest.config.ts diff --git a/nx-dev/ui-common/project.json b/nx-dev/ui-common/project.json index 31c26a65d8..e9ac038c23 100644 --- a/nx-dev/ui-common/project.json +++ b/nx-dev/ui-common/project.json @@ -14,7 +14,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/ui-common"], "options": { - "jestConfig": "nx-dev/ui-common/jest.config.js", + "jestConfig": "nx-dev/ui-common/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/ui-common/tsconfig.lib.json b/nx-dev/ui-common/tsconfig.lib.json index acc8a9b9d8..ad41401e71 100644 --- a/nx-dev/ui-common/tsconfig.lib.json +++ b/nx-dev/ui-common/tsconfig.lib.json @@ -8,6 +8,12 @@ "../../node_modules/@nrwl/react/typings/cssmodule.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"] } diff --git a/nx-dev/ui-common/tsconfig.spec.json b/nx-dev/ui-common/tsconfig.spec.json index 1f990ef06a..c72d175a81 100644 --- a/nx-dev/ui-common/tsconfig.spec.json +++ b/nx-dev/ui-common/tsconfig.spec.json @@ -15,6 +15,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/ui-community/jest.config.js b/nx-dev/ui-community/jest.config.ts similarity index 86% rename from nx-dev/ui-community/jest.config.js rename to nx-dev/ui-community/jest.config.ts index 9f4a96ebc2..f681266280 100644 --- a/nx-dev/ui-community/jest.config.js +++ b/nx-dev/ui-community/jest.config.ts @@ -1,9 +1,10 @@ module.exports = { displayName: 'nx-dev-ui-community', - preset: '../../jest.preset.js', + transform: { '^.+\\.[tj]sx?$': 'babel-jest', }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/nx-dev/ui-community', + preset: '../../jest.preset.ts', }; diff --git a/nx-dev/ui-community/project.json b/nx-dev/ui-community/project.json index a8cd42e079..9bc560363e 100644 --- a/nx-dev/ui-community/project.json +++ b/nx-dev/ui-community/project.json @@ -15,7 +15,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/ui-community"], "options": { - "jestConfig": "nx-dev/ui-community/jest.config.js", + "jestConfig": "nx-dev/ui-community/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/ui-community/tsconfig.lib.json b/nx-dev/ui-community/tsconfig.lib.json index 252904bb73..b2447df1e5 100644 --- a/nx-dev/ui-community/tsconfig.lib.json +++ b/nx-dev/ui-community/tsconfig.lib.json @@ -16,7 +16,8 @@ "**/*.spec.js", "**/*.test.js", "**/*.spec.jsx", - "**/*.test.jsx" + "**/*.test.jsx", + "jest.config.ts" ], "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] } diff --git a/nx-dev/ui-community/tsconfig.spec.json b/nx-dev/ui-community/tsconfig.spec.json index 67f149c4c0..a85d573fcf 100644 --- a/nx-dev/ui-community/tsconfig.spec.json +++ b/nx-dev/ui-community/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.spec.js", "**/*.test.jsx", "**/*.spec.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/ui-conference/jest.config.js b/nx-dev/ui-conference/jest.config.ts similarity index 90% rename from nx-dev/ui-conference/jest.config.js rename to nx-dev/ui-conference/jest.config.ts index 1786d7015a..e5a8c3765d 100644 --- a/nx-dev/ui-conference/jest.config.js +++ b/nx-dev/ui-conference/jest.config.ts @@ -1,10 +1,11 @@ module.exports = { displayName: 'nx-dev-ui-conference', - preset: '../../jest.preset.js', + transform: { '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }], }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/nx-dev/ui-conference', setupFilesAfterEnv: ['/test-setup.ts'], + preset: '../../jest.preset.ts', }; diff --git a/nx-dev/ui-conference/project.json b/nx-dev/ui-conference/project.json index 28d463a67c..80020d9e60 100644 --- a/nx-dev/ui-conference/project.json +++ b/nx-dev/ui-conference/project.json @@ -15,7 +15,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/ui-conference"], "options": { - "jestConfig": "nx-dev/ui-conference/jest.config.js", + "jestConfig": "nx-dev/ui-conference/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/ui-conference/tsconfig.lib.json b/nx-dev/ui-conference/tsconfig.lib.json index acc8a9b9d8..ad41401e71 100644 --- a/nx-dev/ui-conference/tsconfig.lib.json +++ b/nx-dev/ui-conference/tsconfig.lib.json @@ -8,6 +8,12 @@ "../../node_modules/@nrwl/react/typings/cssmodule.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"] } diff --git a/nx-dev/ui-conference/tsconfig.spec.json b/nx-dev/ui-conference/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/nx-dev/ui-conference/tsconfig.spec.json +++ b/nx-dev/ui-conference/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/ui-home/jest.config.js b/nx-dev/ui-home/jest.config.ts similarity index 86% rename from nx-dev/ui-home/jest.config.js rename to nx-dev/ui-home/jest.config.ts index 6f703bd3b7..65ee762cd9 100644 --- a/nx-dev/ui-home/jest.config.js +++ b/nx-dev/ui-home/jest.config.ts @@ -1,9 +1,10 @@ module.exports = { displayName: 'nx-dev-ui-home', - preset: '../../jest.preset.js', + transform: { '^.+\\.[tj]sx?$': 'babel-jest', }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/nx-dev/ui-home', + preset: '../../jest.preset.ts', }; diff --git a/nx-dev/ui-home/project.json b/nx-dev/ui-home/project.json index d46afb0e9c..f23a56a530 100644 --- a/nx-dev/ui-home/project.json +++ b/nx-dev/ui-home/project.json @@ -15,7 +15,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/ui-home"], "options": { - "jestConfig": "nx-dev/ui-home/jest.config.js", + "jestConfig": "nx-dev/ui-home/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/ui-home/tsconfig.lib.json b/nx-dev/ui-home/tsconfig.lib.json index dd9d4bf915..8934b79a54 100644 --- a/nx-dev/ui-home/tsconfig.lib.json +++ b/nx-dev/ui-home/tsconfig.lib.json @@ -9,6 +9,12 @@ "../../node_modules/@nrwl/react/typings/cssmodule.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"] } diff --git a/nx-dev/ui-home/tsconfig.spec.json b/nx-dev/ui-home/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/nx-dev/ui-home/tsconfig.spec.json +++ b/nx-dev/ui-home/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/ui-member-card/jest.config.js b/nx-dev/ui-member-card/jest.config.ts similarity index 91% rename from nx-dev/ui-member-card/jest.config.js rename to nx-dev/ui-member-card/jest.config.ts index 9cf1514d0b..b0d9b3cffb 100644 --- a/nx-dev/ui-member-card/jest.config.js +++ b/nx-dev/ui-member-card/jest.config.ts @@ -3,11 +3,12 @@ const nxPreset = require('@nrwl/jest/preset'); module.exports = { ...nxPreset, displayName: 'nx-dev-ui-member-card', - preset: '../../jest.preset.js', + transform: { '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }], }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/nx-dev/ui-member-card', setupFilesAfterEnv: ['/test-setup.ts'], + preset: '../../jest.preset.ts', }; diff --git a/nx-dev/ui-member-card/project.json b/nx-dev/ui-member-card/project.json index 82d5acec1f..0b9d57efc6 100644 --- a/nx-dev/ui-member-card/project.json +++ b/nx-dev/ui-member-card/project.json @@ -15,7 +15,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/ui-member-card"], "options": { - "jestConfig": "nx-dev/ui-member-card/jest.config.js", + "jestConfig": "nx-dev/ui-member-card/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/ui-member-card/tsconfig.lib.json b/nx-dev/ui-member-card/tsconfig.lib.json index 827fb6e8fd..9f37995290 100644 --- a/nx-dev/ui-member-card/tsconfig.lib.json +++ b/nx-dev/ui-member-card/tsconfig.lib.json @@ -9,6 +9,12 @@ "../../node_modules/@nrwl/react/typings/cssmodule.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"] } diff --git a/nx-dev/ui-member-card/tsconfig.spec.json b/nx-dev/ui-member-card/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/nx-dev/ui-member-card/tsconfig.spec.json +++ b/nx-dev/ui-member-card/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/nx-dev/ui-sponsor-card/jest.config.js b/nx-dev/ui-sponsor-card/jest.config.ts similarity index 91% rename from nx-dev/ui-sponsor-card/jest.config.js rename to nx-dev/ui-sponsor-card/jest.config.ts index 2a7d0344ca..9943db85f3 100644 --- a/nx-dev/ui-sponsor-card/jest.config.js +++ b/nx-dev/ui-sponsor-card/jest.config.ts @@ -3,11 +3,12 @@ const nxPreset = require('@nrwl/jest/preset'); module.exports = { ...nxPreset, displayName: 'nx-dev-ui-sponsor-card', - preset: '../../jest.preset.js', + transform: { '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }], }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/nx-dev/ui-sponsor-card', setupFilesAfterEnv: ['/test-setup.ts'], + preset: '../../jest.preset.ts', }; diff --git a/nx-dev/ui-sponsor-card/project.json b/nx-dev/ui-sponsor-card/project.json index 7e025649f2..a33ad60e5e 100644 --- a/nx-dev/ui-sponsor-card/project.json +++ b/nx-dev/ui-sponsor-card/project.json @@ -15,7 +15,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/nx-dev/ui-sponsor-card"], "options": { - "jestConfig": "nx-dev/ui-sponsor-card/jest.config.js", + "jestConfig": "nx-dev/ui-sponsor-card/jest.config.ts", "passWithNoTests": true } } diff --git a/nx-dev/ui-sponsor-card/tsconfig.lib.json b/nx-dev/ui-sponsor-card/tsconfig.lib.json index 35df2f9aed..3b5302ca8e 100644 --- a/nx-dev/ui-sponsor-card/tsconfig.lib.json +++ b/nx-dev/ui-sponsor-card/tsconfig.lib.json @@ -8,6 +8,12 @@ "../../node_modules/@nrwl/react/typings/cssmodule.d.ts", "../../node_modules/@nrwl/next/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"] } diff --git a/nx-dev/ui-sponsor-card/tsconfig.spec.json b/nx-dev/ui-sponsor-card/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/nx-dev/ui-sponsor-card/tsconfig.spec.json +++ b/nx-dev/ui-sponsor-card/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/package.json b/package.json index 3263e7fd73..8fe9355a60 100644 --- a/package.json +++ b/package.json @@ -58,12 +58,12 @@ "@ngrx/schematics": "~13.0.0", "@ngrx/store": "~13.0.0", "@ngrx/store-devtools": "~13.0.0", - "@nrwl/eslint-plugin-nx": "14.0.0-beta.2", - "@nrwl/jest": "14.0.0-beta.2", - "@nrwl/next": "14.0.0-beta.2", + "@nrwl/eslint-plugin-nx": "14.0.2", + "@nrwl/jest": "14.0.2", + "@nrwl/next": "14.0.2", "@nrwl/nx-cloud": "13.3.1", - "@nrwl/react": "14.0.0-beta.2", - "@nrwl/web": "14.0.0-beta.2", + "@nrwl/react": "14.0.2", + "@nrwl/web": "14.0.2", "@parcel/watcher": "2.0.4", "@phenomnomnominal/tsquery": "4.1.1", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.1", @@ -96,7 +96,7 @@ "@types/is-ci": "^3.0.0", "@types/jasmine": "~2.8.6", "@types/jasminewd2": "~2.0.3", - "@types/jest": "27.0.2", + "@types/jest": "27.4.1", "@types/marked": "^2.0.0", "@types/node": "16.11.7", "@types/prettier": "2.4.3", @@ -115,7 +115,7 @@ "@xstate/react": "^1.6.3", "angular": "1.8.0", "autoprefixer": "^10.2.5", - "babel-jest": "27.2.3", + "babel-jest": "27.5.1", "chalk": "4.1.0", "chokidar": "^3.5.1", "commitizen": "^4.0.3", @@ -161,7 +161,7 @@ "jasmine-core": "~2.99.1", "jasmine-marbles": "~0.8.4", "jasmine-spec-reporter": "~4.2.1", - "jest": "27.2.3", + "jest": "27.5.1", "jest-circus": "27.2.3", "jest-preset-angular": "11.1.1", "jsonc-eslint-parser": "^2.1.0", @@ -186,7 +186,7 @@ "ng-packagr": "~13.3.0", "ngrx-store-freeze": "0.2.4", "node-fetch": "^2.6.7", - "nx": "14.0.0-beta.2", + "nx": "14.0.2", "open": "^8.4.0", "parse-markdown-links": "^1.0.4", "parse5": "4.0.0", @@ -229,7 +229,7 @@ "terser-webpack-plugin": "^5.3.0", "tmp": "~0.2.1", "tree-kill": "1.2.2", - "ts-jest": "27.0.5", + "ts-jest": "27.1.4", "ts-loader": "^9.2.6", "ts-node": "9.1.1", "tsconfig-paths": "^3.9.0", @@ -305,4 +305,5 @@ "**/xmlhttprequest-ssl": "~1.6.2", "minimist": "^1.2.6" } -} \ No newline at end of file +} + diff --git a/packages/add-nx-to-monorepo/jest.config.js b/packages/add-nx-to-monorepo/jest.config.ts similarity index 90% rename from packages/add-nx-to-monorepo/jest.config.js rename to packages/add-nx-to-monorepo/jest.config.ts index af263c0bd9..c4aa7ff5e9 100644 --- a/packages/add-nx-to-monorepo/jest.config.js +++ b/packages/add-nx-to-monorepo/jest.config.ts @@ -1,6 +1,6 @@ module.exports = { displayName: 'add-nx-to-monorepo', - preset: '../../jest.preset.js', + globals: { 'ts-jest': { tsConfig: '/tsconfig.spec.json', @@ -11,4 +11,5 @@ module.exports = { }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/projects/add-nx-to-monorepo', + preset: '../../jest.preset.ts', }; diff --git a/packages/add-nx-to-monorepo/project.json b/packages/add-nx-to-monorepo/project.json index f3d7f62366..8c55d6cc3e 100644 --- a/packages/add-nx-to-monorepo/project.json +++ b/packages/add-nx-to-monorepo/project.json @@ -13,7 +13,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/packages/add-nx-to-monorepo"], "options": { - "jestConfig": "packages/add-nx-to-monorepo/jest.config.js", + "jestConfig": "packages/add-nx-to-monorepo/jest.config.ts", "passWithNoTests": true } }, diff --git a/packages/add-nx-to-monorepo/tsconfig.lib.json b/packages/add-nx-to-monorepo/tsconfig.lib.json index 037d796f28..3ce6be94ee 100644 --- a/packages/add-nx-to-monorepo/tsconfig.lib.json +++ b/packages/add-nx-to-monorepo/tsconfig.lib.json @@ -6,6 +6,6 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts"], + "exclude": ["**/*.spec.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/packages/add-nx-to-monorepo/tsconfig.spec.json b/packages/add-nx-to-monorepo/tsconfig.spec.json index 559410b96a..831ab6481b 100644 --- a/packages/add-nx-to-monorepo/tsconfig.spec.json +++ b/packages/add-nx-to-monorepo/tsconfig.spec.json @@ -10,6 +10,7 @@ "**/*.spec.tsx", "**/*.spec.js", "**/*.spec.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/angular/jest.config.js b/packages/angular/jest.config.ts similarity index 88% rename from packages/angular/jest.config.js rename to packages/angular/jest.config.ts index d348c2ea1c..8aa767f00b 100644 --- a/packages/angular/jest.config.js +++ b/packages/angular/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'angular', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/angular/project.json b/packages/angular/project.json index 64549cc244..c83da9ea0d 100644 --- a/packages/angular/project.json +++ b/packages/angular/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/angular/jest.config.js", + "jestConfig": "packages/angular/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/angular"] diff --git a/packages/angular/tsconfig.lib.json b/packages/angular/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/angular/tsconfig.lib.json +++ b/packages/angular/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/angular/tsconfig.spec.json b/packages/angular/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/angular/tsconfig.spec.json +++ b/packages/angular/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/cli/jest.config.js b/packages/cli/jest.config.ts similarity index 88% rename from packages/cli/jest.config.js rename to packages/cli/jest.config.ts index 5b9a38fdba..3fffb99381 100644 --- a/packages/cli/jest.config.js +++ b/packages/cli/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'cli', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/cli/project.json b/packages/cli/project.json index 68938e8f28..a604f2ba25 100644 --- a/packages/cli/project.json +++ b/packages/cli/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/cli/jest.config.js", + "jestConfig": "packages/cli/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/cli"] diff --git a/packages/cli/tsconfig.lib.json b/packages/cli/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/cli/tsconfig.lib.json +++ b/packages/cli/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/cli/tsconfig.spec.json b/packages/cli/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/cli/tsconfig.spec.json +++ b/packages/cli/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/cra-to-nx/jest.config.js b/packages/cra-to-nx/jest.config.ts similarity index 89% rename from packages/cra-to-nx/jest.config.js rename to packages/cra-to-nx/jest.config.ts index 747eadb8b7..b45433767a 100644 --- a/packages/cra-to-nx/jest.config.js +++ b/packages/cra-to-nx/jest.config.ts @@ -1,6 +1,6 @@ module.exports = { displayName: 'cra-to-nx', - preset: '../../jest.preset.js', + globals: { 'ts-jest': { tsConfig: '/tsconfig.spec.json', @@ -11,4 +11,5 @@ module.exports = { }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../../coverage/projects/cra-to-nx', + preset: '../../jest.preset.ts', }; diff --git a/packages/cra-to-nx/project.json b/packages/cra-to-nx/project.json index 0fa0db90fe..90df89c749 100644 --- a/packages/cra-to-nx/project.json +++ b/packages/cra-to-nx/project.json @@ -13,7 +13,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/packages/cra-to-nx"], "options": { - "jestConfig": "packages/cra-to-nx/jest.config.js", + "jestConfig": "packages/cra-to-nx/jest.config.ts", "passWithNoTests": true } }, diff --git a/packages/cra-to-nx/tsconfig.lib.json b/packages/cra-to-nx/tsconfig.lib.json index 037d796f28..3ce6be94ee 100644 --- a/packages/cra-to-nx/tsconfig.lib.json +++ b/packages/cra-to-nx/tsconfig.lib.json @@ -6,6 +6,6 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts"], + "exclude": ["**/*.spec.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/packages/cra-to-nx/tsconfig.spec.json b/packages/cra-to-nx/tsconfig.spec.json index 559410b96a..831ab6481b 100644 --- a/packages/cra-to-nx/tsconfig.spec.json +++ b/packages/cra-to-nx/tsconfig.spec.json @@ -10,6 +10,7 @@ "**/*.spec.tsx", "**/*.spec.js", "**/*.spec.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/create-nx-plugin/jest.config.js b/packages/create-nx-plugin/jest.config.ts similarity index 88% rename from packages/create-nx-plugin/jest.config.js rename to packages/create-nx-plugin/jest.config.ts index 5c8ebb7707..19263a1744 100644 --- a/packages/create-nx-plugin/jest.config.js +++ b/packages/create-nx-plugin/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'create-nx-plugin', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/create-nx-plugin/project.json b/packages/create-nx-plugin/project.json index 415678e041..d76dd35f92 100644 --- a/packages/create-nx-plugin/project.json +++ b/packages/create-nx-plugin/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/create-nx-plugin/jest.config.js", + "jestConfig": "packages/create-nx-plugin/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/create-nx-plugin"] diff --git a/packages/create-nx-plugin/tsconfig.lib.json b/packages/create-nx-plugin/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/create-nx-plugin/tsconfig.lib.json +++ b/packages/create-nx-plugin/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/create-nx-plugin/tsconfig.spec.json b/packages/create-nx-plugin/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/create-nx-plugin/tsconfig.spec.json +++ b/packages/create-nx-plugin/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/create-nx-workspace/jest.config.js b/packages/create-nx-workspace/jest.config.ts similarity index 88% rename from packages/create-nx-workspace/jest.config.js rename to packages/create-nx-workspace/jest.config.ts index 396ffcd98e..f2e3441b76 100644 --- a/packages/create-nx-workspace/jest.config.js +++ b/packages/create-nx-workspace/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'create-nx-workspace', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/create-nx-workspace/project.json b/packages/create-nx-workspace/project.json index 36d7545ee6..d0b82aaeba 100644 --- a/packages/create-nx-workspace/project.json +++ b/packages/create-nx-workspace/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/create-nx-workspace/jest.config.js", + "jestConfig": "packages/create-nx-workspace/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/create-nx-workspace"] diff --git a/packages/create-nx-workspace/tsconfig.lib.json b/packages/create-nx-workspace/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/create-nx-workspace/tsconfig.lib.json +++ b/packages/create-nx-workspace/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/create-nx-workspace/tsconfig.spec.json b/packages/create-nx-workspace/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/create-nx-workspace/tsconfig.spec.json +++ b/packages/create-nx-workspace/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/cypress/jest.config.js b/packages/cypress/jest.config.ts similarity index 88% rename from packages/cypress/jest.config.js rename to packages/cypress/jest.config.ts index 09654766ed..d049af6e27 100644 --- a/packages/cypress/jest.config.js +++ b/packages/cypress/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'cypress', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/cypress/project.json b/packages/cypress/project.json index 835e8c0767..178fbde11f 100644 --- a/packages/cypress/project.json +++ b/packages/cypress/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/cypress/jest.config.js", + "jestConfig": "packages/cypress/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/cypress"] diff --git a/packages/cypress/tsconfig.lib.json b/packages/cypress/tsconfig.lib.json index 6efdbeecb5..5c589aef9e 100644 --- a/packages/cypress/tsconfig.lib.json +++ b/packages/cypress/tsconfig.lib.json @@ -6,6 +6,6 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts"], + "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/packages/cypress/tsconfig.spec.json b/packages/cypress/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/packages/cypress/tsconfig.spec.json +++ b/packages/cypress/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/detox/jest.config.js b/packages/detox/jest.config.ts similarity index 89% rename from packages/detox/jest.config.js rename to packages/detox/jest.config.ts index 7abef532c6..21e300cad1 100644 --- a/packages/detox/jest.config.js +++ b/packages/detox/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -10,4 +9,5 @@ module.exports = { displayName: 'react-native', testEnvironment: 'node', verbose: true, + preset: '../../jest.preset.ts', }; diff --git a/packages/detox/project.json b/packages/detox/project.json index 09c9eea7cd..8e4a93bfa6 100644 --- a/packages/detox/project.json +++ b/packages/detox/project.json @@ -22,7 +22,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/detox/jest.config.js", + "jestConfig": "packages/detox/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/detox"] diff --git a/packages/detox/tsconfig.lib.json b/packages/detox/tsconfig.lib.json index 6efdbeecb5..5c589aef9e 100644 --- a/packages/detox/tsconfig.lib.json +++ b/packages/detox/tsconfig.lib.json @@ -6,6 +6,6 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts"], + "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/packages/detox/tsconfig.spec.json b/packages/detox/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/packages/detox/tsconfig.spec.json +++ b/packages/detox/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/devkit/jest.config.js b/packages/devkit/jest.config.ts similarity index 88% rename from packages/devkit/jest.config.js rename to packages/devkit/jest.config.ts index 5b9a38fdba..3fffb99381 100644 --- a/packages/devkit/jest.config.js +++ b/packages/devkit/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'cli', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/devkit/project.json b/packages/devkit/project.json index 9ecb04d62b..7b133b4ed4 100644 --- a/packages/devkit/project.json +++ b/packages/devkit/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/devkit/jest.config.js", + "jestConfig": "packages/devkit/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/devkit"] diff --git a/packages/devkit/tsconfig.lib.json b/packages/devkit/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/devkit/tsconfig.lib.json +++ b/packages/devkit/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/devkit/tsconfig.spec.json b/packages/devkit/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/devkit/tsconfig.spec.json +++ b/packages/devkit/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/eslint-plugin-nx/jest.config.js b/packages/eslint-plugin-nx/jest.config.ts similarity index 88% rename from packages/eslint-plugin-nx/jest.config.js rename to packages/eslint-plugin-nx/jest.config.ts index 8ad8533bc9..c929bd41dc 100644 --- a/packages/eslint-plugin-nx/jest.config.js +++ b/packages/eslint-plugin-nx/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'eslint-plugin-nx', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/eslint-plugin-nx/project.json b/packages/eslint-plugin-nx/project.json index 5e4b3304ec..2c3f8f2fa7 100644 --- a/packages/eslint-plugin-nx/project.json +++ b/packages/eslint-plugin-nx/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/eslint-plugin-nx/jest.config.js", + "jestConfig": "packages/eslint-plugin-nx/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/eslint-plugin-nx"] diff --git a/packages/eslint-plugin-nx/tsconfig.lib.json b/packages/eslint-plugin-nx/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/eslint-plugin-nx/tsconfig.lib.json +++ b/packages/eslint-plugin-nx/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/eslint-plugin-nx/tsconfig.spec.json b/packages/eslint-plugin-nx/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/eslint-plugin-nx/tsconfig.spec.json +++ b/packages/eslint-plugin-nx/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/express/jest.config.js b/packages/express/jest.config.ts similarity index 88% rename from packages/express/jest.config.js rename to packages/express/jest.config.ts index f5bc93969b..a56ad5186b 100644 --- a/packages/express/jest.config.js +++ b/packages/express/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'express', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/express/project.json b/packages/express/project.json index 3546df8822..755fbda2b9 100644 --- a/packages/express/project.json +++ b/packages/express/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/express/jest.config.js", + "jestConfig": "packages/express/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/express"] diff --git a/packages/express/tsconfig.lib.json b/packages/express/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/express/tsconfig.lib.json +++ b/packages/express/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/express/tsconfig.spec.json b/packages/express/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/express/tsconfig.spec.json +++ b/packages/express/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/jest/jest.config.js b/packages/jest/jest.config.ts similarity index 88% rename from packages/jest/jest.config.js rename to packages/jest/jest.config.ts index 9eacdeb3e9..a38430f94d 100644 --- a/packages/jest/jest.config.js +++ b/packages/jest/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'jest', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/jest/project.json b/packages/jest/project.json index 6630799929..1d00d3327e 100644 --- a/packages/jest/project.json +++ b/packages/jest/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/jest/jest.config.js", + "jestConfig": "packages/jest/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/jest"] diff --git a/packages/jest/tsconfig.lib.json b/packages/jest/tsconfig.lib.json index 6efdbeecb5..5c589aef9e 100644 --- a/packages/jest/tsconfig.lib.json +++ b/packages/jest/tsconfig.lib.json @@ -6,6 +6,6 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts"], + "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/packages/jest/tsconfig.spec.json b/packages/jest/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/packages/jest/tsconfig.spec.json +++ b/packages/jest/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/js/jest.config.js b/packages/js/jest.config.ts similarity index 88% rename from packages/js/jest.config.js rename to packages/js/jest.config.ts index 9eacdeb3e9..a38430f94d 100644 --- a/packages/js/jest.config.js +++ b/packages/js/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'jest', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/js/project.json b/packages/js/project.json index 28ee98d431..897a369e35 100644 --- a/packages/js/project.json +++ b/packages/js/project.json @@ -18,7 +18,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/js"], "options": { - "jestConfig": "packages/js/jest.config.js", + "jestConfig": "packages/js/jest.config.ts", "passWithNoTests": true } }, diff --git a/packages/js/tsconfig.lib.json b/packages/js/tsconfig.lib.json index 8e31611973..82bab87ede 100644 --- a/packages/js/tsconfig.lib.json +++ b/packages/js/tsconfig.lib.json @@ -9,7 +9,8 @@ "exclude": [ "**/*.spec.ts", "**/*.test.ts", - "./src/utils/typescript/test-fixtures/**/*.ts" + "./src/utils/typescript/test-fixtures/**/*.ts", + "jest.config.ts" ], "include": ["**/*.ts"] } diff --git a/packages/js/tsconfig.spec.json b/packages/js/tsconfig.spec.json index 82432f4c36..6e605fc25f 100644 --- a/packages/js/tsconfig.spec.json +++ b/packages/js/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/linter/jest.config.js b/packages/linter/jest.config.ts similarity index 88% rename from packages/linter/jest.config.js rename to packages/linter/jest.config.ts index e635154400..011dc7cb40 100644 --- a/packages/linter/jest.config.js +++ b/packages/linter/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'linter', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/linter/project.json b/packages/linter/project.json index fcddec0e59..5f5189e43f 100644 --- a/packages/linter/project.json +++ b/packages/linter/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/linter/jest.config.js", + "jestConfig": "packages/linter/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/linter"] diff --git a/packages/linter/tsconfig.lib.json b/packages/linter/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/linter/tsconfig.lib.json +++ b/packages/linter/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/linter/tsconfig.spec.json b/packages/linter/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/linter/tsconfig.spec.json +++ b/packages/linter/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/nest/jest.config.js b/packages/nest/jest.config.ts similarity index 88% rename from packages/nest/jest.config.js rename to packages/nest/jest.config.ts index 6bd03987f6..dc9fc79e89 100644 --- a/packages/nest/jest.config.js +++ b/packages/nest/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'nest', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/nest/project.json b/packages/nest/project.json index 531b0be370..d2c2a53f88 100644 --- a/packages/nest/project.json +++ b/packages/nest/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/nest/jest.config.js", + "jestConfig": "packages/nest/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/nest"] diff --git a/packages/nest/tsconfig.lib.json b/packages/nest/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/nest/tsconfig.lib.json +++ b/packages/nest/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/nest/tsconfig.spec.json b/packages/nest/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/nest/tsconfig.spec.json +++ b/packages/nest/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/next/jest.config.js b/packages/next/jest.config.ts similarity index 88% rename from packages/next/jest.config.js rename to packages/next/jest.config.ts index fcbf6b2a48..4388b1356f 100644 --- a/packages/next/jest.config.js +++ b/packages/next/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'next', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/next/project.json b/packages/next/project.json index 116baa735d..a8b30ce115 100644 --- a/packages/next/project.json +++ b/packages/next/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/next/jest.config.js", + "jestConfig": "packages/next/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/next"] diff --git a/packages/next/tsconfig.lib.json b/packages/next/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/next/tsconfig.lib.json +++ b/packages/next/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/next/tsconfig.spec.json b/packages/next/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/next/tsconfig.spec.json +++ b/packages/next/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/node/jest.config.js b/packages/node/jest.config.ts similarity index 88% rename from packages/node/jest.config.js rename to packages/node/jest.config.ts index e224eb7066..cc558875e7 100644 --- a/packages/node/jest.config.js +++ b/packages/node/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'node', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/node/project.json b/packages/node/project.json index a105009625..0793c052de 100644 --- a/packages/node/project.json +++ b/packages/node/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/node/jest.config.js", + "jestConfig": "packages/node/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/node"] diff --git a/packages/node/tsconfig.lib.json b/packages/node/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/node/tsconfig.lib.json +++ b/packages/node/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/node/tsconfig.spec.json b/packages/node/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/node/tsconfig.spec.json +++ b/packages/node/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/nx-plugin/jest.config.js b/packages/nx-plugin/jest.config.ts similarity index 88% rename from packages/nx-plugin/jest.config.js rename to packages/nx-plugin/jest.config.ts index 7c78ec6fe9..a0436c49ee 100644 --- a/packages/nx-plugin/jest.config.js +++ b/packages/nx-plugin/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'nx-plugin', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/nx-plugin/project.json b/packages/nx-plugin/project.json index 080fd3bab7..059986c44b 100644 --- a/packages/nx-plugin/project.json +++ b/packages/nx-plugin/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/nx-plugin/jest.config.js", + "jestConfig": "packages/nx-plugin/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/nx-plugin"] diff --git a/packages/nx-plugin/tsconfig.lib.json b/packages/nx-plugin/tsconfig.lib.json index 652dfd6dda..e6e1541013 100644 --- a/packages/nx-plugin/tsconfig.lib.json +++ b/packages/nx-plugin/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node", "jest"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/nx-plugin/tsconfig.spec.json b/packages/nx-plugin/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/nx-plugin/tsconfig.spec.json +++ b/packages/nx-plugin/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/nx/jest.config.js b/packages/nx/jest.config.ts similarity index 88% rename from packages/nx/jest.config.js rename to packages/nx/jest.config.ts index de2079c69b..669c2c922e 100644 --- a/packages/nx/jest.config.js +++ b/packages/nx/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'nx', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/nx/project.json b/packages/nx/project.json index 97e9874a0d..cd91be9e65 100644 --- a/packages/nx/project.json +++ b/packages/nx/project.json @@ -97,7 +97,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/nx/jest.config.js", + "jestConfig": "packages/nx/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/nx"] diff --git a/packages/nx/tsconfig.lib.json b/packages/nx/tsconfig.lib.json index dbe90e0855..32ae44d32b 100644 --- a/packages/nx/tsconfig.lib.json +++ b/packages/nx/tsconfig.lib.json @@ -6,6 +6,6 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*_spec.ts"], + "exclude": ["**/*.spec.ts", "**/*_spec.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/packages/nx/tsconfig.spec.json b/packages/nx/tsconfig.spec.json index d6ae6669d7..20c83bf390 100644 --- a/packages/nx/tsconfig.spec.json +++ b/packages/nx/tsconfig.spec.json @@ -11,6 +11,7 @@ "**/*.spec.tsx", "**/*.spec.js", "**/*.spec.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/react-native/jest.config.js b/packages/react-native/jest.config.ts similarity index 89% rename from packages/react-native/jest.config.js rename to packages/react-native/jest.config.ts index 32aef31aa6..21e79e293a 100644 --- a/packages/react-native/jest.config.js +++ b/packages/react-native/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -9,4 +8,5 @@ module.exports = { }, displayName: 'react-native', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/react-native/project.json b/packages/react-native/project.json index 07d52f2e21..eb08118999 100644 --- a/packages/react-native/project.json +++ b/packages/react-native/project.json @@ -22,7 +22,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/react-native/jest.config.js", + "jestConfig": "packages/react-native/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/react-native"] diff --git a/packages/react-native/tsconfig.lib.json b/packages/react-native/tsconfig.lib.json index 6efdbeecb5..5c589aef9e 100644 --- a/packages/react-native/tsconfig.lib.json +++ b/packages/react-native/tsconfig.lib.json @@ -6,6 +6,6 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts"], + "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/packages/react-native/tsconfig.spec.json b/packages/react-native/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/packages/react-native/tsconfig.spec.json +++ b/packages/react-native/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/react/jest.config.js b/packages/react/jest.config.ts similarity index 88% rename from packages/react/jest.config.js rename to packages/react/jest.config.ts index 9bf200fc78..a7ecd6d5bd 100644 --- a/packages/react/jest.config.js +++ b/packages/react/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'react', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/react/project.json b/packages/react/project.json index 2d520a7d5b..474bd4fcd5 100644 --- a/packages/react/project.json +++ b/packages/react/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/react/jest.config.js", + "jestConfig": "packages/react/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/react"] diff --git a/packages/react/tsconfig.lib.json b/packages/react/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/react/tsconfig.lib.json +++ b/packages/react/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/react/tsconfig.spec.json b/packages/react/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/react/tsconfig.spec.json +++ b/packages/react/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/storybook/jest.config.js b/packages/storybook/jest.config.ts similarity index 89% rename from packages/storybook/jest.config.js rename to packages/storybook/jest.config.ts index 64d88ac20b..dbac6a4569 100644 --- a/packages/storybook/jest.config.js +++ b/packages/storybook/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -9,4 +8,5 @@ module.exports = { }, displayName: 'storybook', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/storybook/project.json b/packages/storybook/project.json index 0fad7dd5df..9529bfe584 100644 --- a/packages/storybook/project.json +++ b/packages/storybook/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/storybook/jest.config.js", + "jestConfig": "packages/storybook/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/storybook"] diff --git a/packages/storybook/tsconfig.lib.json b/packages/storybook/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/storybook/tsconfig.lib.json +++ b/packages/storybook/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/storybook/tsconfig.spec.json b/packages/storybook/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/storybook/tsconfig.spec.json +++ b/packages/storybook/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/tao/jest.config.js b/packages/tao/jest.config.ts similarity index 88% rename from packages/tao/jest.config.js rename to packages/tao/jest.config.ts index 359bb4a52f..e109c52fe7 100644 --- a/packages/tao/jest.config.js +++ b/packages/tao/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'tao', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/tao/project.json b/packages/tao/project.json index f4c4b77fe5..d14eaf0cc4 100644 --- a/packages/tao/project.json +++ b/packages/tao/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/tao/jest.config.js", + "jestConfig": "packages/tao/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/tao"] diff --git a/packages/tao/tsconfig.lib.json b/packages/tao/tsconfig.lib.json index 6efdbeecb5..5c589aef9e 100644 --- a/packages/tao/tsconfig.lib.json +++ b/packages/tao/tsconfig.lib.json @@ -6,6 +6,6 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts"], + "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/packages/tao/tsconfig.spec.json b/packages/tao/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/packages/tao/tsconfig.spec.json +++ b/packages/tao/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/web/jest.config.js b/packages/web/jest.config.ts similarity index 88% rename from packages/web/jest.config.js rename to packages/web/jest.config.ts index b9a874eadb..0800c2a1e7 100644 --- a/packages/web/jest.config.js +++ b/packages/web/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'web', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/web/project.json b/packages/web/project.json index 08d115cb58..68968e784a 100644 --- a/packages/web/project.json +++ b/packages/web/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/web/jest.config.js", + "jestConfig": "packages/web/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/web"] diff --git a/packages/web/tsconfig.lib.json b/packages/web/tsconfig.lib.json index 88519779ed..1d2ddef3c1 100644 --- a/packages/web/tsconfig.lib.json +++ b/packages/web/tsconfig.lib.json @@ -6,6 +6,12 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*_spec.ts", "**/*_test.ts"], + "exclude": [ + "**/*.spec.ts", + "**/*.test.ts", + "**/*_spec.ts", + "**/*_test.ts", + "jest.config.ts" + ], "include": ["**/*.ts"] } diff --git a/packages/web/tsconfig.spec.json b/packages/web/tsconfig.spec.json index 13959baabb..869c90c526 100644 --- a/packages/web/tsconfig.spec.json +++ b/packages/web/tsconfig.spec.json @@ -16,6 +16,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/packages/workspace/jest.config.js b/packages/workspace/jest.config.ts similarity index 88% rename from packages/workspace/jest.config.js rename to packages/workspace/jest.config.ts index c37ee78ed1..39f14211e8 100644 --- a/packages/workspace/jest.config.js +++ b/packages/workspace/jest.config.ts @@ -1,5 +1,4 @@ module.exports = { - preset: '../../jest.preset.js', transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, @@ -7,4 +6,5 @@ module.exports = { globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json' } }, displayName: 'workspace', testEnvironment: 'node', + preset: '../../jest.preset.ts', }; diff --git a/packages/workspace/project.json b/packages/workspace/project.json index 73e8fe2f28..1f3ce9c8fc 100644 --- a/packages/workspace/project.json +++ b/packages/workspace/project.json @@ -6,7 +6,7 @@ "test": { "executor": "@nrwl/jest:jest", "options": { - "jestConfig": "packages/workspace/jest.config.js", + "jestConfig": "packages/workspace/jest.config.ts", "passWithNoTests": true }, "outputs": ["coverage/packages/workspace"] diff --git a/packages/workspace/tsconfig.lib.json b/packages/workspace/tsconfig.lib.json index 6efdbeecb5..5c589aef9e 100644 --- a/packages/workspace/tsconfig.lib.json +++ b/packages/workspace/tsconfig.lib.json @@ -6,6 +6,6 @@ "declaration": true, "types": ["node"] }, - "exclude": ["**/*.spec.ts", "**/*.test.ts"], + "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/packages/workspace/tsconfig.spec.json b/packages/workspace/tsconfig.spec.json index 6829644190..46f9467f3b 100644 --- a/packages/workspace/tsconfig.spec.json +++ b/packages/workspace/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/tools/eslint-rules/jest.config.js b/tools/eslint-rules/jest.config.ts similarity index 91% rename from tools/eslint-rules/jest.config.js rename to tools/eslint-rules/jest.config.ts index 35580d228c..2aaa9cc2e3 100644 --- a/tools/eslint-rules/jest.config.js +++ b/tools/eslint-rules/jest.config.ts @@ -1,6 +1,6 @@ module.exports = { displayName: 'eslint-rules', - preset: '../../jest.preset.js', + globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json', @@ -14,4 +14,5 @@ module.exports = { moduleNameMapper: { '@eslint/eslintrc': '@eslint/eslintrc/dist/eslintrc-universal.cjs', }, + preset: '../../jest.preset.ts', }; diff --git a/tools/eslint-rules/project.json b/tools/eslint-rules/project.json index 49190b8e96..78f8f4af75 100644 --- a/tools/eslint-rules/project.json +++ b/tools/eslint-rules/project.json @@ -6,7 +6,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/tools/eslint-rules"], "options": { - "jestConfig": "tools/eslint-rules/jest.config.js", + "jestConfig": "tools/eslint-rules/jest.config.ts", "passWithNoTests": true } } diff --git a/tools/eslint-rules/tsconfig.lint.json b/tools/eslint-rules/tsconfig.lint.json index bb717c5e28..9012486116 100644 --- a/tools/eslint-rules/tsconfig.lint.json +++ b/tools/eslint-rules/tsconfig.lint.json @@ -4,6 +4,6 @@ "outDir": "../../dist/out-tsc", "types": ["node"] }, - "exclude": ["**/*.spec.ts"], + "exclude": ["**/*.spec.ts", "jest.config.ts"], "include": ["**/*.ts"] } diff --git a/tools/eslint-rules/tsconfig.spec.json b/tools/eslint-rules/tsconfig.spec.json index a18afb6046..f95b08f8f7 100644 --- a/tools/eslint-rules/tsconfig.spec.json +++ b/tools/eslint-rules/tsconfig.spec.json @@ -5,5 +5,5 @@ "module": "commonjs", "types": ["jest", "node"] }, - "include": ["**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] + "include": ["**/*.test.ts", "**/*.spec.ts", "**/*.d.ts", "jest.config.ts"] } diff --git a/typedoc-theme/jest.config.js b/typedoc-theme/jest.config.ts similarity index 91% rename from typedoc-theme/jest.config.js rename to typedoc-theme/jest.config.ts index 958a3277b0..ddb5ff4529 100644 --- a/typedoc-theme/jest.config.js +++ b/typedoc-theme/jest.config.ts @@ -1,6 +1,6 @@ module.exports = { displayName: 'typedoc-theme', - preset: '../jest.preset.js', + globals: { 'ts-jest': { tsconfig: '/tsconfig.spec.json', @@ -12,4 +12,5 @@ module.exports = { resolver: '../scripts/patched-jest-resolver.js', moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], coverageDirectory: '../coverage/typedoc-theme', + preset: '../jest.preset.ts', }; diff --git a/typedoc-theme/project.json b/typedoc-theme/project.json index 0b6e7bab6b..6977b8d0ac 100644 --- a/typedoc-theme/project.json +++ b/typedoc-theme/project.json @@ -31,7 +31,7 @@ "executor": "@nrwl/jest:jest", "outputs": ["coverage/typedoc-theme"], "options": { - "jestConfig": "typedoc-theme/jest.config.js", + "jestConfig": "typedoc-theme/jest.config.ts", "passWithNoTests": true } } diff --git a/typedoc-theme/tsconfig.lib.json b/typedoc-theme/tsconfig.lib.json index f1c9431f55..7d34ef8ef2 100644 --- a/typedoc-theme/tsconfig.lib.json +++ b/typedoc-theme/tsconfig.lib.json @@ -9,5 +9,5 @@ "types": [] }, "include": ["**/*.ts"], - "exclude": ["**/*.spec.ts", "**/*.test.ts"] + "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"] } diff --git a/typedoc-theme/tsconfig.spec.json b/typedoc-theme/tsconfig.spec.json index 82432f4c36..6e605fc25f 100644 --- a/typedoc-theme/tsconfig.spec.json +++ b/typedoc-theme/tsconfig.spec.json @@ -14,6 +14,7 @@ "**/*.test.js", "**/*.spec.jsx", "**/*.test.jsx", - "**/*.d.ts" + "**/*.d.ts", + "jest.config.ts" ] } diff --git a/yarn.lock b/yarn.lock index 491f38c856..7947a4b45a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2001,7 +2001,7 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== -"@jest/console@^27.2.2", "@jest/console@^27.5.1": +"@jest/console@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.5.1.tgz#260fe7239602fe5130a94f1aa386eff54b014bba" integrity sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg== @@ -2013,7 +2013,7 @@ jest-util "^27.5.1" slash "^3.0.0" -"@jest/core@^27.2.3", "@jest/core@^27.5.1": +"@jest/core@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.5.1.tgz#267ac5f704e09dc52de2922cbf3af9edcd64b626" integrity sha512-AK6/UTrvQD0Cd24NSqmIA6rKsu0tKIxfiCducZvqxYdmMisOYAsdItspT+fQDQYARPf8XgjAFZi0ogW2agH5nQ== @@ -2085,37 +2085,7 @@ "@jest/types" "^27.5.1" expect "^27.5.1" -"@jest/reporters@27.2.2": - version "27.2.2" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.2.2.tgz#e2d41cd9f8088676b81b9a9908cb1ba67bdbee78" - integrity sha512-ufwZ8XoLChEfPffDeVGroYbhbcYPom3zKDiv4Flhe97rr/o2IfUXoWkDUDoyJ3/V36RFIMjokSu0IJ/pbFtbHg== - dependencies: - "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^27.2.2" - "@jest/test-result" "^27.2.2" - "@jest/transform" "^27.2.2" - "@jest/types" "^27.1.1" - chalk "^4.0.0" - collect-v8-coverage "^1.0.0" - exit "^0.1.2" - glob "^7.1.2" - graceful-fs "^4.2.4" - istanbul-lib-coverage "^3.0.0" - istanbul-lib-instrument "^4.0.3" - istanbul-lib-report "^3.0.0" - istanbul-lib-source-maps "^4.0.0" - istanbul-reports "^3.0.2" - jest-haste-map "^27.2.2" - jest-resolve "^27.2.2" - jest-util "^27.2.0" - jest-worker "^27.2.2" - slash "^3.0.0" - source-map "^0.6.0" - string-length "^4.0.1" - terminal-link "^2.0.0" - v8-to-istanbul "^8.0.0" - -"@jest/reporters@^27.5.1": +"@jest/reporters@27.5.1", "@jest/reporters@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.5.1.tgz#ceda7be96170b03c923c37987b64015812ffec04" integrity sha512-cPXh9hWIlVJMQkVk84aIvXuBB4uQQmFqZiacloFuGiP3ah1sbCxCosidXFDfqG8+6fO1oR2dTJTlsOy4VFmUfw== @@ -2155,17 +2125,7 @@ graceful-fs "^4.2.9" source-map "^0.6.0" -"@jest/test-result@27.2.2": - version "27.2.2" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.2.2.tgz#cd4ba1ca9b0521e463bd4b32349ba1842277563b" - integrity sha512-yENoDEoWlEFI7l5z7UYyJb/y5Q8RqbPd4neAVhKr6l+vVaQOPKf8V/IseSMJI9+urDUIxgssA7RGNyCRhGjZvw== - dependencies: - "@jest/console" "^27.2.2" - "@jest/types" "^27.1.1" - "@types/istanbul-lib-coverage" "^2.0.0" - collect-v8-coverage "^1.0.0" - -"@jest/test-result@^27.2.2", "@jest/test-result@^27.2.3", "@jest/test-result@^27.5.1": +"@jest/test-result@27.5.1", "@jest/test-result@^27.2.3", "@jest/test-result@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.5.1.tgz#56a6585fa80f7cdab72b8c5fc2e871d03832f5bb" integrity sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag== @@ -2175,7 +2135,7 @@ "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^27.2.2", "@jest/test-sequencer@^27.5.1": +"@jest/test-sequencer@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.5.1.tgz#4057e0e9cea4439e544c6353c6affe58d095745b" integrity sha512-LCheJF7WB2+9JuCS7VB/EmGIdQuhtqjRNI9A43idHv3E4KltCTsPsLxvdaubFHSYwY/fNjMWjl6vNRhDiN7vpQ== @@ -2206,7 +2166,7 @@ source-map "^0.6.1" write-file-atomic "^3.0.0" -"@jest/transform@^27.2.2", "@jest/transform@^27.2.3", "@jest/transform@^27.5.1": +"@jest/transform@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.5.1.tgz#6c3501dcc00c4c08915f292a600ece5ecfe1f409" integrity sha512-ipON6WtYgl/1329g5AIJVbUuEh0wZVbdpGwC99Jw4LwuoBNS95MVphU6zOeD9pDkon+LLbFL7lOQRapbB8SCHw== @@ -2238,7 +2198,7 @@ "@types/yargs" "^15.0.0" chalk "^4.0.0" -"@jest/types@^27.1.1", "@jest/types@^27.2.3", "@jest/types@^27.5.1": +"@jest/types@^27.2.3", "@jest/types@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.5.1.tgz#3c79ec4a8ba61c170bf937bcf9e98a9df175ec80" integrity sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw== @@ -2698,22 +2658,22 @@ dependencies: nx "13.10.2" -"@nrwl/cli@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-14.0.0-beta.2.tgz#b24c6532ba8f8ce2d9fc93857ec1352e39c66661" - integrity sha512-M3mNyM9CIe1wxDnVmnwn/wG1txgpgS97rL8n22AdBpKWXFWKZj7FCPCaO58xtPHoCtzgzzamsZYUVArqSXrQhg== +"@nrwl/cli@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-14.0.2.tgz#e16dd7ca3fad98455207c75ff6e91147ff31417a" + integrity sha512-Mzs2fys/LRV6dhZmBe9ZirNc/93lTaXH3YDNtnfJCYRLUXxQCN/67HdP8eCORgTQ9odR7NJd+2pMUai7sla/0g== dependencies: - nx "14.0.0-beta.2" + nx "14.0.2" -"@nrwl/cypress@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/cypress/-/cypress-14.0.0-beta.2.tgz#7f1a3fe9d2fba748072d94efc97660a381be2a87" - integrity sha512-nfcQ/hZKygNtb/5K/piWezEdt7wHbDyPbbwnc7sBuhIjnnHOSkBmJPaVtCmDDJ1ZrkJGUMcus2eBZM/4WDEgXw== +"@nrwl/cypress@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/cypress/-/cypress-14.0.2.tgz#276c005f6b19aa92b1e1b7af9b6963489774dab9" + integrity sha512-Be0BTTtNKMciUtVEa87J1yJarGQmWYVkByqQihHXQvF8b34N+U+c7IbNVac/ytck3D0UJdm56JFUkp99WD+6eA== dependencies: "@cypress/webpack-preprocessor" "^5.9.1" - "@nrwl/devkit" "14.0.0-beta.2" - "@nrwl/linter" "14.0.0-beta.2" - "@nrwl/workspace" "14.0.0-beta.2" + "@nrwl/devkit" "14.0.2" + "@nrwl/linter" "14.0.2" + "@nrwl/workspace" "14.0.2" chalk "4.1.0" enhanced-resolve "^5.8.3" fork-ts-checker-webpack-plugin "6.2.10" @@ -2736,55 +2696,55 @@ semver "7.3.4" tslib "^2.3.0" -"@nrwl/devkit@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-14.0.0-beta.2.tgz#be50c05b20cebe26ada793dca619f0adc7bce6f4" - integrity sha512-4WY0QcQx4NhnZSV3jh3XNRimVaMw+m6qgNQG0WoxnaEdeO/YfmQj8oR80/lQlBbAu7GfBmPmGp6+vr/r8VhJdQ== +"@nrwl/devkit@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-14.0.2.tgz#18285350524bd35f38e3332012b34715992ff03e" + integrity sha512-T8YxAM0TzC0B7xksAhcjUtwl3EbcMD0YIMnMc8qaNaIlgWDbUVf7P3H6WrRKCiOtEH5/5BCPU+nQL21ZUpj01Q== dependencies: ejs "^3.1.5" ignore "^5.0.4" - nx "14.0.0-beta.2" + nx "14.0.2" rxjs "^6.5.4" semver "7.3.4" tslib "^2.3.0" -"@nrwl/eslint-plugin-nx@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/eslint-plugin-nx/-/eslint-plugin-nx-14.0.0-beta.2.tgz#1e2012b699b7c3b1007eff2e24c26c392d50bfd7" - integrity sha512-WZHDt9C6jy0KWcXawbxCMqj574NECj8mpUQIauxSlk4d/zA38cAJMzyab7qe8X+jfifLAqdUYyvkhvPWf3S6Sw== +"@nrwl/eslint-plugin-nx@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/eslint-plugin-nx/-/eslint-plugin-nx-14.0.2.tgz#6f7201945cd890a261d045fe4ca97f705b1e54f0" + integrity sha512-oxIp7S9kkLoyBeZRENN+Xt9R4ktLBtchWGsM1diOGSOaHupNql4On36Wnwito8ZtUFLB5/u3bFakh8HBg/vy4Q== dependencies: - "@nrwl/devkit" "14.0.0-beta.2" - "@nrwl/workspace" "14.0.0-beta.2" + "@nrwl/devkit" "14.0.2" + "@nrwl/workspace" "14.0.2" "@typescript-eslint/experimental-utils" "~5.18.0" chalk "4.1.0" confusing-browser-globals "^1.0.9" -"@nrwl/jest@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/jest/-/jest-14.0.0-beta.2.tgz#9c748e541e4fc9a936108c7a9bb82719c51dfc7c" - integrity sha512-e8OJ7XHhA1aY5pOA/E9HgsMVbVLpJlOqI5qI97RtTZry3N81eJZg0DcrGQV+v2I8fPIURzZ3epH6Z8qtaltB0w== +"@nrwl/jest@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/jest/-/jest-14.0.2.tgz#79a2f6eee1926430ff65477c77d68db7cc6c5440" + integrity sha512-6ypScQ5TvhCsZqigRH5Nm16CCn0c/ZM2Ps0AkcpAI6yLti0i2aKF+K9Lb/Xsmhz4QT5x4yyNCSoOwPzIcdlyWg== dependencies: - "@jest/reporters" "27.2.2" - "@jest/test-result" "27.2.2" - "@nrwl/devkit" "14.0.0-beta.2" + "@jest/reporters" "27.5.1" + "@jest/test-result" "27.5.1" + "@nrwl/devkit" "14.0.2" chalk "4.1.0" identity-obj-proxy "3.0.0" - jest-config "27.2.2" - jest-resolve "27.2.2" - jest-util "27.2.0" + jest-config "27.5.1" + jest-resolve "27.5.1" + jest-util "27.5.1" resolve.exports "1.1.0" rxjs "^6.5.4" tslib "^2.3.0" -"@nrwl/js@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/js/-/js-14.0.0-beta.2.tgz#a0a7c24c1ff285a24ffed385c34f84058f2b189f" - integrity sha512-xQGhx+LDCJElVonuvvvc8z43ZZm3toK/v7EyvSE73PpJ5y+1dlPvc7izM3h/JX4KJo7g6g2cjuyLSLbb//9opA== +"@nrwl/js@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/js/-/js-14.0.2.tgz#65ea56bff02217745a5f87bae2910561ccfa6c09" + integrity sha512-Wx5jRASRJOn2cUB4Sqx1HsDVTa8j8Ieer1PwnToDDYzMi+GHkA6YS6DBpnYjx4wfpq5mCLqux7iVs3FA2EE36A== dependencies: - "@nrwl/devkit" "14.0.0-beta.2" - "@nrwl/jest" "14.0.0-beta.2" - "@nrwl/linter" "14.0.0-beta.2" - "@nrwl/workspace" "14.0.0-beta.2" + "@nrwl/devkit" "14.0.2" + "@nrwl/jest" "14.0.2" + "@nrwl/linter" "14.0.2" + "@nrwl/workspace" "14.0.2" "@parcel/watcher" "2.0.4" chalk "4.1.0" fast-glob "3.2.7" @@ -2795,30 +2755,30 @@ source-map-support "0.5.19" tree-kill "1.2.2" -"@nrwl/linter@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/linter/-/linter-14.0.0-beta.2.tgz#1681cb8f780a1752c4c16c2cb04d0f456b12bc82" - integrity sha512-y+NgQ46H8USPmGAApWjjpX9EhDAcToFtLJAAZfU0kbA0edCw1rwDCwjbJNr0ovRApzZwXI/xsTknxrJ8C6q6Dw== +"@nrwl/linter@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/linter/-/linter-14.0.2.tgz#da0289bb09d23dc5a3a4ce7c874b053cc9f16870" + integrity sha512-qfmhEOkE+tsZjZ8DllkgGwUBsZq2bMMO5nlnQEKAUZXOSF2rDkMjKf2ydoJDXZGTHPW1PX/kTkQHDB/IxorVgg== dependencies: - "@nrwl/devkit" "14.0.0-beta.2" - "@nrwl/jest" "14.0.0-beta.2" + "@nrwl/devkit" "14.0.2" + "@nrwl/jest" "14.0.2" "@phenomnomnominal/tsquery" "4.1.1" tmp "~0.2.1" tslib "^2.3.0" -"@nrwl/next@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/next/-/next-14.0.0-beta.2.tgz#ff1b03e337bf15f71df9433da62a8e7e8e120a97" - integrity sha512-3rTWuBApaTzXtN2zr0/ROzdaxs1kfjjsQuI0D+usmrDUgFrIhCp83rV0+C5VMN98npD4G8wnkLp/gYS2vfbj1A== +"@nrwl/next@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/next/-/next-14.0.2.tgz#3ce1b5cd95f7caf1dcdae4b0d82ada76313ed012" + integrity sha512-UsISywzChVL0r0RQcl9GB1IcI7pskQGouPgS2nDk2vvEZCUTTfBKK6/iFdsXqEHTebxkb5ufWzNTcQRP8csiXg== dependencies: "@babel/plugin-proposal-decorators" "^7.14.5" - "@nrwl/cypress" "14.0.0-beta.2" - "@nrwl/devkit" "14.0.0-beta.2" - "@nrwl/jest" "14.0.0-beta.2" - "@nrwl/linter" "14.0.0-beta.2" - "@nrwl/react" "14.0.0-beta.2" - "@nrwl/web" "14.0.0-beta.2" - "@nrwl/workspace" "14.0.0-beta.2" + "@nrwl/cypress" "14.0.2" + "@nrwl/devkit" "14.0.2" + "@nrwl/jest" "14.0.2" + "@nrwl/linter" "14.0.2" + "@nrwl/react" "14.0.2" + "@nrwl/web" "14.0.2" + "@nrwl/workspace" "14.0.2" "@svgr/webpack" "^6.1.2" chalk "4.1.0" eslint-config-next "^12.1.0" @@ -2840,21 +2800,21 @@ strip-json-comments "^3.1.1" tar "6.1.11" -"@nrwl/react@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/react/-/react-14.0.0-beta.2.tgz#2933ddd4319acc41b859cce8e7fba72e373f601f" - integrity sha512-qRfRIp/IXZKuvCggYLykSoJT+W6v03Y/EqJ6sobEt8jpinlU8p8QYBHuXrck79UlabDSYoeRZFfYWWf8TzrURA== +"@nrwl/react@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/react/-/react-14.0.2.tgz#fba74999851fa904f9cdbfad4f1fd756b383f04d" + integrity sha512-rqh+dQeIi/Lu0qIK7Fm+Am3FjUS49A5nOWacYVEN/SumW0fgZKq8j6slVOy5hJ69sqivs6GDBtsjRLgYdgjpaw== dependencies: "@babel/core" "^7.15.0" "@babel/preset-react" "^7.14.5" - "@nrwl/cypress" "14.0.0-beta.2" - "@nrwl/devkit" "14.0.0-beta.2" - "@nrwl/jest" "14.0.0-beta.2" - "@nrwl/js" "14.0.0-beta.2" - "@nrwl/linter" "14.0.0-beta.2" - "@nrwl/storybook" "14.0.0-beta.2" - "@nrwl/web" "14.0.0-beta.2" - "@nrwl/workspace" "14.0.0-beta.2" + "@nrwl/cypress" "14.0.2" + "@nrwl/devkit" "14.0.2" + "@nrwl/jest" "14.0.2" + "@nrwl/js" "14.0.2" + "@nrwl/linter" "14.0.2" + "@nrwl/storybook" "14.0.2" + "@nrwl/web" "14.0.2" + "@nrwl/workspace" "14.0.2" "@pmmmwh/react-refresh-webpack-plugin" "^0.5.1" "@storybook/node-logger" "6.1.20" "@svgr/webpack" "^6.1.2" @@ -2869,15 +2829,15 @@ webpack "^5.58.1" webpack-merge "^5.8.0" -"@nrwl/storybook@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/storybook/-/storybook-14.0.0-beta.2.tgz#52a8ee51df15cf74bac5cbbd1393f0b4c200320d" - integrity sha512-KJgLipGVucS6cRkEIWnS1Mahq3HoVNYz+f4iPeb3KUvsfDzBQhGWyM3rjp3/wK1NM24OGcdnDZpIv7h3/uaPzg== +"@nrwl/storybook@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/storybook/-/storybook-14.0.2.tgz#9185ee6d58831ec29b52e159f28a7f66809fb72b" + integrity sha512-2xvsqcGZbeTwiG7zwQY50NkrouJdNwG0kwwjNZQZ9wlef0qW9hTxoAdRlwQrIcL0x/d185nOJDKCkovbB4S6zg== dependencies: - "@nrwl/cypress" "14.0.0-beta.2" - "@nrwl/devkit" "14.0.0-beta.2" - "@nrwl/linter" "14.0.0-beta.2" - "@nrwl/workspace" "14.0.0-beta.2" + "@nrwl/cypress" "14.0.2" + "@nrwl/devkit" "14.0.2" + "@nrwl/linter" "14.0.2" + "@nrwl/workspace" "14.0.2" core-js "^3.6.5" semver "7.3.4" ts-loader "^9.2.6" @@ -2890,17 +2850,17 @@ dependencies: nx "13.10.2" -"@nrwl/tao@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-14.0.0-beta.2.tgz#51583ac71d7565ebfd019173a5f20452eca34c32" - integrity sha512-/SoFtePYnnZehBapNZDj+6hN6vBMoOi+2acqPMzeRdyl5xkWZcRaMRh93z5ilkY7txGH1471Z8NKTPbBue85VA== +"@nrwl/tao@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-14.0.2.tgz#18a2b2048ac6c7ecbae373b1d5ece327ae5141bc" + integrity sha512-KMGNB1FKOQ+AwEJD5Nqg/NX0kUtexdj2+cEHJin8th3i/ZD9hnaLHU3AlErGR1RfD++l3pGJC3x2z6iKfPmfUA== dependencies: - nx "14.0.0-beta.2" + nx "14.0.2" -"@nrwl/web@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/web/-/web-14.0.0-beta.2.tgz#8f8c5ac7a751a0edb516b1d4ff6fd2902eb66ce8" - integrity sha512-jspiFdqMPfVeKxeYjXl+kaF0nWmp1Y/IUbH8bZP07K94KTCOdQt0sk+db/gunQhy751k1PggI+D2VZwPAHxOgA== +"@nrwl/web@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/web/-/web-14.0.2.tgz#38c896f592ed7d679a03f8c5aa25f18023d104cd" + integrity sha512-wjFYFdjbnygNNZmtjvZ8irksTKeKSLTKB7TRemTZJPNouPPpTcw+hulk94H5JkuGv22Sg32ppTqYoMenoL1PKw== dependencies: "@babel/core" "^7.15.0" "@babel/plugin-proposal-class-properties" "^7.14.5" @@ -2910,12 +2870,12 @@ "@babel/preset-env" "^7.15.0" "@babel/preset-typescript" "^7.15.0" "@babel/runtime" "^7.14.8" - "@nrwl/cypress" "14.0.0-beta.2" - "@nrwl/devkit" "14.0.0-beta.2" - "@nrwl/jest" "14.0.0-beta.2" - "@nrwl/js" "14.0.0-beta.2" - "@nrwl/linter" "14.0.0-beta.2" - "@nrwl/workspace" "14.0.0-beta.2" + "@nrwl/cypress" "14.0.2" + "@nrwl/devkit" "14.0.2" + "@nrwl/jest" "14.0.2" + "@nrwl/js" "14.0.2" + "@nrwl/linter" "14.0.2" + "@nrwl/workspace" "14.0.2" "@pmmmwh/react-refresh-webpack-plugin" "^0.5.1" "@rollup/plugin-babel" "^5.3.0" "@rollup/plugin-commonjs" "^20.0.0" @@ -2983,14 +2943,14 @@ webpack-sources "^3.0.2" webpack-subresource-integrity "^5.1.0" -"@nrwl/workspace@14.0.0-beta.2": - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/@nrwl/workspace/-/workspace-14.0.0-beta.2.tgz#bd7585a487a3179a313f01c16d66bda000460489" - integrity sha512-7L8llcLot+I4L4p+hmlyHlQhHyZgK42JivvM8IjzLWCLYSI2CNSAtmr4SumpRPHeKttEOdC4t3DovtI9anyeAg== +"@nrwl/workspace@14.0.2": + version "14.0.2" + resolved "https://registry.yarnpkg.com/@nrwl/workspace/-/workspace-14.0.2.tgz#d258ecac011cc64af14459b6ddf1cca2fddfd87f" + integrity sha512-ImY9xhRNnje2MexTTQorDJXfI8LFEMF8fja7lMNDqn42Gk1UPZnf4xsUxbyaQX4sXOptj17uSL1+OZ/YcGpWJg== dependencies: - "@nrwl/devkit" "14.0.0-beta.2" - "@nrwl/jest" "14.0.0-beta.2" - "@nrwl/linter" "14.0.0-beta.2" + "@nrwl/devkit" "14.0.2" + "@nrwl/jest" "14.0.2" + "@nrwl/linter" "14.0.2" "@parcel/watcher" "2.0.4" chalk "4.1.0" chokidar "^3.5.1" @@ -3005,7 +2965,7 @@ ignore "^5.0.4" minimatch "3.0.4" npm-run-path "^4.0.1" - nx "14.0.0-beta.2" + nx "14.0.2" open "^8.4.0" rxjs "^6.5.4" semver "7.3.4" @@ -4753,12 +4713,12 @@ dependencies: "@types/jasmine" "*" -"@types/jest@27.0.2": - version "27.0.2" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.0.2.tgz#ac383c4d4aaddd29bbf2b916d8d105c304a5fcd7" - integrity sha512-4dRxkS/AFX0c5XW6IPMNOydLn2tEhNhJV7DnYK+0bjoJZ+QTmfucBlihX7aoEsh/ocYtkLC73UbnBXBXIxsULA== +"@types/jest@27.4.1": + version "27.4.1" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.4.1.tgz#185cbe2926eaaf9662d340cc02e548ce9e11ab6d" + integrity sha512-23iPJADSmicDVrWk+HT58LMJtzLAnB2AgIzplQuq/bSrGaxCrlvRFjGbXmamnnk/mAmCdLStiGqggu28ocUyiw== dependencies: - jest-diff "^27.0.0" + jest-matcher-utils "^27.0.0" pretty-format "^27.0.0" "@types/json-schema@*", "@types/json-schema@^7.0.4", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.6", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": @@ -6489,21 +6449,7 @@ axobject-query@^2.2.0: resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" integrity sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA== -babel-jest@27.2.3: - version "27.2.3" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.2.3.tgz#f48599a507cd33c10f58058149eb3079198d0ed7" - integrity sha512-lXslrpae1L9cXnB5F8vvD/Yj70g47sG7CGSxT+qqveK/To72X3nuCtDux0s3HN7X351IbwYoYyfDxQ7CqVbkNw== - dependencies: - "@jest/transform" "^27.2.3" - "@jest/types" "^27.2.3" - "@types/babel__core" "^7.1.14" - babel-plugin-istanbul "^6.0.0" - babel-preset-jest "^27.2.0" - chalk "^4.0.0" - graceful-fs "^4.2.4" - slash "^3.0.0" - -babel-jest@^27.2.2, babel-jest@^27.5.1: +babel-jest@27.5.1, babel-jest@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.5.1.tgz#a1bf8d61928edfefd21da27eb86a695bfd691444" integrity sha512-cdQ5dXjGRd0IBRATiQ4mZGlGlRE8kJpjPOixdNRdT+m3UcNqmYWN6rK6nvtXYfY3D76cb8s/O1Ss8ea24PIwcg== @@ -6720,7 +6666,7 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^27.2.0, babel-preset-jest@^27.5.1: +babel-preset-jest@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.5.1.tgz#91f10f58034cb7989cb4f962b69fa6eef6a6bc81" integrity sha512-Nptf2FzlPCWYuJg41HBqXVT8ym6bXOevuCTbhxlUpjwtysGaIWFvDEjp4y+G7fl13FgOdjs7P/DmErqH7da0Ag== @@ -13660,16 +13606,6 @@ istanbul-lib-instrument@^3.3.0: istanbul-lib-coverage "^2.0.5" semver "^6.0.0" -istanbul-lib-instrument@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz#873c6fff897450118222774696a3f28902d77c1d" - integrity sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ== - dependencies: - "@babel/core" "^7.7.5" - "@istanbuljs/schema" "^0.1.2" - istanbul-lib-coverage "^3.0.0" - semver "^6.3.0" - istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.1.0.tgz#7b49198b657b27a730b8e9cb601f1e1bff24c59a" @@ -13834,7 +13770,7 @@ jest-circus@27.2.3: stack-utils "^2.0.3" throat "^6.0.1" -jest-circus@^27.2.2, jest-circus@^27.5.1: +jest-circus@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.5.1.tgz#37a5a4459b7bf4406e53d637b49d22c65d125ecc" integrity sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw== @@ -13859,7 +13795,7 @@ jest-circus@^27.2.2, jest-circus@^27.5.1: stack-utils "^2.0.3" throat "^6.0.1" -jest-cli@^27.2.3: +jest-cli@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.5.1.tgz#278794a6e6458ea8029547e6c6cbf673bd30b145" integrity sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw== @@ -13877,34 +13813,7 @@ jest-cli@^27.2.3: prompts "^2.0.1" yargs "^16.2.0" -jest-config@27.2.2: - version "27.2.2" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.2.2.tgz#970d8466c60ac106ac9d7d0b8dcf3ff150fa713a" - integrity sha512-2nhms3lp52ZpU0636bB6zIFHjDVtYxzFQIOHZjBFUeXcb6b41sEkWojbHaJ4FEIO44UbccTLa7tvNpiFCgPE7w== - dependencies: - "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^27.2.2" - "@jest/types" "^27.1.1" - babel-jest "^27.2.2" - chalk "^4.0.0" - deepmerge "^4.2.2" - glob "^7.1.1" - graceful-fs "^4.2.4" - is-ci "^3.0.0" - jest-circus "^27.2.2" - jest-environment-jsdom "^27.2.2" - jest-environment-node "^27.2.2" - jest-get-type "^27.0.6" - jest-jasmine2 "^27.2.2" - jest-regex-util "^27.0.6" - jest-resolve "^27.2.2" - jest-runner "^27.2.2" - jest-util "^27.2.0" - jest-validate "^27.2.2" - micromatch "^4.0.4" - pretty-format "^27.2.2" - -jest-config@^27.5.1: +jest-config@27.5.1, jest-config@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.5.1.tgz#5c387de33dca3f99ad6357ddeccd91bf3a0e4a41" integrity sha512-5sAsjm6tGdsVbW9ahcChPAFCk4IlkQUknH5AvKjuLTSlcO/wCZKyFdn7Rg0EkC+OGgWODEy2hDpWB1PgzH0JNA== @@ -13934,7 +13843,7 @@ jest-config@^27.5.1: slash "^3.0.0" strip-json-comments "^3.1.1" -jest-diff@^27.0.0, jest-diff@^27.5.1: +jest-diff@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.5.1.tgz#a07f5011ac9e6643cf8a95a462b7b1ecf6680def" integrity sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw== @@ -13962,7 +13871,7 @@ jest-each@^27.2.3, jest-each@^27.5.1: jest-util "^27.5.1" pretty-format "^27.5.1" -jest-environment-jsdom@^27.0.0, jest-environment-jsdom@^27.2.2, jest-environment-jsdom@^27.5.1: +jest-environment-jsdom@^27.0.0, jest-environment-jsdom@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.5.1.tgz#ea9ccd1fc610209655a77898f86b2b559516a546" integrity sha512-TFBvkTC1Hnnnrka/fUb56atfDtJ9VMZ94JkjTbggl1PEpwrYtUBKMezB3inLmWqQsXYLcMwNoDQwoBTAvFfsfw== @@ -13975,7 +13884,7 @@ jest-environment-jsdom@^27.0.0, jest-environment-jsdom@^27.2.2, jest-environment jest-util "^27.5.1" jsdom "^16.6.0" -jest-environment-node@^27.2.2, jest-environment-node@^27.5.1: +jest-environment-node@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.5.1.tgz#dedc2cfe52fab6b8f5714b4808aefa85357a365e" integrity sha512-Jt4ZUnxdOsTGwSRAfKEnE6BcwsSPNOijjwifq5sDFSA2kesnXTvNqKHYgM0hDq3549Uf/KzdXNYn4wMZJPlFLw== @@ -13987,7 +13896,7 @@ jest-environment-node@^27.2.2, jest-environment-node@^27.5.1: jest-mock "^27.5.1" jest-util "^27.5.1" -jest-get-type@^27.0.6, jest-get-type@^27.5.1: +jest-get-type@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.5.1.tgz#3cd613c507b0f7ace013df407a1c1cd578bcb4f1" integrity sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw== @@ -14013,7 +13922,7 @@ jest-haste-map@^26.6.2: optionalDependencies: fsevents "^2.1.2" -jest-haste-map@^27.2.2, jest-haste-map@^27.5.1: +jest-haste-map@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.5.1.tgz#9fd8bd7e7b4fa502d9c6164c5640512b4e811e7f" integrity sha512-7GgkZ4Fw4NFbMSDSpZwXeBiIbx+t/46nJ2QitkOjvwPYyZmqttu2TDSimMHP1EkPOi4xUZAN1doE5Vd25H4Jng== @@ -14033,7 +13942,7 @@ jest-haste-map@^27.2.2, jest-haste-map@^27.5.1: optionalDependencies: fsevents "^2.3.2" -jest-jasmine2@^27.2.2, jest-jasmine2@^27.5.1: +jest-jasmine2@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.5.1.tgz#a037b0034ef49a9f3d71c4375a796f3b230d1ac4" integrity sha512-jtq7VVyG8SqAorDpApwiJJImd0V2wv1xzdheGHRGyuT7gZm6gG47QEskOlzsN1PG/6WNaCo5pmwMHDf3AkG2pQ== @@ -14064,7 +13973,7 @@ jest-leak-detector@^27.5.1: jest-get-type "^27.5.1" pretty-format "^27.5.1" -jest-matcher-utils@^27.2.3, jest-matcher-utils@^27.5.1: +jest-matcher-utils@^27.0.0, jest-matcher-utils@^27.2.3, jest-matcher-utils@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz#9c0cdbda8245bc22d2331729d1091308b40cf8ab" integrity sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw== @@ -14120,7 +14029,7 @@ jest-regex-util@^26.0.0: resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-26.0.0.tgz#d25e7184b36e39fd466c3bc41be0971e821fee28" integrity sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A== -jest-regex-util@^27.0.6, jest-regex-util@^27.5.1: +jest-regex-util@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.5.1.tgz#4da143f7e9fd1e542d4aa69617b38e4a78365b95" integrity sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg== @@ -14134,23 +14043,7 @@ jest-resolve-dependencies@^27.5.1: jest-regex-util "^27.5.1" jest-snapshot "^27.5.1" -jest-resolve@27.2.2: - version "27.2.2" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.2.2.tgz#1bad93dbc6c20edb874e6720e82e4e48900b120b" - integrity sha512-tfbHcBs/hJTb3fPQ/3hLWR+TsLNTzzK98TU+zIAsrL9nNzWfWROwopUOmiSUqmHMZW5t9au/433kSF2/Af+tTw== - dependencies: - "@jest/types" "^27.1.1" - chalk "^4.0.0" - escalade "^3.1.1" - graceful-fs "^4.2.4" - jest-haste-map "^27.2.2" - jest-pnp-resolver "^1.2.2" - jest-util "^27.2.0" - jest-validate "^27.2.2" - resolve "^1.20.0" - slash "^3.0.0" - -jest-resolve@^27.2.2, jest-resolve@^27.5.1: +jest-resolve@27.5.1, jest-resolve@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.5.1.tgz#a2f1c5a0796ec18fe9eb1536ac3814c23617b384" integrity sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw== @@ -14166,7 +14059,7 @@ jest-resolve@^27.2.2, jest-resolve@^27.5.1: resolve.exports "^1.1.0" slash "^3.0.0" -jest-runner@^27.2.2, jest-runner@^27.5.1: +jest-runner@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.5.1.tgz#071b27c1fa30d90540805c5645a0ec167c7b62e5" integrity sha512-g4NPsM4mFCOwFKXO4p/H/kWGdJp9V8kURY2lX8Me2drgXqG7rrZAx5kv+5H7wtt/cdFIjhqYx1HrlqWHaOvDaQ== @@ -14265,16 +14158,16 @@ jest-snapshot@^27.2.3, jest-snapshot@^27.5.1: pretty-format "^27.5.1" semver "^7.3.2" -jest-util@27.2.0: - version "27.2.0" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.2.0.tgz#bfccb85cfafae752257319e825a5b8d4ada470dc" - integrity sha512-T5ZJCNeFpqcLBpx+Hl9r9KoxBCUqeWlJ1Htli+vryigZVJ1vuLB9j35grEBASp4R13KFkV7jM52bBGnArpJN6A== +jest-util@27.5.1, jest-util@^27.0.0, jest-util@^27.2.3, jest-util@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.5.1.tgz#3ba9771e8e31a0b85da48fe0b0891fb86c01c2f9" + integrity sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw== dependencies: - "@jest/types" "^27.1.1" + "@jest/types" "^27.5.1" "@types/node" "*" chalk "^4.0.0" - graceful-fs "^4.2.4" - is-ci "^3.0.0" + ci-info "^3.2.0" + graceful-fs "^4.2.9" picomatch "^2.2.3" jest-util@^26.6.2: @@ -14289,19 +14182,7 @@ jest-util@^26.6.2: is-ci "^2.0.0" micromatch "^4.0.2" -jest-util@^27.0.0, jest-util@^27.2.0, jest-util@^27.2.3, jest-util@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.5.1.tgz#3ba9771e8e31a0b85da48fe0b0891fb86c01c2f9" - integrity sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw== - dependencies: - "@jest/types" "^27.5.1" - "@types/node" "*" - chalk "^4.0.0" - ci-info "^3.2.0" - graceful-fs "^4.2.9" - picomatch "^2.2.3" - -jest-validate@^27.2.2, jest-validate@^27.5.1: +jest-validate@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.5.1.tgz#9197d54dc0bdb52260b8db40b46ae668e04df067" integrity sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ== @@ -14335,7 +14216,7 @@ jest-worker@^26.5.0, jest-worker@^26.6.2: merge-stream "^2.0.0" supports-color "^7.0.0" -jest-worker@^27.0.2, jest-worker@^27.2.2, jest-worker@^27.4.5, jest-worker@^27.5.1: +jest-worker@^27.0.2, jest-worker@^27.4.5, jest-worker@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== @@ -14344,14 +14225,14 @@ jest-worker@^27.0.2, jest-worker@^27.2.2, jest-worker@^27.4.5, jest-worker@^27.5 merge-stream "^2.0.0" supports-color "^8.0.0" -jest@27.2.3: - version "27.2.3" - resolved "https://registry.yarnpkg.com/jest/-/jest-27.2.3.tgz#9c2af9ce874a3eb202f83d92fbc1cc61ccc73248" - integrity sha512-r4ggA29J5xUg93DpvbsX+AXlFMWE3hZ5Y6BfgTl8PJvWelVezNPkmrsixuGoDBTHTCwScRSH0O4wsoeUgLie2w== +jest@27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest/-/jest-27.5.1.tgz#dadf33ba70a779be7a6fc33015843b51494f63fc" + integrity sha512-Yn0mADZB89zTtjkPJEXwrac3LHudkQMR+Paqa8uxJHCBr9agxztUifWCyiYrjhMPBoUVBjyny0I7XH6ozDr7QQ== dependencies: - "@jest/core" "^27.2.3" + "@jest/core" "^27.5.1" import-local "^3.0.2" - jest-cli "^27.2.3" + jest-cli "^27.5.1" js-string-escape@^1.0.1: version "1.0.1" @@ -15175,7 +15056,7 @@ lodash.uniq@4.5.0, lodash.uniq@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4, lodash@4.17.21, lodash@4.x, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.3, lodash@^4.7.0: +lodash@4, lodash@4.17.21, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.3, lodash@^4.7.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -16694,13 +16575,13 @@ nx@13.10.2: yargs "^17.4.0" yargs-parser "21.0.1" -nx@14.0.0-beta.2: - version "14.0.0-beta.2" - resolved "https://registry.yarnpkg.com/nx/-/nx-14.0.0-beta.2.tgz#68d57c0bf54f2c51f7bce656acbb21f811af7103" - integrity sha512-toeQLvCHQ7Nn8qghQcbrDEMFUXzWfIcCp9b4Brp9Iepw+gZ/pKoS0/VjkgNbOGC4UoIEzZeLT0epOpNanK0eyg== +nx@14.0.2: + version "14.0.2" + resolved "https://registry.yarnpkg.com/nx/-/nx-14.0.2.tgz#ed6ccf1f02644e1a96a5a6086af7f28c96a7d3cb" + integrity sha512-kJgxPctxKtXZ+LZbKzFSP2cdDIyHrfNWyPY29yhVxfSOn0SIMKXUHHAYMIioARXZ0IAdU4uZTRZMmn38yaEJJw== dependencies: - "@nrwl/cli" "14.0.0-beta.2" - "@nrwl/tao" "14.0.0-beta.2" + "@nrwl/cli" "14.0.2" + "@nrwl/tao" "14.0.2" "@parcel/watcher" "2.0.4" "@swc-node/register" "^1.4.2" "@swc/core" "^1.2.152" @@ -16708,6 +16589,7 @@ nx@14.0.0-beta.2: chokidar "^3.5.1" cli-cursor "3.1.0" cli-spinners "2.6.1" + cliui "^7.0.2" dotenv "~10.0.0" enquirer "~2.3.6" fast-glob "3.2.7" @@ -16723,6 +16605,7 @@ nx@14.0.0-beta.2: rxjs "^6.5.4" rxjs-for-await "0.0.2" semver "7.3.4" + string-width "^4.2.3" tar-stream "~2.2.0" tmp "~0.2.1" tsconfig-paths "^3.9.0" @@ -18646,7 +18529,7 @@ pretty-error@^2.0.2, pretty-error@^2.1.1: lodash "^4.17.20" renderkid "^2.0.4" -pretty-format@^27.0.0, pretty-format@^27.0.2, pretty-format@^27.2.2, pretty-format@^27.2.3, pretty-format@^27.5.1: +pretty-format@^27.0.0, pretty-format@^27.0.2, pretty-format@^27.2.3, pretty-format@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== @@ -21951,16 +21834,16 @@ ts-dedent@^2.0.0: resolved "https://registry.yarnpkg.com/ts-dedent/-/ts-dedent-2.2.0.tgz#39e4bd297cd036292ae2394eb3412be63f563bb5" integrity sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ== -ts-jest@27.0.5: - version "27.0.5" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.0.5.tgz#0b0604e2271167ec43c12a69770f0bb65ad1b750" - integrity sha512-lIJApzfTaSSbtlksfFNHkWOzLJuuSm4faFAfo5kvzOiRAuoN4/eKxVJ2zEAho8aecE04qX6K1pAzfH5QHL1/8w== +ts-jest@27.1.4: + version "27.1.4" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.1.4.tgz#84d42cf0f4e7157a52e7c64b1492c46330943e00" + integrity sha512-qjkZlVPWVctAezwsOD1OPzbZ+k7zA5z3oxII4dGdZo5ggX/PL7kvwTM0pXTr10fAtbiVpJaL3bWd502zAhpgSQ== dependencies: bs-logger "0.x" fast-json-stable-stringify "2.x" jest-util "^27.0.0" json5 "2.x" - lodash "4.x" + lodash.memoize "4.x" make-error "1.x" semver "7.x" yargs-parser "20.x"