@nx/rollup 19.5.7 → 19.6.0-beta.1

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": "19.5.7",
3
+ "version": "19.6.0-beta.1",
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": {
@@ -44,9 +44,9 @@
44
44
  "rollup-plugin-postcss": "^4.0.2",
45
45
  "rollup-plugin-typescript2": "^0.36.0",
46
46
  "tslib": "^2.3.0",
47
- "@nx/devkit": "19.5.7",
48
- "@nx/js": "19.5.7",
49
- "@nrwl/rollup": "19.5.7"
47
+ "@nx/devkit": "19.6.0-beta.1",
48
+ "@nx/js": "19.6.0-beta.1",
49
+ "@nrwl/rollup": "19.6.0-beta.1"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public"
@@ -4,7 +4,7 @@ exports.configurationGenerator = configurationGenerator;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const get_import_path_1 = require("@nx/js/src/utils/get-import-path");
6
6
  const init_1 = require("../init/init");
7
- const add_build_target_defaults_1 = require("@nx/devkit/src/generators/add-build-target-defaults");
7
+ const target_defaults_utils_1 = require("@nx/devkit/src/generators/target-defaults-utils");
8
8
  const ensure_dependencies_1 = require("../../utils/ensure-dependencies");
9
9
  const has_plugin_1 = require("../../utils/has-plugin");
10
10
  async function configurationGenerator(tree, options) {
@@ -75,7 +75,7 @@ function addPackageJson(tree, options) {
75
75
  }
76
76
  }
77
77
  function addBuildTarget(tree, options) {
78
- (0, add_build_target_defaults_1.addBuildTargetDefaults)(tree, '@nx/rollup:rollup', options.buildTarget);
78
+ (0, target_defaults_utils_1.addBuildTargetDefaults)(tree, '@nx/rollup:rollup', options.buildTarget);
79
79
  const project = (0, devkit_1.readProjectConfiguration)(tree, options.project);
80
80
  const prevBuildOptions = project.targets?.[options.buildTarget]?.options;
81
81
  const buildOptions = {