@yahoo/uds 2.0.0-beta.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/consts.ts +0 -1
- package/cli/utils/getDirChoices.ts +1 -0
- package/package.json +156 -156
package/cli/consts.ts
CHANGED
package/package.json
CHANGED
@@ -1,156 +1,156 @@
|
|
1
|
-
{
|
2
|
-
"name": "@yahoo/uds",
|
3
|
-
"description": "Yahoo Universal System",
|
4
|
-
"version": "2.0.0
|
5
|
-
"type": "module",
|
6
|
-
"bin": {
|
7
|
-
"uds": "./cli/uds-cli"
|
8
|
-
},
|
9
|
-
"files": [
|
10
|
-
"cli/**",
|
11
|
-
"dist/**",
|
12
|
-
"fonts/**",
|
13
|
-
"package.json"
|
14
|
-
],
|
15
|
-
"sideEffects": false,
|
16
|
-
"exports": {
|
17
|
-
".": {
|
18
|
-
"import": {
|
19
|
-
"types": "./dist/index.d.ts",
|
20
|
-
"default": "./dist/index.js"
|
21
|
-
},
|
22
|
-
"require": {
|
23
|
-
"types": "./dist/index.d.cts",
|
24
|
-
"default": "./dist/index.cjs"
|
25
|
-
}
|
26
|
-
},
|
27
|
-
"./client": {
|
28
|
-
"import": {
|
29
|
-
"types": "./dist/client/index.d.ts",
|
30
|
-
"default": "./dist/client/index.js"
|
31
|
-
},
|
32
|
-
"require": {
|
33
|
-
"types": "./dist/client/index.d.cts",
|
34
|
-
"default": "./dist/client/index.cjs"
|
35
|
-
}
|
36
|
-
},
|
37
|
-
"./experimental": {
|
38
|
-
"import": {
|
39
|
-
"types": "./dist/experimental/index.d.ts",
|
40
|
-
"default": "./dist/experimental/index.js"
|
41
|
-
},
|
42
|
-
"require": {
|
43
|
-
"types": "./dist/experimental/index.d.cts",
|
44
|
-
"default": "./dist/experimental/index.cjs"
|
45
|
-
}
|
46
|
-
},
|
47
|
-
"./fixtures": {
|
48
|
-
"import": {
|
49
|
-
"types": "./dist/fixtures.d.ts",
|
50
|
-
"default": "./dist/fixtures.js"
|
51
|
-
},
|
52
|
-
"require": {
|
53
|
-
"types": "./dist/fixtures.d.cts",
|
54
|
-
"default": "./dist/fixtures.cjs"
|
55
|
-
}
|
56
|
-
},
|
57
|
-
"./fonts/*.otf": "./fonts/*.otf",
|
58
|
-
"./fonts/*.ttf": "./fonts/*.ttf",
|
59
|
-
"./fonts/*.woff2": "./fonts/*.woff2",
|
60
|
-
"./fonts/*": {
|
61
|
-
"types": "./fonts/*.d.ts",
|
62
|
-
"require": "./fonts/*.cjs"
|
63
|
-
},
|
64
|
-
"./package.json": "./package.json",
|
65
|
-
"./styles/*": "./dist/styles/*",
|
66
|
-
"./tailwind/*": {
|
67
|
-
"import": {
|
68
|
-
"types": "./dist/tailwind/*.d.ts",
|
69
|
-
"default": "./dist/tailwind/*.js"
|
70
|
-
},
|
71
|
-
"require": {
|
72
|
-
"types": "./dist/tailwind/*.d.cts",
|
73
|
-
"default": "./dist/tailwind/*.cjs"
|
74
|
-
}
|
75
|
-
},
|
76
|
-
"./tokens": {
|
77
|
-
"import": {
|
78
|
-
"types": "./dist/tokens/index.d.ts",
|
79
|
-
"default": "./dist/tokens/index.js"
|
80
|
-
},
|
81
|
-
"require": {
|
82
|
-
"types": "./dist/tokens/index.d.cts",
|
83
|
-
"default": "./dist/tokens/index.cjs"
|
84
|
-
}
|
85
|
-
},
|
86
|
-
"./tokens/parseTokens": {
|
87
|
-
"import": {
|
88
|
-
"types": "./dist/tokens/parseTokens.d.ts",
|
89
|
-
"default": "./dist/tokens/parseTokens.js"
|
90
|
-
},
|
91
|
-
"require": {
|
92
|
-
"types": "./dist/tokens/parseTokens.d.cts",
|
93
|
-
"default": "./dist/tokens/parseTokens.cjs"
|
94
|
-
}
|
95
|
-
}
|
96
|
-
},
|
97
|
-
"scripts": {
|
98
|
-
"build": "bun run ./scripts/prebuild.ts && tsup && bun run ./scripts/postbuild.ts",
|
99
|
-
"build:cli": "bun ./cli/compile.ts",
|
100
|
-
"build:fixtures": "bun run ./scripts/buildFixtures.ts",
|
101
|
-
"build:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts",
|
102
|
-
"ci:publish": "
|
103
|
-
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf .coverage",
|
104
|
-
"dev": "concurrently bun:dev:*",
|
105
|
-
"dev:fixtures": "bun run ./scripts/buildFixtures.ts --watch",
|
106
|
-
"dev:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts --watch",
|
107
|
-
"dev:ts": "tsup --watch",
|
108
|
-
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.mjs .",
|
109
|
-
"lint:pkg": "bun publint",
|
110
|
-
"test": "vitest run",
|
111
|
-
"test:bun": "bun run test:bun:scripts && bun run test:bun:cli",
|
112
|
-
"test:bun:cli": "cd ./cli && bun test",
|
113
|
-
"test:bun:scripts": "cd ./scripts && bun test",
|
114
|
-
"test:coverage": "vitest run --coverage",
|
115
|
-
"test:ui": "vitest --ui --coverage",
|
116
|
-
"test:watch": "vitest",
|
117
|
-
"typecheck": "concurrently bun:typecheck:*",
|
118
|
-
"typecheck:cli": "tsc -p ./cli --noEmit",
|
119
|
-
"typecheck:scripts": "tsc -p ./scripts --noEmit",
|
120
|
-
"typecheck:uds": "tsc -p . --noEmit"
|
121
|
-
},
|
122
|
-
"dependencies": {
|
123
|
-
"@ariakit/react": "^0.4.11",
|
124
|
-
"bluebun": "^0.0.34",
|
125
|
-
"clsx": "^2.1.1",
|
126
|
-
"framer-motion": "^11.5.4",
|
127
|
-
"imurmurhash": "^0.1.4",
|
128
|
-
"lodash-es": "^4.17.21",
|
129
|
-
"prompts": "^2.4.2",
|
130
|
-
"react-toastify": "^10.0.5",
|
131
|
-
"semver": "^7.6.3",
|
132
|
-
"tailwind-merge": "^2.5.2",
|
133
|
-
"ts-morph": "^23.0.0"
|
134
|
-
},
|
135
|
-
"devDependencies": {
|
136
|
-
"@fullhuman/postcss-purgecss": "^6.0.0",
|
137
|
-
"@types/imurmurhash": "^0.1.4",
|
138
|
-
"@types/prompts": "^2.4.9",
|
139
|
-
"@types/react": "^18.3.5",
|
140
|
-
"@types/react-dom": "^18.3.0",
|
141
|
-
"@yahoo/uds-icons": "
|
142
|
-
"autoprefixer": "^10.4.20",
|
143
|
-
"chalk": "^5.3.0",
|
144
|
-
"concurrently": "^8.2.2",
|
145
|
-
"postcss": "^8.4.45",
|
146
|
-
"tailwindcss": "^3.4.10",
|
147
|
-
"terser": "^5.31.6",
|
148
|
-
"tsconfig": "
|
149
|
-
"tsup": "^8.2.4"
|
150
|
-
},
|
151
|
-
"peerDependencies": {
|
152
|
-
"react": "^18.3.1",
|
153
|
-
"react-dom": "^18.3.1",
|
154
|
-
"tailwindcss": "^3.4.10"
|
155
|
-
}
|
156
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@yahoo/uds",
|
3
|
+
"description": "Yahoo Universal System",
|
4
|
+
"version": "2.0.0",
|
5
|
+
"type": "module",
|
6
|
+
"bin": {
|
7
|
+
"uds": "./cli/uds-cli"
|
8
|
+
},
|
9
|
+
"files": [
|
10
|
+
"cli/**",
|
11
|
+
"dist/**",
|
12
|
+
"fonts/**",
|
13
|
+
"package.json"
|
14
|
+
],
|
15
|
+
"sideEffects": false,
|
16
|
+
"exports": {
|
17
|
+
".": {
|
18
|
+
"import": {
|
19
|
+
"types": "./dist/index.d.ts",
|
20
|
+
"default": "./dist/index.js"
|
21
|
+
},
|
22
|
+
"require": {
|
23
|
+
"types": "./dist/index.d.cts",
|
24
|
+
"default": "./dist/index.cjs"
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"./client": {
|
28
|
+
"import": {
|
29
|
+
"types": "./dist/client/index.d.ts",
|
30
|
+
"default": "./dist/client/index.js"
|
31
|
+
},
|
32
|
+
"require": {
|
33
|
+
"types": "./dist/client/index.d.cts",
|
34
|
+
"default": "./dist/client/index.cjs"
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"./experimental": {
|
38
|
+
"import": {
|
39
|
+
"types": "./dist/experimental/index.d.ts",
|
40
|
+
"default": "./dist/experimental/index.js"
|
41
|
+
},
|
42
|
+
"require": {
|
43
|
+
"types": "./dist/experimental/index.d.cts",
|
44
|
+
"default": "./dist/experimental/index.cjs"
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"./fixtures": {
|
48
|
+
"import": {
|
49
|
+
"types": "./dist/fixtures.d.ts",
|
50
|
+
"default": "./dist/fixtures.js"
|
51
|
+
},
|
52
|
+
"require": {
|
53
|
+
"types": "./dist/fixtures.d.cts",
|
54
|
+
"default": "./dist/fixtures.cjs"
|
55
|
+
}
|
56
|
+
},
|
57
|
+
"./fonts/*.otf": "./fonts/*.otf",
|
58
|
+
"./fonts/*.ttf": "./fonts/*.ttf",
|
59
|
+
"./fonts/*.woff2": "./fonts/*.woff2",
|
60
|
+
"./fonts/*": {
|
61
|
+
"types": "./fonts/*.d.ts",
|
62
|
+
"require": "./fonts/*.cjs"
|
63
|
+
},
|
64
|
+
"./package.json": "./package.json",
|
65
|
+
"./styles/*": "./dist/styles/*",
|
66
|
+
"./tailwind/*": {
|
67
|
+
"import": {
|
68
|
+
"types": "./dist/tailwind/*.d.ts",
|
69
|
+
"default": "./dist/tailwind/*.js"
|
70
|
+
},
|
71
|
+
"require": {
|
72
|
+
"types": "./dist/tailwind/*.d.cts",
|
73
|
+
"default": "./dist/tailwind/*.cjs"
|
74
|
+
}
|
75
|
+
},
|
76
|
+
"./tokens": {
|
77
|
+
"import": {
|
78
|
+
"types": "./dist/tokens/index.d.ts",
|
79
|
+
"default": "./dist/tokens/index.js"
|
80
|
+
},
|
81
|
+
"require": {
|
82
|
+
"types": "./dist/tokens/index.d.cts",
|
83
|
+
"default": "./dist/tokens/index.cjs"
|
84
|
+
}
|
85
|
+
},
|
86
|
+
"./tokens/parseTokens": {
|
87
|
+
"import": {
|
88
|
+
"types": "./dist/tokens/parseTokens.d.ts",
|
89
|
+
"default": "./dist/tokens/parseTokens.js"
|
90
|
+
},
|
91
|
+
"require": {
|
92
|
+
"types": "./dist/tokens/parseTokens.d.cts",
|
93
|
+
"default": "./dist/tokens/parseTokens.cjs"
|
94
|
+
}
|
95
|
+
}
|
96
|
+
},
|
97
|
+
"scripts": {
|
98
|
+
"build": "bun run ./scripts/prebuild.ts && tsup && bun run ./scripts/postbuild.ts",
|
99
|
+
"build:cli": "bun ./cli/compile.ts",
|
100
|
+
"build:fixtures": "bun run ./scripts/buildFixtures.ts",
|
101
|
+
"build:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts",
|
102
|
+
"ci:publish": "bun semantic-release -e semantic-release-monorepo",
|
103
|
+
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf .coverage",
|
104
|
+
"dev": "concurrently bun:dev:*",
|
105
|
+
"dev:fixtures": "bun run ./scripts/buildFixtures.ts --watch",
|
106
|
+
"dev:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts --watch",
|
107
|
+
"dev:ts": "tsup --watch",
|
108
|
+
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.mjs .",
|
109
|
+
"lint:pkg": "bun publint",
|
110
|
+
"test": "vitest run",
|
111
|
+
"test:bun": "bun run test:bun:scripts && bun run test:bun:cli",
|
112
|
+
"test:bun:cli": "cd ./cli && bun test",
|
113
|
+
"test:bun:scripts": "cd ./scripts && bun test",
|
114
|
+
"test:coverage": "vitest run --coverage",
|
115
|
+
"test:ui": "vitest --ui --coverage",
|
116
|
+
"test:watch": "vitest",
|
117
|
+
"typecheck": "concurrently bun:typecheck:*",
|
118
|
+
"typecheck:cli": "tsc -p ./cli --noEmit",
|
119
|
+
"typecheck:scripts": "tsc -p ./scripts --noEmit",
|
120
|
+
"typecheck:uds": "tsc -p . --noEmit"
|
121
|
+
},
|
122
|
+
"dependencies": {
|
123
|
+
"@ariakit/react": "^0.4.11",
|
124
|
+
"bluebun": "^0.0.34",
|
125
|
+
"clsx": "^2.1.1",
|
126
|
+
"framer-motion": "^11.5.4",
|
127
|
+
"imurmurhash": "^0.1.4",
|
128
|
+
"lodash-es": "^4.17.21",
|
129
|
+
"prompts": "^2.4.2",
|
130
|
+
"react-toastify": "^10.0.5",
|
131
|
+
"semver": "^7.6.3",
|
132
|
+
"tailwind-merge": "^2.5.2",
|
133
|
+
"ts-morph": "^23.0.0"
|
134
|
+
},
|
135
|
+
"devDependencies": {
|
136
|
+
"@fullhuman/postcss-purgecss": "^6.0.0",
|
137
|
+
"@types/imurmurhash": "^0.1.4",
|
138
|
+
"@types/prompts": "^2.4.9",
|
139
|
+
"@types/react": "^18.3.5",
|
140
|
+
"@types/react-dom": "^18.3.0",
|
141
|
+
"@yahoo/uds-icons": "workspace:*",
|
142
|
+
"autoprefixer": "^10.4.20",
|
143
|
+
"chalk": "^5.3.0",
|
144
|
+
"concurrently": "^8.2.2",
|
145
|
+
"postcss": "^8.4.45",
|
146
|
+
"tailwindcss": "^3.4.10",
|
147
|
+
"terser": "^5.31.6",
|
148
|
+
"tsconfig": "workspace:*",
|
149
|
+
"tsup": "^8.2.4"
|
150
|
+
},
|
151
|
+
"peerDependencies": {
|
152
|
+
"react": "^18.3.1",
|
153
|
+
"react-dom": "^18.3.1",
|
154
|
+
"tailwindcss": "^3.4.10"
|
155
|
+
}
|
156
|
+
}
|