@nrwl/workspace 15.3.0-beta.12 → 15.3.0-beta.13

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,6 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [15.3.0-beta.12](https://github.com/nrwl/nx/compare/15.2.0...15.3.0-beta.12) (2022-12-01)
6
+ # [15.3.0-beta.13](https://github.com/nrwl/nx/compare/15.2.0...15.3.0-beta.13) (2022-12-05)
7
7
 
8
8
  **Note:** Version bump only for package @nrwl/workspace
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/workspace",
3
- "version": "15.3.0-beta.12",
3
+ "version": "15.3.0-beta.13",
4
4
  "private": false,
5
5
  "description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
6
6
  "repository": {
@@ -33,31 +33,31 @@
33
33
  "requirements": {},
34
34
  "migrations": "./migrations.json",
35
35
  "packageGroup": {
36
- "@nrwl/angular": "15.3.0-beta.12",
37
- "@nrwl/cli": "15.3.0-beta.12",
38
- "@nrwl/cypress": "15.3.0-beta.12",
39
- "@nrwl/detox": "15.3.0-beta.12",
40
- "@nrwl/devkit": "15.3.0-beta.12",
41
- "@nrwl/esbuild": "15.3.0-beta.12",
42
- "@nrwl/eslint-plugin-nx": "15.3.0-beta.12",
43
- "@nrwl/expo": "15.3.0-beta.12",
44
- "@nrwl/express": "15.3.0-beta.12",
45
- "@nrwl/jest": "15.3.0-beta.12",
46
- "@nrwl/js": "15.3.0-beta.12",
47
- "@nrwl/linter": "15.3.0-beta.12",
48
- "@nrwl/nest": "15.3.0-beta.12",
49
- "@nrwl/next": "15.3.0-beta.12",
50
- "@nrwl/node": "15.3.0-beta.12",
36
+ "@nrwl/angular": "15.3.0-beta.13",
37
+ "@nrwl/cli": "15.3.0-beta.13",
38
+ "@nrwl/cypress": "15.3.0-beta.13",
39
+ "@nrwl/detox": "15.3.0-beta.13",
40
+ "@nrwl/devkit": "15.3.0-beta.13",
41
+ "@nrwl/esbuild": "15.3.0-beta.13",
42
+ "@nrwl/eslint-plugin-nx": "15.3.0-beta.13",
43
+ "@nrwl/expo": "15.3.0-beta.13",
44
+ "@nrwl/express": "15.3.0-beta.13",
45
+ "@nrwl/jest": "15.3.0-beta.13",
46
+ "@nrwl/js": "15.3.0-beta.13",
47
+ "@nrwl/linter": "15.3.0-beta.13",
48
+ "@nrwl/nest": "15.3.0-beta.13",
49
+ "@nrwl/next": "15.3.0-beta.13",
50
+ "@nrwl/node": "15.3.0-beta.13",
51
51
  "@nrwl/nx-cloud": "latest",
52
- "@nrwl/nx-plugin": "15.3.0-beta.12",
53
- "@nrwl/react": "15.3.0-beta.12",
54
- "@nrwl/react-native": "15.3.0-beta.12",
55
- "@nrwl/rollup": "15.3.0-beta.12",
56
- "@nrwl/storybook": "15.3.0-beta.12",
57
- "@nrwl/tao": "15.3.0-beta.12",
58
- "@nrwl/web": "15.3.0-beta.12",
59
- "@nrwl/webpack": "15.3.0-beta.12",
60
- "nx": "15.3.0-beta.12"
52
+ "@nrwl/nx-plugin": "15.3.0-beta.13",
53
+ "@nrwl/react": "15.3.0-beta.13",
54
+ "@nrwl/react-native": "15.3.0-beta.13",
55
+ "@nrwl/rollup": "15.3.0-beta.13",
56
+ "@nrwl/storybook": "15.3.0-beta.13",
57
+ "@nrwl/tao": "15.3.0-beta.13",
58
+ "@nrwl/web": "15.3.0-beta.13",
59
+ "@nrwl/webpack": "15.3.0-beta.13",
60
+ "nx": "15.3.0-beta.13"
61
61
  }
62
62
  },
63
63
  "peerDependencies": {
@@ -69,8 +69,8 @@
69
69
  }
70
70
  },
71
71
  "dependencies": {
72
- "@nrwl/devkit": "15.3.0-beta.12",
73
- "@nrwl/linter": "15.3.0-beta.12",
72
+ "@nrwl/devkit": "15.3.0-beta.13",
73
+ "@nrwl/linter": "15.3.0-beta.13",
74
74
  "@parcel/watcher": "2.0.4",
75
75
  "chalk": "4.1.0",
76
76
  "chokidar": "^3.5.1",
@@ -85,7 +85,7 @@
85
85
  "ignore": "^5.0.4",
86
86
  "minimatch": "3.0.5",
87
87
  "npm-run-path": "^4.0.1",
88
- "nx": "15.3.0-beta.12",
88
+ "nx": "15.3.0-beta.13",
89
89
  "open": "^8.4.0",
90
90
  "rxjs": "^6.5.4",
91
91
  "semver": "7.3.4",
@@ -98,5 +98,5 @@
98
98
  "access": "public"
99
99
  },
100
100
  "types": "./index.d.ts",
101
- "gitHead": "cded83b2c5bf3e4252c03d4dbcbb5b203b0faed0"
101
+ "gitHead": "61d7d74378305ba96f9e94707aefeecb438328ca"
102
102
  }
@@ -5,6 +5,6 @@
5
5
  "declaration": true,
6
6
  "types": []
7
7
  },
8
- "include": ["**/*.ts"<% if (js) { %>, "**/*.js"<% } %>],
9
- "exclude": ["jest.config.ts","**/*.spec.ts"<% if (js) { %>, "**/*.spec.js"<% } %>]
8
+ "include": ["src/**/*.ts"<% if (js) { %>, "src/**/*.js"<% } %>],
9
+ "exclude": ["jest.config.ts","src/**/*.spec.ts"<% if (js) { %>, "src/**/*.spec.js"<% } %>]
10
10
  }
@@ -9,7 +9,6 @@
9
9
  },
10
10
  "devDependencies": {
11
11
  "nx": "<%= nxVersion %>",
12
- "@nrwl/cli": "<%= nxVersion %>",
13
12
  "@nrwl/workspace": "<%= nxVersion %>",
14
13
  "typescript": "<%= typescriptVersion %>",
15
14
  "prettier": "<%= prettierVersion %>"
@@ -8,7 +8,6 @@
8
8
  "dependencies": {
9
9
  },
10
10
  "devDependencies": {
11
- "@nrwl/cli": "<%= nxVersion %>",
12
11
  "@nrwl/workspace": "<%= nxVersion %>",
13
12
  "nx": "<%= nxVersion %>",
14
13
  "prettier": "<%= prettierVersion %>",
@@ -0,0 +1,17 @@
1
+ import { Tree } from 'nx/src/generators/tree';
2
+ export declare const tsConfigBaseOptions: {
3
+ rootDir: string;
4
+ sourceMap: boolean;
5
+ declaration: boolean;
6
+ moduleResolution: string;
7
+ emitDecoratorMetadata: boolean;
8
+ experimentalDecorators: boolean;
9
+ importHelpers: boolean;
10
+ target: string;
11
+ module: string;
12
+ lib: string[];
13
+ skipLibCheck: boolean;
14
+ skipDefaultLibCheck: boolean;
15
+ baseUrl: string;
16
+ };
17
+ export declare function extractTsConfigBase(host: Tree): void;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.extractTsConfigBase = exports.tsConfigBaseOptions = void 0;
4
+ const json_1 = require("nx/src/generators/utils/json");
5
+ exports.tsConfigBaseOptions = {
6
+ rootDir: '.',
7
+ sourceMap: true,
8
+ declaration: false,
9
+ moduleResolution: 'node',
10
+ emitDecoratorMetadata: true,
11
+ experimentalDecorators: true,
12
+ importHelpers: true,
13
+ target: 'es2015',
14
+ module: 'esnext',
15
+ lib: ['es2017', 'dom'],
16
+ skipLibCheck: true,
17
+ skipDefaultLibCheck: true,
18
+ baseUrl: '.',
19
+ };
20
+ function extractTsConfigBase(host) {
21
+ if (host.exists('tsconfig.base.json'))
22
+ return;
23
+ const tsconfig = (0, json_1.readJson)(host, 'tsconfig.json');
24
+ const baseCompilerOptions = {};
25
+ for (let compilerOption of Object.keys(exports.tsConfigBaseOptions)) {
26
+ baseCompilerOptions[compilerOption] =
27
+ tsconfig.compilerOptions[compilerOption];
28
+ delete tsconfig.compilerOptions[compilerOption];
29
+ }
30
+ (0, json_1.writeJson)(host, 'tsconfig.base.json', {
31
+ compileOnSave: false,
32
+ compilerOptions: baseCompilerOptions,
33
+ exclude: tsconfig.exclude,
34
+ });
35
+ tsconfig.extends = './tsconfig.base.json';
36
+ delete tsconfig.compileOnSave;
37
+ delete tsconfig.exclude;
38
+ (0, json_1.writeJson)(host, 'tsconfig.json', tsconfig);
39
+ // special case for updating e2e tests.
40
+ if (host.exists('e2e/tsconfig.json')) {
41
+ (0, json_1.updateJson)(host, 'e2e/tsconfig.json', (json) => {
42
+ json.extends = '../tsconfig.base.json';
43
+ return json;
44
+ });
45
+ }
46
+ }
47
+ exports.extractTsConfigBase = extractTsConfigBase;
48
+ //# sourceMappingURL=create-ts-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-ts-config.js","sourceRoot":"","sources":["../../../../../packages/workspace/src/utils/create-ts-config.ts"],"names":[],"mappings":";;;AACA,uDAA+E;AAElE,QAAA,mBAAmB,GAAG;IACjC,OAAO,EAAE,GAAG;IACZ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,KAAK;IAClB,gBAAgB,EAAE,MAAM;IACxB,qBAAqB,EAAE,IAAI;IAC3B,sBAAsB,EAAE,IAAI;IAC5B,aAAa,EAAE,IAAI;IACnB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC;IACtB,YAAY,EAAE,IAAI;IAClB,mBAAmB,EAAE,IAAI;IACzB,OAAO,EAAE,GAAG;CACb,CAAC;AAEF,SAAgB,mBAAmB,CAAC,IAAU;IAC5C,IAAI,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC;QAAE,OAAO;IAE9C,MAAM,QAAQ,GAAG,IAAA,eAAQ,EAAC,IAAI,EAAE,eAAe,CAAC,CAAC;IACjD,MAAM,mBAAmB,GAAG,EAAS,CAAC;IACtC,KAAK,IAAI,cAAc,IAAI,MAAM,CAAC,IAAI,CAAC,2BAAmB,CAAC,EAAE;QAC3D,mBAAmB,CAAC,cAAc,CAAC;YACjC,QAAQ,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC;QAC3C,OAAO,QAAQ,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC;KACjD;IACD,IAAA,gBAAS,EAAC,IAAI,EAAE,oBAAoB,EAAE;QACpC,aAAa,EAAE,KAAK;QACpB,eAAe,EAAE,mBAAmB;QACpC,OAAO,EAAE,QAAQ,CAAC,OAAO;KAC1B,CAAC,CAAC;IACH,QAAQ,CAAC,OAAO,GAAG,sBAAsB,CAAC;IAC1C,OAAO,QAAQ,CAAC,aAAa,CAAC;IAC9B,OAAO,QAAQ,CAAC,OAAO,CAAC;IAExB,IAAA,gBAAS,EAAC,IAAI,EAAE,eAAe,EAAE,QAAQ,CAAC,CAAC;IAE3C,uCAAuC;IACvC,IAAI,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE;QACpC,IAAA,iBAAU,EAAC,IAAI,EAAE,mBAAmB,EAAE,CAAC,IAAI,EAAE,EAAE;YAC7C,IAAI,CAAC,OAAO,GAAG,uBAAuB,CAAC;YACvC,OAAO,IAAI,CAAC;QACd,CAAC,CAAC,CAAC;KACJ;AACH,CAAC;AA5BD,kDA4BC"}
@@ -1,20 +0,0 @@
1
- {
2
- "compileOnSave": false,
3
- "compilerOptions": {
4
- "rootDir": ".",
5
- "sourceMap": true,
6
- "declaration": false,
7
- "moduleResolution": "node",
8
- "emitDecoratorMetadata": true,
9
- "experimentalDecorators": true,
10
- "importHelpers": true,
11
- "target": "es2015",
12
- "module": "esnext",
13
- "lib": ["es2017", "dom"],
14
- "skipLibCheck": true,
15
- "skipDefaultLibCheck": true,
16
- "baseUrl": ".",
17
- "paths": {}
18
- },
19
- "exclude": ["node_modules", "tmp"]
20
- }