Skip to content

chore: release package - #344

Merged
ceceppa merged 1 commit into
mainfrom
changeset-release/main
Sep 7, 2026
Merged

ceceppa merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@react-native-ama/animations@2.0.0

Major Changes

  • v2.0 release: removes @react-native-ama/internal (inlined into each consuming package) and retires @react-native-ama/react-native. Restructures ama.config.jsonhighlight becomes a nested object (mode, borderWidth, gap); log is removed as a standalone key; checks scopes feature gates and delay. Adds the new @react-native-ama/bottom-sheet package. (#327)

Patch Changes

@react-native-ama/bottom-sheet@2.0.0

Major Changes

  • v2.0 release: removes @react-native-ama/internal (inlined into each consuming package) and retires @react-native-ama/react-native. Restructures ama.config.jsonhighlight becomes a nested object (mode, borderWidth, gap); log is removed as a standalone key; checks scopes feature gates and delay. Adds the new @react-native-ama/bottom-sheet package. (#327)

Patch Changes

@react-native-ama/core@2.0.0

Major Changes

  • v2.0 release: removes @react-native-ama/internal (inlined into each consuming package) and retires @react-native-ama/react-native. Restructures ama.config.jsonhighlight becomes a nested object (mode, borderWidth, gap); log is removed as a standalone key; checks scopes feature gates and delay. Adds the new @react-native-ama/bottom-sheet package. (#327)

Patch Changes

  • fix: packaging bugs breaking real external installs (all pre-date this fix, invisible in the monorepo since the source files are always present on disk there regardless of npm's files allowlist): (#339)

    • Critical: the native module didn't work at all for any external consumer — ios/, android/, and expo-module.config.json were never listed in package.json's files array, so no native source and no Expo autolinking manifest were ever published. Consumers hit Error: Cannot find native module 'ReactNativeAma' at runtime, since there was nothing for Expo's autolinking to discover or compile in. Added all three to files (excluding local android/build Gradle artifacts via a !android/build negation).
    • Critical: once the native module could be found, calling AMAProvider/start() crashed the app on iOS with a JSI assertion failure (Assertion failed: (runtime.isArray(*this))). iOS's Function("start") declared its parameter as [Any] (array), but JS calls start({...}) with a single object — Android's equivalent already correctly declared Map<String, Any?>?. Fixed iOS to declare [String: Any]?, matching both Android and the rest of iOS's own functions (e.g. highlight's explicit typed params).
    • Metro bundling failed with Unable to resolve "./../../ama.config.json" for any consumer, since ama.config.json (the package's own bundled default config, required directly from src/internals/config.ts) was never listed in files either.
    • Editor autocomplete for imports from @react-native-ama/core didn't work in consuming projects, since the package relied entirely on the conditional exports map for type resolution with no top-level types field as a fallback — editors/tsconfigs that don't fully resolve conditional exports types couldn't find any type info at all. Added a top-level "types": "./dist/index.d.ts".
  • fix: export for repack (#328)

  • fix: postinstall script crashed on every external install with Cannot find module './../dist/scripts/create-config.js'. create-config.ts lived outside src/, so tsconfig.build.json (which only compiles src/**/*) never built it into dist/scripts/create-config.js. Moved the script into src/scripts/ so it's included in the normal build. Only reproduces for real external installs — the monorepo's own dev loop skips this code path via postinstall.js's isMonorepo guard, which is why it wasn't caught before publishing 2.0.0-beta.0. (#337)

@react-native-ama/forms@2.0.0

Major Changes

  • v2.0 release: removes @react-native-ama/internal (inlined into each consuming package) and retires @react-native-ama/react-native. Restructures ama.config.jsonhighlight becomes a nested object (mode, borderWidth, gap); log is removed as a standalone key; checks scopes feature gates and delay. Adds the new @react-native-ama/bottom-sheet package. (#327)

Patch Changes

@react-native-ama/lists@2.0.0

Major Changes

  • v2.0 release: removes @react-native-ama/internal (inlined into each consuming package) and retires @react-native-ama/react-native. Restructures ama.config.jsonhighlight becomes a nested object (mode, borderWidth, gap); log is removed as a standalone key; checks scopes feature gates and delay. Adds the new @react-native-ama/bottom-sheet package. (#327)

Patch Changes

@vercel

vercel Bot commented Sep 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-native-ama Ready Ready Preview Sep 7, 2026 10:31am UTC

Request Review

@ceceppa
ceceppa merged commit 70ccee2 into main Sep 7, 2026
2 checks passed
@ceceppa
ceceppa deleted the changeset-release/main branch September 7, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant