@nx/remix 20.0.7 → 20.1.0-beta.0

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.
Files changed (39) hide show
  1. package/migrations.json +29 -0
  2. package/package.json +7 -5
  3. package/src/generators/application/__snapshots__/application.impl.spec.ts.snap +126 -343
  4. package/src/generators/application/application.impl.js +10 -48
  5. package/src/generators/application/files/common/app/entry.client.tsx__tmpl__ +18 -0
  6. package/src/generators/application/files/common/app/entry.server.tsx__tmpl__ +140 -0
  7. package/src/generators/application/files/common/app/root.tsx__tmpl__ +20 -5
  8. package/src/generators/application/files/common/tsconfig.app.json__tmpl__ +5 -2
  9. package/src/generators/application/files/common/tsconfig.json__tmpl__ +6 -3
  10. package/src/generators/application/files/common/vite.config.ts__tmpl__ +25 -0
  11. package/src/generators/application/files/integrated/package.json__tmpl__ +3 -4
  12. package/src/generators/application/lib/add-e2e.js +1 -1
  13. package/src/generators/application/lib/add-vite-temp-files-to-gitignore.d.ts +2 -0
  14. package/src/generators/application/lib/add-vite-temp-files-to-gitignore.js +18 -0
  15. package/src/generators/application/lib/index.d.ts +1 -0
  16. package/src/generators/application/lib/index.js +1 -0
  17. package/src/generators/application/schema.d.ts +0 -1
  18. package/src/generators/application/schema.json +0 -5
  19. package/src/generators/convert-to-inferred/convert-to-inferred.js +1 -1
  20. package/src/generators/preset/lib/normalize-options.d.ts +0 -1
  21. package/src/generators/preset/preset.impl.js +0 -1
  22. package/src/generators/setup-tailwind/__snapshots__/setup-tailwind.impl.spec.ts.snap +32 -112
  23. package/src/generators/setup-tailwind/files/postcss.config.js__tpl__ +6 -0
  24. package/src/generators/setup-tailwind/schema.d.ts +0 -1
  25. package/src/generators/setup-tailwind/schema.json +0 -5
  26. package/src/generators/setup-tailwind/setup-tailwind.impl.js +2 -8
  27. package/src/generators/utils/update-dependencies.js +2 -0
  28. package/src/plugins/plugin.js +5 -3
  29. package/src/utils/remix-config.d.ts +1 -0
  30. package/src/utils/remix-config.js +37 -6
  31. package/src/utils/remix-route-utils.js +4 -1
  32. package/src/utils/versions.d.ts +4 -1
  33. package/src/utils/versions.js +5 -2
  34. package/src/generators/application/files/common/remix.config.js__tmpl__ +0 -17
  35. package/src/generators/application/files/common/remix.env.d.ts__tmpl__ +0 -2
  36. package/src/generators/setup-tailwind/lib/index.d.ts +0 -1
  37. package/src/generators/setup-tailwind/lib/index.js +0 -4
  38. package/src/generators/setup-tailwind/lib/update-remix-config.d.ts +0 -2
  39. package/src/generators/setup-tailwind/lib/update-remix-config.js +0 -34
package/migrations.json CHANGED
@@ -131,6 +131,35 @@
131
131
  "alwaysAddToPackageJson": true
132
132
  }
133
133
  }
134
+ },
135
+ "20.1.0": {
136
+ "version": "20.1.0-beta.0",
137
+ "packages": {
138
+ "@remix-run/node": {
139
+ "version": "^2.13.1",
140
+ "alwaysAddToPackageJson": true
141
+ },
142
+ "@remix-run/react": {
143
+ "version": "^2.13.1",
144
+ "alwaysAddToPackageJson": true
145
+ },
146
+ "@remix-run/serve": {
147
+ "version": "^2.13.1",
148
+ "alwaysAddToPackageJson": true
149
+ },
150
+ "@remix-run/dev": {
151
+ "version": "^2.13.1",
152
+ "alwaysAddToPackageJson": true
153
+ },
154
+ "@remix-run/css-bundle": {
155
+ "version": "^2.13.1",
156
+ "alwaysAddToPackageJson": true
157
+ },
158
+ "@remix-run/eslint-config": {
159
+ "version": "^2.13.1",
160
+ "alwaysAddToPackageJson": true
161
+ }
162
+ }
134
163
  }
135
164
  }
136
165
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/remix",
3
- "version": "20.0.7",
3
+ "version": "20.1.0-beta.0",
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,13 +29,15 @@
29
29
  "migrations": "./migrations.json"
30
30
  },
31
31
  "dependencies": {
32
- "@nx/devkit": "20.0.7",
33
- "@nx/js": "20.0.7",
34
- "@nx/react": "20.0.7",
32
+ "@nx/devkit": "20.1.0-beta.0",
33
+ "@nx/js": "20.1.0-beta.0",
34
+ "@nx/react": "20.1.0-beta.0",
35
35
  "tslib": "^2.3.1",
36
36
  "@phenomnomnominal/tsquery": "~5.0.1"
37
37
  },
38
- "peerDependencies": {},
38
+ "peerDependencies": {
39
+ "@remix-run/dev": "^2.13.1"
40
+ },
39
41
  "publishConfig": {
40
42
  "access": "public"
41
43
  },