@nx/next 17.3.0 → 17.3.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 +9 -9
- package/plugins/with-nx.js +1 -1
- package/plugins/with-stylus.js +1 -1
- package/src/executors/build/schema.json +1 -1
- package/src/generators/application/lib/create-application-files.helpers.js +19 -0
- package/src/generators/application/schema.json +3 -3
- package/src/generators/component/component.d.ts +4 -4
- package/src/generators/component/component.js +1 -1
- package/src/generators/component/schema.json +7 -7
- package/src/generators/custom-server/custom-server.d.ts +1 -1
- package/src/generators/custom-server/custom-server.js +5 -1
- package/src/generators/custom-server/schema.json +1 -1
- package/src/generators/cypress-component-configuration/schema.json +1 -1
- package/src/generators/init/init.js +2 -2
- package/src/generators/init/schema.json +1 -1
- package/src/generators/library/schema.json +3 -3
- package/src/generators/page/page.js +1 -1
- package/src/generators/page/schema.d.ts +2 -2
- package/src/generators/page/schema.json +5 -5
- package/src/utils/add-swc-to-custom-server.d.ts +2 -0
- package/src/utils/add-swc-to-custom-server.js +29 -0
- package/src/utils/versions.d.ts +4 -0
- package/src/utils/versions.js +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/next",
|
|
3
|
-
"version": "17.3.
|
|
3
|
+
"version": "17.3.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": {
|
|
@@ -34,23 +34,23 @@
|
|
|
34
34
|
"next": ">=13.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@nx/devkit": "17.3.
|
|
37
|
+
"@nx/devkit": "17.3.2",
|
|
38
38
|
"@babel/plugin-proposal-decorators": "^7.22.7",
|
|
39
39
|
"@svgr/webpack": "^8.0.1",
|
|
40
40
|
"chalk": "^4.1.0",
|
|
41
41
|
"copy-webpack-plugin": "^10.2.4",
|
|
42
42
|
"fs-extra": "^11.1.0",
|
|
43
43
|
"ignore": "^5.0.4",
|
|
44
|
-
"semver": "7.5.3",
|
|
44
|
+
"semver": "^7.5.3",
|
|
45
45
|
"url-loader": "^4.1.1",
|
|
46
46
|
"tslib": "^2.3.0",
|
|
47
47
|
"webpack-merge": "^5.8.0",
|
|
48
|
-
"@nx/js": "17.3.
|
|
49
|
-
"@nx/eslint": "17.3.
|
|
50
|
-
"@nx/react": "17.3.
|
|
51
|
-
"@nx/web": "17.3.
|
|
52
|
-
"@nx/workspace": "17.3.
|
|
53
|
-
"@nrwl/next": "17.3.
|
|
48
|
+
"@nx/js": "17.3.2",
|
|
49
|
+
"@nx/eslint": "17.3.2",
|
|
50
|
+
"@nx/react": "17.3.2",
|
|
51
|
+
"@nx/web": "17.3.2",
|
|
52
|
+
"@nx/workspace": "17.3.2",
|
|
53
|
+
"@nrwl/next": "17.3.2"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
package/plugins/with-nx.js
CHANGED
|
@@ -268,7 +268,7 @@ function getNxEnvironmentVariables() {
|
|
|
268
268
|
}, {});
|
|
269
269
|
}
|
|
270
270
|
/**
|
|
271
|
-
* TODO(
|
|
271
|
+
* TODO(v19)
|
|
272
272
|
* @deprecated Use Next.js 9.4+ built-in support for environment variables. Reference https://nextjs.org/docs/pages/api-reference/next-config-js/env
|
|
273
273
|
*/
|
|
274
274
|
function addNxEnvVariables(config) {
|
package/plugins/with-stylus.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.withStylus = void 0;
|
|
4
|
-
// TODO(
|
|
4
|
+
// TODO(v19): Remove file, it is here until users migrate over to SASS manually.
|
|
5
5
|
function withStylus(configOrFn) {
|
|
6
6
|
return async (phase) => {
|
|
7
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.`);
|
|
@@ -364,6 +364,25 @@ function createAppJsx(name) {
|
|
|
364
364
|
nx g @nx/next:component ui/src/lib/button
|
|
365
365
|
</pre>
|
|
366
366
|
</details>
|
|
367
|
+
<details>
|
|
368
|
+
<summary>
|
|
369
|
+
<svg
|
|
370
|
+
fill="none"
|
|
371
|
+
stroke="currentColor"
|
|
372
|
+
viewBox="0 0 24 24"
|
|
373
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
374
|
+
>
|
|
375
|
+
<path
|
|
376
|
+
strokeLinecap="round"
|
|
377
|
+
strokeLinejoin="round"
|
|
378
|
+
strokeWidth="2"
|
|
379
|
+
d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
|
|
380
|
+
/>
|
|
381
|
+
</svg>
|
|
382
|
+
View project details
|
|
383
|
+
</summary>
|
|
384
|
+
<pre>nx show project ${name} --web</pre>
|
|
385
|
+
</details>
|
|
367
386
|
<details>
|
|
368
387
|
<summary>
|
|
369
388
|
<svg
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"cli": "nx",
|
|
4
4
|
"$id": "NxNextApp",
|
|
5
5
|
"title": "Create a Next.js Application for Nx",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
{ "value": "css", "label": "CSS" },
|
|
41
41
|
{
|
|
42
42
|
"value": "scss",
|
|
43
|
-
"label": "SASS(.scss) [
|
|
43
|
+
"label": "SASS(.scss) [ https://sass-lang.com ]"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"value": "less",
|
|
47
|
-
"label": "LESS [
|
|
47
|
+
"label": "LESS [ https://lesscss.org ]"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"value": "styled-components",
|
|
@@ -3,21 +3,21 @@ import type { SupportedStyles } from '@nx/react';
|
|
|
3
3
|
interface Schema {
|
|
4
4
|
name: string;
|
|
5
5
|
/**
|
|
6
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
|
6
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19.
|
|
7
7
|
*/
|
|
8
8
|
project?: string;
|
|
9
9
|
style: SupportedStyles;
|
|
10
10
|
directory?: string;
|
|
11
11
|
/**
|
|
12
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx
|
|
12
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx v19.
|
|
13
13
|
*/
|
|
14
14
|
flat?: boolean;
|
|
15
15
|
/**
|
|
16
|
-
* @deprecated Provide the `name` in pascal-case and use the `as-provided` format. This option will be removed in Nx
|
|
16
|
+
* @deprecated Provide the `name` in pascal-case and use the `as-provided` format. This option will be removed in Nx v19.
|
|
17
17
|
*/
|
|
18
18
|
pascalCaseFiles?: boolean;
|
|
19
19
|
/**
|
|
20
|
-
* @deprecated Provide the `directory` in pascal-case and use the `as-provided` format. This option will be removed in Nx
|
|
20
|
+
* @deprecated Provide the `directory` in pascal-case and use the `as-provided` format. This option will be removed in Nx v19.
|
|
21
21
|
*/
|
|
22
22
|
pascalCaseDirectory?: boolean;
|
|
23
23
|
nameAndDirectoryFormat?: 'as-provided' | 'derived';
|
|
@@ -5,7 +5,7 @@ const devkit_1 = require("@nx/devkit");
|
|
|
5
5
|
const react_1 = require("@nx/react");
|
|
6
6
|
const styles_1 = require("../../utils/styles");
|
|
7
7
|
const artifact_name_and_directory_utils_1 = require("@nx/devkit/src/generators/artifact-name-and-directory-utils");
|
|
8
|
-
// TODO(
|
|
8
|
+
// TODO(v19): Remove this logic once we no longer derive directory.
|
|
9
9
|
function maybeGetDerivedDirectory(host, options) {
|
|
10
10
|
if (!options.project)
|
|
11
11
|
return options.directory;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"cli": "nx",
|
|
4
4
|
"$id": "NxNextReactComponent",
|
|
5
5
|
"title": "Create a React Component for Next",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"$default": {
|
|
14
14
|
"$source": "projectName"
|
|
15
15
|
},
|
|
16
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
|
16
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
|
|
17
17
|
},
|
|
18
18
|
"name": {
|
|
19
19
|
"type": "string",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"value": "scss",
|
|
43
|
-
"label": "SASS(.scss) [
|
|
43
|
+
"label": "SASS(.scss) [ https://sass-lang.com ]"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"value": "less",
|
|
47
|
-
"label": "LESS [
|
|
47
|
+
"label": "LESS [ https://lesscss.org ]"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"value": "styled-components",
|
|
@@ -97,21 +97,21 @@
|
|
|
97
97
|
"type": "boolean",
|
|
98
98
|
"description": "Create component at the source root rather than its own directory.",
|
|
99
99
|
"default": false,
|
|
100
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx
|
|
100
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx v19."
|
|
101
101
|
},
|
|
102
102
|
"pascalCaseFiles": {
|
|
103
103
|
"type": "boolean",
|
|
104
104
|
"description": "Use pascal case component file name (e.g. `App.tsx`).",
|
|
105
105
|
"alias": "P",
|
|
106
106
|
"default": false,
|
|
107
|
-
"x-deprecated": "Provide the `name` in pascal-case and use the `as-provided` format. This option will be removed in Nx
|
|
107
|
+
"x-deprecated": "Provide the `name` in pascal-case and use the `as-provided` format. This option will be removed in Nx v19."
|
|
108
108
|
},
|
|
109
109
|
"pascalCaseDirectory": {
|
|
110
110
|
"type": "boolean",
|
|
111
111
|
"description": "Use pascal case directory name (e.g. `App/App.tsx`).",
|
|
112
112
|
"alias": "R",
|
|
113
113
|
"default": false,
|
|
114
|
-
"x-deprecated": "Provide the `directory` in pascal-case and use the `as-provided` format. This option will be removed in Nx
|
|
114
|
+
"x-deprecated": "Provide the `directory` in pascal-case and use the `as-provided` format. This option will be removed in Nx v19."
|
|
115
115
|
},
|
|
116
116
|
"skipFormat": {
|
|
117
117
|
"description": "Skip formatting files.",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Tree } from '@nx/devkit';
|
|
2
2
|
import { CustomServerSchema } from './schema';
|
|
3
|
-
export declare function customServerGenerator(host: Tree, options: CustomServerSchema): Promise<void>;
|
|
3
|
+
export declare function customServerGenerator(host: Tree, options: CustomServerSchema): Promise<() => void>;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.customServerGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const path_1 = require("path");
|
|
6
|
+
const add_swc_to_custom_server_1 = require("../../utils/add-swc-to-custom-server");
|
|
6
7
|
async function customServerGenerator(host, options) {
|
|
7
8
|
const project = (0, devkit_1.readProjectConfiguration)(host, options.project);
|
|
8
9
|
if (project.targets?.build?.executor !== '@nx/next:build' &&
|
|
@@ -35,7 +36,7 @@ async function customServerGenerator(host, options) {
|
|
|
35
36
|
project.targets.serve.configurations.development.customServerTarget = `${options.project}:serve-custom-server:development`;
|
|
36
37
|
project.targets.serve.configurations.production.customServerTarget = `${options.project}:serve-custom-server:production`;
|
|
37
38
|
project.targets['build-custom-server'] = {
|
|
38
|
-
executor: '@nx/js:tsc',
|
|
39
|
+
executor: options.compiler === 'tsc' ? '@nx/js:tsc' : '@nx/js:swc',
|
|
39
40
|
defaultConfiguration: 'production',
|
|
40
41
|
options: {
|
|
41
42
|
outputPath,
|
|
@@ -75,5 +76,8 @@ async function customServerGenerator(host, options) {
|
|
|
75
76
|
json.targetDefaults['build-custom-server'].cache ??= true;
|
|
76
77
|
return json;
|
|
77
78
|
});
|
|
79
|
+
if (options.compiler === 'swc') {
|
|
80
|
+
return (0, add_swc_to_custom_server_1.configureForSwc)(host, project.root);
|
|
81
|
+
}
|
|
78
82
|
}
|
|
79
83
|
exports.customServerGenerator = customServerGenerator;
|
|
@@ -4,7 +4,6 @@ exports.nextInitGenerator = void 0;
|
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const update_package_scripts_1 = require("@nx/devkit/src/utils/update-package-scripts");
|
|
6
6
|
const versions_1 = require("@nx/react/src/utils/versions");
|
|
7
|
-
const plugin_1 = require("../../plugins/plugin");
|
|
8
7
|
const add_gitignore_entry_1 = require("../../utils/add-gitignore-entry");
|
|
9
8
|
const versions_2 = require("../../utils/versions");
|
|
10
9
|
const add_plugin_1 = require("./lib/add-plugin");
|
|
@@ -30,7 +29,8 @@ async function nextInitGenerator(host, schema) {
|
|
|
30
29
|
installTask = updateDependencies(host, schema);
|
|
31
30
|
}
|
|
32
31
|
if (schema.updatePackageScripts) {
|
|
33
|
-
await (
|
|
32
|
+
const { createNodes } = await Promise.resolve().then(() => require('../../plugins/plugin'));
|
|
33
|
+
await (0, update_package_scripts_1.updatePackageScripts)(host, createNodes);
|
|
34
34
|
}
|
|
35
35
|
return installTask;
|
|
36
36
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"cli": "nx",
|
|
4
4
|
"$id": "NxReactLibrary",
|
|
5
5
|
"title": "Create a React Library for Nx",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
{ "value": "css", "label": "CSS" },
|
|
41
41
|
{
|
|
42
42
|
"value": "scss",
|
|
43
|
-
"label": "SASS(.scss) [
|
|
43
|
+
"label": "SASS(.scss) [ https://sass-lang.com ]"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"value": "less",
|
|
47
|
-
"label": "LESS [
|
|
47
|
+
"label": "LESS [ https://lesscss.org ]"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"value": "styled-components",
|
|
@@ -46,7 +46,7 @@ async function normalizeOptions(host, options) {
|
|
|
46
46
|
let routerDirectory;
|
|
47
47
|
if (options.project) {
|
|
48
48
|
// Legacy behavior, detect app vs page router from specified project.
|
|
49
|
-
// TODO(
|
|
49
|
+
// TODO(v19): remove this logic
|
|
50
50
|
const project = (0, devkit_1.readProjectConfiguration)(host, options.project);
|
|
51
51
|
// app/ is a reserved folder in nextjs so it is safe to check it's existence
|
|
52
52
|
isAppRouter =
|
|
@@ -3,7 +3,7 @@ import { SupportedStyles } from '@nx/react';
|
|
|
3
3
|
export interface Schema {
|
|
4
4
|
name: string;
|
|
5
5
|
/**
|
|
6
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
|
6
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19.
|
|
7
7
|
*/
|
|
8
8
|
project?: string;
|
|
9
9
|
style: SupportedStyles;
|
|
@@ -12,7 +12,7 @@ export interface Schema {
|
|
|
12
12
|
withTests?: boolean;
|
|
13
13
|
js?: boolean;
|
|
14
14
|
/**
|
|
15
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx
|
|
15
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx v19.
|
|
16
16
|
*/
|
|
17
17
|
flat?: boolean;
|
|
18
18
|
skipFormat?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"cli": "nx",
|
|
4
4
|
"$id": "NxNextReactPage",
|
|
5
5
|
"title": "Create a Page for Next",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"$default": {
|
|
14
14
|
"$source": "projectName"
|
|
15
15
|
},
|
|
16
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
|
16
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
|
|
17
17
|
},
|
|
18
18
|
"name": {
|
|
19
19
|
"type": "string",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"value": "scss",
|
|
54
|
-
"label": "SASS(.scss) [
|
|
54
|
+
"label": "SASS(.scss) [ https://sass-lang.com ]"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"value": "less",
|
|
58
|
-
"label": "LESS [
|
|
58
|
+
"label": "LESS [ https://lesscss.org ]"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
"value": "styled-components",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"type": "boolean",
|
|
98
98
|
"description": "Create component at the source root rather than its own directory.",
|
|
99
99
|
"default": false,
|
|
100
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
|
100
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19."
|
|
101
101
|
},
|
|
102
102
|
"skipFormat": {
|
|
103
103
|
"description": "Skip formatting files.",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.configureForSwc = void 0;
|
|
4
|
+
const devkit_1 = require("@nx/devkit");
|
|
5
|
+
const versions_1 = require("./versions");
|
|
6
|
+
const add_swc_config_1 = require("@nx/js/src/utils/swc/add-swc-config");
|
|
7
|
+
function configureForSwc(tree, projectRoot) {
|
|
8
|
+
const swcConfigPath = (0, devkit_1.joinPathFragments)(projectRoot, '.swcrc');
|
|
9
|
+
const rootPackageJson = (0, devkit_1.readJson)(tree, 'package.json');
|
|
10
|
+
const hasSwcDepedency = rootPackageJson.dependencies?.['@swc/core'] ||
|
|
11
|
+
rootPackageJson.devDependencies?.['@swc/core'];
|
|
12
|
+
const hasSwcCliDependency = rootPackageJson.dependencies?.['@swc/cli'] ||
|
|
13
|
+
rootPackageJson.devDependencies?.['@swc/cli'];
|
|
14
|
+
if (!tree.exists(swcConfigPath)) {
|
|
15
|
+
(0, add_swc_config_1.addSwcConfig)(tree, swcConfigPath);
|
|
16
|
+
}
|
|
17
|
+
if (!hasSwcDepedency || !hasSwcCliDependency) {
|
|
18
|
+
addSwcDependencies(tree);
|
|
19
|
+
return () => (0, devkit_1.installPackagesTask)(tree);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.configureForSwc = configureForSwc;
|
|
23
|
+
function addSwcDependencies(tree) {
|
|
24
|
+
return (0, devkit_1.addDependenciesToPackageJson)(tree, {}, {
|
|
25
|
+
'@swc-node/register': versions_1.swcNodeVersion,
|
|
26
|
+
'@swc/cli': versions_1.swcCliVersion,
|
|
27
|
+
'@swc/core': versions_1.swcCoreVersion,
|
|
28
|
+
});
|
|
29
|
+
}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -6,3 +6,7 @@ export declare const lessLoader = "11.1.0";
|
|
|
6
6
|
export declare const emotionServerVersion = "11.11.0";
|
|
7
7
|
export declare const babelPluginStyledComponentsVersion = "1.10.7";
|
|
8
8
|
export declare const tsLibVersion = "^2.3.0";
|
|
9
|
+
export declare const swcCliVersion = "~0.1.62";
|
|
10
|
+
export declare const swcCoreVersion = "~1.3.85";
|
|
11
|
+
export declare const swcHelpersVersion = "~0.5.2";
|
|
12
|
+
export declare const swcNodeVersion = "~1.6.7";
|
package/src/utils/versions.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.tsLibVersion = exports.babelPluginStyledComponentsVersion = exports.emotionServerVersion = exports.lessLoader = exports.sassVersion = exports.eslintConfigNextVersion = exports.nextVersion = exports.nxVersion = void 0;
|
|
3
|
+
exports.swcNodeVersion = exports.swcHelpersVersion = exports.swcCoreVersion = exports.swcCliVersion = exports.tsLibVersion = exports.babelPluginStyledComponentsVersion = exports.emotionServerVersion = exports.lessLoader = exports.sassVersion = exports.eslintConfigNextVersion = exports.nextVersion = exports.nxVersion = void 0;
|
|
4
4
|
exports.nxVersion = require('../../package.json').version;
|
|
5
5
|
exports.nextVersion = '14.0.4';
|
|
6
6
|
exports.eslintConfigNextVersion = '14.0.4';
|
|
@@ -9,3 +9,7 @@ exports.lessLoader = '11.1.0';
|
|
|
9
9
|
exports.emotionServerVersion = '11.11.0';
|
|
10
10
|
exports.babelPluginStyledComponentsVersion = '1.10.7';
|
|
11
11
|
exports.tsLibVersion = '^2.3.0';
|
|
12
|
+
exports.swcCliVersion = '~0.1.62';
|
|
13
|
+
exports.swcCoreVersion = '~1.3.85';
|
|
14
|
+
exports.swcHelpersVersion = '~0.5.2';
|
|
15
|
+
exports.swcNodeVersion = '~1.6.7';
|