@nx/js 0.0.0-pr-28808-ca32248 → 0.0.0-pr-28808-bceb02f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/js",
|
|
3
|
-
"version": "0.0.0-pr-28808-
|
|
3
|
+
"version": "0.0.0-pr-28808-bceb02f",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects. ",
|
|
6
6
|
"repository": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@babel/preset-env": "^7.23.2",
|
|
40
40
|
"@babel/preset-typescript": "^7.22.5",
|
|
41
41
|
"@babel/runtime": "^7.22.6",
|
|
42
|
-
"@nx/devkit": "0.0.0-pr-28808-
|
|
43
|
-
"@nx/workspace": "0.0.0-pr-28808-
|
|
42
|
+
"@nx/devkit": "0.0.0-pr-28808-bceb02f",
|
|
43
|
+
"@nx/workspace": "0.0.0-pr-28808-bceb02f",
|
|
44
44
|
"@zkochan/js-yaml": "0.0.7",
|
|
45
45
|
"babel-plugin-const-enum": "^1.0.1",
|
|
46
46
|
"babel-plugin-macros": "^2.8.0",
|
|
@@ -79,16 +79,16 @@ function updateTsconfigFiles(tree, projectRoot, runtimeTsconfigFileName, compile
|
|
|
79
79
|
(0, devkit_1.updateJson)(tree, tsconfig, (json) => {
|
|
80
80
|
json.extends = (0, devkit_1.joinPathFragments)(offset, 'tsconfig.base.json');
|
|
81
81
|
json.compilerOptions = {
|
|
82
|
-
outDir: 'dist',
|
|
83
82
|
...json.compilerOptions,
|
|
83
|
+
// Make sure d.ts files from typecheck does not conflict with bundlers.
|
|
84
|
+
// Other tooling like jest write to "out-tsc/jest" to we just default to "out-tsc/<project-name>".
|
|
85
|
+
outDir: (0, devkit_1.joinPathFragments)('out-tsc', projectRoot.split('/').at(-1)),
|
|
84
86
|
...compilerOptions,
|
|
85
87
|
};
|
|
86
88
|
const excludeSet = json.exclude
|
|
87
89
|
? new Set(['dist', ...json.exclude, ...exclude])
|
|
88
90
|
: new Set(exclude);
|
|
89
91
|
json.exclude = Array.from(excludeSet);
|
|
90
|
-
// This is not compatible with TS solution setup.
|
|
91
|
-
delete json.compilerOptions.noEmit;
|
|
92
92
|
return json;
|
|
93
93
|
});
|
|
94
94
|
}
|