@nx/rollup 22.2.0-canary.20251201-731aba3 → 22.2.0-canary.20251202-30acb10

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.2.0-canary.20251201-731aba3",
3
+ "version": "22.2.0-canary.20251202-30acb10",
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.2.0-canary.20251201-731aba3",
33
- "@nx/js": "22.2.0-canary.20251201-731aba3",
32
+ "@nx/devkit": "22.2.0-canary.20251202-30acb10",
33
+ "@nx/js": "22.2.0-canary.20251202-30acb10",
34
34
  "@rollup/plugin-babel": "^6.0.4",
35
35
  "@rollup/plugin-commonjs": "^25.0.7",
36
36
  "@rollup/plugin-image": "^3.0.3",
@@ -47,7 +47,7 @@
47
47
  "tslib": "^2.3.0"
48
48
  },
49
49
  "devDependencies": {
50
- "nx": "22.2.0-canary.20251201-731aba3"
50
+ "nx": "22.2.0-canary.20251202-30acb10"
51
51
  },
52
52
  "publishConfig": {
53
53
  "access": "public"
@@ -1 +1 @@
1
- {"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../../../../packages/rollup/src/executors/rollup/lib/normalize.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAGvD,MAAM,WAAW,+BAAgC,SAAQ,qBAAqB;IAC5E,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,qBAAqB,EAC9B,OAAO,EAAE,eAAe,GACvB,+BAA+B,CAYjC;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,IAAI,GAAG,MAAM,EAAE,IAAI,EAAE,MAAM,UAS1E"}
1
+ {"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../../../../packages/rollup/src/executors/rollup/lib/normalize.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAGvD,MAAM,WAAW,+BAAgC,SAAQ,qBAAqB;IAC5E,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,qBAAqB,EAC9B,OAAO,EAAE,eAAe,GACvB,+BAA+B,CAajC;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,IAAI,GAAG,MAAM,EAAE,IAAI,EAAE,MAAM,UAS1E"}
@@ -13,6 +13,7 @@ function normalizeRollupExecutorOptions(options, context) {
13
13
  .concat(options.rollupConfig)
14
14
  .filter(Boolean)
15
15
  .map((p) => normalizePluginPath(p, root)),
16
+ buildLibsFromSource: options.buildLibsFromSource ?? true,
16
17
  projectRoot: context.projectGraph.nodes[context.projectName].data.root,
17
18
  skipTypeCheck: skipTypeCheck || false,
18
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"normalize-options.d.ts","sourceRoot":"","sources":["../../../../../../packages/rollup/src/plugins/with-nx/normalize-options.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,mCAAmC,EACnC,yBAAyB,EAC1B,MAAM,mBAAmB,CAAC;AAI3B,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,yBAAyB,GACjC,mCAAmC,CA8BrC"}
1
+ {"version":3,"file":"normalize-options.d.ts","sourceRoot":"","sources":["../../../../../../packages/rollup/src/plugins/with-nx/normalize-options.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,mCAAmC,EACnC,yBAAyB,EAC1B,MAAM,mBAAmB,CAAC;AAI3B,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,yBAAyB,GACjC,mCAAmC,CAoCrC"}
@@ -30,6 +30,12 @@ function normalizeOptions(projectRoot, sourceRoot, options) {
30
30
  javascriptEnabled: options.javascriptEnabled ?? false,
31
31
  skipTypeCheck: options.skipTypeCheck ?? false,
32
32
  skipTypeField: options.skipTypeField ?? false,
33
+ /**
34
+ * TODO(v23): Update default to true
35
+ * This defaults to false for pure plugin usage to match what is the current behaviour for users
36
+ * However, this differs from the Rollup executor usage as it defaulted to `true` in the `schema.json`
37
+ */
38
+ buildLibsFromSource: options.buildLibsFromSource ?? false,
33
39
  };
34
40
  }
35
41
  function normalizeAssets(assets, root, sourceRoot) {