@yahoo/uds 0.1.13 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/README.md +57 -5
- package/cli/commands/expo/_setup.ts +100 -73
- package/cli/commands/expo/build.ts +84 -3
- package/cli/commands/expo/dev.ts +51 -41
- package/cli/commands/expo/install/cocoapods.rb +35 -0
- package/cli/commands/purge.ts +15 -0
- package/cli/commands/{config/sync.ts → sync.ts} +2 -2
- package/cli/utils/configWorker.ts +21 -1
- package/cli/utils/purgeCSS.ts +139 -0
- package/cli/utils/setupConfigWorker.ts +12 -13
- package/dist/{chunk-P7GR6E3K.js → chunk-AHFH5E5L.js} +1 -1
- package/dist/{chunk-MBOOJIH7.js → chunk-FLBMVDKG.js} +1 -1
- package/dist/{chunk-AWTLI4D3.js → chunk-U3UPAQ7V.js} +1 -1
- package/dist/fixtures/index.cjs +1 -1
- package/dist/fixtures/index.d.cts +2 -2
- package/dist/fixtures/index.d.ts +2 -2
- package/dist/fixtures/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +40 -31
- package/dist/index.d.ts +40 -31
- package/dist/index.js +1 -1
- package/dist/{index.native-9kYJrUPa.d.ts → index.native-TvtXtTXg.d.ts} +2 -2
- package/dist/{index.native-3ww4C4UV.d.cts → index.native-dgGFONLf.d.cts} +2 -2
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +10 -24
- package/dist/index.native.d.ts +10 -24
- package/dist/index.native.js +1 -1
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +1 -1
- package/dist/tailwindPlugin.d.ts +1 -1
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tailwindPurge.cjs +4 -0
- package/dist/tailwindPurge.d.cts +16 -0
- package/dist/tailwindPurge.d.ts +16 -0
- package/dist/tailwindPurge.js +4 -0
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +3 -3
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/index.native.cjs +1 -1
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/index.native.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +12 -12
- package/dist/tokens/parseTokens.d.ts +12 -12
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/tokens/parseTokens.native.d.cts +2 -2
- package/dist/tokens/parseTokens.native.d.ts +2 -2
- package/dist/{types-J4DLS6Xj.d.cts → types-3GXulqnG.d.cts} +1 -1
- package/dist/{types-J4DLS6Xj.d.ts → types-3GXulqnG.d.ts} +1 -1
- package/dist/{types-hirL9Qk5.d.cts → types-8OHfDki5.d.cts} +47 -54
- package/dist/{types-hirL9Qk5.d.ts → types-8OHfDki5.d.ts} +47 -54
- package/package.json +21 -18
- package/cli/commands/config/config.ts +0 -10
- package/cli/commands/nextjs/dev.ts +0 -17
- package/cli/commands/nextjs/nextjs.ts +0 -10
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yahoo/uds",
|
3
3
|
"description": "Yahoo Universal System",
|
4
|
-
"version": "0.1.
|
4
|
+
"version": "0.1.15",
|
5
5
|
"type": "module",
|
6
6
|
"bin": {
|
7
7
|
"uds": "./cli/uds-cli"
|
@@ -39,13 +39,23 @@
|
|
39
39
|
"default": "./dist/tailwindPlugin.cjs"
|
40
40
|
}
|
41
41
|
},
|
42
|
+
"./tailwindPurge": {
|
43
|
+
"import": {
|
44
|
+
"types": "./dist/tailwindPurge.d.ts",
|
45
|
+
"default": "./dist/tailwindPurge.js"
|
46
|
+
},
|
47
|
+
"require": {
|
48
|
+
"types": "./dist/tailwindPurge.cjs",
|
49
|
+
"default": "./dist/tailwindPurge.cjs"
|
50
|
+
}
|
51
|
+
},
|
42
52
|
"./fixtures": {
|
43
53
|
"import": {
|
44
54
|
"types": "./dist/fixtures/index.d.ts",
|
45
55
|
"default": "./dist/fixtures/index.js"
|
46
56
|
},
|
47
57
|
"require": {
|
48
|
-
"types": "./dist/
|
58
|
+
"types": "./dist/fixtures/index.cjs",
|
49
59
|
"default": "./dist/fixtures/index.cjs"
|
50
60
|
}
|
51
61
|
},
|
@@ -85,13 +95,16 @@
|
|
85
95
|
"./package.json": "./package.json"
|
86
96
|
},
|
87
97
|
"scripts": {
|
88
|
-
"build": "bun run
|
98
|
+
"build": "bun run ./scripts/buildScripts.ts && tsup",
|
89
99
|
"build:css": "tailwindcss --input ./src/tailwind/uds.css --output ./generated/uds.css --config ./src/tailwind/tailwind.config.ts",
|
90
100
|
"build:fixtures": "bun run ./scripts/buildFixtures.ts",
|
91
|
-
"build:fontcss": "
|
101
|
+
"build:fontcss": "bun run ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
|
102
|
+
"build:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts",
|
92
103
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
93
104
|
"dev": "concurrently bun:dev:*",
|
94
|
-
"dev:
|
105
|
+
"dev:fixtures": "bun run ./scripts/buildFixtures.ts --watch",
|
106
|
+
"dev:fontcss": "bun run --watch --clear-screen=false ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
|
107
|
+
"dev:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts --watch",
|
95
108
|
"dev:ts": "tsup --watch",
|
96
109
|
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.mjs .",
|
97
110
|
"lint:pkg": "bun publint",
|
@@ -109,22 +122,15 @@
|
|
109
122
|
"@expo/eas-json": "^7.1.0",
|
110
123
|
"bluebun": "0.0.34",
|
111
124
|
"clsx": "^2.1.0",
|
125
|
+
"fast-glob": "^3.3.2",
|
112
126
|
"react-toastify": "^9.1.3",
|
113
|
-
"tailwind-merge": "^2.2.1"
|
127
|
+
"tailwind-merge": "^2.2.1",
|
128
|
+
"ts-morph": "^21.0.1"
|
114
129
|
},
|
115
130
|
"devDependencies": {
|
116
|
-
"@gorhom/bottom-sheet": "^4.6.0",
|
117
|
-
"@react-navigation/native": "^6.0.2",
|
118
131
|
"@types/react": "^18.2.48",
|
119
132
|
"@types/react-dom": "^18.2.18",
|
120
133
|
"concurrently": "^8.2.2",
|
121
|
-
"expo-constants": "^15.4.5",
|
122
|
-
"expo-image": "^1.10.4",
|
123
|
-
"expo-status-bar": "^1.11.1",
|
124
|
-
"react": "^18.2.0",
|
125
|
-
"react-dom": "^18.2.0",
|
126
|
-
"react-native": "^0.73.2",
|
127
|
-
"react-native-safe-area-context": "^4.8.2",
|
128
134
|
"shared": "workspace:*",
|
129
135
|
"tsconfig": "workspace:*",
|
130
136
|
"tsup": "^8.0.1",
|
@@ -143,9 +149,6 @@
|
|
143
149
|
"tailwindcss": "^3.4.1"
|
144
150
|
},
|
145
151
|
"peerDependenciesMeta": {
|
146
|
-
"@expo/eas-json": {
|
147
|
-
"optional": true
|
148
|
-
},
|
149
152
|
"@gorhom/bottom-sheet": {
|
150
153
|
"optional": true
|
151
154
|
},
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { setupConfigWorker } from '../../utils/setupConfigWorker';
|
2
|
-
import { Props } from 'bluebun';
|
3
|
-
import { SyncOptions } from '../../utils/types';
|
4
|
-
import { $ } from 'bun';
|
5
|
-
|
6
|
-
interface DevProps extends Props {
|
7
|
-
options: SyncOptions;
|
8
|
-
}
|
9
|
-
|
10
|
-
export default {
|
11
|
-
name: 'dev',
|
12
|
-
description: '🚧 Dev',
|
13
|
-
run: async ({ options }: DevProps) => {
|
14
|
-
await setupConfigWorker(options);
|
15
|
-
await $`next dev`;
|
16
|
-
},
|
17
|
-
};
|