@nx/workspace 19.1.0-canary.20240522-89fdd42 → 19.1.0-canary.20240524-12c6a73

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/workspace",
3
- "version": "19.1.0-canary.20240522-89fdd42",
3
+ "version": "19.1.0-canary.20240524-12c6a73",
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": {
@@ -19,7 +19,7 @@
19
19
  "Cypress",
20
20
  "CLI"
21
21
  ],
22
- "main": "./index.js",
22
+ "main": "./index",
23
23
  "typings": "./index.d.ts",
24
24
  "author": "Victor Savkin",
25
25
  "license": "MIT",
@@ -61,13 +61,13 @@
61
61
  }
62
62
  },
63
63
  "dependencies": {
64
- "@nx/devkit": "19.1.0-canary.20240522-89fdd42",
64
+ "@nx/devkit": "19.1.0-canary.20240524-12c6a73",
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": "19.1.0-canary.20240522-89fdd42",
70
- "@nrwl/workspace": "19.1.0-canary.20240522-89fdd42"
69
+ "nx": "19.1.0-canary.20240524-12c6a73",
70
+ "@nrwl/workspace": "19.1.0-canary.20240524-12c6a73"
71
71
  },
72
72
  "publishConfig": {
73
73
  "access": "public"
@@ -45,6 +45,11 @@ jobs:
45
45
  - script: npm install --prefix=$HOME/.local -g pnpm@8
46
46
  displayName: Install PNPM
47
47
 
48
+ <% } %>
49
+ <% if(packageManager == 'bun'){ %>
50
+ - script: npm install --prefix=$HOME/.local -g Bun
51
+ displayName: Install Bun
52
+
48
53
  <% } %>
49
54
  # Connect your workspace on <%= nxCloudHost %> and uncomment this to enable task distribution.
50
55
  # The "--stop-agents-after" is optional, but allows idle agents to shut down once the "<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>" targets have been requested
@@ -14,6 +14,10 @@ pipelines:
14
14
  <% if(packageManager == 'pnpm'){ %>
15
15
  - npm install --prefix=$HOME/.local -g pnpm@8
16
16
 
17
+ <% } %>
18
+ <% if(packageManager == 'bun'){ %>
19
+ - npm install --prefix=$HOME/.local -g bun
20
+
17
21
  <% } %>
18
22
  # Connect your workspace on <%= nxCloudHost %> and uncomment this to enable task distribution.
19
23
  # The "--stop-agents-after" is optional, but allows idle agents to shut down once the "<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>" targets have been requested
@@ -38,6 +42,9 @@ pipelines:
38
42
  <% if(packageManager == 'pnpm'){ %>
39
43
  - npm install --prefix=$HOME/.local -g pnpm@8
40
44
  <% } %>
45
+ <% if(packageManager == 'bun'){ %>
46
+ - npm install --prefix=$HOME/.local -g bun
47
+ <% } %>
41
48
  - <%= packageManagerInstall %>
42
49
 
43
50
  # Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
@@ -14,6 +14,12 @@ jobs:
14
14
  name: Install PNPM
15
15
  command: npm install --prefix=$HOME/.local -g pnpm@8
16
16
  <% } %>
17
+ <% if(packageManager == 'bun'){ %>
18
+ - run:
19
+ name: Install Bun
20
+ command: npm install --prefix=$HOME/.local -g bun
21
+ <% } %>
22
+
17
23
 
18
24
  # Connect your workspace on <%= nxCloudHost %> and uncomment this to enable task distribution.
19
25
  # The "--stop-agents-after" is optional, but allows idle agents to shut down once the "<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>" targets have been requested
@@ -22,16 +22,23 @@ jobs:
22
22
  with:
23
23
  version: 8
24
24
  <% } %>
25
+ <% if(packageManager == 'bun'){ %>
26
+ - uses: oven-sh/setup-bun@v1
27
+ with:
28
+ bun-version: latest
29
+ <% } %>
25
30
 
26
31
  # Connect your workspace on <%= nxCloudHost %> and uncomment this to enable task distribution.
27
32
  # The "--stop-agents-after" is optional, but allows idle agents to shut down once the "<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>" targets have been requested
28
33
  # - run: <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
29
34
 
35
+ <% if(packageManager != 'bun'){ %>
30
36
  # Cache node_modules
31
37
  - uses: actions/setup-node@v3
32
38
  with:
33
39
  node-version: 20
34
40
  cache: '<%= packageManager %>'
41
+ <% } %>
35
42
  - run: <%= packageManagerInstall %>
36
43
  - uses: nrwl/nx-set-shas@v4
37
44
 
@@ -12,6 +12,9 @@ variables:
12
12
  <% if(packageManager == 'pnpm'){ %>
13
13
  - npm install --prefix=$HOME/.local -g pnpm@8
14
14
  <% } %>
15
+ <% if(packageManager == 'bun'){ %>
16
+ - npm install --prefix=$HOME/.local -g bun
17
+ <% } %>
15
18
  # Connect your workspace on <%= nxCloudHost %> and uncomment this to enable task distribution.
16
19
  # The "--stop-agents-after" is optional, but allows idle agents to shut down once the "<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>" targets have been requested
17
20
  # - <%= packageManagerPreInstallPrefix %> nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
@@ -56,7 +56,7 @@
56
56
  "packageManager": {
57
57
  "description": "The package manager used to install dependencies.",
58
58
  "type": "string",
59
- "enum": ["npm", "yarn", "pnpm"]
59
+ "enum": ["npm", "yarn", "pnpm", "bun"]
60
60
  },
61
61
  "framework": {
62
62
  "description": "The framework which the application is using",
@@ -62,7 +62,7 @@
62
62
  "packageManager": {
63
63
  "description": "The package manager used to install dependencies.",
64
64
  "type": "string",
65
- "enum": ["npm", "yarn", "pnpm"]
65
+ "enum": ["npm", "yarn", "pnpm", "bun"]
66
66
  },
67
67
  "framework": {
68
68
  "description": "The framework which the application is using",
@@ -1,3 +1,3 @@
1
1
  export declare const nxVersion: any;
2
2
  export declare const typescriptVersion = "~5.4.2";
3
- export declare const angularCliVersion = "~17.3.0";
3
+ export declare const angularCliVersion = "~18.0.0";
@@ -5,4 +5,4 @@ exports.nxVersion = require('../../package.json').version;
5
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.3.0';
8
+ exports.angularCliVersion = '~18.0.0';