@nx/js 21.0.0-beta.6 → 21.0.0-beta.8

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/js",
3
- "version": "21.0.0-beta.6",
3
+ "version": "21.0.0-beta.8",
4
4
  "private": false,
5
5
  "description": "The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects. ",
6
6
  "repository": {
@@ -39,8 +39,8 @@
39
39
  "@babel/preset-env": "^7.23.2",
40
40
  "@babel/preset-typescript": "^7.22.5",
41
41
  "@babel/runtime": "^7.22.6",
42
- "@nx/devkit": "21.0.0-beta.6",
43
- "@nx/workspace": "21.0.0-beta.6",
42
+ "@nx/devkit": "21.0.0-beta.8",
43
+ "@nx/workspace": "21.0.0-beta.8",
44
44
  "@zkochan/js-yaml": "0.0.7",
45
45
  "babel-plugin-const-enum": "^1.0.1",
46
46
  "babel-plugin-macros": "^3.1.0",
@@ -3,6 +3,7 @@
3
3
  "version": 2,
4
4
  "title": "Verdaccio Local Registry",
5
5
  "description": "Start a local registry with Verdaccio.",
6
+ "continuous": true,
6
7
  "cli": "nx",
7
8
  "type": "object",
8
9
  "properties": {
@@ -7,7 +7,6 @@ const jsonc_parser_1 = require("jsonc-parser");
7
7
  const posix_1 = require("node:path/posix");
8
8
  const sync_generators_1 = require("nx/src/utils/sync-generators");
9
9
  const ts = require("typescript");
10
- const plugin_1 = require("../../plugins/typescript/plugin");
11
10
  const COMMON_RUNTIME_TS_CONFIG_FILE_NAMES = [
12
11
  'tsconfig.app.json',
13
12
  'tsconfig.lib.json',
@@ -19,17 +18,6 @@ const COMMON_RUNTIME_TS_CONFIG_FILE_NAMES = [
19
18
  async function syncGenerator(tree) {
20
19
  // Ensure that the plugin has been wired up in nx.json
21
20
  const nxJson = (0, devkit_1.readNxJson)(tree);
22
- const tscPluginConfig = nxJson.plugins.find((p) => {
23
- if (typeof p === 'string') {
24
- return p === plugin_1.PLUGIN_NAME;
25
- }
26
- return p.plugin === plugin_1.PLUGIN_NAME;
27
- });
28
- if (!tscPluginConfig) {
29
- throw new sync_generators_1.SyncError(`The "${plugin_1.PLUGIN_NAME}" plugin is not registered`, [
30
- `The "${plugin_1.PLUGIN_NAME}" plugin must be added to the "plugins" array in "nx.json" in order to sync the project graph information to the TypeScript configuration files.`,
31
- ]);
32
- }
33
21
  const tsconfigInfoCaches = {
34
22
  composite: new Map(),
35
23
  content: new Map(),