@tamagui/types 1.14.9 → 1.15.0

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/package.json +1 -1
  2. package/types.d.ts +32 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/types",
3
- "version": "1.14.9",
3
+ "version": "1.15.0",
4
4
  "types": "./types.d.ts",
5
5
  "files": [
6
6
  "types.d.ts"
package/types.d.ts CHANGED
@@ -73,3 +73,35 @@ export interface TamaguiOptions {
73
73
  inlineProps?: Set<string>
74
74
  forceExtractStyleDefinitions?: boolean
75
75
  }
76
+
77
+ // for cli
78
+
79
+ export type CLIUserOptions = {
80
+ root?: string
81
+ host?: string
82
+ tsconfigPath?: string
83
+ tamaguiOptions: Partial<TamaguiOptions>
84
+ debug?: boolean | 'verbose'
85
+ }
86
+
87
+ export type CLIResolvedOptions = {
88
+ root: string
89
+ port?: number
90
+ host?: string
91
+ mode: 'development' | 'production'
92
+ debug?: UserOptions['debug']
93
+ tsconfigPath: string
94
+ tamaguiOptions: TamaguiOptions
95
+ pkgJson: {
96
+ name?: string
97
+ main?: string
98
+ module?: string
99
+ source?: string
100
+ exports?: Record<string, Record<string, string>>
101
+ }
102
+ paths: {
103
+ dotDir: string
104
+ conf: string
105
+ types: string
106
+ }
107
+ }