@nx/remix 18.0.0-beta.0 → 18.0.0-beta.1

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/generators.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "name": "NxRemix",
4
4
  "version": "0.0.1",
5
5
  "extends": ["@nx/react"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/remix",
3
- "version": "18.0.0-beta.0",
3
+ "version": "18.0.0-beta.1",
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, 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",
@@ -28,12 +28,12 @@
28
28
  "migrations": "./migrations.json"
29
29
  },
30
30
  "dependencies": {
31
- "@nx/devkit": "18.0.0-beta.0",
32
- "@nx/js": "18.0.0-beta.0",
33
- "@nx/react": "18.0.0-beta.0",
31
+ "@nx/devkit": "18.0.0-beta.1",
32
+ "@nx/js": "18.0.0-beta.1",
33
+ "@nx/react": "18.0.0-beta.1",
34
34
  "tslib": "^2.3.1",
35
35
  "@phenomnomnominal/tsquery": "~5.0.1",
36
- "@nrwl/remix": "18.0.0-beta.0"
36
+ "@nrwl/remix": "18.0.0-beta.1"
37
37
  },
38
38
  "peerDependencies": {},
39
39
  "publishConfig": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 2,
3
3
  "outputCapture": "pipe",
4
- "$schema": "http://json-schema.org/schema",
4
+ "$schema": "https://json-schema.org/schema",
5
5
  "cli": "nx",
6
6
  "title": "Remix Build",
7
7
  "description": "Build a Remix app.",
@@ -4,7 +4,7 @@ export interface LoaderSchema {
4
4
  path: string;
5
5
  nameAndDirectoryFormat?: NameAndDirectoryFormat;
6
6
  /**
7
- * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v18.
7
+ * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
8
8
  */
9
9
  project?: string;
10
10
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "action",
4
4
  "type": "object",
5
5
  "description": "Generate an action for a given route.",
@@ -22,7 +22,7 @@
22
22
  "type": "string",
23
23
  "description": "The name of the project.",
24
24
  "pattern": "^[a-zA-Z].*$",
25
- "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v18."
25
+ "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
26
26
  }
27
27
  },
28
28
  "required": ["path"]
@@ -8,6 +8,7 @@ const update_dependencies_1 = require("../utils/update-dependencies");
8
8
  const init_1 = require("../init/init");
9
9
  const js_1 = require("@nx/js");
10
10
  const add_build_target_defaults_1 = require("@nx/devkit/src/generators/add-build-target-defaults");
11
+ const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
11
12
  async function default_1(tree, _options) {
12
13
  const options = await (0, lib_1.normalizeOptions)(tree, _options);
13
14
  const tasks = [
@@ -186,6 +187,9 @@ async function default_1(tree, _options) {
186
187
  if (!options.skipFormat) {
187
188
  await (0, devkit_1.formatFiles)(tree);
188
189
  }
190
+ tasks.push(() => {
191
+ (0, log_show_project_command_1.logShowProjectCommand)(options.projectName);
192
+ });
189
193
  return (0, devkit_1.runTasksInSerial)(...tasks);
190
194
  }
191
195
  exports.default = default_1;
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "NxRemixApplication",
4
4
  "title": "Create an Application",
5
5
  "description": "Generate a new Remix application.",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "NxRemixCypress",
4
4
  "title": "",
5
5
  "type": "object",
@@ -5,7 +5,7 @@ export interface ErrorBoundarySchema {
5
5
  skipFormat?: false;
6
6
  nameAndDirectoryFormat?: NameAndDirectoryFormat;
7
7
  /**
8
- * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v18.
8
+ * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
9
9
  */
10
10
  project?: string;
11
11
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "NxRemixErrorBoundary",
4
4
  "title": "Create an ErrorBoundary for a Route",
5
5
  "description": "Generate an ErrorBoundary for a given route.",
@@ -24,7 +24,7 @@
24
24
  "type": "string",
25
25
  "description": "The name of the project.",
26
26
  "pattern": "^[a-zA-Z].*$",
27
- "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v18."
27
+ "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
28
28
  },
29
29
  "skipFormat": {
30
30
  "type": "boolean",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "NxRemixInit",
4
4
  "title": "Init Remix Plugin",
5
5
  "description": "Initialize the Remix Plugin.",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "NxRemixLibrary",
4
4
  "title": "Create a Library",
5
5
  "description": "Generate a Remix library to help structure workspace and application.",
@@ -4,7 +4,7 @@ export interface LoaderSchema {
4
4
  path: string;
5
5
  nameAndDirectoryFormat?: NameAndDirectoryFormat;
6
6
  /**
7
- * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v18.
7
+ * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
8
8
  */
9
9
  project?: string;
10
10
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "data-loader",
4
4
  "type": "object",
5
5
  "description": "Generate an loader for a given route.",
@@ -22,7 +22,7 @@
22
22
  "type": "string",
23
23
  "description": "The name of the project.",
24
24
  "pattern": "^[a-zA-Z].*$",
25
- "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v18."
25
+ "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
26
26
  }
27
27
  },
28
28
  "required": ["path"]
@@ -4,7 +4,7 @@ export interface MetaSchema {
4
4
  path: string;
5
5
  nameAndDirectoryFormat?: NameAndDirectoryFormat;
6
6
  /**
7
- * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v18.
7
+ * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
8
8
  */
9
9
  project?: string;
10
10
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "meta",
4
4
  "type": "object",
5
5
  "description": "Generate a meta function for a given route.",
@@ -22,7 +22,7 @@
22
22
  "type": "string",
23
23
  "description": "The name of the project.",
24
24
  "pattern": "^[a-zA-Z].*$",
25
- "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v18."
25
+ "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
26
26
  }
27
27
  },
28
28
  "required": ["path"]
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "Remix",
4
4
  "title": "",
5
5
  "type": "object",
@@ -7,7 +7,7 @@ export interface RemixRouteSchema {
7
7
  loader: boolean;
8
8
  skipChecks: boolean;
9
9
  /**
10
- * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v18.
10
+ * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
11
11
  */
12
12
  project?: string;
13
13
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "NxRemixResourceRoute",
4
4
  "title": "Create a Resource Route",
5
5
  "type": "object",
@@ -29,7 +29,7 @@
29
29
  "type": "string",
30
30
  "description": "The name of the project.",
31
31
  "pattern": "^[a-zA-Z].*$",
32
- "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v18."
32
+ "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
33
33
  },
34
34
  "action": {
35
35
  "type": "boolean",
@@ -9,7 +9,7 @@ export interface RemixRouteSchema {
9
9
  loader: boolean;
10
10
  skipChecks: boolean;
11
11
  /**
12
- * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v18.
12
+ * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
13
13
  */
14
14
  project?: string;
15
15
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "NxRemixRoute",
4
4
  "title": "Create a Route",
5
5
  "description": "Generate a route.",
@@ -29,7 +29,7 @@
29
29
  "type": "string",
30
30
  "description": "The name of the project.",
31
31
  "pattern": "^[a-zA-Z].*$",
32
- "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v18."
32
+ "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
33
33
  },
34
34
  "style": {
35
35
  "type": "string",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "NxRemixSetup",
4
4
  "title": "",
5
5
  "type": "object",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "NxRemixTailwind",
4
4
  "title": "Add TailwindCSS to a Remix App",
5
5
  "description": "Setup tailwindcss for a given project.",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "cli": "nx",
4
4
  "$id": "NxRemixStorybookConfigure",
5
5
  "title": "Remix Storybook Configuration",
@@ -4,7 +4,7 @@ export interface RemixStyleSchema {
4
4
  path: string;
5
5
  nameAndDirectoryFormat?: NameAndDirectoryFormat;
6
6
  /**
7
- * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v18.
7
+ * @deprecated Provide the `path` option instead. The project will be determined from the path provided. It will be removed in Nx v19.
8
8
  */
9
9
  project?: string;
10
10
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/schema",
2
+ "$schema": "https://json-schema.org/schema",
3
3
  "$id": "NxRemixRouteStyle",
4
4
  "title": "Add style import to a route",
5
5
  "description": "Generate a style import and file for a given route.",
@@ -29,7 +29,7 @@
29
29
  "type": "string",
30
30
  "description": "The name of the project.",
31
31
  "pattern": "^[a-zA-Z].*$",
32
- "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v18."
32
+ "x-deprecated": "Provide the `path` option instead and use the `as-provided` format. The project will be determined from the path provided. It will be removed in Nx v19."
33
33
  }
34
34
  },
35
35
  "required": ["path"]