@baseplate-dev/react-generators 0.5.0 → 0.5.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +466 -0
  2. package/dist/constants/react-packages.d.ts +5 -5
  3. package/dist/constants/react-packages.js +5 -5
  4. package/dist/constants/react-packages.js.map +1 -1
  5. package/dist/generators/admin/admin-components/templates/components/admin/embedded-list-field.tsx +13 -12
  6. package/dist/generators/admin/admin-components/templates/components/admin/embedded-object-field.tsx +6 -5
  7. package/dist/generators/admin/admin-crud-edit/admin-crud-edit.generator.js +1 -1
  8. package/dist/generators/admin/admin-crud-edit/admin-crud-edit.generator.js.map +1 -1
  9. package/dist/generators/admin/admin-crud-embedded-form/admin-crud-embedded-form.generator.d.ts.map +1 -1
  10. package/dist/generators/admin/admin-crud-embedded-form/admin-crud-embedded-form.generator.js +2 -2
  11. package/dist/generators/admin/admin-crud-embedded-form/admin-crud-embedded-form.generator.js.map +1 -1
  12. package/dist/generators/admin/admin-crud-list/admin-crud-list.generator.js +2 -2
  13. package/dist/generators/admin/admin-crud-list/admin-crud-list.generator.js.map +1 -1
  14. package/dist/generators/apollo/apollo-sentry/apollo-sentry.generator.js +2 -2
  15. package/dist/generators/apollo/react-apollo/react-apollo.generator.d.ts +1 -0
  16. package/dist/generators/apollo/react-apollo/react-apollo.generator.d.ts.map +1 -1
  17. package/dist/generators/apollo/react-apollo/react-apollo.generator.js +10 -6
  18. package/dist/generators/apollo/react-apollo/react-apollo.generator.js.map +1 -1
  19. package/dist/generators/core/_composers/react.composer.d.ts +2 -1
  20. package/dist/generators/core/_composers/react.composer.d.ts.map +1 -1
  21. package/dist/generators/core/_composers/react.composer.js +2 -2
  22. package/dist/generators/core/_composers/react.composer.js.map +1 -1
  23. package/dist/generators/core/react-components/templates/components/ui/button.tsx +2 -1
  24. package/dist/generators/core/react-components/templates/components/ui/checkbox-field.tsx +2 -1
  25. package/dist/generators/core/react-components/templates/components/ui/circular-progress.tsx +5 -5
  26. package/dist/generators/core/react-components/templates/components/ui/combobox-field.tsx +2 -1
  27. package/dist/generators/core/react-components/templates/components/ui/combobox.tsx +12 -6
  28. package/dist/generators/core/react-components/templates/components/ui/input-field.tsx +2 -1
  29. package/dist/generators/core/react-components/templates/components/ui/multi-combobox-field.tsx +1 -2
  30. package/dist/generators/core/react-components/templates/components/ui/multi-combobox.tsx +4 -2
  31. package/dist/generators/core/react-components/templates/components/ui/popover.tsx +3 -2
  32. package/dist/generators/core/react-components/templates/components/ui/select-field.tsx +1 -2
  33. package/dist/generators/core/react-components/templates/components/ui/select.tsx +3 -2
  34. package/dist/generators/core/react-components/templates/components/ui/sidebar.tsx +1 -2
  35. package/dist/generators/core/react-components/templates/components/ui/switch-field.tsx +2 -1
  36. package/dist/generators/core/react-components/templates/components/ui/textarea-field.tsx +2 -1
  37. package/dist/generators/core/react-config/react-config.generator.d.ts +9 -1
  38. package/dist/generators/core/react-config/react-config.generator.d.ts.map +1 -1
  39. package/dist/generators/core/react-config/react-config.generator.js +7 -2
  40. package/dist/generators/core/react-config/react-config.generator.js.map +1 -1
  41. package/dist/generators/core/react-proxy/react-proxy.generator.js +2 -2
  42. package/dist/generators/core/react-proxy/react-proxy.generator.js.map +1 -1
  43. package/package.json +11 -11
package/CHANGELOG.md ADDED
@@ -0,0 +1,466 @@
1
+ # @baseplate-dev/react-generators
2
+
3
+ ## 0.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#761](https://github.com/halfdomelabs/baseplate/pull/761) [`b4db947`](https://github.com/halfdomelabs/baseplate/commit/b4db947f256c4b8639d7f18ffb58bb2b1646c497) Thanks [@kingston](https://github.com/kingston)! - Add configurable development ports for apps with automatic assignment and conflict validation
8
+
9
+ - [#755](https://github.com/halfdomelabs/baseplate/pull/755) [`02740a6`](https://github.com/halfdomelabs/baseplate/commit/02740a6e230c7fbf28fc768543353e847671c51b) Thanks [@kingston](https://github.com/kingston)! - Upgrade linting packages
10
+
11
+ **Major version bumps:**
12
+ - eslint: 9.32.0 → 9.39.2
13
+ - @eslint/js: 9.32.0 → 9.39.2
14
+ - eslint-plugin-perfectionist: 4.15.0 → 5.4.0
15
+ - eslint-plugin-react-hooks: 5.2.0 → 7.0.1
16
+ - eslint-plugin-unicorn: 60.0.0 → 62.0.0
17
+ - globals: 16.4.0 → 17.3.0
18
+ - prettier-plugin-packagejson: 2.5.19 → 3.0.0
19
+ - storybook: 10.1.10 → 10.2.8
20
+
21
+ **Minor/patch bumps:**
22
+ - @vitest/eslint-plugin: 1.3.4 → 1.6.6 (tools), 1.6.5 → 1.6.6 (core-generators)
23
+ - eslint-plugin-storybook: 10.1.10 → 10.2.3
24
+ - prettier-plugin-tailwindcss: 0.6.14 → 0.7.2
25
+ - typescript-eslint: 8.38.0 → 8.54.0
26
+ - @types/eslint-plugin-jsx-a11y: 6.10.0 → 6.10.1
27
+
28
+ **Config changes:**
29
+ - Updated eslint-plugin-react-hooks v7 API: `configs['recommended-latest']` → `configs.flat['recommended-latest']`
30
+ - Disabled new strict rules from react-hooks v7 (refs, set-state-in-effect, preserve-manual-memoization, incompatible-library)
31
+
32
+ - [#756](https://github.com/halfdomelabs/baseplate/pull/756) [`dd40bcd`](https://github.com/halfdomelabs/baseplate/commit/dd40bcd219c79f0cd7b66c0427c77deda0664072) Thanks [@kingston](https://github.com/kingston)! - Upgrade packages to fix security vulnerabilities and update to latest versions
33
+
34
+ **Security fixes:**
35
+ - @modelcontextprotocol/sdk: 1.25.1 → 1.26.0 (fixes CVE-2026-25536 - cross-client data leak)
36
+ - fastify: 5.6.2 → 5.7.4 (security patches)
37
+ - diff: 8.0.2 → 8.0.3 (fixes CVE-2026-24001 - DoS vulnerability)
38
+ - testcontainers: 11.10.0 → 11.11.0 (fixes undici vulnerability)
39
+
40
+ **Package updates (monorepo):**
41
+ - @tailwindcss/vite: 4.1.13 → 4.1.18
42
+ - tailwindcss: 4.1.13 → 4.1.18
43
+ - @tanstack/react-router: 1.139.7 → 1.159.5
44
+ - @tanstack/router-plugin: 1.139.7 → 1.159.5
45
+ - @testing-library/jest-dom: 6.6.3 → 6.9.1
46
+ - concurrently: 9.0.1 → 9.2.1
47
+ - ts-morph: 26.0.0 → 27.0.2
48
+
49
+ **Package updates (generated projects):**
50
+ - prisma/@prisma/client/@prisma/adapter-pg: 7.2.0 → 7.4.0
51
+ - postmark: 4.0.2 → 4.0.5
52
+ - axios: 1.12.0 → 1.13.5
53
+
54
+ - Updated dependencies [[`02740a6`](https://github.com/halfdomelabs/baseplate/commit/02740a6e230c7fbf28fc768543353e847671c51b), [`dd40bcd`](https://github.com/halfdomelabs/baseplate/commit/dd40bcd219c79f0cd7b66c0427c77deda0664072), [`7d1a9d6`](https://github.com/halfdomelabs/baseplate/commit/7d1a9d6d381279434f2ac632e9f8accde34dda25), [`63bd074`](https://github.com/halfdomelabs/baseplate/commit/63bd074b3b24b0978d4271a5bc76a8531b0f60c2)]:
55
+ - @baseplate-dev/core-generators@0.5.2
56
+ - @baseplate-dev/sync@0.5.2
57
+ - @baseplate-dev/utils@0.5.2
58
+
59
+ ## 0.5.1
60
+
61
+ ### Patch Changes
62
+
63
+ - [#743](https://github.com/halfdomelabs/baseplate/pull/743) [`1debcb8`](https://github.com/halfdomelabs/baseplate/commit/1debcb89807fafdd7415a659f4bebbad0d69f072) Thanks [@kingston](https://github.com/kingston)! - Add gql:check and gql:generate commands to package.json and add typescript to root repo
64
+
65
+ - Updated dependencies []:
66
+ - @baseplate-dev/core-generators@0.5.1
67
+ - @baseplate-dev/sync@0.5.1
68
+ - @baseplate-dev/utils@0.5.1
69
+
70
+ ## 0.5.0
71
+
72
+ ### Minor Changes
73
+
74
+ - [#730](https://github.com/halfdomelabs/baseplate/pull/730) [`397018b`](https://github.com/halfdomelabs/baseplate/commit/397018b8c30949f75734369b58c67d7afcc424a9) Thanks [@kingston](https://github.com/kingston)! - Migrate GraphQL codegen from graphql-codegen to gql.tada
75
+ - Replace separate `.gql` files and generated `graphql.tsx` with inline `graphql()` template literals
76
+ - Add gql.tada TypeScript plugin for automatic type generation via `graphql-env.d.ts`
77
+ - Add `@graphql-eslint/eslint-plugin` with naming convention rules for operations and fragments
78
+ - Colocate fragments with their consuming components using `ComponentName_field` naming pattern
79
+ - Use `readFragment()` and `FragmentOf<>` for proper fragment masking
80
+ - Extract shared queries to dedicated `queries.ts` files to avoid circular imports
81
+
82
+ ### Patch Changes
83
+
84
+ - [#735](https://github.com/halfdomelabs/baseplate/pull/735) [`9b31726`](https://github.com/halfdomelabs/baseplate/commit/9b31726ee0dce77dc7b16fa334eb597d86349599) Thanks [@kingston](https://github.com/kingston)! - Support ES2023 in Vite tsconfig generators and re-enable replaceAll ESLint rule for React apps
85
+
86
+ - Updated dependencies [[`fbabdec`](https://github.com/halfdomelabs/baseplate/commit/fbabdecf6715c21799d1c224b3a2162ef1f49797), [`9b31726`](https://github.com/halfdomelabs/baseplate/commit/9b31726ee0dce77dc7b16fa334eb597d86349599), [`97bd14e`](https://github.com/halfdomelabs/baseplate/commit/97bd14e381206b54e55c22264d1d406e83146146), [`c7d373e`](https://github.com/halfdomelabs/baseplate/commit/c7d373ebaaeda2522515fdaeae0d37d0cd9ce7fe), [`2d5abd5`](https://github.com/halfdomelabs/baseplate/commit/2d5abd53fccfc2b15f8142fc796c5e4ea4c2f92a), [`8bfc742`](https://github.com/halfdomelabs/baseplate/commit/8bfc742b8a93393a5539babfd11b97a88ee9c39e)]:
87
+ - @baseplate-dev/core-generators@0.5.0
88
+ - @baseplate-dev/sync@0.5.0
89
+ - @baseplate-dev/utils@0.5.0
90
+
91
+ ## 0.4.4
92
+
93
+ ### Patch Changes
94
+
95
+ - Updated dependencies []:
96
+ - @baseplate-dev/core-generators@0.4.4
97
+ - @baseplate-dev/sync@0.4.4
98
+ - @baseplate-dev/utils@0.4.4
99
+
100
+ ## 0.4.3
101
+
102
+ ### Patch Changes
103
+
104
+ - [#717](https://github.com/halfdomelabs/baseplate/pull/717) [`83e4e7f`](https://github.com/halfdomelabs/baseplate/commit/83e4e7f60adf67480cebb4ff419c015ff282010d) Thanks [@kingston](https://github.com/kingston)! - Add support for generating vitest on web apps
105
+
106
+ - [#722](https://github.com/halfdomelabs/baseplate/pull/722) [`8622c4e`](https://github.com/halfdomelabs/baseplate/commit/8622c4e2b91788ad4a368c9f06f82a17ee1a29ed) Thanks [@kingston](https://github.com/kingston)! - Add support for generating files in package.json
107
+
108
+ - [#717](https://github.com/halfdomelabs/baseplate/pull/717) [`83e4e7f`](https://github.com/halfdomelabs/baseplate/commit/83e4e7f60adf67480cebb4ff419c015ff282010d) Thanks [@kingston](https://github.com/kingston)! - Upgrade Apollo Client to v4
109
+ - @apollo/client: 3.13.8 → 4.0.11
110
+ - Add rxjs 7.8.2 as peer dependency (required by Apollo Client v4)
111
+
112
+ Breaking changes in generated code:
113
+ - React hooks (useQuery, useMutation, useApolloClient, etc.) now import from `@apollo/client/react` instead of `@apollo/client`
114
+ - ApolloProvider now imports from `@apollo/client/react`
115
+ - Error handling uses new `CombinedGraphQLErrors` and `ServerError` classes from `@apollo/client/errors`
116
+ - `ErrorLink` class replaces deprecated `onError` function
117
+ - `ApolloClient` is no longer generic (use `ApolloClient` instead of `ApolloClient<NormalizedCacheObject>`)
118
+
119
+ - Updated dependencies [[`83e4e7f`](https://github.com/halfdomelabs/baseplate/commit/83e4e7f60adf67480cebb4ff419c015ff282010d), [`8622c4e`](https://github.com/halfdomelabs/baseplate/commit/8622c4e2b91788ad4a368c9f06f82a17ee1a29ed)]:
120
+ - @baseplate-dev/core-generators@0.4.3
121
+ - @baseplate-dev/sync@0.4.3
122
+ - @baseplate-dev/utils@0.4.3
123
+
124
+ ## 0.4.2
125
+
126
+ ### Patch Changes
127
+
128
+ - [#701](https://github.com/halfdomelabs/baseplate/pull/701) [`e8576b9`](https://github.com/halfdomelabs/baseplate/commit/e8576b9ba5912acf9d81bcc1b18a0fbc8df91220) Thanks [@kingston](https://github.com/kingston)! - Upgrade to Zod v4
129
+
130
+ - [#697](https://github.com/halfdomelabs/baseplate/pull/697) [`11fa86f`](https://github.com/halfdomelabs/baseplate/commit/11fa86fb8e7a209175f132b1b3d59cd24cf13d54) Thanks [@kingston](https://github.com/kingston)! - Ignore \*.map files from built output in package.json
131
+
132
+ - [#712](https://github.com/halfdomelabs/baseplate/pull/712) [`ae2aba1`](https://github.com/halfdomelabs/baseplate/commit/ae2aba1f31c35c306cc459e0efe5e3612ece5c94) Thanks [@kingston](https://github.com/kingston)! - Add aria-[current=page] as a supported active state to the sidebar menu button component, in addition to the existing data-[active=true] attribute.
133
+
134
+ - [#701](https://github.com/halfdomelabs/baseplate/pull/701) [`e8576b9`](https://github.com/halfdomelabs/baseplate/commit/e8576b9ba5912acf9d81bcc1b18a0fbc8df91220) Thanks [@kingston](https://github.com/kingston)! - Upgrade @tanstack/react-router to 1.139.7
135
+
136
+ - Updated dependencies [[`795ee4c`](https://github.com/halfdomelabs/baseplate/commit/795ee4c18e7b393fb9247ced23a12de5e219ab15), [`e8576b9`](https://github.com/halfdomelabs/baseplate/commit/e8576b9ba5912acf9d81bcc1b18a0fbc8df91220), [`11fa86f`](https://github.com/halfdomelabs/baseplate/commit/11fa86fb8e7a209175f132b1b3d59cd24cf13d54), [`74529e7`](https://github.com/halfdomelabs/baseplate/commit/74529e7fffae8a70f8cfe801a1897204d010e291), [`4be6c7d`](https://github.com/halfdomelabs/baseplate/commit/4be6c7dc7d900c37585b93cf5bb7198de6a41f1f), [`4be6c7d`](https://github.com/halfdomelabs/baseplate/commit/4be6c7dc7d900c37585b93cf5bb7198de6a41f1f)]:
137
+ - @baseplate-dev/sync@0.4.2
138
+ - @baseplate-dev/core-generators@0.4.2
139
+ - @baseplate-dev/utils@0.4.2
140
+
141
+ ## 0.4.1
142
+
143
+ ### Patch Changes
144
+
145
+ - Updated dependencies []:
146
+ - @baseplate-dev/core-generators@0.4.1
147
+ - @baseplate-dev/sync@0.4.1
148
+ - @baseplate-dev/utils@0.4.1
149
+
150
+ ## 0.4.0
151
+
152
+ ### Patch Changes
153
+
154
+ - [#685](https://github.com/halfdomelabs/baseplate/pull/685) [`a6274e9`](https://github.com/halfdomelabs/baseplate/commit/a6274e98e2f56cdac23e9ff2bc338946a569a65c) Thanks [@kingston](https://github.com/kingston)! - Upgrade vite to 7.1.12
155
+
156
+ - Updated dependencies [[`839cbdf`](https://github.com/halfdomelabs/baseplate/commit/839cbdfc6ddc059aa86d24bf6ec5d8e95cce9042), [`c3c2a00`](https://github.com/halfdomelabs/baseplate/commit/c3c2a001d57a21f76e064af55941a43bedf26f18), [`c3c2a00`](https://github.com/halfdomelabs/baseplate/commit/c3c2a001d57a21f76e064af55941a43bedf26f18), [`6daff18`](https://github.com/halfdomelabs/baseplate/commit/6daff18a033d2d78746984edebba4d8c6fe957a5)]:
157
+ - @baseplate-dev/sync@0.4.0
158
+ - @baseplate-dev/core-generators@0.4.0
159
+ - @baseplate-dev/utils@0.4.0
160
+
161
+ ## 0.3.8
162
+
163
+ ### Patch Changes
164
+
165
+ - Updated dependencies []:
166
+ - @baseplate-dev/core-generators@0.3.8
167
+ - @baseplate-dev/sync@0.3.8
168
+ - @baseplate-dev/utils@0.3.8
169
+
170
+ ## 0.3.7
171
+
172
+ ### Patch Changes
173
+
174
+ - [#666](https://github.com/halfdomelabs/baseplate/pull/666) [`9508a8e`](https://github.com/halfdomelabs/baseplate/commit/9508a8ee75e33ea0c0632f3f5ef5621b020f530d) Thanks [@kingston](https://github.com/kingston)! - Add eslint-disable comment for document.cookie usage in sidebar component to ensure browser compatibility
175
+
176
+ - Updated dependencies [[`9508a8e`](https://github.com/halfdomelabs/baseplate/commit/9508a8ee75e33ea0c0632f3f5ef5621b020f530d)]:
177
+ - @baseplate-dev/core-generators@0.3.7
178
+ - @baseplate-dev/sync@0.3.7
179
+ - @baseplate-dev/utils@0.3.7
180
+
181
+ ## 0.3.6
182
+
183
+ ### Patch Changes
184
+
185
+ - [#661](https://github.com/halfdomelabs/baseplate/pull/661) [`354b975`](https://github.com/halfdomelabs/baseplate/commit/354b9754e126f4e9f6f4cda0ac4e5f7ca15c0160) Thanks [@kingston](https://github.com/kingston)! - Upgrade Vite to 7.1.5 and related packages
186
+ - vite: 6.3.5 → 7.1.5
187
+ - @vitejs/plugin-react: 4.4.1 → 5.0.2
188
+ - @tailwindcss/vite: 4.1.6 → 4.1.13
189
+ - tailwindcss: 4.1.6 → 4.1.13
190
+ - vite-plugin-svgr: 4.3.0 → 4.5.0
191
+
192
+ This upgrade brings the latest Vite 7 features and ensures compatibility with all related build tooling. No breaking changes for generated projects.
193
+
194
+ See https://vite.dev/guide/migration.html
195
+
196
+ - Updated dependencies [[`1186a21`](https://github.com/halfdomelabs/baseplate/commit/1186a21df267d112a84a42ff1d3c87b495452ce0)]:
197
+ - @baseplate-dev/core-generators@0.3.6
198
+ - @baseplate-dev/sync@0.3.6
199
+ - @baseplate-dev/utils@0.3.6
200
+
201
+ ## 0.3.5
202
+
203
+ ### Patch Changes
204
+
205
+ - [#656](https://github.com/halfdomelabs/baseplate/pull/656) [`6d0be95`](https://github.com/halfdomelabs/baseplate/commit/6d0be954ba866414fb673694a72e73ab433c7b12) Thanks [@kingston](https://github.com/kingston)! - Use nullish coalescing operator for Unknown Item in foreign column display
206
+
207
+ - Updated dependencies []:
208
+ - @baseplate-dev/core-generators@0.3.5
209
+ - @baseplate-dev/sync@0.3.5
210
+ - @baseplate-dev/utils@0.3.5
211
+
212
+ ## 0.3.4
213
+
214
+ ### Patch Changes
215
+
216
+ - [#646](https://github.com/halfdomelabs/baseplate/pull/646) [`67dba69`](https://github.com/halfdomelabs/baseplate/commit/67dba697439e6bc76b81522c133d920af4dbdbb1) Thanks [@kingston](https://github.com/kingston)! - Upgrade Zod to 3.25.76
217
+
218
+ - [#643](https://github.com/halfdomelabs/baseplate/pull/643) [`7d9e6d0`](https://github.com/halfdomelabs/baseplate/commit/7d9e6d01e0a9920cee4c4d499beeffc1c663494a) Thanks [@kingston](https://github.com/kingston)! - Upgrade to TypeScript 5.8 with erasable syntax only mode
219
+
220
+ This upgrade modernizes the codebase with TypeScript 5.8, enables erasable syntax only mode for better performance, and updates runtime dependencies.
221
+
222
+ **Key Changes:**
223
+ - Upgraded TypeScript to version 5.8
224
+ - Enabled `erasableSyntaxOnly` compiler option for improved build performance
225
+ - Updated Node.js requirement to 22.18
226
+ - Updated PNPM requirement to 10.15
227
+ - Fixed parameter property syntax to be compatible with erasable syntax only mode
228
+
229
+ - Updated dependencies [[`67dba69`](https://github.com/halfdomelabs/baseplate/commit/67dba697439e6bc76b81522c133d920af4dbdbb1), [`7d9e6d0`](https://github.com/halfdomelabs/baseplate/commit/7d9e6d01e0a9920cee4c4d499beeffc1c663494a)]:
230
+ - @baseplate-dev/sync@0.3.4
231
+ - @baseplate-dev/core-generators@0.3.4
232
+ - @baseplate-dev/utils@0.3.4
233
+
234
+ ## 0.3.3
235
+
236
+ ### Patch Changes
237
+
238
+ - Updated dependencies []:
239
+ - @baseplate-dev/core-generators@0.3.3
240
+ - @baseplate-dev/sync@0.3.3
241
+ - @baseplate-dev/utils@0.3.3
242
+
243
+ ## 0.3.2
244
+
245
+ ### Patch Changes
246
+
247
+ - [#634](https://github.com/halfdomelabs/baseplate/pull/634) [`1419a96`](https://github.com/halfdomelabs/baseplate/commit/1419a965efd41d2b2dfb86dd18f32e5414a3af85) Thanks [@kingston](https://github.com/kingston)! - Add a default pending component to router
248
+
249
+ - [#631](https://github.com/halfdomelabs/baseplate/pull/631) [`b4c15b9`](https://github.com/halfdomelabs/baseplate/commit/b4c15b98a518c53828f81624764ba693def85faf) Thanks [@kingston](https://github.com/kingston)! - Update admin generators to use new admin layout with breadcrumbs
250
+
251
+ - [#635](https://github.com/halfdomelabs/baseplate/pull/635) [`04a4978`](https://github.com/halfdomelabs/baseplate/commit/04a49785642685ca4b56aec27dc0a18520674ef9) Thanks [@kingston](https://github.com/kingston)! - Upgrade GraphQL to 16.11.0
252
+
253
+ - Updated dependencies [[`b4c15b9`](https://github.com/halfdomelabs/baseplate/commit/b4c15b98a518c53828f81624764ba693def85faf)]:
254
+ - @baseplate-dev/core-generators@0.3.2
255
+ - @baseplate-dev/sync@0.3.2
256
+ - @baseplate-dev/utils@0.3.2
257
+
258
+ ## 0.3.1
259
+
260
+ ### Patch Changes
261
+
262
+ - [#629](https://github.com/halfdomelabs/baseplate/pull/629) [`d79b0cf`](https://github.com/halfdomelabs/baseplate/commit/d79b0cfb9061dbeccc976a2f018b264849bef788) Thanks [@kingston](https://github.com/kingston)! - Add queue plugin with pg-boss implementation
263
+
264
+ Introduces a new queue plugin that provides background job processing capabilities for Baseplate projects. The initial implementation uses pg-boss as the queue backend, providing:
265
+ - **Queue Plugin Architecture**: Modular queue system with provider-based implementation pattern
266
+ - **pg-boss Integration**: PostgreSQL-based queue system with robust job processing features
267
+ - **Type-Safe Queue Definitions**: Full TypeScript support for queue job payloads and handlers
268
+ - **Job Management Features**:
269
+ - Delayed job execution
270
+ - Retry logic with configurable backoff strategies (fixed or exponential)
271
+ - Priority-based job processing
272
+ - Repeatable/cron jobs with schedule patterns
273
+ - **Worker Script Generation**: Automatic generation of worker scripts for processing background jobs
274
+ - **Queue Registry Pattern**: Centralized queue management with automatic discovery
275
+ - **Maintenance Operations**: Configurable job retention and cleanup policies
276
+ - **Graceful Shutdown**: Proper cleanup and job completion on worker termination
277
+
278
+ The plugin follows Baseplate's spec-implementation pattern, allowing for future queue backends while maintaining a consistent API.
279
+
280
+ - Updated dependencies [[`d79b0cf`](https://github.com/halfdomelabs/baseplate/commit/d79b0cfb9061dbeccc976a2f018b264849bef788)]:
281
+ - @baseplate-dev/core-generators@0.3.1
282
+ - @baseplate-dev/sync@0.3.1
283
+ - @baseplate-dev/utils@0.3.1
284
+
285
+ ## 0.3.0
286
+
287
+ ### Patch Changes
288
+
289
+ - [#623](https://github.com/halfdomelabs/baseplate/pull/623) [`82cee71`](https://github.com/halfdomelabs/baseplate/commit/82cee7183ef384e1777e7a563656441ff108e2b3) Thanks [@kingston](https://github.com/kingston)! - Remove @headlessui/react package
290
+
291
+ - [#626](https://github.com/halfdomelabs/baseplate/pull/626) [`8ec33fc`](https://github.com/halfdomelabs/baseplate/commit/8ec33fcdc8fea9cb20e79586b854bf075270ab53) Thanks [@kingston](https://github.com/kingston)! - Remove dotenv references and replace with native node --env-file option
292
+
293
+ - [#624](https://github.com/halfdomelabs/baseplate/pull/624) [`d0b08b8`](https://github.com/halfdomelabs/baseplate/commit/d0b08b89a07b9aa845212ec90e2a6123fbecbbe5) Thanks [@kingston](https://github.com/kingston)! - Upgrade Tanstack Router to 1.130.8 and revert from="/" workaround for Link bug
294
+
295
+ - [#621](https://github.com/halfdomelabs/baseplate/pull/621) [`fbde70f`](https://github.com/halfdomelabs/baseplate/commit/fbde70ffbcae025318480e9607924978847fba2b) Thanks [@kingston](https://github.com/kingston)! - Update package versions to match latest dependencies from main repo
296
+ - Update ESLint and related plugins to latest versions
297
+ - Update TypeScript ESLint to 8.38.0
298
+ - Update Prettier plugins to latest versions
299
+ - Update Tailwind CSS Prettier plugin to 0.6.14
300
+
301
+ - Updated dependencies [[`687a47e`](https://github.com/halfdomelabs/baseplate/commit/687a47e5e39abc5138ba3fc2d0db9cfee6e4dbfe), [`8ec33fc`](https://github.com/halfdomelabs/baseplate/commit/8ec33fcdc8fea9cb20e79586b854bf075270ab53), [`fbde70f`](https://github.com/halfdomelabs/baseplate/commit/fbde70ffbcae025318480e9607924978847fba2b)]:
302
+ - @baseplate-dev/sync@0.3.0
303
+ - @baseplate-dev/core-generators@0.3.0
304
+ - @baseplate-dev/utils@0.3.0
305
+
306
+ ## 0.2.6
307
+
308
+ ### Patch Changes
309
+
310
+ - [#618](https://github.com/halfdomelabs/baseplate/pull/618) [`541db59`](https://github.com/halfdomelabs/baseplate/commit/541db59ccf868b6a6fcc8fa756eab0dfa560d193) Thanks [@kingston](https://github.com/kingston)! - Add 300ms delay to loader component
311
+
312
+ - Updated dependencies []:
313
+ - @baseplate-dev/core-generators@0.2.6
314
+ - @baseplate-dev/sync@0.2.6
315
+ - @baseplate-dev/utils@0.2.6
316
+
317
+ ## 0.2.5
318
+
319
+ ### Patch Changes
320
+
321
+ - [#613](https://github.com/halfdomelabs/baseplate/pull/613) [`2aae451`](https://github.com/halfdomelabs/baseplate/commit/2aae45107cb6331234d14d8a6491b55e7f6d9f33) Thanks [@kingston](https://github.com/kingston)! - Reorganize components folder structure in generated codebases
322
+
323
+ The components folder structure has been reorganized to improve organization and reduce bundle size:
324
+
325
+ **Breaking Changes:**
326
+ - Removed bundle export at `components/index.ts` to prevent importing all components at once
327
+ - Moved all UI components from `components/` to `components/ui/` folder
328
+
329
+ **New Structure:**
330
+
331
+ ```
332
+ components/
333
+ ├── ui/ # UI components
334
+ │ ├── button.tsx
335
+ │ ├── input.tsx
336
+ │ └── ...
337
+ └── [other-components] # Custom application components
338
+ ```
339
+
340
+ **Migration:**
341
+ - Replace `import { Button } from '@src/components'` with `import { Button } from '@src/components/ui/button'`
342
+ - Update imports to use specific component paths instead of barrel exports
343
+ - UI components are now co-located in the `ui/` subfolder for better organization
344
+
345
+ This change improves tree-shaking, reduces bundle size, and provides clearer separation between UI library components and custom application components.
346
+
347
+ - [#608](https://github.com/halfdomelabs/baseplate/pull/608) [`01c47c7`](https://github.com/halfdomelabs/baseplate/commit/01c47c77f039a463de03271de6461cd969d5a8e8) Thanks [@kingston](https://github.com/kingston)! - Remove changeOrigin: true from vite proxy to allow custom auth plugin to work
348
+
349
+ - Updated dependencies [[`e0d690c`](https://github.com/halfdomelabs/baseplate/commit/e0d690c1e139f93a8ff60c9e0c90bc72cdf705a4), [`2aae451`](https://github.com/halfdomelabs/baseplate/commit/2aae45107cb6331234d14d8a6491b55e7f6d9f33)]:
350
+ - @baseplate-dev/sync@0.2.5
351
+ - @baseplate-dev/core-generators@0.2.5
352
+ - @baseplate-dev/utils@0.2.5
353
+
354
+ ## 0.2.4
355
+
356
+ ### Patch Changes
357
+
358
+ - [#606](https://github.com/halfdomelabs/baseplate/pull/606) [`ffe791f`](https://github.com/halfdomelabs/baseplate/commit/ffe791f6ab44e82c8481f3a18df9262dec71cff6) Thanks [@kingston](https://github.com/kingston)! - Add exception for filename casing for $ and - router paths
359
+
360
+ - Updated dependencies [[`ffe791f`](https://github.com/halfdomelabs/baseplate/commit/ffe791f6ab44e82c8481f3a18df9262dec71cff6)]:
361
+ - @baseplate-dev/utils@0.2.4
362
+ - @baseplate-dev/core-generators@0.2.4
363
+ - @baseplate-dev/sync@0.2.4
364
+
365
+ ## 0.2.3
366
+
367
+ ### Patch Changes
368
+
369
+ - [#594](https://github.com/halfdomelabs/baseplate/pull/594) [`3107a1b`](https://github.com/halfdomelabs/baseplate/commit/3107a1b6917c3b2d14c7e91e2972b06955ebb4ea) Thanks [@kingston](https://github.com/kingston)! - Switch to typed GraphQL documents instead of older Apollo generator
370
+
371
+ - [#598](https://github.com/halfdomelabs/baseplate/pull/598) [`69eea11`](https://github.com/halfdomelabs/baseplate/commit/69eea11c3662fbad9b8d2283d5127195c8379c07) Thanks [@kingston](https://github.com/kingston)! - Change environment names from long format to short abbreviations (development→dev, staging→stage, production→prod)
372
+
373
+ - [#597](https://github.com/halfdomelabs/baseplate/pull/597) [`903e2d8`](https://github.com/halfdomelabs/baseplate/commit/903e2d898c47e6559f55f023eb89a0b524098f3a) Thanks [@kingston](https://github.com/kingston)! - Enable tailwind-merge in cn utility by default
374
+
375
+ Updated the cn utility function to use tailwind-merge for better class merging behavior. This change:
376
+ - Adds tailwind-merge dependency to ui-components and react-generators packages
377
+ - Updates cn function to use twMerge(clsx(inputs)) instead of just clsx(inputs)
378
+ - Simplifies input styling by removing unnecessary rightPadding variant
379
+ - Improves class conflict resolution in component styling
380
+
381
+ - [#592](https://github.com/halfdomelabs/baseplate/pull/592) [`de9e1b4`](https://github.com/halfdomelabs/baseplate/commit/de9e1b4f3a8a7dcf6b962781a0aa589eb970c7a8) Thanks [@kingston](https://github.com/kingston)! - Update auth generators to better fit with Tanstack Router
382
+
383
+ - [#595](https://github.com/halfdomelabs/baseplate/pull/595) [`a506e88`](https://github.com/halfdomelabs/baseplate/commit/a506e88893bf395916ef3fbf6dd9dd7c0ff17acb) Thanks [@kingston](https://github.com/kingston)! - Upgrade react-hook-form to 7.60.0
384
+
385
+ - Updated dependencies [[`f3bd169`](https://github.com/halfdomelabs/baseplate/commit/f3bd169b8debc52628179ca6ebd93c20b8a6f841), [`a506e88`](https://github.com/halfdomelabs/baseplate/commit/a506e88893bf395916ef3fbf6dd9dd7c0ff17acb), [`f0cb763`](https://github.com/halfdomelabs/baseplate/commit/f0cb7632f04bfb487722785fac7218d76d3b7e3b), [`059edf7`](https://github.com/halfdomelabs/baseplate/commit/059edf771755f1ff846494f238d777a9d1f7f5d7), [`059edf7`](https://github.com/halfdomelabs/baseplate/commit/059edf771755f1ff846494f238d777a9d1f7f5d7), [`de9e1b4`](https://github.com/halfdomelabs/baseplate/commit/de9e1b4f3a8a7dcf6b962781a0aa589eb970c7a8)]:
386
+ - @baseplate-dev/core-generators@0.2.3
387
+ - @baseplate-dev/sync@0.2.3
388
+ - @baseplate-dev/utils@0.2.3
389
+
390
+ ## 0.2.2
391
+
392
+ ### Patch Changes
393
+
394
+ - [#591](https://github.com/halfdomelabs/baseplate/pull/591) [`f8c9284`](https://github.com/halfdomelabs/baseplate/commit/f8c9284752c12c6aab70481bf98e6fa402e61075) Thanks [@kingston](https://github.com/kingston)! - Migrate React generators to use Tanstack Router instead of React Router for improved type safety and developer experience
395
+
396
+ - Updated dependencies [[`f8c9284`](https://github.com/halfdomelabs/baseplate/commit/f8c9284752c12c6aab70481bf98e6fa402e61075), [`f8c9284`](https://github.com/halfdomelabs/baseplate/commit/f8c9284752c12c6aab70481bf98e6fa402e61075), [`dce88ac`](https://github.com/halfdomelabs/baseplate/commit/dce88ac8d1f951f7336c12c5e004107de3a23e97)]:
397
+ - @baseplate-dev/utils@0.2.2
398
+ - @baseplate-dev/sync@0.2.2
399
+ - @baseplate-dev/core-generators@0.2.2
400
+
401
+ ## 0.2.1
402
+
403
+ ### Patch Changes
404
+
405
+ - [#581](https://github.com/halfdomelabs/baseplate/pull/581) [`d7d9985`](https://github.com/halfdomelabs/baseplate/commit/d7d998540ca5886259f93b5020c4d8939c5cdf5f) Thanks [@kingston](https://github.com/kingston)! - Fix settings for prettier with Tailwind v4
406
+
407
+ - Updated dependencies [[`d7d9985`](https://github.com/halfdomelabs/baseplate/commit/d7d998540ca5886259f93b5020c4d8939c5cdf5f)]:
408
+ - @baseplate-dev/core-generators@0.2.1
409
+ - @baseplate-dev/sync@0.2.1
410
+ - @baseplate-dev/utils@0.2.1
411
+
412
+ ## 0.2.0
413
+
414
+ ### Minor Changes
415
+
416
+ - [#580](https://github.com/halfdomelabs/baseplate/pull/580) [`a94eed9`](https://github.com/halfdomelabs/baseplate/commit/a94eed9c12236c5fb772d998b9c34ca876c10c13) Thanks [@kingston](https://github.com/kingston)! - Refresh all UI components generated by React generators to use ShadCN components
417
+
418
+ ### Patch Changes
419
+
420
+ - [#568](https://github.com/halfdomelabs/baseplate/pull/568) [`06b4faf`](https://github.com/halfdomelabs/baseplate/commit/06b4fafaf3d2ed848d959a9911b9bfa26702d4a3) Thanks [@kingston](https://github.com/kingston)! - Enable the import-x/consistent-type-specifier-style rule to clean up type imports
421
+
422
+ - [#574](https://github.com/halfdomelabs/baseplate/pull/574) [`f5d7a6f`](https://github.com/halfdomelabs/baseplate/commit/f5d7a6f781b1799bb8ad197973e5cec04f869264) Thanks [@kingston](https://github.com/kingston)! - Refactored naming of project paths to output paths to be clearer about their meaning
423
+
424
+ - [#580](https://github.com/halfdomelabs/baseplate/pull/580) [`a94eed9`](https://github.com/halfdomelabs/baseplate/commit/a94eed9c12236c5fb772d998b9c34ca876c10c13) Thanks [@kingston](https://github.com/kingston)! - Match tsconfig for React projects to newer Vite templates with tsconfig.app and tsconfig.node
425
+
426
+ - [#570](https://github.com/halfdomelabs/baseplate/pull/570) [`56a3a89`](https://github.com/halfdomelabs/baseplate/commit/56a3a8944b9a557cca0484d78851fca10122e5f9) Thanks [@kingston](https://github.com/kingston)! - Implement phase 1 of reverse template generator v2
427
+
428
+ - Updated dependencies [[`06b4faf`](https://github.com/halfdomelabs/baseplate/commit/06b4fafaf3d2ed848d959a9911b9bfa26702d4a3), [`f5d7a6f`](https://github.com/halfdomelabs/baseplate/commit/f5d7a6f781b1799bb8ad197973e5cec04f869264), [`fd63554`](https://github.com/halfdomelabs/baseplate/commit/fd635544eb6df0385501f61f3e51bce554633458), [`a94eed9`](https://github.com/halfdomelabs/baseplate/commit/a94eed9c12236c5fb772d998b9c34ca876c10c13), [`56a3a89`](https://github.com/halfdomelabs/baseplate/commit/56a3a8944b9a557cca0484d78851fca10122e5f9), [`a94eed9`](https://github.com/halfdomelabs/baseplate/commit/a94eed9c12236c5fb772d998b9c34ca876c10c13), [`56a3a89`](https://github.com/halfdomelabs/baseplate/commit/56a3a8944b9a557cca0484d78851fca10122e5f9)]:
429
+ - @baseplate-dev/core-generators@0.2.0
430
+ - @baseplate-dev/utils@0.2.0
431
+ - @baseplate-dev/sync@0.2.0
432
+
433
+ ## 0.1.3
434
+
435
+ ### Patch Changes
436
+
437
+ - [#562](https://github.com/halfdomelabs/baseplate/pull/562) [`30fdf49`](https://github.com/halfdomelabs/baseplate/commit/30fdf4988de244c30d13c93b7761587d4c1413ad) Thanks [@kingston](https://github.com/kingston)! - Switch to Typescript project references for building/watching project
438
+
439
+ - Updated dependencies [[`30fdf49`](https://github.com/halfdomelabs/baseplate/commit/30fdf4988de244c30d13c93b7761587d4c1413ad)]:
440
+ - @baseplate-dev/core-generators@0.1.3
441
+ - @baseplate-dev/utils@0.1.3
442
+ - @baseplate-dev/sync@0.1.3
443
+
444
+ ## 0.1.2
445
+
446
+ ### Patch Changes
447
+
448
+ - [#560](https://github.com/halfdomelabs/baseplate/pull/560) [`7e38ae9`](https://github.com/halfdomelabs/baseplate/commit/7e38ae9102c7c8ea958d2dab94e76be848d1c1a8) Thanks [@kingston](https://github.com/kingston)! - Add README files to all packages and plugins explaining their purpose within the Baseplate monorepo.
449
+
450
+ - Updated dependencies [[`7e38ae9`](https://github.com/halfdomelabs/baseplate/commit/7e38ae9102c7c8ea958d2dab94e76be848d1c1a8)]:
451
+ - @baseplate-dev/sync@0.1.2
452
+ - @baseplate-dev/core-generators@0.1.2
453
+ - @baseplate-dev/utils@0.1.2
454
+
455
+ ## 0.1.1
456
+
457
+ ### Patch Changes
458
+
459
+ - [#559](https://github.com/halfdomelabs/baseplate/pull/559) [`17dd71e`](https://github.com/halfdomelabs/baseplate/commit/17dd71e3b9f83e3359eb007f8eab1c4792bdbb8b) Thanks [@kingston](https://github.com/kingston)! - Rename workspace to @baseplate-dev/\* and reset versions to 0.1.0
460
+
461
+ - [#557](https://github.com/halfdomelabs/baseplate/pull/557) [`9caaa0a`](https://github.com/halfdomelabs/baseplate/commit/9caaa0aed05677a75fed79601dcfd24ec85ab5ad) Thanks [@kingston](https://github.com/kingston)! - Update LICENSE to modified MPL-2.0 license
462
+
463
+ - Updated dependencies [[`17dd71e`](https://github.com/halfdomelabs/baseplate/commit/17dd71e3b9f83e3359eb007f8eab1c4792bdbb8b), [`9caaa0a`](https://github.com/halfdomelabs/baseplate/commit/9caaa0aed05677a75fed79601dcfd24ec85ab5ad)]:
464
+ - @baseplate-dev/core-generators@0.1.1
465
+ - @baseplate-dev/utils@0.1.1
466
+ - @baseplate-dev/sync@0.1.1
@@ -1,8 +1,8 @@
1
1
  export declare const REACT_PACKAGES: {
2
2
  readonly react: "19.1.0";
3
3
  readonly 'react-dom': "19.1.0";
4
- readonly '@tanstack/react-router': "1.139.7";
5
- readonly '@tanstack/router-plugin': "1.139.7";
4
+ readonly '@tanstack/react-router': "1.159.5";
5
+ readonly '@tanstack/router-plugin': "1.159.5";
6
6
  readonly '@types/node': "^22.0.0";
7
7
  readonly '@types/react': "19.1.3";
8
8
  readonly '@types/react-dom': "19.1.3";
@@ -11,9 +11,9 @@ export declare const REACT_PACKAGES: {
11
11
  readonly 'vite-plugin-svgr': "4.5.0";
12
12
  readonly 'vite-tsconfig-paths': "5.1.4";
13
13
  readonly loglevel: "1.9.1";
14
- readonly '@tailwindcss/vite': "4.1.13";
15
- readonly tailwindcss: "4.1.13";
16
- readonly 'prettier-plugin-tailwindcss': "0.6.14";
14
+ readonly '@tailwindcss/vite': "4.1.18";
15
+ readonly tailwindcss: "4.1.18";
16
+ readonly 'prettier-plugin-tailwindcss': "0.7.2";
17
17
  readonly 'tw-animate-css': "1.2.9";
18
18
  readonly 'tailwind-merge': "3.3.1";
19
19
  readonly '@hookform/resolvers': "5.2.2";
@@ -2,8 +2,8 @@ export const REACT_PACKAGES = {
2
2
  // React
3
3
  react: '19.1.0',
4
4
  'react-dom': '19.1.0',
5
- '@tanstack/react-router': '1.139.7',
6
- '@tanstack/router-plugin': '1.139.7',
5
+ '@tanstack/react-router': '1.159.5',
6
+ '@tanstack/router-plugin': '1.159.5',
7
7
  '@types/node': `^22.0.0`,
8
8
  '@types/react': '19.1.3',
9
9
  '@types/react-dom': '19.1.3',
@@ -13,9 +13,9 @@ export const REACT_PACKAGES = {
13
13
  'vite-tsconfig-paths': '5.1.4',
14
14
  loglevel: '1.9.1',
15
15
  // Tailwind
16
- '@tailwindcss/vite': '4.1.13',
17
- tailwindcss: '4.1.13',
18
- 'prettier-plugin-tailwindcss': '0.6.14',
16
+ '@tailwindcss/vite': '4.1.18',
17
+ tailwindcss: '4.1.18',
18
+ 'prettier-plugin-tailwindcss': '0.7.2',
19
19
  'tw-animate-css': '1.2.9',
20
20
  'tailwind-merge': '3.3.1',
21
21
  // Components
@@ -1 +1 @@
1
- {"version":3,"file":"react-packages.js","sourceRoot":"","sources":["../../src/constants/react-packages.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,QAAQ;IACR,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,QAAQ;IACrB,wBAAwB,EAAE,SAAS;IACnC,yBAAyB,EAAE,SAAS;IACpC,aAAa,EAAE,SAAS;IACxB,cAAc,EAAE,QAAQ;IACxB,kBAAkB,EAAE,QAAQ;IAC5B,sBAAsB,EAAE,OAAO;IAC/B,IAAI,EAAE,QAAQ;IACd,kBAAkB,EAAE,OAAO;IAC3B,qBAAqB,EAAE,OAAO;IAE9B,QAAQ,EAAE,OAAO;IAEjB,WAAW;IACX,mBAAmB,EAAE,QAAQ;IAC7B,WAAW,EAAE,QAAQ;IACrB,6BAA6B,EAAE,QAAQ;IACvC,gBAAgB,EAAE,OAAO;IACzB,gBAAgB,EAAE,OAAO;IAEzB,aAAa;IACb,qBAAqB,EAAE,OAAO;IAC9B,IAAI,EAAE,OAAO;IACb,iBAAiB,EAAE,QAAQ;IAC3B,aAAa,EAAE,OAAO;IACtB,cAAc,EAAE,QAAQ;IACxB,OAAO,EAAE,OAAO;IAChB,sBAAsB,EAAE,OAAO;IAC/B,UAAU,EAAE,OAAO;IACnB,0BAA0B,EAAE,OAAO;IACnC,IAAI,EAAE,OAAO;IACb,MAAM,EAAE,OAAO;IAEf,cAAc;IACd,kBAAkB,EAAE,OAAO;IAC3B,UAAU,EAAE,OAAO;IAEnB,UAAU;IACV,gBAAgB,EAAE,QAAQ;IAC1B,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,QAAQ;IACtB,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,OAAO;IACnB,+BAA+B,EAAE,OAAO;IAExC,QAAQ;IACR,MAAM,EAAE,OAAO;IACf,kBAAkB,EAAE,QAAQ;IAC5B,yBAAyB,EAAE,QAAQ;IAEnC,aAAa;IACb,GAAG,EAAE,QAAQ;IAEb,SAAS;IACT,eAAe,EAAE,QAAQ;CACjB,CAAC"}
1
+ {"version":3,"file":"react-packages.js","sourceRoot":"","sources":["../../src/constants/react-packages.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,QAAQ;IACR,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,QAAQ;IACrB,wBAAwB,EAAE,SAAS;IACnC,yBAAyB,EAAE,SAAS;IACpC,aAAa,EAAE,SAAS;IACxB,cAAc,EAAE,QAAQ;IACxB,kBAAkB,EAAE,QAAQ;IAC5B,sBAAsB,EAAE,OAAO;IAC/B,IAAI,EAAE,QAAQ;IACd,kBAAkB,EAAE,OAAO;IAC3B,qBAAqB,EAAE,OAAO;IAE9B,QAAQ,EAAE,OAAO;IAEjB,WAAW;IACX,mBAAmB,EAAE,QAAQ;IAC7B,WAAW,EAAE,QAAQ;IACrB,6BAA6B,EAAE,OAAO;IACtC,gBAAgB,EAAE,OAAO;IACzB,gBAAgB,EAAE,OAAO;IAEzB,aAAa;IACb,qBAAqB,EAAE,OAAO;IAC9B,IAAI,EAAE,OAAO;IACb,iBAAiB,EAAE,QAAQ;IAC3B,aAAa,EAAE,OAAO;IACtB,cAAc,EAAE,QAAQ;IACxB,OAAO,EAAE,OAAO;IAChB,sBAAsB,EAAE,OAAO;IAC/B,UAAU,EAAE,OAAO;IACnB,0BAA0B,EAAE,OAAO;IACnC,IAAI,EAAE,OAAO;IACb,MAAM,EAAE,OAAO;IAEf,cAAc;IACd,kBAAkB,EAAE,OAAO;IAC3B,UAAU,EAAE,OAAO;IAEnB,UAAU;IACV,gBAAgB,EAAE,QAAQ;IAC1B,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,QAAQ;IACtB,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,OAAO;IACnB,+BAA+B,EAAE,OAAO;IAExC,QAAQ;IACR,MAAM,EAAE,OAAO;IACf,kBAAkB,EAAE,QAAQ;IAC5B,yBAAyB,EAAE,QAAQ;IAEnC,aAAa;IACb,GAAG,EAAE,QAAQ;IAEb,SAAS;IACT,eAAe,EAAE,QAAQ;CACjB,CAAC"}
@@ -18,8 +18,9 @@ import {
18
18
  } from '%reactComponentsImports';
19
19
  import { useController } from 'react-hook-form';
20
20
 
21
- export interface EmbeddedListFieldProps<InputType>
22
- extends EmbeddedListInputProps<InputType> {
21
+ export interface EmbeddedListFieldProps<
22
+ InputType,
23
+ > extends EmbeddedListInputProps<InputType> {
23
24
  label?: React.ReactNode;
24
25
  }
25
26
 
@@ -42,16 +43,16 @@ interface EmbeddedListFieldControllerProps<
42
43
  TFieldValues extends FieldValues,
43
44
  TName extends FieldPath<TFieldValues>,
44
45
  > extends Omit<
45
- EmbeddedListFieldProps<
46
- Exclude<
47
- FieldPathValue<TFieldValues, TName>,
48
- undefined | null
49
- > extends (infer InputType)[]
50
- ? InputType
51
- : never
52
- >,
53
- 'onChange' | 'value' | 'error'
54
- > {
46
+ EmbeddedListFieldProps<
47
+ Exclude<
48
+ FieldPathValue<TFieldValues, TName>,
49
+ undefined | null
50
+ > extends (infer InputType)[]
51
+ ? InputType
52
+ : never
53
+ >,
54
+ 'onChange' | 'value' | 'error'
55
+ > {
55
56
  control: Control<TFieldValues>;
56
57
  name: TName;
57
58
  }
@@ -18,8 +18,9 @@ import {
18
18
  } from '%reactComponentsImports';
19
19
  import { useController } from 'react-hook-form';
20
20
 
21
- export interface EmbeddedObjectFieldProps<InputType>
22
- extends EmbeddedObjectInputProps<InputType> {
21
+ export interface EmbeddedObjectFieldProps<
22
+ InputType,
23
+ > extends EmbeddedObjectInputProps<InputType> {
23
24
  label?: React.ReactNode;
24
25
  }
25
26
 
@@ -42,9 +43,9 @@ interface EmbeddedObjectFieldControllerProps<
42
43
  TFieldValues extends FieldValues,
43
44
  TName extends FieldPath<TFieldValues>,
44
45
  > extends Omit<
45
- EmbeddedObjectFieldProps<FieldPathValue<TFieldValues, TName>>,
46
- 'onChange' | 'value' | 'error'
47
- > {
46
+ EmbeddedObjectFieldProps<FieldPathValue<TFieldValues, TName>>,
47
+ 'onChange' | 'value' | 'error'
48
+ > {
48
49
  control: Control<TFieldValues>;
49
50
  name: TName;
50
51
  }
@@ -217,7 +217,7 @@ export const adminCrudEditGenerator = createGenerator({
217
217
  query: ${editQueryVariable},
218
218
  variables: { id },
219
219
  })
220
- .then(({ data }) => (data?.${modelGraphqlById}.name ? data.${modelGraphqlById}.name : ${defaultCrumbExpression}))
220
+ .then(({ data }) => (data?.${modelGraphqlById}.${nameField} ? data.${modelGraphqlById}.${nameField} : ${defaultCrumbExpression}))
221
221
  .catch(() => ${defaultCrumbExpression})`,
222
222
  contextFields: ['apolloClient'],
223
223
  paramsFields: ['id'],