@nx/rollup 22.0.0-canary.20251006-0149fac → 22.0.0-canary.20251007-01d5f3f

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": "22.0.0-canary.20251006-0149fac",
3
+ "version": "22.0.0-canary.20251007-01d5f3f",
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": "22.0.0-canary.20251006-0149fac",
33
- "@nx/js": "22.0.0-canary.20251006-0149fac",
32
+ "@nx/devkit": "22.0.0-canary.20251007-01d5f3f",
33
+ "@nx/js": "22.0.0-canary.20251007-01d5f3f",
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": "22.0.0-canary.20251006-0149fac"
51
+ "nx": "22.0.0-canary.20251007-01d5f3f"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
@@ -1,4 +1,4 @@
1
- import { type CreateDependencies, type CreateNodes, CreateNodesV2 } from '@nx/devkit';
1
+ import { type CreateDependencies, CreateNodesV2 } from '@nx/devkit';
2
2
  /**
3
3
  * @deprecated The 'createDependencies' function is now a no-op. This functionality is included in 'createNodesV2'.
4
4
  */
@@ -8,6 +8,6 @@ export interface RollupPluginOptions {
8
8
  buildDepsTargetName?: string;
9
9
  watchDepsTargetName?: string;
10
10
  }
11
- export declare const createNodes: CreateNodes<RollupPluginOptions>;
11
+ export declare const createNodes: CreateNodesV2<RollupPluginOptions>;
12
12
  export declare const createNodesV2: CreateNodesV2<RollupPluginOptions>;
13
13
  //# sourceMappingURL=plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/rollup/src/plugins/plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAGhB,aAAa,EAQd,MAAM,YAAY,CAAC;AAwBpB;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAEhC,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAID,eAAO,MAAM,WAAW,EAAE,WAAW,CAAC,mBAAmB,CAcxD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,aAAa,CAAC,mBAAmB,CA8B5D,CAAC"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/rollup/src/plugins/plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,kBAAkB,EAGvB,aAAa,EAOd,MAAM,YAAY,CAAC;AAwBpB;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAEhC,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAID,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,mBAAmB,CA8B1D,CAAC;AAEF,eAAO,MAAM,aAAa,oCAAc,CAAC"}
@@ -27,13 +27,6 @@ const createDependencies = () => {
27
27
  exports.createDependencies = createDependencies;
28
28
  const rollupConfigGlob = '**/rollup.config.{js,cjs,mjs,ts,cts,mts}';
29
29
  exports.createNodes = [
30
- rollupConfigGlob,
31
- async (configFilePath, options, context) => {
32
- devkit_1.logger.warn('`createNodes` is deprecated. Update your plugin to utilize createNodesV2 instead. In Nx 20, this will change to the createNodesV2 API.');
33
- return createNodesInternal(configFilePath, normalizeOptions(options), context, {}, (0, ts_solution_setup_1.isUsingTsSolutionSetup)());
34
- },
35
- ];
36
- exports.createNodesV2 = [
37
30
  rollupConfigGlob,
38
31
  async (configFilePaths, options, context) => {
39
32
  const normalizedOptions = normalizeOptions(options);
@@ -49,6 +42,7 @@ exports.createNodesV2 = [
49
42
  }
50
43
  },
51
44
  ];
45
+ exports.createNodesV2 = exports.createNodes;
52
46
  async function createNodesInternal(configFilePath, options, context, targetsCache, isTsSolutionSetup) {
53
47
  const projectRoot = (0, path_1.dirname)(configFilePath);
54
48
  const fullyQualifiedProjectRoot = (0, path_1.join)(context.workspaceRoot, projectRoot);