Skip to content

Commit

Permalink
chore: update to Nx@16 (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov authored Dec 7, 2023
1 parent 45b6c3f commit 22e3076
Show file tree
Hide file tree
Showing 16 changed files with 2,697 additions and 1,885 deletions.
1 change: 0 additions & 1 deletion babel.config.json

This file was deleted.

2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {getJestProjects} from '@nrwl/jest';
import {getJestProjects} from '@nx/jest';

export default {
projects: getJestProjects(),
Expand Down
2 changes: 1 addition & 1 deletion jest.preset.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const nxPreset = require('@nrwl/jest/preset').default;
const nxPreset = require('@nx/jest/preset').default;
const {resolve} = require('path');

module.exports = {
Expand Down
13 changes: 7 additions & 6 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
},
"defaultProject": "demo",
"generators": {
"@nrwl/js:library": {
"@nx/js:library": {
"buildable": true,
"publishable": true,
"strict": true,
"linter": "none",
"unitTestRunner": "jest",
"config": "project"
},
"@nrwl/angular:library": {
"@nx/angular:library": {
"linter": "none",
"unitTestRunner": "jest",
"buildable": true,
Expand All @@ -27,15 +27,15 @@
"skipModule": true,
"standaloneConfig": true
},
"@nrwl/angular:application": {
"@nx/angular:application": {
"style": "less",
"linter": "none",
"unitTestRunner": "jest"
},
"@nrwl/angular:component": {
"@nx/angular:component": {
"style": "less"
},
"@nrwl/react": {
"@nx/react": {
"application": {
"babel": true
},
Expand Down Expand Up @@ -73,7 +73,8 @@
"default",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/jest.config.[jt]s"
"!{projectRoot}/jest.config.[jt]s",
"!{projectRoot}/src/test-setup.[jt]s"
]
},
"targetDefaults": {
Expand Down
Loading

0 comments on commit 22e3076

Please sign in to comment.