Skip to content

Commit

Permalink
feat: update Nx
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Jul 22, 2021
1 parent 2414b79 commit 04e3673
Show file tree
Hide file tree
Showing 10 changed files with 1,242 additions and 1,234 deletions.
24 changes: 16 additions & 8 deletions migrations.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
{
"migrations": [
{
"version": "12.1.0-beta.1",
"version": "12.5.0-beta.1",
"description": "Rename the workspace-schematic script into workspace-generator script",
"factory": "./src/migrations/update-12-5-0/add-target-dependencies",
"cli": "nx",
"description": "Update jest-preset-angular to version 8.4.0",
"factory": "./src/migrations/update-12-1-2/update-jest-preset-angular",
"package": "@nrwl/workspace",
"name": "add-target-dependencies"
},
{
"version": "12.4.0-beta.1",
"cli": "nx",
"description": "Add testEnvironment: 'jsdom' in web apps + libraries",
"factory": "./src/migrations/update-12-4-0/add-test-environment-for-node",
"package": "@nrwl/jest",
"name": "update-jest-preset-angular-8-4-0"
"name": "support-jest-27"
},
{
"version": "12.1.2-beta.1",
"version": "12.4.0-beta.1",
"cli": "nx",
"description": "Replace tsConfig with tsconfig for ts-jest in jest.config.js",
"factory": "./src/migrations/update-12-1-2/update-ts-jest",
"description": "Support for Jest 27 via updating ts-jest + jest-preset-angular",
"factory": "./src/migrations/update-12-4-0/update-jest-preset-angular",
"package": "@nrwl/jest",
"name": "update-ts-jest-6-5-5"
"name": "update-ts-jest-and-jest-preset-angular"
}
]
}
32 changes: 20 additions & 12 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,39 +23,47 @@
}
},
"projects": {
"core": {
"tags": ["scope:core", "type:library"]
},
"classes": {
"tags": ["scope:classes", "type:plugin"]
},
"types": {
"tags": ["type:type-defs"]
"classes-experimental-transformer-plugin": {
"tags": ["scope:classes", "type:transformer-plugin"]
},
"classes-mapped-types": {
"tags": ["scope:classes", "type:utility"]
},
"core": {
"tags": ["scope:core", "type:library"]
},
"integration-test": {
"tags": ["type:test"]
},
"pojos": {
"tags": ["type:plugin"]
},
"nestjs": {
"tags": ["type:integration"]
},
"nestjs-integration-test": {
"tags": ["type:test"]
},
"classes-experimental-transformer-plugin": {
"tags": ["scope:classes", "type:transformer-plugin"]
"pojos": {
"tags": ["type:plugin"]
},
"sequelize": {
"tags": ["type:plugin"]
},
"classes-mapped-types": {
"tags": ["scope:classes", "type:utility"]
"types": {
"tags": ["type:type-defs"]
}
},
"workspaceLayout": {
"appsDir": "packages",
"libsDir": "packages"
},
"targetDependencies": {
"build": [
{
"target": "build",
"projects": "dependencies"
}
]
}
}
Loading

0 comments on commit 04e3673

Please sign in to comment.