@nx/workspace 18.1.3 → 18.2.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  (The MIT License)
2
2
 
3
- Copyright (c) 2017-2023 Narwhal Technologies Inc.
3
+ Copyright (c) 2017-2024 Narwhal Technologies Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
package/migrations.json CHANGED
@@ -85,6 +85,19 @@
85
85
  "version": "~5.3.2"
86
86
  }
87
87
  }
88
+ },
89
+ "18.2.0": {
90
+ "version": "18.2.0-beta.0",
91
+ "x-prompt": "Do you want to update to TypeScript v5.4?",
92
+ "requires": {
93
+ "typescript": ">=5.3.0 <5.4.0"
94
+ },
95
+ "packages": {
96
+ "typescript": {
97
+ "version": "~5.4.2",
98
+ "alwaysAddToPackageJson": false
99
+ }
100
+ }
88
101
  }
89
102
  }
90
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/workspace",
3
- "version": "18.1.3",
3
+ "version": "18.2.0-beta.1",
4
4
  "private": false,
5
5
  "description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
6
6
  "repository": {
@@ -61,13 +61,13 @@
61
61
  }
62
62
  },
63
63
  "dependencies": {
64
- "@nx/devkit": "18.1.3",
64
+ "@nx/devkit": "18.2.0-beta.1",
65
65
  "chalk": "^4.1.0",
66
66
  "enquirer": "~2.3.6",
67
67
  "tslib": "^2.3.0",
68
68
  "yargs-parser": "21.1.1",
69
- "nx": "18.1.3",
70
- "@nrwl/workspace": "18.1.3"
69
+ "nx": "18.2.0-beta.1",
70
+ "@nrwl/workspace": "18.2.0-beta.1"
71
71
  },
72
72
  "publishConfig": {
73
73
  "access": "public"
@@ -124,7 +124,7 @@ function updateImportDeclarations(sourceFile, from, to) {
124
124
  ]);
125
125
  const changes = [];
126
126
  for (const { moduleSpecifier } of importDecls) {
127
- if (tsModule.isStringLiteral(moduleSpecifier)) {
127
+ if (moduleSpecifier && tsModule.isStringLiteral(moduleSpecifier)) {
128
128
  changes.push(...updateModuleSpecifier(moduleSpecifier, from, to));
129
129
  }
130
130
  }
@@ -1,3 +1,3 @@
1
1
  export declare const nxVersion: any;
2
- export declare const typescriptVersion = "~5.3.2";
3
- export declare const angularCliVersion = "~17.2.0";
2
+ export declare const typescriptVersion = "~5.4.2";
3
+ export declare const angularCliVersion = "~17.3.0";
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.angularCliVersion = exports.typescriptVersion = exports.nxVersion = void 0;
4
4
  exports.nxVersion = require('../../package.json').version;
5
- exports.typescriptVersion = '~5.3.2';
5
+ exports.typescriptVersion = '~5.4.2';
6
6
  // TODO: remove when preset generation is reworked and
7
7
  // deps are not installed from workspace
8
- exports.angularCliVersion = '~17.2.0';
8
+ exports.angularCliVersion = '~17.3.0';