@nx/js 21.0.3 → 21.0.4
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": "21.0.
|
|
3
|
+
"version": "21.0.4",
|
|
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": "21.0.
|
|
43
|
-
"@nx/workspace": "21.0.
|
|
42
|
+
"@nx/devkit": "21.0.4",
|
|
43
|
+
"@nx/workspace": "21.0.4",
|
|
44
44
|
"@zkochan/js-yaml": "0.0.7",
|
|
45
45
|
"babel-plugin-const-enum": "^1.0.1",
|
|
46
46
|
"babel-plugin-macros": "^3.1.0",
|
|
@@ -594,7 +594,7 @@ async function normalizeOptions(tree, options) {
|
|
|
594
594
|
options.config = 'project';
|
|
595
595
|
}
|
|
596
596
|
if (options.publishable) {
|
|
597
|
-
if (!options.importPath) {
|
|
597
|
+
if (!isUsingTsSolutionConfig && !options.importPath) {
|
|
598
598
|
throw new Error(`For publishable libs you have to provide a proper "--importPath" which needs to be a valid npm package name (e.g. my-awesome-lib or @myorg/my-lib)`);
|
|
599
599
|
}
|
|
600
600
|
if (options.bundler === 'none') {
|