@powerlines/plugin-tamagui 0.1.667 → 0.1.669

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/README.md +39 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -74,6 +74,45 @@ A package containing the [Tamagui](https://tamagui.dev/) plugin for Powerlines.
74
74
 
75
75
  <!-- END doctoc -->
76
76
 
77
+ ## Features
78
+
79
+ - Compiles [Tamagui](https://tamagui.dev/) components for Powerlines projects
80
+ - Supplies default Tamagui configuration through the `config` hook
81
+ - Targets the `web` platform by default, with `native` available
82
+ - Resolves platform and component paths through the `configResolved` hook
83
+
84
+ ## Usage
85
+
86
+ Install the plugin:
87
+
88
+ ```bash
89
+ pnpm add @powerlines/plugin-tamagui
90
+ ```
91
+
92
+ Register it in `powerlines.config.ts`:
93
+
94
+ ```ts
95
+ import { plugin as tamagui } from "@powerlines/plugin-tamagui";
96
+ import { defineConfig } from "powerlines/config";
97
+
98
+ export default defineConfig({
99
+ plugins: [tamagui()]
100
+ });
101
+ ```
102
+
103
+ To target native with explicit component paths:
104
+
105
+ ```ts
106
+ export default defineConfig({
107
+ plugins: [
108
+ tamagui({
109
+ platform: "native",
110
+ components: ["{root}/src/components"]
111
+ })
112
+ ]
113
+ });
114
+ ```
115
+
77
116
  ## Installing
78
117
 
79
118
  Using [pnpm](http://pnpm.io):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-tamagui",
3
- "version": "0.1.667",
3
+ "version": "0.1.669",
4
4
  "private": false,
5
5
  "description": "A package containing the Tamagui plugin for Powerlines.",
6
6
  "keywords": ["tamagui", "powerlines", "storm-software", "powerlines-plugin"],
@@ -90,7 +90,7 @@
90
90
  "typings": "dist/index.d.mts",
91
91
  "files": ["dist/**/*"],
92
92
  "dependencies": {
93
- "@powerlines/plugin-vite": "^0.14.669",
93
+ "@powerlines/plugin-vite": "^0.14.671",
94
94
  "@stryke/fs": "^0.33.118",
95
95
  "@stryke/hash": "^0.13.71",
96
96
  "@stryke/path": "^0.29.43",
@@ -98,14 +98,14 @@
98
98
  "@tamagui/static-worker": "^1.144.4",
99
99
  "@tamagui/types": "^1.144.4",
100
100
  "defu": "^6.1.7",
101
- "powerlines": "^0.47.215",
101
+ "powerlines": "^0.47.217",
102
102
  "typescript": "^6.0.3",
103
103
  "vite": "^8.3.5"
104
104
  },
105
105
  "devDependencies": {
106
- "@powerlines/plugin-plugin": "^0.12.628",
106
+ "@powerlines/plugin-plugin": "^0.12.630",
107
107
  "@types/node": "^25.9.9"
108
108
  },
109
109
  "publishConfig": { "access": "public" },
110
- "gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
110
+ "gitHead": "bb4e1f2b32a8bb9d20559ca7c3df3a2f30a0d14e"
111
111
  }