@nx/rollup 16.8.1 → 16.9.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/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)]()
9
9
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
10
10
  [![Join the chat at https://gitter.im/nrwl-nx/community](https://badges.gitter.im/nrwl-nx/community.svg)](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
11
- [![Join us @nx/community on slack](https://img.shields.io/badge/slack-%40nrwl%2Fcommunity-brightgreen)](https://join.slack.com/t/nrwlcommunity/shared_invite/enQtNzU5MTE4OTQwOTk0LTgxY2E0ZWYzMWE0YzA5ZDA2MWM1NDVhNmI2ZWMyYmZhNWJiODk3MjkxZjY3MzU5ZjRmM2NmNWU1OTgyZmE4Mzc)
11
+ [![Join us on the Official Nx Discord Server](https://simpleicons.org/icons/discord.svg)](https://go.nx.dev/community)
12
12
 
13
13
  </div>
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/rollup",
3
- "version": "16.8.1",
3
+ "version": "16.9.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": {
@@ -29,9 +29,9 @@
29
29
  "migrations": "./migrations.json"
30
30
  },
31
31
  "dependencies": {
32
- "@nrwl/rollup": "16.8.1",
33
- "@nx/devkit": "16.8.1",
34
- "@nx/js": "16.8.1",
32
+ "@nrwl/rollup": "16.9.0-beta.1",
33
+ "@nx/devkit": "16.9.0-beta.1",
34
+ "@nx/js": "16.9.0-beta.1",
35
35
  "@rollup/plugin-babel": "^5.3.0",
36
36
  "@rollup/plugin-commonjs": "^20.0.0",
37
37
  "@rollup/plugin-image": "^2.1.0",
@@ -54,5 +54,5 @@
54
54
  "access": "public"
55
55
  },
56
56
  "type": "commonjs",
57
- "gitHead": "29a7b8575e683d3a581b4bf6f82ee4486bfa94dd"
57
+ "gitHead": "5056d6cefb2949ba865019e8b71e633fba28c091"
58
58
  }
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.normalizeAssets = exports.normalizePluginPath = exports.normalizeRollupExecutorOptions = void 0;
4
4
  const path_1 = require("path");
5
- const fast_glob_1 = require("fast-glob");
6
5
  const fs_1 = require("fs");
7
6
  const devkit_1 = require("@nx/devkit");
7
+ const js_1 = require("@nx/js");
8
8
  function normalizeRollupExecutorOptions(options, context, sourceRoot) {
9
9
  const { root } = context;
10
10
  const main = `${root}/${options.main}`;
@@ -34,7 +34,7 @@ function normalizeRollupExecutorOptions(options, context, sourceRoot) {
34
34
  projectRoot,
35
35
  outputPath,
36
36
  skipTypeCheck: options.skipTypeCheck || false,
37
- additionalEntryPoints: createEntryPoints(options, context),
37
+ additionalEntryPoints: (0, js_1.createEntryPoints)(options.additionalEntryPoints, context.root),
38
38
  };
39
39
  }
40
40
  exports.normalizeRollupExecutorOptions = normalizeRollupExecutorOptions;
@@ -87,10 +87,3 @@ function normalizeAssets(assets, root, sourceRoot) {
87
87
  });
88
88
  }
89
89
  exports.normalizeAssets = normalizeAssets;
90
- function createEntryPoints(options, context) {
91
- if (!options.additionalEntryPoints?.length)
92
- return [];
93
- return (0, fast_glob_1.sync)(options.additionalEntryPoints, {
94
- cwd: context.root,
95
- });
96
- }