@nx/remix 19.2.0-beta.3 → 19.2.0-beta.5
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": "19.2.0-beta.
|
|
3
|
+
"version": "19.2.0-beta.5",
|
|
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.2.0-beta.
|
|
33
|
-
"@nx/js": "19.2.0-beta.
|
|
34
|
-
"@nx/react": "19.2.0-beta.
|
|
32
|
+
"@nx/devkit": "19.2.0-beta.5",
|
|
33
|
+
"@nx/js": "19.2.0-beta.5",
|
|
34
|
+
"@nx/react": "19.2.0-beta.5",
|
|
35
35
|
"tslib": "^2.3.1",
|
|
36
36
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
37
|
-
"@nrwl/remix": "19.2.0-beta.
|
|
37
|
+
"@nrwl/remix": "19.2.0-beta.5"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {},
|
|
40
40
|
"publishConfig": {
|
|
@@ -25,7 +25,7 @@ async function remixInitGeneratorInternal(tree, options) {
|
|
|
25
25
|
nxJson.useInferencePlugins !== false;
|
|
26
26
|
options.addPlugin ??= addPluginDefault;
|
|
27
27
|
if (options.addPlugin) {
|
|
28
|
-
await (0, add_plugin_1.
|
|
28
|
+
await (0, add_plugin_1.addPluginV1)(tree, await (0, devkit_1.createProjectGraphAsync)(), '@nx/remix/plugin', plugin_1.createNodes, {
|
|
29
29
|
startTargetName: ['start', 'remix:start', 'remix-start'],
|
|
30
30
|
buildTargetName: ['build', 'remix:build', 'remix-build'],
|
|
31
31
|
devTargetName: ['dev', 'remix:dev', 'remix-dev'],
|
|
@@ -15,6 +15,11 @@ exports[`@nx/remix/plugin non-root project should create nodes 1`] = `
|
|
|
15
15
|
"inputs": [
|
|
16
16
|
"production",
|
|
17
17
|
"^production",
|
|
18
|
+
{
|
|
19
|
+
"externalDependencies": [
|
|
20
|
+
"@remix-run/dev",
|
|
21
|
+
],
|
|
22
|
+
},
|
|
18
23
|
],
|
|
19
24
|
"options": {
|
|
20
25
|
"cwd": "my-app",
|
|
@@ -54,6 +59,11 @@ exports[`@nx/remix/plugin non-root project should create nodes 1`] = `
|
|
|
54
59
|
"inputs": [
|
|
55
60
|
"production",
|
|
56
61
|
"^production",
|
|
62
|
+
{
|
|
63
|
+
"externalDependencies": [
|
|
64
|
+
"typescript",
|
|
65
|
+
],
|
|
66
|
+
},
|
|
57
67
|
],
|
|
58
68
|
"options": {
|
|
59
69
|
"cwd": "my-app",
|
|
@@ -80,6 +90,11 @@ exports[`@nx/remix/plugin root project should create nodes 1`] = `
|
|
|
80
90
|
"inputs": [
|
|
81
91
|
"production",
|
|
82
92
|
"^production",
|
|
93
|
+
{
|
|
94
|
+
"externalDependencies": [
|
|
95
|
+
"@remix-run/dev",
|
|
96
|
+
],
|
|
97
|
+
},
|
|
83
98
|
],
|
|
84
99
|
"options": {
|
|
85
100
|
"cwd": ".",
|
|
@@ -119,6 +134,11 @@ exports[`@nx/remix/plugin root project should create nodes 1`] = `
|
|
|
119
134
|
"inputs": [
|
|
120
135
|
"production",
|
|
121
136
|
"^production",
|
|
137
|
+
{
|
|
138
|
+
"externalDependencies": [
|
|
139
|
+
"typescript",
|
|
140
|
+
],
|
|
141
|
+
},
|
|
122
142
|
],
|
|
123
143
|
"options": {
|
|
124
144
|
"cwd": ".",
|
package/src/plugins/plugin.js
CHANGED
|
@@ -79,6 +79,7 @@ function buildTarget(buildTargetName, projectRoot, buildDirectory, assetsBuildDi
|
|
|
79
79
|
...('production' in namedInputs
|
|
80
80
|
? ['production', '^production']
|
|
81
81
|
: ['default', '^default']),
|
|
82
|
+
{ externalDependencies: ['@remix-run/dev'] },
|
|
82
83
|
],
|
|
83
84
|
outputs: [serverBuildOutputPath, assetsBuildOutputPath],
|
|
84
85
|
command: 'remix build',
|
|
@@ -110,6 +111,7 @@ function typecheckTarget(projectRoot, namedInputs, siblingFiles) {
|
|
|
110
111
|
...('production' in namedInputs
|
|
111
112
|
? ['production', '^production']
|
|
112
113
|
: ['default', '^default']),
|
|
114
|
+
{ externalDependencies: ['typescript'] },
|
|
113
115
|
],
|
|
114
116
|
options: {
|
|
115
117
|
cwd: projectRoot,
|