diff --git a/.changeset/olive-hounds-smile.md b/.changeset/olive-hounds-smile.md deleted file mode 100644 index eff568b..0000000 --- a/.changeset/olive-hounds-smile.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@repo/config': patch -'@repo/ui': patch ---- - -Fix dark mode and the touch target floor on native. - -The token variables move from an `@import`ed stylesheet into an `addBase` plugin, -which is the only ordering NativeWind accepts for `.dark:root` on native. Adds a -`minHeight` scale from the design system's `--target` tokens, and `@repo/ui`'s -Button now carries `min-h-target` so it meets the 44px floor. diff --git a/.changeset/tall-pears-invent.md b/.changeset/tall-pears-invent.md deleted file mode 100644 index 2b61b42..0000000 --- a/.changeset/tall-pears-invent.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'@repo/config': minor -'@repo/ui': minor ---- - -Drive all styling from the `@elirobinson/tokens` design system. - -`@repo/config/tailwind` is now generated from the design system's stylesheets by -`pnpm tokens:sync` rather than hand-written: 109 colours plus the spacing, -radius, type, weight, line-height, tracking, z-index, duration and container -scales. The mobile platform layer is the baseline, so radii and the small end of -the type ramp are the phone-tuned values. - -`@repo/ui`'s Button now names design system tokens (`bg-accent`, `text-fg`) -instead of the old ad-hoc `primary`/`gray` palette. Colours resolve through CSS -variables, so `dark:` variants swap real values. diff --git a/.changeset/wide-donkeys-shave.md b/.changeset/wide-donkeys-shave.md deleted file mode 100644 index 4d087f3..0000000 --- a/.changeset/wide-donkeys-shave.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'@repo/api-contracts': major -'@repo/config': major -'@repo/ui': major -'@repo/utils': major ---- - -Modernize the whole toolchain: Expo 57 (React 19.2, React Native 0.86), Prisma 7 -with a driver adapter, Zod 4, Fastify 5, TypeScript 6, ESLint 10, and pnpm 11. - -Breaking for consumers of these packages: - -- `@repo/ui` now requires React >= 19 and React Native >= 0.86. -- `@repo/api-contracts` emits Zod 4 schemas; `z.string().uuid()`/`.email()`/`.url()` - are now `z.uuid()`/`z.email()`/`z.url()`. -- `@repo/config`'s ESLint preset targets ESLint 10 flat config. diff --git a/apps/api/CHANGELOG.md b/apps/api/CHANGELOG.md new file mode 100644 index 0000000..f6bf6a1 --- /dev/null +++ b/apps/api/CHANGELOG.md @@ -0,0 +1,8 @@ +# api + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [942d63b] + - @repo/api-contracts@1.0.0 diff --git a/apps/api/package.json b/apps/api/package.json index 3c6cae8..ad6da00 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -1,6 +1,6 @@ { "name": "api", - "version": "0.0.0", + "version": "0.0.1", "private": true, "main": "./src/index.ts", "types": "./src/router.ts", diff --git a/apps/mobile-web/CHANGELOG.md b/apps/mobile-web/CHANGELOG.md new file mode 100644 index 0000000..76fef1d --- /dev/null +++ b/apps/mobile-web/CHANGELOG.md @@ -0,0 +1,11 @@ +# mobile-web + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [942d63b] +- Updated dependencies [942d63b] +- Updated dependencies [942d63b] + - @repo/ui@1.0.0 + - api@0.0.1 diff --git a/apps/mobile-web/package.json b/apps/mobile-web/package.json index 58c74c0..8bfa4e3 100644 --- a/apps/mobile-web/package.json +++ b/apps/mobile-web/package.json @@ -1,6 +1,6 @@ { "name": "mobile-web", - "version": "0.0.0", + "version": "0.0.1", "private": true, "main": "expo-router/entry", "scripts": { diff --git a/packages/api-contracts/CHANGELOG.md b/packages/api-contracts/CHANGELOG.md new file mode 100644 index 0000000..565232b --- /dev/null +++ b/packages/api-contracts/CHANGELOG.md @@ -0,0 +1,15 @@ +# @repo/api-contracts + +## 1.0.0 + +### Major Changes + +- 942d63b: Modernize the whole toolchain: Expo 57 (React 19.2, React Native 0.86), Prisma 7 + with a driver adapter, Zod 4, Fastify 5, TypeScript 6, ESLint 10, and pnpm 11. + + Breaking for consumers of these packages: + + - `@repo/ui` now requires React >= 19 and React Native >= 0.86. + - `@repo/api-contracts` emits Zod 4 schemas; `z.string().uuid()`/`.email()`/`.url()` + are now `z.uuid()`/`z.email()`/`z.url()`. + - `@repo/config`'s ESLint preset targets ESLint 10 flat config. diff --git a/packages/api-contracts/package.json b/packages/api-contracts/package.json index c985501..9cab758 100644 --- a/packages/api-contracts/package.json +++ b/packages/api-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@repo/api-contracts", - "version": "0.0.0", + "version": "1.0.0", "private": true, "main": "src/index.ts", "types": "src/index.ts", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md new file mode 100644 index 0000000..8eb74bb --- /dev/null +++ b/packages/config/CHANGELOG.md @@ -0,0 +1,38 @@ +# @repo/config + +## 1.0.0 + +### Major Changes + +- 942d63b: Modernize the whole toolchain: Expo 57 (React 19.2, React Native 0.86), Prisma 7 + with a driver adapter, Zod 4, Fastify 5, TypeScript 6, ESLint 10, and pnpm 11. + + Breaking for consumers of these packages: + + - `@repo/ui` now requires React >= 19 and React Native >= 0.86. + - `@repo/api-contracts` emits Zod 4 schemas; `z.string().uuid()`/`.email()`/`.url()` + are now `z.uuid()`/`z.email()`/`z.url()`. + - `@repo/config`'s ESLint preset targets ESLint 10 flat config. + +### Minor Changes + +- 942d63b: Drive all styling from the `@elirobinson/tokens` design system. + + `@repo/config/tailwind` is now generated from the design system's stylesheets by + `pnpm tokens:sync` rather than hand-written: 109 colours plus the spacing, + radius, type, weight, line-height, tracking, z-index, duration and container + scales. The mobile platform layer is the baseline, so radii and the small end of + the type ramp are the phone-tuned values. + + `@repo/ui`'s Button now names design system tokens (`bg-accent`, `text-fg`) + instead of the old ad-hoc `primary`/`gray` palette. Colours resolve through CSS + variables, so `dark:` variants swap real values. + +### Patch Changes + +- 942d63b: Fix dark mode and the touch target floor on native. + + The token variables move from an `@import`ed stylesheet into an `addBase` plugin, + which is the only ordering NativeWind accepts for `.dark:root` on native. Adds a + `minHeight` scale from the design system's `--target` tokens, and `@repo/ui`'s + Button now carries `min-h-target` so it meets the 44px floor. diff --git a/packages/config/package.json b/packages/config/package.json index 89531c0..5a8dbbb 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@repo/config", - "version": "0.0.0", + "version": "1.0.0", "private": true, "main": "index.js", "exports": { diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md new file mode 100644 index 0000000..42a4aa0 --- /dev/null +++ b/packages/ui/CHANGELOG.md @@ -0,0 +1,38 @@ +# @repo/ui + +## 1.0.0 + +### Major Changes + +- 942d63b: Modernize the whole toolchain: Expo 57 (React 19.2, React Native 0.86), Prisma 7 + with a driver adapter, Zod 4, Fastify 5, TypeScript 6, ESLint 10, and pnpm 11. + + Breaking for consumers of these packages: + + - `@repo/ui` now requires React >= 19 and React Native >= 0.86. + - `@repo/api-contracts` emits Zod 4 schemas; `z.string().uuid()`/`.email()`/`.url()` + are now `z.uuid()`/`z.email()`/`z.url()`. + - `@repo/config`'s ESLint preset targets ESLint 10 flat config. + +### Minor Changes + +- 942d63b: Drive all styling from the `@elirobinson/tokens` design system. + + `@repo/config/tailwind` is now generated from the design system's stylesheets by + `pnpm tokens:sync` rather than hand-written: 109 colours plus the spacing, + radius, type, weight, line-height, tracking, z-index, duration and container + scales. The mobile platform layer is the baseline, so radii and the small end of + the type ramp are the phone-tuned values. + + `@repo/ui`'s Button now names design system tokens (`bg-accent`, `text-fg`) + instead of the old ad-hoc `primary`/`gray` palette. Colours resolve through CSS + variables, so `dark:` variants swap real values. + +### Patch Changes + +- 942d63b: Fix dark mode and the touch target floor on native. + + The token variables move from an `@import`ed stylesheet into an `addBase` plugin, + which is the only ordering NativeWind accepts for `.dark:root` on native. Adds a + `minHeight` scale from the design system's `--target` tokens, and `@repo/ui`'s + Button now carries `min-h-target` so it meets the 44px floor. diff --git a/packages/ui/package.json b/packages/ui/package.json index 74a19ed..a6d5535 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@repo/ui", - "version": "0.0.0", + "version": "1.0.0", "private": true, "main": "src/index.ts", "types": "src/index.ts", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md new file mode 100644 index 0000000..73fb3e9 --- /dev/null +++ b/packages/utils/CHANGELOG.md @@ -0,0 +1,15 @@ +# @repo/utils + +## 1.0.0 + +### Major Changes + +- 942d63b: Modernize the whole toolchain: Expo 57 (React 19.2, React Native 0.86), Prisma 7 + with a driver adapter, Zod 4, Fastify 5, TypeScript 6, ESLint 10, and pnpm 11. + + Breaking for consumers of these packages: + + - `@repo/ui` now requires React >= 19 and React Native >= 0.86. + - `@repo/api-contracts` emits Zod 4 schemas; `z.string().uuid()`/`.email()`/`.url()` + are now `z.uuid()`/`z.email()`/`z.url()`. + - `@repo/config`'s ESLint preset targets ESLint 10 flat config. diff --git a/packages/utils/package.json b/packages/utils/package.json index 618c36a..486e23c 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@repo/utils", - "version": "0.0.0", + "version": "1.0.0", "private": true, "main": "src/index.ts", "types": "src/index.ts",