@nx/remix 22.7.0-beta.0 → 22.7.0-beta.10

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,525 +0,0 @@
1
- // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
-
3
- exports[`@nx/remix/plugin Remix Classic Compiler non-root project should create nodes 1`] = `
4
- [
5
- [
6
- "my-app/remix.config.cjs",
7
- {
8
- "projects": {
9
- "my-app": {
10
- "metadata": {},
11
- "root": "my-app",
12
- "targets": {
13
- "build": {
14
- "cache": true,
15
- "command": "remix build",
16
- "dependsOn": [
17
- "^build",
18
- ],
19
- "inputs": [
20
- "production",
21
- "^production",
22
- {
23
- "externalDependencies": [
24
- "@remix-run/dev",
25
- ],
26
- },
27
- ],
28
- "options": {
29
- "cwd": "my-app",
30
- },
31
- "outputs": [
32
- "{workspaceRoot}/my-app/build",
33
- "{workspaceRoot}/my-app/public/build",
34
- ],
35
- },
36
- "build-deps": {
37
- "dependsOn": [
38
- "^build",
39
- ],
40
- },
41
- "dev": {
42
- "command": "remix dev --manual",
43
- "continuous": true,
44
- "options": {
45
- "cwd": "my-app",
46
- },
47
- },
48
- "serve-static": {
49
- "command": "remix-serve build/index.js",
50
- "continuous": true,
51
- "dependsOn": [
52
- "build",
53
- ],
54
- "options": {
55
- "cwd": "my-app",
56
- },
57
- },
58
- "start": {
59
- "command": "remix-serve build/index.js",
60
- "continuous": true,
61
- "dependsOn": [
62
- "build",
63
- ],
64
- "options": {
65
- "cwd": "my-app",
66
- },
67
- },
68
- "tsc": {
69
- "cache": true,
70
- "command": "tsc --noEmit",
71
- "inputs": [
72
- "production",
73
- "^production",
74
- {
75
- "externalDependencies": [
76
- "typescript",
77
- ],
78
- },
79
- ],
80
- "metadata": {
81
- "description": "Runs type-checking for the project.",
82
- "help": {
83
- "command": "npx tsc --help",
84
- "example": {
85
- "options": {
86
- "noEmit": true,
87
- },
88
- },
89
- },
90
- "technologies": [
91
- "typescript",
92
- ],
93
- },
94
- "options": {
95
- "cwd": "my-app",
96
- },
97
- },
98
- "watch-deps": {
99
- "command": "npx nx watch --projects my-app --includeDependentProjects -- npx nx build-deps my-app",
100
- "continuous": true,
101
- "dependsOn": [
102
- "build-deps",
103
- ],
104
- },
105
- },
106
- },
107
- },
108
- },
109
- ],
110
- ]
111
- `;
112
-
113
- exports[`@nx/remix/plugin Remix Classic Compiler non-root project should infer watch-deps target 1`] = `
114
- [
115
- [
116
- "my-app/remix.config.cjs",
117
- {
118
- "projects": {
119
- "my-app": {
120
- "metadata": {},
121
- "root": "my-app",
122
- "targets": {
123
- "build": {
124
- "cache": true,
125
- "command": "remix build",
126
- "dependsOn": [
127
- "^build",
128
- ],
129
- "inputs": [
130
- "production",
131
- "^production",
132
- {
133
- "externalDependencies": [
134
- "@remix-run/dev",
135
- ],
136
- },
137
- ],
138
- "options": {
139
- "cwd": "my-app",
140
- },
141
- "outputs": [
142
- "{workspaceRoot}/my-app/build",
143
- "{workspaceRoot}/my-app/public/build",
144
- ],
145
- },
146
- "build-deps": {
147
- "dependsOn": [
148
- "^build",
149
- ],
150
- },
151
- "dev": {
152
- "command": "remix dev --manual",
153
- "continuous": true,
154
- "options": {
155
- "cwd": "my-app",
156
- },
157
- },
158
- "serve-static": {
159
- "command": "remix-serve build/index.js",
160
- "continuous": true,
161
- "dependsOn": [
162
- "build",
163
- ],
164
- "options": {
165
- "cwd": "my-app",
166
- },
167
- },
168
- "start": {
169
- "command": "remix-serve build/index.js",
170
- "continuous": true,
171
- "dependsOn": [
172
- "build",
173
- ],
174
- "options": {
175
- "cwd": "my-app",
176
- },
177
- },
178
- "tsc": {
179
- "cache": true,
180
- "command": "tsc --noEmit",
181
- "inputs": [
182
- "production",
183
- "^production",
184
- {
185
- "externalDependencies": [
186
- "typescript",
187
- ],
188
- },
189
- ],
190
- "metadata": {
191
- "description": "Runs type-checking for the project.",
192
- "help": {
193
- "command": "npx tsc --help",
194
- "example": {
195
- "options": {
196
- "noEmit": true,
197
- },
198
- },
199
- },
200
- "technologies": [
201
- "typescript",
202
- ],
203
- },
204
- "options": {
205
- "cwd": "my-app",
206
- },
207
- },
208
- "watch-deps": {
209
- "command": "npx nx watch --projects my-app --includeDependentProjects -- npx nx build-deps my-app",
210
- "continuous": true,
211
- "dependsOn": [
212
- "build-deps",
213
- ],
214
- },
215
- },
216
- },
217
- },
218
- },
219
- ],
220
- ]
221
- `;
222
-
223
- exports[`@nx/remix/plugin Remix Classic Compiler root project should create nodes 1`] = `
224
- [
225
- [
226
- "remix.config.cjs",
227
- {
228
- "projects": {
229
- ".": {
230
- "metadata": {},
231
- "root": ".",
232
- "targets": {
233
- "build": {
234
- "cache": true,
235
- "command": "remix build",
236
- "dependsOn": [
237
- "^build",
238
- ],
239
- "inputs": [
240
- "production",
241
- "^production",
242
- {
243
- "externalDependencies": [
244
- "@remix-run/dev",
245
- ],
246
- },
247
- ],
248
- "options": {
249
- "cwd": ".",
250
- },
251
- "outputs": [
252
- "{workspaceRoot}/build",
253
- "{workspaceRoot}/public/build",
254
- ],
255
- },
256
- "dev": {
257
- "command": "remix dev --manual",
258
- "continuous": true,
259
- "options": {
260
- "cwd": ".",
261
- },
262
- },
263
- "serve-static": {
264
- "command": "remix-serve build/index.js",
265
- "continuous": true,
266
- "dependsOn": [
267
- "build",
268
- ],
269
- "options": {
270
- "cwd": ".",
271
- },
272
- },
273
- "start": {
274
- "command": "remix-serve build/index.js",
275
- "continuous": true,
276
- "dependsOn": [
277
- "build",
278
- ],
279
- "options": {
280
- "cwd": ".",
281
- },
282
- },
283
- "typecheck": {
284
- "cache": true,
285
- "command": "tsc --noEmit",
286
- "inputs": [
287
- "production",
288
- "^production",
289
- {
290
- "externalDependencies": [
291
- "typescript",
292
- ],
293
- },
294
- ],
295
- "metadata": {
296
- "description": "Runs type-checking for the project.",
297
- "help": {
298
- "command": "npx tsc --help",
299
- "example": {
300
- "options": {
301
- "noEmit": true,
302
- },
303
- },
304
- },
305
- "technologies": [
306
- "typescript",
307
- ],
308
- },
309
- "options": {
310
- "cwd": ".",
311
- },
312
- },
313
- },
314
- },
315
- },
316
- },
317
- ],
318
- ]
319
- `;
320
-
321
- exports[`@nx/remix/plugin Remix Vite Compiler non-root project should create nodes 1`] = `
322
- [
323
- [
324
- "my-app/vite.config.js",
325
- {
326
- "projects": {
327
- "my-app": {
328
- "metadata": {},
329
- "root": "my-app",
330
- "targets": {
331
- "build": {
332
- "cache": true,
333
- "command": "remix vite:build",
334
- "dependsOn": [
335
- "^build",
336
- ],
337
- "inputs": [
338
- "production",
339
- "^production",
340
- {
341
- "externalDependencies": [
342
- "@remix-run/dev",
343
- ],
344
- },
345
- ],
346
- "options": {
347
- "cwd": "my-app",
348
- },
349
- "outputs": [
350
- "{workspaceRoot}/my-app/build",
351
- ],
352
- },
353
- "build-deps": {
354
- "dependsOn": [
355
- "^build",
356
- ],
357
- },
358
- "dev": {
359
- "command": "remix vite:dev",
360
- "continuous": true,
361
- "options": {
362
- "cwd": "my-app",
363
- },
364
- },
365
- "serve-static": {
366
- "command": "remix-serve build/server/index.js",
367
- "continuous": true,
368
- "dependsOn": [
369
- "build",
370
- ],
371
- "options": {
372
- "cwd": "my-app",
373
- },
374
- },
375
- "start": {
376
- "command": "remix-serve build/server/index.js",
377
- "continuous": true,
378
- "dependsOn": [
379
- "build",
380
- ],
381
- "options": {
382
- "cwd": "my-app",
383
- },
384
- },
385
- "tsc": {
386
- "cache": true,
387
- "command": "tsc --noEmit",
388
- "inputs": [
389
- "production",
390
- "^production",
391
- {
392
- "externalDependencies": [
393
- "typescript",
394
- ],
395
- },
396
- ],
397
- "metadata": {
398
- "description": "Runs type-checking for the project.",
399
- "help": {
400
- "command": "npx tsc --help",
401
- "example": {
402
- "options": {
403
- "noEmit": true,
404
- },
405
- },
406
- },
407
- "technologies": [
408
- "typescript",
409
- ],
410
- },
411
- "options": {
412
- "cwd": "my-app",
413
- },
414
- },
415
- "watch-deps": {
416
- "command": "npx nx watch --projects my-app --includeDependentProjects -- npx nx build-deps my-app",
417
- "continuous": true,
418
- "dependsOn": [
419
- "build-deps",
420
- ],
421
- },
422
- },
423
- },
424
- },
425
- },
426
- ],
427
- ]
428
- `;
429
-
430
- exports[`@nx/remix/plugin Remix Vite Compiler root project should create nodes 1`] = `
431
- [
432
- [
433
- "vite.config.js",
434
- {
435
- "projects": {
436
- ".": {
437
- "metadata": {},
438
- "root": ".",
439
- "targets": {
440
- "build": {
441
- "cache": true,
442
- "command": "remix vite:build",
443
- "dependsOn": [
444
- "^build",
445
- ],
446
- "inputs": [
447
- "production",
448
- "^production",
449
- {
450
- "externalDependencies": [
451
- "@remix-run/dev",
452
- ],
453
- },
454
- ],
455
- "options": {
456
- "cwd": ".",
457
- },
458
- "outputs": [
459
- "{workspaceRoot}/build",
460
- ],
461
- },
462
- "dev": {
463
- "command": "remix vite:dev",
464
- "continuous": true,
465
- "options": {
466
- "cwd": ".",
467
- },
468
- },
469
- "serve-static": {
470
- "command": "remix-serve build/server/index.js",
471
- "continuous": true,
472
- "dependsOn": [
473
- "build",
474
- ],
475
- "options": {
476
- "cwd": ".",
477
- },
478
- },
479
- "start": {
480
- "command": "remix-serve build/server/index.js",
481
- "continuous": true,
482
- "dependsOn": [
483
- "build",
484
- ],
485
- "options": {
486
- "cwd": ".",
487
- },
488
- },
489
- "typecheck": {
490
- "cache": true,
491
- "command": "tsc --noEmit",
492
- "inputs": [
493
- "production",
494
- "^production",
495
- {
496
- "externalDependencies": [
497
- "typescript",
498
- ],
499
- },
500
- ],
501
- "metadata": {
502
- "description": "Runs type-checking for the project.",
503
- "help": {
504
- "command": "npx tsc --help",
505
- "example": {
506
- "options": {
507
- "noEmit": true,
508
- },
509
- },
510
- },
511
- "technologies": [
512
- "typescript",
513
- ],
514
- },
515
- "options": {
516
- "cwd": ".",
517
- },
518
- },
519
- },
520
- },
521
- },
522
- },
523
- ],
524
- ]
525
- `;