@foundrykit/cli 2.0.10 → 2.0.12
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.
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +18 -0
- package/README.md +37 -35
- package/dist/cli.js +1896 -1894
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1896 -1894
- package/dist/index.js.map +1 -1
- package/package.json +8 -6
- package/postcss.config.mjs +1 -1
- package/src/commands/add.ts +22 -18
- package/src/commands/doctor.ts +10 -7
- package/src/commands/init.ts +13 -20
- package/src/commands/list.ts +3 -6
- package/src/commands/update.ts +8 -8
- package/src/index.ts +5 -5
- package/src/lib/registry.ts +36 -33
- package/tests/dependency-resolution.test.ts +31 -22
- package/.turbo/turbo-build.log +0 -20
- package/.turbo/turbo-test.log +0 -42
- package/eslint.config.js +0 -4
package/.turbo/turbo-build.log
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> @foundrykit/cli@2.0.4 build /Users/isj/Desktop/work/projects/foundry/packages/cli
|
|
4
|
-
> tsup
|
|
5
|
-
|
|
6
|
-
[34mCLI[39m Building entry: {"index":"src/index.ts","cli":"src/index.ts"}
|
|
7
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
8
|
-
[34mCLI[39m tsup v8.5.0
|
|
9
|
-
[34mCLI[39m Using tsup config: /Users/isj/Desktop/work/projects/foundry/packages/cli/tsup.config.ts
|
|
10
|
-
[34mCLI[39m Target: es2022
|
|
11
|
-
[34mCLI[39m Cleaning output folder
|
|
12
|
-
[34mESM[39m Build start
|
|
13
|
-
[32mESM[39m [1mdist/cli.js [22m[32m66.23 KB[39m
|
|
14
|
-
[32mESM[39m [1mdist/cli.js.map [22m[32m125.18 KB[39m
|
|
15
|
-
[32mESM[39m [1mdist/index.js [22m[32m66.23 KB[39m
|
|
16
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m125.18 KB[39m
|
|
17
|
-
[32mESM[39m ⚡️ Build success in 24ms
|
|
18
|
-
DTS Build start
|
|
19
|
-
DTS ⚡️ Build success in 1028ms
|
|
20
|
-
DTS dist/index.d.ts 20.00 B
|
package/.turbo/turbo-test.log
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @foundrykit/cli@1.0.16 test /Users/isj/Desktop/work/projects/foundry/packages/cli
|
|
3
|
-
> vitest run
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
RUN v1.6.1 /Users/isj/Desktop/work/projects/foundry/packages/cli
|
|
7
|
-
|
|
8
|
-
stdout | tests/dependency-resolution.test.ts > Dependency Resolution > Registry Component Fetching > should fetch regular components from registry
|
|
9
|
-
Fetching component: https://test.registry.com/registry/button
|
|
10
|
-
|
|
11
|
-
stdout | tests/dependency-resolution.test.ts > Dependency Resolution > Registry Component Fetching > should handle 404 errors for non-existent components
|
|
12
|
-
Fetching component: https://test.registry.com/registry/non-existent
|
|
13
|
-
|
|
14
|
-
stdout | tests/dependency-resolution.test.ts > Dependency Resolution > Registry Component Fetching > should handle network errors gracefully
|
|
15
|
-
Fetching component: https://test.registry.com/registry/button
|
|
16
|
-
|
|
17
|
-
stdout | tests/dependency-resolution.test.ts > Dependency Resolution > Cache Management > should cache fetched components
|
|
18
|
-
Fetching component: https://test.registry.com/registry/card
|
|
19
|
-
|
|
20
|
-
stdout | tests/dependency-resolution.test.ts > Dependency Resolution > Cache Management > should cache fetched components
|
|
21
|
-
Using cached data for component: card
|
|
22
|
-
|
|
23
|
-
stdout | tests/dependency-resolution.test.ts > Dependency Resolution > Cache Management > should clear cache when requested
|
|
24
|
-
Cache cleared successfully
|
|
25
|
-
|
|
26
|
-
stdout | tests/dependency-resolution.test.ts > Dependency Resolution > Dependency Chain Resolution > should resolve multiple dependencies in order
|
|
27
|
-
Fetching component: https://test.registry.com/registry/button
|
|
28
|
-
|
|
29
|
-
stdout | tests/dependency-resolution.test.ts > Dependency Resolution > Dependency Chain Resolution > should resolve multiple dependencies in order
|
|
30
|
-
Fetching component: https://test.registry.com/registry/card
|
|
31
|
-
|
|
32
|
-
stdout | tests/dependency-resolution.test.ts > Dependency Resolution > Dependency Chain Resolution > should continue installation when a dependency fails
|
|
33
|
-
Fetching component: https://test.registry.com/registry/non-existent
|
|
34
|
-
Fetching component: https://test.registry.com/registry/button
|
|
35
|
-
|
|
36
|
-
✓ tests/dependency-resolution.test.ts (14 tests) 32ms
|
|
37
|
-
|
|
38
|
-
Test Files 1 passed (1)
|
|
39
|
-
Tests 14 passed (14)
|
|
40
|
-
Start at 14:01:44
|
|
41
|
-
Duration 481ms (transform 58ms, setup 0ms, collect 160ms, tests 32ms, environment 0ms, prepare 47ms)
|
|
42
|
-
|
package/eslint.config.js
DELETED