@nx/next 20.3.2 → 20.3.3

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": "20.3.2",
3
+ "version": "20.3.3",
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.3.2",
38
+ "@nx/devkit": "20.3.3",
39
39
  "@babel/plugin-proposal-decorators": "^7.22.7",
40
40
  "@svgr/webpack": "^8.0.1",
41
41
  "copy-webpack-plugin": "^10.2.4",
@@ -44,11 +44,11 @@
44
44
  "semver": "^7.5.3",
45
45
  "tslib": "^2.3.0",
46
46
  "webpack-merge": "^5.8.0",
47
- "@nx/js": "20.3.2",
48
- "@nx/eslint": "20.3.2",
49
- "@nx/react": "20.3.2",
50
- "@nx/web": "20.3.2",
51
- "@nx/webpack": "20.3.2",
47
+ "@nx/js": "20.3.3",
48
+ "@nx/eslint": "20.3.3",
49
+ "@nx/react": "20.3.3",
50
+ "@nx/web": "20.3.3",
51
+ "@nx/webpack": "20.3.3",
52
52
  "@phenomnomnominal/tsquery": "~5.0.1"
53
53
  },
54
54
  "publishConfig": {
@@ -22,6 +22,7 @@ const show_possible_warnings_1 = require("./lib/show-possible-warnings");
22
22
  const versions_2 = require("../../utils/versions");
23
23
  const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
24
24
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
25
+ const sort_fields_1 = require("@nx/js/src/utils/package-json/sort-fields");
25
26
  async function applicationGenerator(host, schema) {
26
27
  return await applicationGeneratorInternal(host, {
27
28
  addPlugin: false,
@@ -95,6 +96,7 @@ async function applicationGeneratorInternal(host, schema) {
95
96
  if (options.useTsSolution) {
96
97
  (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(host, options.appProjectRoot);
97
98
  }
99
+ (0, sort_fields_1.sortPackageJsonFields)(host, options.appProjectRoot);
98
100
  if (!options.skipFormat) {
99
101
  await (0, devkit_1.formatFiles)(host);
100
102
  }
@@ -10,6 +10,7 @@ const init_1 = require("../init/init");
10
10
  const normalize_options_1 = require("./lib/normalize-options");
11
11
  const versions_2 = require("../../utils/versions");
12
12
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
13
+ const sort_fields_1 = require("@nx/js/src/utils/package-json/sort-fields");
13
14
  async function libraryGenerator(host, rawOptions) {
14
15
  return await libraryGeneratorInternal(host, {
15
16
  addPlugin: false,
@@ -96,6 +97,7 @@ async function libraryGeneratorInternal(host, rawOptions) {
96
97
  if (options.isUsingTsSolutionConfig) {
97
98
  (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(host, options.projectRoot);
98
99
  }
100
+ (0, sort_fields_1.sortPackageJsonFields)(host, options.projectRoot);
99
101
  if (!options.skipFormat) {
100
102
  await (0, devkit_1.formatFiles)(host);
101
103
  }