@nx/web 23.0.0-rc.4 → 23.1.0-beta.0

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
@@ -7,13 +7,12 @@
7
7
 
8
8
  <div style="text-align: center;">
9
9
 
10
- [![CircleCI](https://circleci.com/gh/nrwl/nx.svg?style=svg)](https://circleci.com/gh/nrwl/nx)
11
10
  [![License](https://img.shields.io/npm/l/@nx/workspace.svg?style=flat-square)]()
12
11
  [![NPM Version](https://badge.fury.io/js/nx.svg)](https://www.npmjs.com/package/nx)
13
12
  [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)]()
14
13
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
15
- [![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)
16
14
  [![Join us on the Official Nx Discord Server](https://img.shields.io/discord/1143497901675401286?label=discord)](https://go.nx.dev/community)
15
+ [![Nx Sandboxing](https://staging.nx.app/workspaces/62d013ea0852fe0a2df74438/sandbox-badge.svg)](https://nx.dev/docs/features/ci-features/sandboxing)
17
16
 
18
17
  </div>
19
18
 
@@ -2,7 +2,7 @@
2
2
  "extends": "./tsconfig.json",
3
3
  "compilerOptions": {
4
4
  "outDir": "<%= offsetFromRoot %>dist/out-tsc",
5
- "types": ["node"]
5
+ "types": ["node", "vite/client"]
6
6
  },
7
7
  "exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"],
8
8
  "include": ["src/**/*.ts"]
@@ -6,7 +6,7 @@
6
6
  "useDefineForClassFields": true,
7
7
  "module": "ESNext",
8
8
  "lib": ["ESNext", "DOM"],
9
- "moduleResolution": "Node",
9
+ "moduleResolution": "bundler",
10
10
  "strict": true,
11
11
  "resolveJsonModule": true,
12
12
  "isolatedModules": true,
@@ -2,7 +2,7 @@
2
2
  "extends": "./tsconfig.json",
3
3
  "compilerOptions": {
4
4
  "outDir": "<%= offsetFromRoot %>dist/out-tsc",
5
- "types": ["node"]
5
+ "types": ["node", "@nx/web/typings/style.d.ts"]
6
6
  },
7
7
  "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"],
8
8
  "include": ["src/**/*.ts"]
@@ -0,0 +1,5 @@
1
+ // TS 6.0 enables `noUncheckedSideEffectImports`, which errors on plain
2
+ // `import './x.css'` unless the module is declared. Empty bodies allow the
3
+ // side-effect import without granting a default-import `any`.
4
+ declare module '*.css' {}
5
+ declare module '*.scss' {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/web",
3
- "version": "23.0.0-rc.4",
3
+ "version": "23.1.0-beta.0",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "files": [
@@ -68,6 +68,10 @@
68
68
  "@nx/nx-source": "./internal.ts",
69
69
  "types": "./dist/internal.d.ts",
70
70
  "default": "./dist/internal.js"
71
+ },
72
+ "./typings/*.d.ts": {
73
+ "@nx/nx-source": "./typings/*.d.ts",
74
+ "default": "./dist/typings/*.d.ts"
71
75
  }
72
76
  },
73
77
  "dependencies": {
@@ -75,20 +79,20 @@
75
79
  "http-server": "^14.1.0",
76
80
  "picocolors": "^1.1.0",
77
81
  "tslib": "^2.3.0",
78
- "@nx/devkit": "23.0.0-rc.4",
79
- "@nx/js": "23.0.0-rc.4"
82
+ "@nx/devkit": "23.1.0-beta.0",
83
+ "@nx/js": "23.1.0-beta.0"
80
84
  },
81
85
  "devDependencies": {
82
- "nx": "23.0.0-rc.4",
83
- "@nx/vitest": "23.0.0-rc.4"
86
+ "nx": "23.1.0-beta.0",
87
+ "@nx/vitest": "23.1.0-beta.0"
84
88
  },
85
89
  "peerDependencies": {
86
- "@nx/cypress": "23.0.0-rc.4",
87
- "@nx/eslint": "23.0.0-rc.4",
88
- "@nx/jest": "23.0.0-rc.4",
89
- "@nx/playwright": "23.0.0-rc.4",
90
- "@nx/vite": "23.0.0-rc.4",
91
- "@nx/webpack": "23.0.0-rc.4"
90
+ "@nx/cypress": "23.1.0-beta.0",
91
+ "@nx/jest": "23.1.0-beta.0",
92
+ "@nx/webpack": "23.1.0-beta.0",
93
+ "@nx/playwright": "23.1.0-beta.0",
94
+ "@nx/eslint": "23.1.0-beta.0",
95
+ "@nx/vite": "23.1.0-beta.0"
92
96
  },
93
97
  "peerDependenciesMeta": {
94
98
  "@nx/cypress": {