@nx/rollup 21.7.0-canary.20250929-405d91d → 21.7.0-canary.20250930-e144408
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/rollup",
|
3
|
-
"version": "21.7.0-canary.
|
3
|
+
"version": "21.7.0-canary.20250930-e144408",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Nx Plugin for Rollup contains executors and generators that support building applications using Rollup.",
|
6
6
|
"repository": {
|
@@ -29,8 +29,8 @@
|
|
29
29
|
"migrations": "./migrations.json"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
|
-
"@nx/devkit": "21.7.0-canary.
|
33
|
-
"@nx/js": "21.7.0-canary.
|
32
|
+
"@nx/devkit": "21.7.0-canary.20250930-e144408",
|
33
|
+
"@nx/js": "21.7.0-canary.20250930-e144408",
|
34
34
|
"@rollup/plugin-babel": "^6.0.4",
|
35
35
|
"@rollup/plugin-commonjs": "^25.0.7",
|
36
36
|
"@rollup/plugin-image": "^3.0.3",
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"tslib": "^2.3.0"
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
51
|
-
"nx": "21.7.0-canary.
|
51
|
+
"nx": "21.7.0-canary.20250930-e144408"
|
52
52
|
},
|
53
53
|
"publishConfig": {
|
54
54
|
"access": "public"
|
@@ -159,7 +159,7 @@
|
|
159
159
|
"useLegacyTypescriptPlugin": {
|
160
160
|
"type": "boolean",
|
161
161
|
"description": "Use rollup-plugin-typescript2 instead of @rollup/plugin-typescript.",
|
162
|
-
"default":
|
162
|
+
"default": false
|
163
163
|
}
|
164
164
|
},
|
165
165
|
"required": ["tsConfig", "main", "outputPath"],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"with-nx.d.ts","sourceRoot":"","sources":["../../../../../../packages/rollup/src/plugins/with-nx/with-nx.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,6BAA6B,EAC9B,MAAM,uCAAuC,CAAC;AAW/C,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAOjC,OAAO,EAAoB,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AA2BhF,wBAAgB,MAAM,CACpB,UAAU,EAAE,yBAAyB,EACrC,YAAY,GAAE,MAAM,CAAC,aAAkB,EAEvC,YAAY,CAAC,EAAE,6BAA6B,EAAE,GAC7C,MAAM,CAAC,aAAa,
|
1
|
+
{"version":3,"file":"with-nx.d.ts","sourceRoot":"","sources":["../../../../../../packages/rollup/src/plugins/with-nx/with-nx.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,6BAA6B,EAC9B,MAAM,uCAAuC,CAAC;AAW/C,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAOjC,OAAO,EAAoB,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AA2BhF,wBAAgB,MAAM,CACpB,UAAU,EAAE,yBAAyB,EACrC,YAAY,GAAE,MAAM,CAAC,aAAkB,EAEvC,YAAY,CAAC,EAAE,6BAA6B,EAAE,GAC7C,MAAM,CAAC,aAAa,CAyRtB"}
|
@@ -160,13 +160,13 @@ dependencies) {
|
|
160
160
|
image(),
|
161
161
|
json(),
|
162
162
|
// TypeScript compilation and declaration generation
|
163
|
-
|
164
|
-
options.useLegacyTypescriptPlugin !== false
|
163
|
+
options.useLegacyTypescriptPlugin === true
|
165
164
|
? (() => {
|
166
165
|
// TODO(v23): Remove in Nx 23
|
167
166
|
// Show deprecation warning
|
168
|
-
devkit_1.logger.warn(`rollup-plugin-typescript2
|
169
|
-
`
|
167
|
+
devkit_1.logger.warn(`rollup-plugin-typescript2 is deprecated and will be removed in Nx 23. ` +
|
168
|
+
`You are explicitly using it with 'useLegacyTypescriptPlugin: true'. ` +
|
169
|
+
`Consider removing this option to use the official @rollup/plugin-typescript.`);
|
170
170
|
return require('rollup-plugin-typescript2')({
|
171
171
|
check: !options.skipTypeCheck,
|
172
172
|
tsconfig: tsConfigPath,
|
@@ -185,12 +185,11 @@ dependencies) {
|
|
185
185
|
tsconfig: tsConfigPath,
|
186
186
|
compilerOptions: {
|
187
187
|
...tsCompilerOptions,
|
188
|
+
composite: false,
|
188
189
|
outDir: rollupOutputDir,
|
189
190
|
declarationDir: rollupOutputDir,
|
191
|
+
noEmitOnError: !options.skipTypeCheck,
|
190
192
|
},
|
191
|
-
declaration: true,
|
192
|
-
declarationMap: !!options.sourceMap,
|
193
|
-
noEmitOnError: !options.skipTypeCheck,
|
194
193
|
});
|
195
194
|
})(),
|
196
195
|
(0, type_definitions_1.typeDefinitions)({
|