@nx/rollup 21.5.0-canary.20250826-af44608 → 21.5.0-canary.20250829-23cffe6

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.5.0-canary.20250826-af44608",
3
+ "version": "21.5.0-canary.20250829-23cffe6",
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.5.0-canary.20250826-af44608",
33
- "@nx/js": "21.5.0-canary.20250826-af44608",
32
+ "@nx/devkit": "21.5.0-canary.20250829-23cffe6",
33
+ "@nx/js": "21.5.0-canary.20250829-23cffe6",
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.5.0-canary.20250826-af44608"
51
+ "nx": "21.5.0-canary.20250829-23cffe6"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
@@ -1 +1 @@
1
- {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../../../packages/rollup/src/generators/configuration/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAOjB,IAAI,EAIL,MAAM,YAAY,CAAC;AAcpB,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAI/C,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,mBAAmB,8BAmC7B;AA0PD,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../../../packages/rollup/src/generators/configuration/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAOjB,IAAI,EAIL,MAAM,YAAY,CAAC;AAiBpB,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAI/C,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,mBAAmB,8BAmC7B;AAoPD,eAAe,sBAAsB,CAAC"}
@@ -122,8 +122,6 @@ function updatePackageJson(tree, options, outputConfig, isTsSolutionSetup) {
122
122
  : undefined) ?? nxJson.targetDefaults?.[options.buildTarget]);
123
123
  ({ main, outputPath } = mergedTarget.options);
124
124
  }
125
- // the file must exist in the TS solution setup
126
- const tsconfigBase = (0, devkit_1.readJson)(tree, 'tsconfig.base.json');
127
125
  packageJson = (0, js_1.getUpdatedPackageJsonContent)(packageJson, {
128
126
  main,
129
127
  outputPath,
@@ -134,7 +132,7 @@ function updatePackageJson(tree, options, outputConfig, isTsSolutionSetup) {
134
132
  format: options.format ?? ['esm'],
135
133
  outputFileExtensionForCjs: '.cjs.js',
136
134
  outputFileExtensionForEsm: '.esm.js',
137
- skipDevelopmentExports: !tsconfigBase.compilerOptions?.customConditions?.includes('development'),
135
+ developmentConditionName: (0, ts_solution_setup_1.getDefinedCustomConditionName)(tree),
138
136
  });
139
137
  // rollup has a specific declaration file generation not handled by the util above,
140
138
  // adjust accordingly