@nx/rollup 0.0.0-pr-32490-e4fdfa9 → 0.0.0-pr-32868-a65a4a2
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/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
# Nx: Smart Repos · Fast Builds
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Get to green PRs in half the time. Nx optimizes your builds, scales your CI, and fixes failed PRs. Built for developers and AI agents.
|
|
26
26
|
|
|
27
27
|
This package is a [Rollup plugin for Nx](https://nx.dev/nx-api/rollup).
|
|
28
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/rollup",
|
|
3
|
-
"version": "0.0.0-pr-
|
|
3
|
+
"version": "0.0.0-pr-32868-a65a4a2",
|
|
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": "0.0.0-pr-
|
|
33
|
-
"@nx/js": "0.0.0-pr-
|
|
32
|
+
"@nx/devkit": "0.0.0-pr-32868-a65a4a2",
|
|
33
|
+
"@nx/js": "0.0.0-pr-32868-a65a4a2",
|
|
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": "0.0.0-pr-
|
|
51
|
+
"nx": "0.0.0-pr-32868-a65a4a2"
|
|
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;
|
|
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
|
-
|
|
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
|