@nx/remix 22.7.0-beta.7 → 22.7.0-beta.9

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.
@@ -1,42 +1,42 @@
1
1
  {
2
- "version": 2,
3
- "continuous": true,
4
- "outputCapture": "pipe",
5
- "cli": "nx",
6
- "title": "Remix Serve",
7
- "description": "Serve a Remix app.",
8
- "type": "object",
9
- "properties": {
10
- "port": {
11
- "type": "number",
12
- "description": "Set PORT environment variable that can be used to serve the Remix application.",
13
- "default": 4200
14
- },
15
- "devServerPort": {
16
- "type": "number",
17
- "description": "Port to start the dev server on."
18
- },
19
- "debug": {
20
- "type": "boolean",
21
- "description": "Attach a Node.js inspector.",
22
- "default": false
23
- },
24
- "command": {
25
- "type": "string",
26
- "description": "Command used to run your app server."
27
- },
28
- "manual": {
29
- "type": "boolean",
30
- "description": "Enable manual mode",
31
- "default": false
32
- },
33
- "tlsKey": {
34
- "type": "string",
35
- "description": "Path to TLS key (key.pem)."
36
- },
37
- "tlsCert": {
38
- "type": "string",
39
- "description": "Path to TLS certificate (cert.pem)."
2
+ "version": 2,
3
+ "continuous": true,
4
+ "outputCapture": "pipe",
5
+ "cli": "nx",
6
+ "title": "Remix Serve",
7
+ "description": "Serve a Remix app.",
8
+ "type": "object",
9
+ "properties": {
10
+ "port": {
11
+ "type": "number",
12
+ "description": "Set PORT environment variable that can be used to serve the Remix application.",
13
+ "default": 4200
14
+ },
15
+ "devServerPort": {
16
+ "type": "number",
17
+ "description": "Port to start the dev server on."
18
+ },
19
+ "debug": {
20
+ "type": "boolean",
21
+ "description": "Attach a Node.js inspector.",
22
+ "default": false
23
+ },
24
+ "command": {
25
+ "type": "string",
26
+ "description": "Command used to run your app server."
27
+ },
28
+ "manual": {
29
+ "type": "boolean",
30
+ "description": "Enable manual mode",
31
+ "default": false
32
+ },
33
+ "tlsKey": {
34
+ "type": "string",
35
+ "description": "Path to TLS key (key.pem)."
36
+ },
37
+ "tlsCert": {
38
+ "type": "string",
39
+ "description": "Path to TLS certificate (cert.pem)."
40
+ }
40
41
  }
41
- }
42
42
  }
@@ -1,18 +1,18 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "action",
4
- "type": "object",
5
- "description": "Generate an action for a given route.",
6
- "properties": {
7
- "path": {
8
- "type": "string",
9
- "description": "The route path or path to the filename of the route.",
10
- "$default": {
11
- "$source": "argv",
12
- "index": 0
13
- },
14
- "x-prompt": "What is the path of the route? (e.g. 'apps/demo/app/routes/foo/bar.tsx')"
15
- }
16
- },
17
- "required": ["path"]
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "action",
4
+ "type": "object",
5
+ "description": "Generate an action for a given route.",
6
+ "properties": {
7
+ "path": {
8
+ "type": "string",
9
+ "description": "The route path or path to the filename of the route.",
10
+ "$default": {
11
+ "$source": "argv",
12
+ "index": 0
13
+ },
14
+ "x-prompt": "What is the path of the route? (e.g. 'apps/demo/app/routes/foo/bar.tsx')"
15
+ }
16
+ },
17
+ "required": ["path"]
18
18
  }
@@ -1,67 +1,67 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "NxRemixApplication",
4
- "title": "Create an Application",
5
- "description": "Generate a new Remix application.",
6
- "type": "object",
7
- "properties": {
8
- "directory": {
9
- "type": "string",
10
- "description": "A directory where the app is placed.",
11
- "alias": "dir",
12
- "$default": {
13
- "$source": "argv",
14
- "index": 0
15
- },
16
- "x-prompt": "Which directory do you want to create the application in?"
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "NxRemixApplication",
4
+ "title": "Create an Application",
5
+ "description": "Generate a new Remix application.",
6
+ "type": "object",
7
+ "properties": {
8
+ "directory": {
9
+ "type": "string",
10
+ "description": "A directory where the app is placed.",
11
+ "alias": "dir",
12
+ "$default": {
13
+ "$source": "argv",
14
+ "index": 0
15
+ },
16
+ "x-prompt": "Which directory do you want to create the application in?"
17
+ },
18
+ "name": {
19
+ "type": "string",
20
+ "description": "The name of the application.",
21
+ "x-priority": "important"
22
+ },
23
+ "linter": {
24
+ "description": "The tool to use for running lint checks.",
25
+ "type": "string",
26
+ "enum": ["eslint", "none"],
27
+ "default": "none",
28
+ "x-prompt": "Which linter would you like to use?",
29
+ "x-priority": "important"
30
+ },
31
+ "unitTestRunner": {
32
+ "type": "string",
33
+ "enum": ["vitest", "jest", "none"],
34
+ "default": "none",
35
+ "description": "Test runner to use for unit tests.",
36
+ "x-prompt": "What unit test runner should be used?",
37
+ "x-priority": "important"
38
+ },
39
+ "e2eTestRunner": {
40
+ "type": "string",
41
+ "enum": ["playwright", "cypress", "none"],
42
+ "default": "none",
43
+ "description": "Test runner to use for e2e tests",
44
+ "x-prompt": "Which E2E test runner would you like to use?"
45
+ },
46
+ "tags": {
47
+ "type": "string",
48
+ "description": "Add tags to the project (used for linting)",
49
+ "alias": "t"
50
+ },
51
+ "skipFormat": {
52
+ "type": "boolean",
53
+ "description": "Skip formatting files",
54
+ "default": false
55
+ },
56
+ "rootProject": {
57
+ "type": "boolean",
58
+ "x-priority": "internal",
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."
64
+ }
17
65
  },
18
- "name": {
19
- "type": "string",
20
- "description": "The name of the application.",
21
- "x-priority": "important"
22
- },
23
- "linter": {
24
- "description": "The tool to use for running lint checks.",
25
- "type": "string",
26
- "enum": ["eslint", "none"],
27
- "default": "none",
28
- "x-prompt": "Which linter would you like to use?",
29
- "x-priority": "important"
30
- },
31
- "unitTestRunner": {
32
- "type": "string",
33
- "enum": ["vitest", "jest", "none"],
34
- "default": "none",
35
- "description": "Test runner to use for unit tests.",
36
- "x-prompt": "What unit test runner should be used?",
37
- "x-priority": "important"
38
- },
39
- "e2eTestRunner": {
40
- "type": "string",
41
- "enum": ["playwright", "cypress", "none"],
42
- "default": "none",
43
- "description": "Test runner to use for e2e tests",
44
- "x-prompt": "Which E2E test runner would you like to use?"
45
- },
46
- "tags": {
47
- "type": "string",
48
- "description": "Add tags to the project (used for linting)",
49
- "alias": "t"
50
- },
51
- "skipFormat": {
52
- "type": "boolean",
53
- "description": "Skip formatting files",
54
- "default": false
55
- },
56
- "rootProject": {
57
- "type": "boolean",
58
- "x-priority": "internal",
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."
64
- }
65
- },
66
- "required": ["directory"]
66
+ "required": ["directory"]
67
67
  }
@@ -1,19 +1,19 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "NxRemixConvertToInferred",
4
- "description": "Convert existing Remix project(s) using `@nx/remix:*` executors to use `@nx/remix/plugin`. Defaults to migrating all projects. Pass '--project' to migrate only one target.",
5
- "title": "Convert Remix project from executor to plugin",
6
- "type": "object",
7
- "properties": {
8
- "project": {
9
- "type": "string",
10
- "description": "The project to convert from using the `@nx/remix:*` executors to use `@nx/remix/plugin`.",
11
- "x-priority": "important"
12
- },
13
- "skipFormat": {
14
- "type": "boolean",
15
- "description": "Whether to format files at the end of the migration.",
16
- "default": false
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "NxRemixConvertToInferred",
4
+ "description": "Convert existing Remix project(s) using `@nx/remix:*` executors to use `@nx/remix/plugin`. Defaults to migrating all projects. Pass '--project' to migrate only one target.",
5
+ "title": "Convert Remix project from executor to plugin",
6
+ "type": "object",
7
+ "properties": {
8
+ "project": {
9
+ "type": "string",
10
+ "description": "The project to convert from using the `@nx/remix:*` executors to use `@nx/remix/plugin`.",
11
+ "x-priority": "important"
12
+ },
13
+ "skipFormat": {
14
+ "type": "boolean",
15
+ "description": "Whether to format files at the end of the migration.",
16
+ "default": false
17
+ }
17
18
  }
18
- }
19
19
  }
@@ -1,41 +1,41 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "cli": "nx",
4
- "$id": "NxRemixCypressComponentTestConfiguration",
5
- "title": "Add Cypress component testing",
6
- "description": "Add a Cypress component testing configuration to an existing project.",
7
- "type": "object",
8
- "examples": [
9
- {
10
- "command": "nx g @nx/remix:cypress-component-configuration --project=my-remix-project",
11
- "description": "Add component testing to your Remix project"
2
+ "$schema": "https://json-schema.org/schema",
3
+ "cli": "nx",
4
+ "$id": "NxRemixCypressComponentTestConfiguration",
5
+ "title": "Add Cypress component testing",
6
+ "description": "Add a Cypress component testing configuration to an existing project.",
7
+ "type": "object",
8
+ "examples": [
9
+ {
10
+ "command": "nx g @nx/remix:cypress-component-configuration --project=my-remix-project",
11
+ "description": "Add component testing to your Remix project"
12
+ },
13
+ {
14
+ "command": "nx g @nx/remix:cypress-component-configuration --project=my-remix-project --generate-tests",
15
+ "description": "Add component testing to your Remix project and generate component tests for your existing components"
16
+ }
17
+ ],
18
+ "properties": {
19
+ "project": {
20
+ "type": "string",
21
+ "description": "The name of the project to add cypress component testing configuration to",
22
+ "x-dropdown": "projects",
23
+ "x-prompt": "What project should we add Cypress component testing to?",
24
+ "x-priority": "important"
25
+ },
26
+ "generateTests": {
27
+ "type": "boolean",
28
+ "description": "Generate default component tests for existing components in the project",
29
+ "x-prompt": "Automatically generate tests for components declared in this project?",
30
+ "default": false,
31
+ "x-priority": "important"
32
+ },
33
+ "skipFormat": {
34
+ "type": "boolean",
35
+ "description": "Skip formatting files",
36
+ "default": false,
37
+ "x-priority": "internal"
38
+ }
12
39
  },
13
- {
14
- "command": "nx g @nx/remix:cypress-component-configuration --project=my-remix-project --generate-tests",
15
- "description": "Add component testing to your Remix project and generate component tests for your existing components"
16
- }
17
- ],
18
- "properties": {
19
- "project": {
20
- "type": "string",
21
- "description": "The name of the project to add cypress component testing configuration to",
22
- "x-dropdown": "projects",
23
- "x-prompt": "What project should we add Cypress component testing to?",
24
- "x-priority": "important"
25
- },
26
- "generateTests": {
27
- "type": "boolean",
28
- "description": "Generate default component tests for existing components in the project",
29
- "x-prompt": "Automatically generate tests for components declared in this project?",
30
- "default": false,
31
- "x-priority": "important"
32
- },
33
- "skipFormat": {
34
- "type": "boolean",
35
- "description": "Skip formatting files",
36
- "default": false,
37
- "x-priority": "internal"
38
- }
39
- },
40
- "required": ["project"]
40
+ "required": ["project"]
41
41
  }
@@ -1,26 +1,26 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "NxRemixErrorBoundary",
4
- "title": "Create an ErrorBoundary for a Route",
5
- "description": "Generate an ErrorBoundary for a given route.",
6
- "type": "object",
7
- "examples": [
8
- {
9
- "command": "g error-boundary --routePath=apps/demo/app/routes/my-route.tsx",
10
- "description": "Generate an ErrorBoundary for my-route.tsx"
11
- }
12
- ],
13
- "properties": {
14
- "path": {
15
- "type": "string",
16
- "description": "The path to route file relative to the project root."
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "NxRemixErrorBoundary",
4
+ "title": "Create an ErrorBoundary for a Route",
5
+ "description": "Generate an ErrorBoundary for a given route.",
6
+ "type": "object",
7
+ "examples": [
8
+ {
9
+ "command": "g error-boundary --routePath=apps/demo/app/routes/my-route.tsx",
10
+ "description": "Generate an ErrorBoundary for my-route.tsx"
11
+ }
12
+ ],
13
+ "properties": {
14
+ "path": {
15
+ "type": "string",
16
+ "description": "The path to route file relative to the project root."
17
+ },
18
+ "skipFormat": {
19
+ "type": "boolean",
20
+ "description": "Skip formatting files after generation.",
21
+ "default": false,
22
+ "x-priority": "internal"
23
+ }
17
24
  },
18
- "skipFormat": {
19
- "type": "boolean",
20
- "description": "Skip formatting files after generation.",
21
- "default": false,
22
- "x-priority": "internal"
23
- }
24
- },
25
- "required": ["path"]
25
+ "required": ["path"]
26
26
  }
@@ -1,33 +1,33 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "NxRemixInit",
4
- "title": "Init Remix Plugin",
5
- "description": "Initialize the Remix Plugin.",
6
- "cli": "nx",
7
- "type": "object",
8
- "properties": {
9
- "skipFormat": {
10
- "description": "Skip formatting files.",
11
- "type": "boolean",
12
- "default": false
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "NxRemixInit",
4
+ "title": "Init Remix Plugin",
5
+ "description": "Initialize the Remix Plugin.",
6
+ "cli": "nx",
7
+ "type": "object",
8
+ "properties": {
9
+ "skipFormat": {
10
+ "description": "Skip formatting files.",
11
+ "type": "boolean",
12
+ "default": false
13
+ },
14
+ "skipPackageJson": {
15
+ "description": "Do not add dependencies to `package.json`.",
16
+ "type": "boolean",
17
+ "default": false
18
+ },
19
+ "keepExistingVersions": {
20
+ "type": "boolean",
21
+ "x-priority": "internal",
22
+ "description": "Keep existing dependencies versions",
23
+ "default": false
24
+ },
25
+ "updatePackageScripts": {
26
+ "type": "boolean",
27
+ "x-priority": "internal",
28
+ "description": "Update `package.json` scripts with inferred targets",
29
+ "default": false
30
+ }
13
31
  },
14
- "skipPackageJson": {
15
- "description": "Do not add dependencies to `package.json`.",
16
- "type": "boolean",
17
- "default": false
18
- },
19
- "keepExistingVersions": {
20
- "type": "boolean",
21
- "x-priority": "internal",
22
- "description": "Keep existing dependencies versions",
23
- "default": false
24
- },
25
- "updatePackageScripts": {
26
- "type": "boolean",
27
- "x-priority": "internal",
28
- "description": "Update `package.json` scripts with inferred targets",
29
- "default": false
30
- }
31
- },
32
- "required": []
32
+ "required": []
33
33
  }