Skip to content

v0.8.0

Choose a tag to compare

@joshstovall joshstovall released this 29 Mar 03:44
· 27 commits to main since this release

Breaking Changes

Monorepo Restructure

The repository layout has been reorganized for clarity and scalability:

  • ui/packages/ui/
  • charts/packages/charts/
  • docs/apps/platform-blocks.com/

Migration: Update any local scripts, CI pipelines, or tooling that reference the old paths. All internal references (tsconfig paths, metro config, workspace definitions, build scripts, CI workflows) have been updated.

Workspace References

npm workspace names now use directory-based paths:

// Before
"workspaces": ["ui", "docs", "charts", "icons", "packages/create-platform-blocks"]

// After
"workspaces": ["packages/ui", "packages/charts", "apps/platform-blocks.com", "packages/create-platform-blocks"]

Scripts that used --workspace=ui, --workspace=docs, or --workspace=charts now use --workspace=packages/ui, --workspace=apps/platform-blocks.com, and --workspace=packages/charts respectively.

Improvements

Dependency Alignment (Expo SDK 55)

All packages are now aligned to Expo SDK 55 expected versions, eliminating the Metro Bundler compatibility warnings:

Package From To
expo 55.0.0-preview.7 ~55.0.9
react-native 0.83.1 0.83.2
react-native-svg 15.15.1 15.15.3
react-native-safe-area-context ~5.6.0 ~5.6.2
react-native-screens ~4.20.0 ~4.23.0
react-native-reanimated ~4.2.1 4.2.1
@types/react-dom ~19.2.2 ~19.1.7

Charts Test Stack Upgrade

Aligned @platform-blocks/charts testing dependencies to match @platform-blocks/ui:

Package From To
jest ^29.7.0 ^30.2.0
babel-jest ^29.7.0 ^30.2.0
@types/jest ^29.5.12 ^30.0.0
@testing-library/react-native ^12.4.3 ^13.3.0
@rollup/plugin-commonjs ^28.0.1 ^29.0.0

UI Expo DevDependency Alignment

The @platform-blocks/ui package previously referenced legacy Expo module versions as devDependencies. These are now pinned to SDK 55:

  • expo-audio ^1.1.0 → ~55.0.2
  • expo-document-picker ^14.0.0 → ~55.0.2
  • expo-haptics ^15.0.0 → ~55.0.2
  • expo-linear-gradient ^15.0.0 → ~55.0.2
  • expo-status-bar ^3.0.0 → ~55.0.2
  • jest-expo ^54.0.0 → ~55.0.0

Other Package Updates

  • @shopify/flash-list 2.0.2 → 2.3.1

Deprecated Package Removal

Removed deprecated packages from @platform-blocks/charts:

  • @testing-library/jest-native — superseded by built-in matchers in @testing-library/react-native 12.4+
  • metro-react-native-babel-preset — superseded by @react-native/babel-preset

Stale Workspace Cleanup

Removed the icons workspace entry from the root package.json (directory did not exist).

Infrastructure

CI/CD Updates

  • GitHub Actions deploy workflow updated for new directory structure
  • Playwright config updated to reference apps/platform-blocks.com/
  • EAS build post-install script updated for new nesting depth

Script Path Updates

All root-level scripts (generate-demos, validate-demos, generate-llms, generate-sitemap, scan-i18n-keys, publish-release) updated to resolve packages and app directories from the new layout.