@nx/next 20.0.0-beta.6 → 20.0.0-beta.7
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 +7 -7
- package/plugins/with-nx.js +1 -1
- package/plugins/with-stylus.d.ts +0 -3
- package/plugins/with-stylus.js +0 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/next",
|
|
3
|
-
"version": "20.0.0-beta.
|
|
3
|
+
"version": "20.0.0-beta.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Next.js plugin for Nx contains executors and generators for managing Next.js applications and libraries within an Nx workspace. It provides:\n\n\n- Scaffolding for creating, building, serving, linting, and testing Next.js applications.\n\n- Integration with building, serving, and exporting a Next.js application.\n\n- Integration with React libraries within the workspace. \n\nWhen using Next.js in Nx, you get the out-of-the-box support for TypeScript, Playwright, Cypress, and Jest. No need to configure anything: watch mode, source maps, and typings just work.",
|
|
6
6
|
"repository": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"next": ">=14.0.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@nx/devkit": "20.0.0-beta.
|
|
38
|
+
"@nx/devkit": "20.0.0-beta.7",
|
|
39
39
|
"@babel/plugin-proposal-decorators": "^7.22.7",
|
|
40
40
|
"@svgr/webpack": "^8.0.1",
|
|
41
41
|
"copy-webpack-plugin": "^10.2.4",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"semver": "^7.5.3",
|
|
46
46
|
"tslib": "^2.3.0",
|
|
47
47
|
"webpack-merge": "^5.8.0",
|
|
48
|
-
"@nx/js": "20.0.0-beta.
|
|
49
|
-
"@nx/eslint": "20.0.0-beta.
|
|
50
|
-
"@nx/react": "20.0.0-beta.
|
|
51
|
-
"@nx/web": "20.0.0-beta.
|
|
52
|
-
"@nx/webpack": "20.0.0-beta.
|
|
48
|
+
"@nx/js": "20.0.0-beta.7",
|
|
49
|
+
"@nx/eslint": "20.0.0-beta.7",
|
|
50
|
+
"@nx/react": "20.0.0-beta.7",
|
|
51
|
+
"@nx/web": "20.0.0-beta.7",
|
|
52
|
+
"@nx/webpack": "20.0.0-beta.7",
|
|
53
53
|
"@phenomnomnominal/tsquery": "~5.0.1"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
package/plugins/with-nx.js
CHANGED
|
@@ -237,7 +237,7 @@ function getNextConfig(nextConfig = {}, context = getWithNxContext()) {
|
|
|
237
237
|
ref: true,
|
|
238
238
|
};
|
|
239
239
|
const svgrOptions = typeof nx?.svgr === 'object' ? nx.svgr : defaultSvgrOptions;
|
|
240
|
-
// TODO(
|
|
240
|
+
// TODO(v21): Remove file-loader and use `?react` querystring to differentiate between asset and SVGR.
|
|
241
241
|
// It should be:
|
|
242
242
|
// use: [{
|
|
243
243
|
// test: /\.svg$/i,
|
package/plugins/with-stylus.d.ts
DELETED
package/plugins/with-stylus.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.withStylus = withStylus;
|
|
4
|
-
// TODO(v20): Remove file, it is here until users migrate over to SASS manually.
|
|
5
|
-
function withStylus(configOrFn) {
|
|
6
|
-
return async (phase) => {
|
|
7
|
-
throw new Error(`Stylus support has been removed and you should use the built-in SASS support. Remove the "withStylus" plugin from your Next.js config, and rename your files from .styl to .scss.`);
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
module.exports = withStylus;
|
|
11
|
-
module.exports.withStylus = withStylus;
|