@nx/remix 19.6.0 → 19.6.2
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/README.md +1 -1
- package/package.json +5 -5
- package/src/executors/build/build.impl.js +1 -0
- package/src/executors/build/schema.d.ts +4 -3
- package/src/executors/build/schema.json +4 -0
- package/src/generators/application/schema.d.ts +2 -2
- package/src/generators/storybook-configuration/schema.d.ts +2 -2
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
# Nx: Smart Monorepos · Fast CI
|
|
19
19
|
|
|
20
|
-
Nx is a build system
|
|
20
|
+
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
|
|
21
21
|
|
|
22
22
|
This package is a [Remix plugin for Nx](https://nx.dev/nx-api/remix).
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/remix",
|
|
3
|
-
"version": "19.6.
|
|
3
|
+
"version": "19.6.2",
|
|
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,12 +29,12 @@
|
|
|
29
29
|
"migrations": "./migrations.json"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@nx/devkit": "19.6.
|
|
33
|
-
"@nx/js": "19.6.
|
|
34
|
-
"@nx/react": "19.6.
|
|
32
|
+
"@nx/devkit": "19.6.2",
|
|
33
|
+
"@nx/js": "19.6.2",
|
|
34
|
+
"@nx/react": "19.6.2",
|
|
35
35
|
"tslib": "^2.3.1",
|
|
36
36
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
37
|
-
"@nrwl/remix": "19.6.
|
|
37
|
+
"@nrwl/remix": "19.6.2"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {},
|
|
40
40
|
"publishConfig": {
|
|
@@ -49,6 +49,7 @@ async function buildExecutor(options, context) {
|
|
|
49
49
|
target: context.targetName,
|
|
50
50
|
root: context.root,
|
|
51
51
|
isProduction: !options.includeDevDependenciesInPackageJson, // By default we remove devDependencies since this is a production build.
|
|
52
|
+
skipPackageManager: options.skipPackageManager,
|
|
52
53
|
});
|
|
53
54
|
// Update `package.json` to reflect how users should run the build artifacts
|
|
54
55
|
packageJson.scripts ??= {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export interface RemixBuildSchema {
|
|
2
|
-
outputPath: string;
|
|
3
|
-
includeDevDependenciesInPackageJson?: boolean;
|
|
4
|
-
generatePackageJson?: boolean;
|
|
5
2
|
generateLockfile?: boolean;
|
|
3
|
+
generatePackageJson?: boolean;
|
|
4
|
+
includeDevDependenciesInPackageJson?: boolean;
|
|
5
|
+
outputPath: string;
|
|
6
|
+
skipPackageManager?: boolean;
|
|
6
7
|
sourcemap?: boolean;
|
|
7
8
|
}
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
"description": "Generate a lockfile (e.g. package-lock.json) that matches the workspace lockfile to ensure package versions match.",
|
|
29
29
|
"default": false
|
|
30
30
|
},
|
|
31
|
+
"skipPackageManager": {
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"description": "Do not add a `packageManager` entry to the generated package.json file. Only works in conjunction with `generatePackageJson` option."
|
|
34
|
+
},
|
|
31
35
|
"sourcemap": {
|
|
32
36
|
"type": "boolean",
|
|
33
37
|
"description": "Generate source maps for production.",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProjectNameAndRootFormat } from '@nx/devkit/src/generators/project-name-and-root-utils';
|
|
2
|
-
import type { Linter } from '@nx/eslint';
|
|
2
|
+
import type { Linter, LinterType } from '@nx/eslint';
|
|
3
3
|
|
|
4
4
|
export interface NxRemixGeneratorSchema {
|
|
5
5
|
name: string;
|
|
@@ -7,7 +7,7 @@ export interface NxRemixGeneratorSchema {
|
|
|
7
7
|
js?: boolean;
|
|
8
8
|
directory?: string;
|
|
9
9
|
projectNameAndRootFormat?: ProjectNameAndRootFormat;
|
|
10
|
-
linter?: Linter;
|
|
10
|
+
linter?: Linter | LinterType;
|
|
11
11
|
unitTestRunner?: 'vitest' | 'jest' | 'none';
|
|
12
12
|
e2eTestRunner?: 'cypress' | 'playwright' | 'none';
|
|
13
13
|
skipFormat?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Linter } from '@nx/eslint';
|
|
1
|
+
import { Linter, LinterType } from '@nx/eslint';
|
|
2
2
|
|
|
3
3
|
export interface StorybookConfigurationSchema {
|
|
4
4
|
project: string;
|
|
@@ -8,7 +8,7 @@ export interface StorybookConfigurationSchema {
|
|
|
8
8
|
generateCypressSpecs?: boolean;
|
|
9
9
|
js?: boolean;
|
|
10
10
|
tsConfiguration?: boolean;
|
|
11
|
-
linter?: Linter;
|
|
11
|
+
linter?: Linter | LinterType;
|
|
12
12
|
cypressDirectory?: string;
|
|
13
13
|
ignorePaths?: string[];
|
|
14
14
|
configureTestRunner?: boolean;
|