@nx/next 17.0.3 → 17.1.0-beta.2
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/next",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.1.0-beta.2",
|
|
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, Cypress, and Jest. No need to configure anything: watch mode, source maps, and typings just work.",
|
|
6
6
|
"repository": {
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"url-loader": "^4.1.1",
|
|
45
45
|
"tslib": "^2.3.0",
|
|
46
46
|
"webpack-merge": "^5.8.0",
|
|
47
|
-
"@nx/devkit": "17.0.
|
|
48
|
-
"@nx/js": "17.0.
|
|
49
|
-
"@nx/eslint": "17.0.
|
|
50
|
-
"@nx/react": "17.0.
|
|
51
|
-
"@nx/web": "17.0.
|
|
52
|
-
"@nx/workspace": "17.0.
|
|
53
|
-
"@nrwl/next": "17.0.
|
|
47
|
+
"@nx/devkit": "17.1.0-beta.2",
|
|
48
|
+
"@nx/js": "17.1.0-beta.2",
|
|
49
|
+
"@nx/eslint": "17.1.0-beta.2",
|
|
50
|
+
"@nx/react": "17.1.0-beta.2",
|
|
51
|
+
"@nx/web": "17.1.0-beta.2",
|
|
52
|
+
"@nx/workspace": "17.1.0-beta.2",
|
|
53
|
+
"@nrwl/next": "17.1.0-beta.2"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
@@ -56,7 +56,7 @@ Able to find CT project, ${!!ctProjectConfig}.`);
|
|
|
56
56
|
assets: buildAssets,
|
|
57
57
|
outputPath: buildOuputPath,
|
|
58
58
|
outputFileName: 'main.js',
|
|
59
|
-
compiler: 'swc',
|
|
59
|
+
compiler: options?.compiler || 'swc',
|
|
60
60
|
tsConfig: (0, path_1.join)(ctExecutorContext.root, ctProjectConfig.root, 'tsconfig.json'),
|
|
61
61
|
};
|
|
62
62
|
const configure = (0, webpack_1.composePluginsSync)((0, webpack_1.withNx)(), (0, react_1.withReact)({
|
|
@@ -249,10 +249,44 @@ function createAppJsx(name) {
|
|
|
249
249
|
<path d="M23.15 2.587L18.21.21a1.494 1.494 0 0 0-1.705.29l-9.46 8.63-4.12-3.128a.999.999 0 0 0-1.276.057L.327 7.261A1 1 0 0 0 .326 8.74L3.899 12 .326 15.26a1 1 0 0 0 .001 1.479L1.65 17.94a.999.999 0 0 0 1.276.057l4.12-3.128 9.46 8.63a1.492 1.492 0 0 0 1.704.29l4.942-2.377A1.5 1.5 0 0 0 24 20.06V3.939a1.5 1.5 0 0 0-.85-1.352zm-5.146 14.861L10.826 12l7.178-5.448v10.896z" />
|
|
250
250
|
</svg>
|
|
251
251
|
<span>
|
|
252
|
-
Install Nx Console
|
|
253
|
-
<span>
|
|
252
|
+
Install Nx Console for VSCode
|
|
253
|
+
<span>The official VSCode extension for Nx.</span>
|
|
254
254
|
</span>
|
|
255
255
|
</a>
|
|
256
|
+
<a
|
|
257
|
+
id="nx-console-jetbrains"
|
|
258
|
+
className="button-pill rounded shadow"
|
|
259
|
+
href="https://plugins.jetbrains.com/plugin/21060-nx-console"
|
|
260
|
+
target="_blank"
|
|
261
|
+
rel="noreferrer"
|
|
262
|
+
>
|
|
263
|
+
<svg
|
|
264
|
+
height="48"
|
|
265
|
+
width="48"
|
|
266
|
+
viewBox="20 20 60 60"
|
|
267
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
268
|
+
>
|
|
269
|
+
<path d="m22.5 22.5h60v60h-60z" />
|
|
270
|
+
<g fill="#fff">
|
|
271
|
+
<path d="m29.03 71.25h22.5v3.75h-22.5z" />
|
|
272
|
+
<path d="m28.09 38 1.67-1.58a1.88 1.88 0 0 0 1.47.87c.64 0 1.06-.44 1.06-1.31v-5.98h2.58v6a3.48 3.48 0 0 1 -.87 2.6 3.56 3.56 0 0 1 -2.57.95 3.84 3.84 0 0 1 -3.34-1.55z" />
|
|
273
|
+
<path d="m36 30h7.53v2.19h-5v1.44h4.49v2h-4.42v1.49h5v2.21h-7.6z" />
|
|
274
|
+
<path d="m47.23 32.29h-2.8v-2.29h8.21v2.27h-2.81v7.1h-2.6z" />
|
|
275
|
+
<path d="m29.13 43.08h4.42a3.53 3.53 0 0 1 2.55.83 2.09 2.09 0 0 1 .6 1.53 2.16 2.16 0 0 1 -1.44 2.09 2.27 2.27 0 0 1 1.86 2.29c0 1.61-1.31 2.59-3.55 2.59h-4.44zm5 2.89c0-.52-.42-.8-1.18-.8h-1.29v1.64h1.24c.79 0 1.25-.26 1.25-.81zm-.9 2.66h-1.57v1.73h1.62c.8 0 1.24-.31 1.24-.86 0-.5-.4-.87-1.27-.87z" />
|
|
276
|
+
<path d="m38 43.08h4.1a4.19 4.19 0 0 1 3 1 2.93 2.93 0 0 1 .9 2.19 3 3 0 0 1 -1.93 2.89l2.24 3.27h-3l-1.88-2.84h-.87v2.84h-2.56zm4 4.5c.87 0 1.39-.43 1.39-1.11 0-.75-.54-1.12-1.4-1.12h-1.44v2.26z" />
|
|
277
|
+
<path d="m49.59 43h2.5l4 9.44h-2.79l-.67-1.69h-3.63l-.67 1.69h-2.71zm2.27 5.73-1-2.65-1.06 2.65z" />
|
|
278
|
+
<path d="m56.46 43.05h2.6v9.37h-2.6z" />
|
|
279
|
+
<path d="m60.06 43.05h2.42l3.37 5v-5h2.57v9.37h-2.26l-3.53-5.14v5.14h-2.57z" />
|
|
280
|
+
<path d="m68.86 51 1.45-1.73a4.84 4.84 0 0 0 3 1.13c.71 0 1.08-.24 1.08-.65 0-.4-.31-.6-1.59-.91-2-.46-3.53-1-3.53-2.93 0-1.74 1.37-3 3.62-3a5.89 5.89 0 0 1 3.86 1.25l-1.26 1.84a4.63 4.63 0 0 0 -2.62-.92c-.63 0-.94.25-.94.6 0 .42.32.61 1.63.91 2.14.46 3.44 1.16 3.44 2.91 0 1.91-1.51 3-3.79 3a6.58 6.58 0 0 1 -4.35-1.5z" />
|
|
281
|
+
</g>
|
|
282
|
+
</svg>
|
|
283
|
+
<span>
|
|
284
|
+
Install Nx Console for JetBrains
|
|
285
|
+
<span>
|
|
286
|
+
Available for WebStorm, Intellij IDEA Ultimate and more!
|
|
287
|
+
</span>
|
|
288
|
+
</span>
|
|
289
|
+
</a>
|
|
256
290
|
<div id="nx-cloud" className="rounded shadow">
|
|
257
291
|
<div>
|
|
258
292
|
<svg id="nx-cloud-logo" role="img" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" fill="transparent" viewBox="0 0 24 24">
|
|
@@ -650,6 +684,15 @@ function createStyleRules() {
|
|
|
650
684
|
#nx-console svg {
|
|
651
685
|
color: rgba(0, 122, 204, 1);
|
|
652
686
|
}
|
|
687
|
+
#nx-console-jetbrains {
|
|
688
|
+
margin-top: 2rem;
|
|
689
|
+
}
|
|
690
|
+
#nx-console-jetbrains:hover {
|
|
691
|
+
background-color: rgba(255, 49, 140, 1);
|
|
692
|
+
}
|
|
693
|
+
#nx-console-jetbrains svg {
|
|
694
|
+
color: rgba(255, 49, 140, 1);
|
|
695
|
+
}
|
|
653
696
|
#nx-repo:hover {
|
|
654
697
|
background-color: rgba(24, 23, 23, 1);
|
|
655
698
|
}
|