@nx/remix 0.0.0-pr-29636-e3c31b7 → 0.0.0-pr-29636-0cd26ed

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/remix",
3
- "version": "0.0.0-pr-29636-e3c31b7",
3
+ "version": "0.0.0-pr-29636-0cd26ed",
4
4
  "description": "The Remix plugin for Nx contains executors and generators for managing Remix applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Vitest, Jest, Playwright, Cypress, and Storybook.\n\n- Generators for applications, libraries, routes, loaders, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,9 +29,9 @@
29
29
  "migrations": "./migrations.json"
30
30
  },
31
31
  "dependencies": {
32
- "@nx/devkit": "0.0.0-pr-29636-e3c31b7",
33
- "@nx/js": "0.0.0-pr-29636-e3c31b7",
34
- "@nx/react": "0.0.0-pr-29636-e3c31b7",
32
+ "@nx/devkit": "0.0.0-pr-29636-0cd26ed",
33
+ "@nx/js": "0.0.0-pr-29636-0cd26ed",
34
+ "@nx/react": "0.0.0-pr-29636-0cd26ed",
35
35
  "tslib": "^2.3.1",
36
36
  "@phenomnomnominal/tsquery": "~5.0.1"
37
37
  },
@@ -156,7 +156,6 @@ export default defineConfig({
156
156
  exports[`Remix Application Integrated Repo --e2eTestRunner should generate a playwright e2e application for the app 1`] = `
157
157
  "import { defineConfig, devices } from '@playwright/test';
158
158
  import { nxE2EPreset } from '@nx/playwright/preset';
159
-
160
159
  import { workspaceRoot } from '@nx/devkit';
161
160
 
162
161
  // For CI, you may want to set BASE_URL to the deployed application.
@@ -678,7 +677,6 @@ exports[`Remix Application Standalone Project Repo should create the application
678
677
  exports[`Remix Application Standalone Project Repo should generate a playwright e2e application for the app 1`] = `
679
678
  "import { defineConfig, devices } from '@playwright/test';
680
679
  import { nxE2EPreset } from '@nx/playwright/preset';
681
-
682
680
  import { workspaceRoot } from '@nx/devkit';
683
681
 
684
682
  // For CI, you may want to set BASE_URL to the deployed application.
@@ -13,6 +13,7 @@ const init_1 = require("../init/init");
13
13
  const update_dependencies_1 = require("../utils/update-dependencies");
14
14
  const lib_1 = require("./lib");
15
15
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
16
+ const sort_fields_1 = require("@nx/js/src/utils/package-json/sort-fields");
16
17
  function remixApplicationGenerator(tree, options) {
17
18
  return remixApplicationGeneratorInternal(tree, {
18
19
  addPlugin: true,
@@ -29,6 +30,7 @@ async function remixApplicationGeneratorInternal(tree, _options) {
29
30
  skipFormat: true,
30
31
  addTsPlugin: _options.useTsSolution,
31
32
  formatter: _options.formatter,
33
+ platform: 'web',
32
34
  }),
33
35
  ];
34
36
  const options = await (0, lib_1.normalizeOptions)(tree, _options);
@@ -200,6 +202,7 @@ export default {...nxPreset};
200
202
  if (options.useTsSolution) {
201
203
  (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(tree, options.projectRoot);
202
204
  }
205
+ (0, sort_fields_1.sortPackageJsonFields)(tree, options.projectRoot);
203
206
  if (!options.skipFormat) {
204
207
  await (0, devkit_1.formatFiles)(tree);
205
208
  }
@@ -7,6 +7,7 @@ const js_1 = require("@nx/js");
7
7
  const react_1 = require("@nx/react");
8
8
  const lib_1 = require("./lib");
9
9
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
10
+ const sort_fields_1 = require("@nx/js/src/utils/package-json/sort-fields");
10
11
  async function remixLibraryGenerator(tree, schema) {
11
12
  return remixLibraryGeneratorInternal(tree, { addPlugin: false, ...schema });
12
13
  }
@@ -52,6 +53,7 @@ async function remixLibraryGeneratorInternal(tree, schema) {
52
53
  if (options.isUsingTsSolutionConfig) {
53
54
  (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(tree, options.projectRoot);
54
55
  }
56
+ (0, sort_fields_1.sortPackageJsonFields)(tree, options.projectRoot);
55
57
  if (!options.skipFormat) {
56
58
  await (0, devkit_1.formatFiles)(tree);
57
59
  }
@@ -7,7 +7,7 @@ export declare const reactDomVersion = "^18.2.0";
7
7
  export declare const typesReactVersion = "^18.2.0";
8
8
  export declare const typesReactDomVersion = "^18.2.0";
9
9
  export declare const eslintVersion = "^8.56.0";
10
- export declare const typescriptVersion = "~5.6.2";
10
+ export declare const typescriptVersion = "~5.7.2";
11
11
  export declare const tailwindVersion = "^3.3.0";
12
12
  export declare const postcssVersion = "^8.4.38";
13
13
  export declare const autoprefixerVersion = "^10.4.19";
@@ -12,7 +12,7 @@ exports.reactDomVersion = '^18.2.0';
12
12
  exports.typesReactVersion = '^18.2.0';
13
13
  exports.typesReactDomVersion = '^18.2.0';
14
14
  exports.eslintVersion = '^8.56.0';
15
- exports.typescriptVersion = '~5.6.2';
15
+ exports.typescriptVersion = '~5.7.2';
16
16
  exports.tailwindVersion = '^3.3.0';
17
17
  exports.postcssVersion = '^8.4.38';
18
18
  exports.autoprefixerVersion = '^10.4.19';