alouette 19.0.0-beta.2 → 19.0.0-beta.3

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 (2) hide show
  1. package/metro.cjs +9 -0
  2. package/package.json +3 -2
package/metro.cjs ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ const { withNativewind } = require("nativewind/metro");
4
+
5
+ // NativeWind v5 discovers themes/utilities from the imported global.css and
6
+ // scans sources via @source directives — no cssEntryFile/extraThemes needed.
7
+ // The CSS entry is loaded by importing "alouette/global.css" in the app.
8
+ exports.withAlouetteConfig = (metroConfig, options) =>
9
+ withNativewind(metroConfig, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alouette",
3
- "version": "19.0.0-beta.2",
3
+ "version": "19.0.0-beta.3",
4
4
  "description": "A modern, customizable design system built on top of Tamagui with configurable defaults",
5
5
  "keywords": [
6
6
  "tanstack-intent"
@@ -50,7 +50,8 @@
50
50
  "files": [
51
51
  "src",
52
52
  "dist",
53
- "skills"
53
+ "skills",
54
+ "metro.cjs"
54
55
  ],
55
56
  "scripts": {
56
57
  "build": "yarn run build:css && yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",