@yahoo/uds 0.1.11 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/README.md +135 -0
- package/cli/commands/config/config.ts +10 -0
- package/cli/commands/config/sync.ts +22 -0
- package/cli/commands/expo/_setup.ts +260 -0
- package/cli/commands/expo/build.ts +15 -0
- package/cli/commands/expo/dev.ts +79 -0
- package/cli/commands/expo/expo.ts +23 -0
- package/cli/commands/expo/launch.ts +15 -0
- package/cli/commands/expo/update.ts +16 -0
- package/cli/commands/nextjs/dev.ts +17 -0
- package/cli/commands/nextjs/nextjs.ts +10 -0
- package/cli/commands/uds.ts +10 -0
- package/cli/commands/version.ts +11 -0
- package/cli/env.d.ts +15 -0
- package/cli/eslint.config.mjs +8 -0
- package/cli/tsconfig.json +10 -0
- package/cli/uds-cli +7 -0
- package/cli/utils/configWorker.ts +9 -0
- package/cli/utils/getCommandHelp.ts +65 -0
- package/cli/utils/setupConfigWorker.ts +81 -0
- package/cli/utils/sortKeys.ts +27 -0
- package/cli/utils/types.ts +13 -0
- package/dist/chunk-3I3D5S54.js +1 -0
- package/dist/chunk-74YHFBTD.js +1 -0
- package/dist/chunk-AWTLI4D3.js +1 -0
- package/dist/chunk-D4K3CXV6.js +0 -0
- package/dist/chunk-M346JMQS.js +0 -0
- package/dist/chunk-MBOOJIH7.js +1 -0
- package/dist/chunk-MFA2Y7DA.js +1 -0
- package/dist/chunk-P7GR6E3K.js +1 -0
- package/dist/chunk-PQBOZFJV.js +1 -0
- package/dist/chunk-WYDHNV42.js +1 -0
- package/dist/fixtures/index.cjs +1 -0
- package/dist/fixtures/index.d.cts +141 -0
- package/dist/fixtures/index.d.ts +141 -0
- package/dist/fixtures/index.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +62 -93
- package/dist/index.d.ts +62 -93
- package/dist/index.js +1 -1
- package/dist/index.native-3ww4C4UV.d.cts +15 -0
- package/dist/index.native-9kYJrUPa.d.ts +15 -0
- package/dist/index.native.cjs +1 -0
- package/dist/index.native.d.cts +1493 -0
- package/dist/index.native.d.ts +1493 -0
- package/dist/index.native.js +1 -0
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +2 -1
- package/dist/tailwindPlugin.d.ts +2 -1
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tokens/index.cjs +1 -0
- package/dist/tokens/index.d.cts +39 -0
- package/dist/tokens/index.d.ts +39 -0
- package/dist/tokens/index.js +1 -0
- package/dist/tokens/index.native.cjs +1 -0
- package/dist/tokens/index.native.d.cts +3 -0
- package/dist/tokens/index.native.d.ts +3 -0
- package/dist/tokens/index.native.js +1 -0
- package/dist/tokens/parseTokens.cjs +1 -0
- package/dist/tokens/parseTokens.d.cts +85 -0
- package/dist/tokens/parseTokens.d.ts +85 -0
- package/dist/tokens/parseTokens.js +1 -0
- package/dist/tokens/parseTokens.native.cjs +1 -0
- package/dist/tokens/parseTokens.native.d.cts +416 -0
- package/dist/tokens/parseTokens.native.d.ts +416 -0
- package/dist/tokens/parseTokens.native.js +1 -0
- package/dist/types-J4DLS6Xj.d.cts +38 -0
- package/dist/types-J4DLS6Xj.d.ts +38 -0
- package/dist/types-hirL9Qk5.d.cts +510 -0
- package/dist/types-hirL9Qk5.d.ts +510 -0
- package/fonts/mobile.cjs +29 -0
- package/fonts/mobile.d.ts +3 -0
- package/fonts/yahoo-icons.ttf +0 -0
- package/fonts/yahoo-sans-beta-bold.otf +0 -0
- package/fonts/yahoo-sans-beta-medium.otf +0 -0
- package/fonts/yahoo-sans-beta-regular.otf +0 -0
- package/fonts/yahoo-sans-black.otf +0 -0
- package/fonts/yahoo-sans-bold.otf +0 -0
- package/fonts/yahoo-sans-condensed-black.otf +0 -0
- package/fonts/yahoo-sans-condensed-bold.otf +0 -0
- package/fonts/yahoo-sans-condensed-light.otf +0 -0
- package/fonts/yahoo-sans-condensed-medium.otf +0 -0
- package/fonts/yahoo-sans-condensed-regular.otf +0 -0
- package/fonts/yahoo-sans-extrabold.otf +0 -0
- package/fonts/yahoo-sans-extralight.otf +0 -0
- package/fonts/yahoo-sans-italic.otf +0 -0
- package/fonts/yahoo-sans-light.otf +0 -0
- package/fonts/yahoo-sans-medium.otf +0 -0
- package/fonts/yahoo-sans-regular.otf +0 -0
- package/fonts/yahoo-sans-semibold.otf +0 -0
- package/fonts/yahoo-serif-display-black.otf +0 -0
- package/fonts/yahoo-serif-display-bold.otf +0 -0
- package/fonts/yahoo-serif-display-extrabold.otf +0 -0
- package/fonts/yahoo-serif-display-light.otf +0 -0
- package/fonts/yahoo-serif-display-regular.otf +0 -0
- package/fonts/yahoo-serif-text-bold.otf +0 -0
- package/fonts/yahoo-serif-text-italic.otf +0 -0
- package/fonts/yahoo-serif-text-regular.otf +0 -0
- package/package.json +130 -35
- package/bin/uds +0 -0
package/package.json
CHANGED
@@ -1,39 +1,100 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yahoo/uds",
|
3
|
-
"
|
3
|
+
"description": "Yahoo Universal System",
|
4
|
+
"version": "0.1.13",
|
4
5
|
"type": "module",
|
5
|
-
"
|
6
|
+
"bin": {
|
7
|
+
"uds": "./cli/uds-cli"
|
8
|
+
},
|
6
9
|
"files": [
|
10
|
+
"cli/**",
|
7
11
|
"dist/**",
|
12
|
+
"fonts/**",
|
8
13
|
"package.json"
|
9
14
|
],
|
15
|
+
"sideEffects": false,
|
10
16
|
"exports": {
|
11
17
|
".": {
|
12
|
-
"
|
13
|
-
|
14
|
-
|
15
|
-
|
18
|
+
"react-native": {
|
19
|
+
"types": "./dist/index.native.d.ts",
|
20
|
+
"require": "./dist/index.native.cjs",
|
21
|
+
"default": "./dist/index.native.js"
|
22
|
+
},
|
23
|
+
"import": {
|
24
|
+
"types": "./dist/index.d.ts",
|
25
|
+
"default": "./dist/index.js"
|
26
|
+
},
|
27
|
+
"require": {
|
28
|
+
"types": "./dist/index.d.cts",
|
29
|
+
"default": "./dist/index.cjs"
|
30
|
+
}
|
16
31
|
},
|
17
32
|
"./tailwindPlugin": {
|
18
|
-
"
|
19
|
-
|
20
|
-
|
21
|
-
|
33
|
+
"import": {
|
34
|
+
"types": "./dist/tailwindPlugin.d.ts",
|
35
|
+
"default": "./dist/tailwindPlugin.js"
|
36
|
+
},
|
37
|
+
"require": {
|
38
|
+
"types": "./dist/tailwindPlugin.d.cts",
|
39
|
+
"default": "./dist/tailwindPlugin.cjs"
|
40
|
+
}
|
41
|
+
},
|
42
|
+
"./fixtures": {
|
43
|
+
"import": {
|
44
|
+
"types": "./dist/fixtures/index.d.ts",
|
45
|
+
"default": "./dist/fixtures/index.js"
|
46
|
+
},
|
47
|
+
"require": {
|
48
|
+
"types": "./dist/tailwindPlugin.cjs",
|
49
|
+
"default": "./dist/fixtures/index.cjs"
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"./fonts/*.otf": "./fonts/*.otf",
|
53
|
+
"./fonts/*.ttf": "./fonts/*.ttf",
|
54
|
+
"./fonts/*.woff2": "./fonts/*.woff2",
|
55
|
+
"./fonts/*": {
|
56
|
+
"types": "./fonts/*.d.ts",
|
57
|
+
"require": "./fonts/*.cjs"
|
58
|
+
},
|
59
|
+
"./tokens": {
|
60
|
+
"import": {
|
61
|
+
"types": "./dist/tokens/index.d.ts",
|
62
|
+
"default": "./dist/tokens/index.js"
|
63
|
+
},
|
64
|
+
"require": {
|
65
|
+
"types": "./dist/tokens/index.d.cts",
|
66
|
+
"default": "./dist/tokens/index.cjs"
|
67
|
+
}
|
68
|
+
},
|
69
|
+
"./tokens/parseTokens": {
|
70
|
+
"react-native": {
|
71
|
+
"types": "./dist/tokens/parseTokens.native.d.ts",
|
72
|
+
"require": "./dist/tokens/parseTokens.native.cjs",
|
73
|
+
"default": "./dist/tokens/parseTokens.native.js"
|
74
|
+
},
|
75
|
+
"import": {
|
76
|
+
"types": "./dist/tokens/parseTokens.d.ts",
|
77
|
+
"default": "./dist/tokens/parseTokens.js"
|
78
|
+
},
|
79
|
+
"require": {
|
80
|
+
"types": "./dist/tokens/parseTokens.d.cts",
|
81
|
+
"default": "./dist/tokens/parseTokens.cjs"
|
82
|
+
}
|
22
83
|
},
|
23
84
|
"./styles/*": "./dist/styles/*",
|
24
85
|
"./package.json": "./package.json"
|
25
86
|
},
|
26
87
|
"scripts": {
|
27
|
-
"build": "bun run build:fontcss && tsup",
|
28
|
-
"build:cli": "bun run ./scripts/buildCli.ts",
|
88
|
+
"build": "bun run build:fontcss && bun run build:fixtures && tsup",
|
29
89
|
"build:css": "tailwindcss --input ./src/tailwind/uds.css --output ./generated/uds.css --config ./src/tailwind/tailwind.config.ts",
|
90
|
+
"build:fixtures": "bun run ./scripts/buildFixtures.ts",
|
30
91
|
"build:fontcss": "tsx ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
|
31
92
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
32
93
|
"dev": "concurrently bun:dev:*",
|
33
|
-
"dev:cli": "bun run ./scripts/buildCli.ts --watch",
|
34
94
|
"dev:fontcss": "tsx watch --clear-screen=false ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
|
35
95
|
"dev:ts": "tsup --watch",
|
36
96
|
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.mjs .",
|
97
|
+
"lint:pkg": "bun publint",
|
37
98
|
"test": "vitest run",
|
38
99
|
"test:coverage": "vitest run --coverage",
|
39
100
|
"test:ui": "vitest --ui --coverage",
|
@@ -45,41 +106,75 @@
|
|
45
106
|
},
|
46
107
|
"dependencies": {
|
47
108
|
"@ariakit/react": "^0.4.0",
|
48
|
-
"@
|
49
|
-
"
|
109
|
+
"@expo/eas-json": "^7.1.0",
|
110
|
+
"bluebun": "0.0.34",
|
50
111
|
"clsx": "^2.1.0",
|
51
112
|
"react-toastify": "^9.1.3",
|
52
|
-
"tailwind-merge": "^2.2.1"
|
53
|
-
"tailwindcss": "^3.4.1"
|
113
|
+
"tailwind-merge": "^2.2.1"
|
54
114
|
},
|
55
115
|
"devDependencies": {
|
116
|
+
"@gorhom/bottom-sheet": "^4.6.0",
|
117
|
+
"@react-navigation/native": "^6.0.2",
|
56
118
|
"@types/react": "^18.2.48",
|
57
119
|
"@types/react-dom": "^18.2.18",
|
58
|
-
"bluebun": "0.0.34",
|
59
120
|
"concurrently": "^8.2.2",
|
60
|
-
"
|
61
|
-
"
|
121
|
+
"expo-constants": "^15.4.5",
|
122
|
+
"expo-image": "^1.10.4",
|
123
|
+
"expo-status-bar": "^1.11.1",
|
62
124
|
"react": "^18.2.0",
|
63
125
|
"react-dom": "^18.2.0",
|
126
|
+
"react-native": "^0.73.2",
|
127
|
+
"react-native-safe-area-context": "^4.8.2",
|
64
128
|
"shared": "workspace:*",
|
65
129
|
"tsconfig": "workspace:*",
|
66
130
|
"tsup": "^8.0.1",
|
67
|
-
"tsx": "^4.7.0"
|
68
|
-
"typescript": "^5.3.3"
|
131
|
+
"tsx": "^4.7.0"
|
69
132
|
},
|
70
133
|
"peerDependencies": {
|
71
|
-
"@gorhom/bottom-sheet": "4.
|
72
|
-
"
|
73
|
-
"expo-
|
74
|
-
"expo-
|
75
|
-
"
|
76
|
-
"react
|
77
|
-
|
78
|
-
|
79
|
-
"
|
134
|
+
"@gorhom/bottom-sheet": "^4.6.0",
|
135
|
+
"@react-navigation/native": "^6.0.2",
|
136
|
+
"expo-constants": "^15.4.5",
|
137
|
+
"expo-image": "^1.10.4",
|
138
|
+
"expo-status-bar": "^1.11.1",
|
139
|
+
"react": "^18.2.0",
|
140
|
+
"react-dom": "^18.2.0",
|
141
|
+
"react-native": "^0.73.2",
|
142
|
+
"react-native-safe-area-context": "^4.8.2",
|
143
|
+
"tailwindcss": "^3.4.1"
|
80
144
|
},
|
81
|
-
"
|
82
|
-
|
83
|
-
|
84
|
-
|
145
|
+
"peerDependenciesMeta": {
|
146
|
+
"@expo/eas-json": {
|
147
|
+
"optional": true
|
148
|
+
},
|
149
|
+
"@gorhom/bottom-sheet": {
|
150
|
+
"optional": true
|
151
|
+
},
|
152
|
+
"@react-navigation/native": {
|
153
|
+
"optional": true
|
154
|
+
},
|
155
|
+
"expo-constants": {
|
156
|
+
"optional": true
|
157
|
+
},
|
158
|
+
"expo-image": {
|
159
|
+
"optional": true
|
160
|
+
},
|
161
|
+
"expo-status-bar": {
|
162
|
+
"optional": true
|
163
|
+
},
|
164
|
+
"react": {
|
165
|
+
"optional": false
|
166
|
+
},
|
167
|
+
"react-dom": {
|
168
|
+
"optional": true
|
169
|
+
},
|
170
|
+
"react-native": {
|
171
|
+
"optional": true
|
172
|
+
},
|
173
|
+
"react-native-safe-area-context": {
|
174
|
+
"optional": true
|
175
|
+
},
|
176
|
+
"tailwindcss": {
|
177
|
+
"optional": true
|
178
|
+
}
|
179
|
+
}
|
85
180
|
}
|
package/bin/uds
DELETED
Binary file
|