@nx/remix 0.0.0-pr-3-e51e28c → 0.0.0-pr-30418-4e2b721

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-3-e51e28c",
3
+ "version": "0.0.0-pr-30418-4e2b721",
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-3-e51e28c",
33
- "@nx/js": "0.0.0-pr-3-e51e28c",
34
- "@nx/react": "0.0.0-pr-3-e51e28c",
32
+ "@nx/devkit": "0.0.0-pr-30418-4e2b721",
33
+ "@nx/js": "0.0.0-pr-30418-4e2b721",
34
+ "@nx/react": "0.0.0-pr-30418-4e2b721",
35
35
  "tslib": "^2.3.1",
36
36
  "@phenomnomnominal/tsquery": "~5.0.1"
37
37
  },
@@ -17,6 +17,7 @@ const sort_fields_1 = require("@nx/js/src/utils/package-json/sort-fields");
17
17
  function remixApplicationGenerator(tree, options) {
18
18
  return remixApplicationGeneratorInternal(tree, {
19
19
  addPlugin: true,
20
+ useProjectJson: true,
20
21
  ...options,
21
22
  });
22
23
  }
@@ -40,9 +41,9 @@ async function remixApplicationGeneratorInternal(tree, _options) {
40
41
  // If we are using the new TS solution
41
42
  // We need to update the workspace file (package.json or pnpm-workspaces.yaml) to include the new project
42
43
  if (options.isUsingTsSolutionConfig) {
43
- (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(tree, options.projectRoot);
44
+ await (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(tree, options.projectRoot);
44
45
  }
45
- if (!options.isUsingTsSolutionConfig) {
46
+ if (options.useProjectJson) {
46
47
  (0, devkit_1.addProjectConfiguration)(tree, options.projectName, {
47
48
  root: options.projectRoot,
48
49
  sourceRoot: `${options.projectRoot}`,
@@ -82,6 +83,18 @@ async function remixApplicationGeneratorInternal(tree, _options) {
82
83
  if (options.isUsingTsSolutionConfig) {
83
84
  (0, devkit_1.generateFiles)(tree, (0, devkit_1.joinPathFragments)(__dirname, 'files/ts-solution'), options.projectRoot, vars);
84
85
  }
86
+ if (!options.useProjectJson) {
87
+ (0, devkit_1.updateJson)(tree, (0, devkit_1.joinPathFragments)(options.projectRoot, 'package.json'), (json) => {
88
+ if (options.projectName !== options.importPath) {
89
+ json.nx = { name: options.projectName };
90
+ }
91
+ if (options.parsedTags?.length) {
92
+ json.nx ??= {};
93
+ json.nx.tags = options.parsedTags;
94
+ }
95
+ return json;
96
+ });
97
+ }
85
98
  if (options.unitTestRunner !== 'none') {
86
99
  if (options.unitTestRunner === 'vitest') {
87
100
  const { vitestGenerator, createOrEditViteConfig } = (0, devkit_1.ensurePackage)('@nx/vite', (0, versions_1.getPackageVersion)(tree, 'nx'));
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "private": true,
3
- "name": "<%= projectName %>",
3
+ "name": "<%= importPath %>",
4
4
  "scripts": {},
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -19,8 +19,5 @@
19
19
  "engines": {
20
20
  "node": ">=20"
21
21
  },
22
- "sideEffects": false<% if (isUsingTsSolutionConfig && parsedTags?.length) { %>,
23
- "nx": {
24
- "tags": <%- JSON.stringify(parsedTags) %>
25
- }<% } %>
22
+ "sideEffects": false
26
23
  }
@@ -6,7 +6,6 @@ const versions_1 = require("../../../utils/versions");
6
6
  const find_plugin_for_config_file_1 = require("@nx/devkit/src/utils/find-plugin-for-config-file");
7
7
  const target_defaults_utils_1 = require("@nx/devkit/src/generators/target-defaults-utils");
8
8
  const e2e_web_server_info_utils_1 = require("@nx/devkit/src/generators/e2e-web-server-info-utils");
9
- const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
10
9
  async function addE2E(tree, options) {
11
10
  const hasRemixPlugin = (0, devkit_1.readNxJson)(tree).plugins?.find((p) => typeof p === 'string'
12
11
  ? p === '@nx/remix/plugin'
@@ -14,17 +13,15 @@ async function addE2E(tree, options) {
14
13
  let e2eWebsServerInfo = await getRemixE2EWebServerInfo(tree, options.projectName, (0, devkit_1.joinPathFragments)(options.projectRoot, 'remix.config.js'), options.addPlugin ?? Boolean(hasRemixPlugin));
15
14
  if (options.e2eTestRunner === 'cypress') {
16
15
  const { configurationGenerator } = (0, devkit_1.ensurePackage)('@nx/cypress', (0, versions_1.getPackageVersion)(tree, 'nx'));
17
- if ((0, ts_solution_setup_1.isUsingTsSolutionSetup)(tree)) {
18
- (0, devkit_1.writeJson)(tree, (0, devkit_1.joinPathFragments)(options.e2eProjectRoot, 'package.json'), {
19
- name: options.e2eProjectName,
20
- version: '0.0.1',
21
- private: true,
22
- nx: {
23
- projectType: 'application',
24
- sourceRoot: (0, devkit_1.joinPathFragments)(options.e2eProjectRoot, 'src'),
25
- implicitDependencies: [options.projectName],
26
- },
27
- });
16
+ const packageJson = {
17
+ name: options.e2eProjectName,
18
+ version: '0.0.1',
19
+ private: true,
20
+ };
21
+ if (!options.useProjectJson) {
22
+ packageJson.nx = {
23
+ implicitDependencies: [options.projectName],
24
+ };
28
25
  }
29
26
  else {
30
27
  (0, devkit_1.addProjectConfiguration)(tree, options.e2eProjectName, {
@@ -36,6 +33,9 @@ async function addE2E(tree, options) {
36
33
  implicitDependencies: [options.projectName],
37
34
  });
38
35
  }
36
+ if (!options.useProjectJson || options.isUsingTsSolutionConfig) {
37
+ (0, devkit_1.writeJson)(tree, (0, devkit_1.joinPathFragments)(options.e2eProjectRoot, 'package.json'), packageJson);
38
+ }
39
39
  const e2eTask = await configurationGenerator(tree, {
40
40
  project: options.e2eProjectName,
41
41
  directory: 'src',
@@ -71,17 +71,15 @@ async function addE2E(tree, options) {
71
71
  }
72
72
  else if (options.e2eTestRunner === 'playwright') {
73
73
  const { configurationGenerator } = (0, devkit_1.ensurePackage)('@nx/playwright', (0, versions_1.getPackageVersion)(tree, 'nx'));
74
- if ((0, ts_solution_setup_1.isUsingTsSolutionSetup)(tree)) {
75
- (0, devkit_1.writeJson)(tree, (0, devkit_1.joinPathFragments)(options.e2eProjectRoot, 'package.json'), {
76
- name: options.e2eProjectName,
77
- version: '0.0.1',
78
- private: true,
79
- nx: {
80
- projectType: 'application',
81
- sourceRoot: (0, devkit_1.joinPathFragments)(options.e2eProjectRoot, 'src'),
82
- implicitDependencies: [options.projectName],
83
- },
84
- });
74
+ const packageJson = {
75
+ name: options.e2eProjectName,
76
+ version: '0.0.1',
77
+ private: true,
78
+ };
79
+ if (!options.useProjectJson) {
80
+ packageJson.nx = {
81
+ implicitDependencies: [options.projectName],
82
+ };
85
83
  }
86
84
  else {
87
85
  (0, devkit_1.addProjectConfiguration)(tree, options.e2eProjectName, {
@@ -93,6 +91,9 @@ async function addE2E(tree, options) {
93
91
  implicitDependencies: [options.projectName],
94
92
  });
95
93
  }
94
+ if (!options.useProjectJson || options.isUsingTsSolutionConfig) {
95
+ (0, devkit_1.writeJson)(tree, (0, devkit_1.joinPathFragments)(options.e2eProjectRoot, 'package.json'), packageJson);
96
+ }
96
97
  const e2eTask = await configurationGenerator(tree, {
97
98
  project: options.e2eProjectName,
98
99
  skipFormat: true,
@@ -3,6 +3,7 @@ import { type NxRemixGeneratorSchema } from '../schema';
3
3
  export interface NormalizedSchema extends NxRemixGeneratorSchema {
4
4
  projectName: string;
5
5
  projectRoot: string;
6
+ importPath: string;
6
7
  e2eProjectName: string;
7
8
  e2eProjectRoot: string;
8
9
  parsedTags: string[];
@@ -5,10 +5,9 @@ const devkit_1 = require("@nx/devkit");
5
5
  const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
6
6
  const eslint_1 = require("@nx/eslint");
7
7
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
8
- const get_import_path_1 = require("@nx/js/src/utils/get-import-path");
9
8
  async function normalizeOptions(tree, options) {
10
- await (0, project_name_and_root_utils_1.ensureProjectName)(tree, options, 'application');
11
- const { projectName, projectRoot } = await (0, project_name_and_root_utils_1.determineProjectNameAndRootOptions)(tree, {
9
+ await (0, project_name_and_root_utils_1.ensureRootProjectName)(options, 'application');
10
+ const { projectName, projectRoot, importPath } = await (0, project_name_and_root_utils_1.determineProjectNameAndRootOptions)(tree, {
12
11
  name: options.name,
13
12
  projectType: 'application',
14
13
  directory: options.directory,
@@ -19,23 +18,24 @@ async function normalizeOptions(tree, options) {
19
18
  const addPluginDefault = process.env.NX_ADD_PLUGINS !== 'false' &&
20
19
  nxJson.useInferencePlugins !== false;
21
20
  options.addPlugin ??= addPluginDefault;
22
- const e2eProjectName = options.rootProject ? 'e2e' : `${projectName}-e2e`;
21
+ const isUsingTsSolutionConfig = (0, ts_solution_setup_1.isUsingTsSolutionSetup)(tree);
22
+ const appProjectName = !isUsingTsSolutionConfig || options.name ? projectName : importPath;
23
+ const e2eProjectName = options.rootProject ? 'e2e' : `${appProjectName}-e2e`;
23
24
  const e2eProjectRoot = options.rootProject ? 'e2e' : `${projectRoot}-e2e`;
24
25
  const parsedTags = options.tags
25
26
  ? options.tags.split(',').map((s) => s.trim())
26
27
  : [];
27
- const isUsingTsSolutionConfig = (0, ts_solution_setup_1.isUsingTsSolutionSetup)(tree);
28
28
  return {
29
29
  ...options,
30
30
  linter: options.linter ?? eslint_1.Linter.EsLint,
31
- projectName: isUsingTsSolutionConfig
32
- ? (0, get_import_path_1.getImportPath)(tree, projectName)
33
- : projectName,
31
+ projectName: appProjectName,
34
32
  projectRoot,
33
+ importPath,
35
34
  e2eProjectName,
36
35
  e2eProjectRoot,
37
36
  parsedTags,
38
- useTsSolution: options.useTsSolution ?? isUsingTsSolutionConfig,
37
+ useTsSolution: isUsingTsSolutionConfig,
39
38
  isUsingTsSolutionConfig,
39
+ useProjectJson: options.useProjectJson ?? !isUsingTsSolutionConfig,
40
40
  };
41
41
  }
@@ -14,4 +14,5 @@ export interface NxRemixGeneratorSchema {
14
14
  nxCloudToken?: string;
15
15
  useTsSolution?: boolean;
16
16
  formatter?: 'prettier' | 'none';
17
+ useProjectJson?: boolean;
17
18
  }
@@ -57,6 +57,10 @@
57
57
  "type": "boolean",
58
58
  "x-priority": "internal",
59
59
  "default": false
60
+ },
61
+ "useProjectJson": {
62
+ "type": "boolean",
63
+ "description": "Use a `project.json` configuration file instead of inlining the Nx configuration in the `package.json` file."
60
64
  }
61
65
  },
62
66
  "required": ["directory"]
@@ -3,19 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.addTsconfigEntryPoints = addTsconfigEntryPoints;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const js_1 = require("@nx/js");
6
- const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
6
+ const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
7
7
  function addTsconfigEntryPoints(tree, options) {
8
8
  const { root: projectRoot, sourceRoot } = (0, devkit_1.readProjectConfiguration)(tree, options.projectName);
9
- const serverFilePath = (0, devkit_1.joinPathFragments)(...(sourceRoot ? [sourceRoot] : [projectRoot, 'src']), 'server.ts');
9
+ const projectSourceRoot = (0, ts_solution_setup_1.getProjectSourceRoot)(tree, sourceRoot, projectRoot);
10
+ const serverFilePath = (0, devkit_1.joinPathFragments)(projectSourceRoot, 'server.ts');
10
11
  tree.write(serverFilePath, `// This file should be used to export ONLY server-code from the library.`);
11
12
  const baseTsConfig = (0, js_1.getRootTsConfigPathInTree)(tree);
12
- // Use same logic as `determineProjectNameAndRootOptions` to get the import path
13
- const importPath = (0, project_name_and_root_utils_1.resolveImportPath)(tree, options.name, projectRoot);
14
13
  (0, devkit_1.updateJson)(tree, baseTsConfig, (json) => {
15
- if (json.compilerOptions.paths && json.compilerOptions.paths[importPath]) {
16
- json.compilerOptions.paths[(0, devkit_1.joinPathFragments)(importPath, 'server')] = [
17
- serverFilePath,
18
- ];
14
+ if (json.compilerOptions.paths &&
15
+ json.compilerOptions.paths[options.importPath]) {
16
+ json.compilerOptions.paths[(0, devkit_1.joinPathFragments)(options.importPath, 'server')] = [serverFilePath];
19
17
  }
20
18
  return json;
21
19
  });
@@ -4,10 +4,9 @@ exports.normalizeOptions = normalizeOptions;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
6
6
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
7
- const get_import_path_1 = require("@nx/js/src/utils/get-import-path");
8
7
  async function normalizeOptions(tree, options) {
9
- await (0, project_name_and_root_utils_1.ensureProjectName)(tree, options, 'application');
10
- const { projectName, projectRoot } = await (0, project_name_and_root_utils_1.determineProjectNameAndRootOptions)(tree, {
8
+ await (0, project_name_and_root_utils_1.ensureRootProjectName)(options, 'application');
9
+ const { projectName, projectRoot, importPath } = await (0, project_name_and_root_utils_1.determineProjectNameAndRootOptions)(tree, {
11
10
  name: options.name,
12
11
  projectType: 'library',
13
12
  directory: options.directory,
@@ -20,10 +19,10 @@ async function normalizeOptions(tree, options) {
20
19
  return {
21
20
  ...options,
22
21
  unitTestRunner: options.unitTestRunner ?? 'vitest',
23
- projectName: isUsingTsSolutionConfig
24
- ? (0, get_import_path_1.getImportPath)(tree, projectName)
25
- : projectName,
22
+ projectName: isUsingTsSolutionConfig && !options.name ? importPath : projectName,
26
23
  projectRoot,
24
+ importPath,
27
25
  isUsingTsSolutionConfig,
26
+ useProjectJson: options.useProjectJson ?? !isUsingTsSolutionConfig,
28
27
  };
29
28
  }
@@ -13,7 +13,7 @@ function updateBuildableConfig(tree, options) {
13
13
  format: ['cjs'],
14
14
  outputPath: (0, devkit_1.joinPathFragments)(project.root, 'dist'),
15
15
  };
16
- (0, devkit_1.updateProjectConfiguration)(tree, options.name, project);
16
+ (0, devkit_1.updateProjectConfiguration)(tree, options.projectName, project);
17
17
  // Point to nested dist for yarn/npm/pnpm workspaces
18
18
  (0, devkit_1.updateJson)(tree, (0, devkit_1.joinPathFragments)(project.root, 'package.json'), (json) => {
19
19
  json.main = './dist/index.cjs.js';
@@ -9,13 +9,17 @@ const lib_1 = require("./lib");
9
9
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
10
10
  const sort_fields_1 = require("@nx/js/src/utils/package-json/sort-fields");
11
11
  async function remixLibraryGenerator(tree, schema) {
12
- return remixLibraryGeneratorInternal(tree, { addPlugin: false, ...schema });
12
+ return remixLibraryGeneratorInternal(tree, {
13
+ addPlugin: false,
14
+ useProjectJson: true,
15
+ ...schema,
16
+ });
13
17
  }
14
18
  async function remixLibraryGeneratorInternal(tree, schema) {
15
19
  const tasks = [];
16
20
  const options = await (0, lib_1.normalizeOptions)(tree, schema);
17
21
  if (options.isUsingTsSolutionConfig) {
18
- (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(tree, options.projectRoot);
22
+ await (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(tree, options.projectRoot);
19
23
  }
20
24
  const jsInitTask = await (0, js_1.initGenerator)(tree, {
21
25
  js: options.js,
@@ -36,6 +40,7 @@ async function remixLibraryGeneratorInternal(tree, schema) {
36
40
  buildable: options.buildable,
37
41
  bundler: options.bundler,
38
42
  addPlugin: options.addPlugin,
43
+ useProjectJson: options.useProjectJson,
39
44
  });
40
45
  tasks.push(libGenTask);
41
46
  if (options.unitTestRunner && options.unitTestRunner !== 'none') {
@@ -14,4 +14,5 @@ export interface NxRemixGeneratorSchema {
14
14
  js?: boolean;
15
15
  skipFormat?: boolean;
16
16
  addPlugin?: boolean;
17
+ useProjectJson?: boolean;
17
18
  }
@@ -81,6 +81,10 @@
81
81
  "default": false,
82
82
  "description": "Generate a buildable library that uses rollup to bundle.",
83
83
  "x-deprecated": "Use the `bundler` option for greater control (none, vite, rollup)."
84
+ },
85
+ "useProjectJson": {
86
+ "type": "boolean",
87
+ "description": "Use a `project.json` configuration file instead of inlining the Nx configuration in the `package.json` file."
84
88
  }
85
89
  },
86
90
  "required": ["directory"]
@@ -40,14 +40,12 @@ exports[`@nx/remix/plugin Remix Classic Compiler non-root project should create
40
40
  },
41
41
  "dev": {
42
42
  "command": "remix dev --manual",
43
- "continuous": true,
44
43
  "options": {
45
44
  "cwd": "my-app",
46
45
  },
47
46
  },
48
47
  "serve-static": {
49
48
  "command": "remix-serve build/index.js",
50
- "continuous": true,
51
49
  "dependsOn": [
52
50
  "build",
53
51
  ],
@@ -57,7 +55,6 @@ exports[`@nx/remix/plugin Remix Classic Compiler non-root project should create
57
55
  },
58
56
  "start": {
59
57
  "command": "remix-serve build/index.js",
60
- "continuous": true,
61
58
  "dependsOn": [
62
59
  "build",
63
60
  ],
@@ -67,7 +64,6 @@ exports[`@nx/remix/plugin Remix Classic Compiler non-root project should create
67
64
  },
68
65
  "static-serve": {
69
66
  "command": "remix-serve build/index.js",
70
- "continuous": true,
71
67
  "dependsOn": [
72
68
  "build",
73
69
  ],
@@ -107,7 +103,6 @@ exports[`@nx/remix/plugin Remix Classic Compiler non-root project should create
107
103
  },
108
104
  "watch-deps": {
109
105
  "command": "npx nx watch --projects my-app --includeDependentProjects -- npx nx build-deps my-app",
110
- "continuous": true,
111
106
  "dependsOn": [
112
107
  "build-deps",
113
108
  ],
@@ -160,14 +155,12 @@ exports[`@nx/remix/plugin Remix Classic Compiler non-root project should infer w
160
155
  },
161
156
  "dev": {
162
157
  "command": "remix dev --manual",
163
- "continuous": true,
164
158
  "options": {
165
159
  "cwd": "my-app",
166
160
  },
167
161
  },
168
162
  "serve-static": {
169
163
  "command": "remix-serve build/index.js",
170
- "continuous": true,
171
164
  "dependsOn": [
172
165
  "build",
173
166
  ],
@@ -177,7 +170,6 @@ exports[`@nx/remix/plugin Remix Classic Compiler non-root project should infer w
177
170
  },
178
171
  "start": {
179
172
  "command": "remix-serve build/index.js",
180
- "continuous": true,
181
173
  "dependsOn": [
182
174
  "build",
183
175
  ],
@@ -187,7 +179,6 @@ exports[`@nx/remix/plugin Remix Classic Compiler non-root project should infer w
187
179
  },
188
180
  "static-serve": {
189
181
  "command": "remix-serve build/index.js",
190
- "continuous": true,
191
182
  "dependsOn": [
192
183
  "build",
193
184
  ],
@@ -227,7 +218,6 @@ exports[`@nx/remix/plugin Remix Classic Compiler non-root project should infer w
227
218
  },
228
219
  "watch-deps": {
229
220
  "command": "npx nx watch --projects my-app --includeDependentProjects -- npx nx build-deps my-app",
230
- "continuous": true,
231
221
  "dependsOn": [
232
222
  "build-deps",
233
223
  ],
@@ -275,14 +265,12 @@ exports[`@nx/remix/plugin Remix Classic Compiler root project should create node
275
265
  },
276
266
  "dev": {
277
267
  "command": "remix dev --manual",
278
- "continuous": true,
279
268
  "options": {
280
269
  "cwd": ".",
281
270
  },
282
271
  },
283
272
  "serve-static": {
284
273
  "command": "remix-serve build/index.js",
285
- "continuous": true,
286
274
  "dependsOn": [
287
275
  "build",
288
276
  ],
@@ -292,7 +280,6 @@ exports[`@nx/remix/plugin Remix Classic Compiler root project should create node
292
280
  },
293
281
  "start": {
294
282
  "command": "remix-serve build/index.js",
295
- "continuous": true,
296
283
  "dependsOn": [
297
284
  "build",
298
285
  ],
@@ -302,7 +289,6 @@ exports[`@nx/remix/plugin Remix Classic Compiler root project should create node
302
289
  },
303
290
  "static-serve": {
304
291
  "command": "remix-serve build/index.js",
305
- "continuous": true,
306
292
  "dependsOn": [
307
293
  "build",
308
294
  ],
@@ -387,14 +373,12 @@ exports[`@nx/remix/plugin Remix Vite Compiler non-root project should create nod
387
373
  },
388
374
  "dev": {
389
375
  "command": "remix vite:dev",
390
- "continuous": true,
391
376
  "options": {
392
377
  "cwd": "my-app",
393
378
  },
394
379
  },
395
380
  "serve-static": {
396
381
  "command": "remix-serve build/server/index.js",
397
- "continuous": true,
398
382
  "dependsOn": [
399
383
  "build",
400
384
  ],
@@ -404,7 +388,6 @@ exports[`@nx/remix/plugin Remix Vite Compiler non-root project should create nod
404
388
  },
405
389
  "start": {
406
390
  "command": "remix-serve build/server/index.js",
407
- "continuous": true,
408
391
  "dependsOn": [
409
392
  "build",
410
393
  ],
@@ -414,7 +397,6 @@ exports[`@nx/remix/plugin Remix Vite Compiler non-root project should create nod
414
397
  },
415
398
  "static-serve": {
416
399
  "command": "remix-serve build/server/index.js",
417
- "continuous": true,
418
400
  "dependsOn": [
419
401
  "build",
420
402
  ],
@@ -454,7 +436,6 @@ exports[`@nx/remix/plugin Remix Vite Compiler non-root project should create nod
454
436
  },
455
437
  "watch-deps": {
456
438
  "command": "npx nx watch --projects my-app --includeDependentProjects -- npx nx build-deps my-app",
457
- "continuous": true,
458
439
  "dependsOn": [
459
440
  "build-deps",
460
441
  ],
@@ -501,14 +482,12 @@ exports[`@nx/remix/plugin Remix Vite Compiler root project should create nodes 1
501
482
  },
502
483
  "dev": {
503
484
  "command": "remix vite:dev",
504
- "continuous": true,
505
485
  "options": {
506
486
  "cwd": ".",
507
487
  },
508
488
  },
509
489
  "serve-static": {
510
490
  "command": "remix-serve build/server/index.js",
511
- "continuous": true,
512
491
  "dependsOn": [
513
492
  "build",
514
493
  ],
@@ -518,7 +497,6 @@ exports[`@nx/remix/plugin Remix Vite Compiler root project should create nodes 1
518
497
  },
519
498
  "start": {
520
499
  "command": "remix-serve build/server/index.js",
521
- "continuous": true,
522
500
  "dependsOn": [
523
501
  "build",
524
502
  ],
@@ -528,7 +506,6 @@ exports[`@nx/remix/plugin Remix Vite Compiler root project should create nodes 1
528
506
  },
529
507
  "static-serve": {
530
508
  "command": "remix-serve build/server/index.js",
531
- "continuous": true,
532
509
  "dependsOn": [
533
510
  "build",
534
511
  ],
@@ -127,7 +127,6 @@ function buildTarget(buildTargetName, projectRoot, buildDirectory, assetsBuildDi
127
127
  }
128
128
  function devTarget(serverBuildPath, projectRoot, remixCompiler, isUsingTsSolutionSetup) {
129
129
  const devTarget = {
130
- continuous: true,
131
130
  command: remixCompiler === RemixCompiler.IsVte
132
131
  ? 'remix vite:dev'
133
132
  : 'remix dev --manual',
@@ -147,7 +146,6 @@ function startTarget(projectRoot, serverBuildPath, buildTargetName, remixCompile
147
146
  }
148
147
  const startTarget = {
149
148
  dependsOn: [buildTargetName],
150
- continuous: true,
151
149
  command: `remix-serve ${serverPath}`,
152
150
  options: {
153
151
  cwd: projectRoot,