@kya-os/create-mcpi-app 1.7.38-canary.1 → 1.7.38
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-build.log +4 -0
- package/.turbo/turbo-test$colon$coverage.log +755 -0
- package/.turbo/turbo-test.log +200 -0
- package/dist/helpers/fetch-cloudflare-mcpi-template.d.ts.map +1 -1
- package/dist/helpers/fetch-cloudflare-mcpi-template.js +43 -912
- package/dist/helpers/fetch-cloudflare-mcpi-template.js.map +1 -1
- package/dist/utils/fetch-remote-config.d.ts.map +1 -1
- package/dist/utils/fetch-remote-config.js +2 -2
- package/dist/utils/fetch-remote-config.js.map +1 -1
- package/package/package.json +77 -0
- package/package.json +1 -1
- package/ARCHITECTURE_ANALYSIS.md +0 -392
- package/CHANGELOG.md +0 -372
- package/DEPRECATION_WARNINGS_ANALYSIS.md +0 -192
- package/IMPLEMENTATION_SUMMARY.md +0 -108
- package/REMEDIATION_PLAN.md +0 -99
- package/dist/.tsbuildinfo +0 -1
- package/scripts/prepare-pack.js +0 -47
- package/scripts/validate-no-workspace.js +0 -79
- package/src/__tests__/cloudflare-template.test.ts +0 -490
- package/src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts +0 -337
- package/src/__tests__/helpers/generate-config.test.ts +0 -312
- package/src/__tests__/helpers/generate-identity.test.ts +0 -271
- package/src/__tests__/helpers/install.test.ts +0 -370
- package/src/__tests__/helpers/validate-project-structure.test.ts +0 -467
- package/src/__tests__.bak/regression.test.ts +0 -434
- package/src/effects/index.ts +0 -80
- package/src/helpers/__tests__/config-builder.spec.ts +0 -231
- package/src/helpers/apply-identity-preset.ts +0 -209
- package/src/helpers/config-builder.ts +0 -165
- package/src/helpers/copy-template.ts +0 -11
- package/src/helpers/create.ts +0 -239
- package/src/helpers/fetch-cloudflare-mcpi-template.ts +0 -2393
- package/src/helpers/fetch-cloudflare-template.ts +0 -361
- package/src/helpers/fetch-mcpi-template.ts +0 -236
- package/src/helpers/fetch-xmcp-template.ts +0 -153
- package/src/helpers/generate-config.ts +0 -118
- package/src/helpers/generate-identity.ts +0 -163
- package/src/helpers/identity-manager.ts +0 -186
- package/src/helpers/install.ts +0 -79
- package/src/helpers/rename.ts +0 -17
- package/src/helpers/validate-project-structure.ts +0 -127
- package/src/index.ts +0 -520
- package/src/utils/__tests__/fetch-remote-config.test.ts +0 -271
- package/src/utils/check-node.ts +0 -17
- package/src/utils/fetch-remote-config.ts +0 -179
- package/src/utils/is-folder-empty.ts +0 -60
- package/src/utils/validate-project-name.ts +0 -132
- package/test-cloudflare/README.md +0 -164
- package/test-cloudflare/package.json +0 -28
- package/test-cloudflare/src/index.ts +0 -341
- package/test-cloudflare/src/tools/greet.ts +0 -19
- package/test-cloudflare/tests/cache-invalidation.test.ts +0 -410
- package/test-cloudflare/tests/cors-security.test.ts +0 -349
- package/test-cloudflare/tests/delegation.test.ts +0 -335
- package/test-cloudflare/tests/do-routing.test.ts +0 -314
- package/test-cloudflare/tests/integration.test.ts +0 -205
- package/test-cloudflare/tests/session-management.test.ts +0 -359
- package/test-cloudflare/tsconfig.json +0 -16
- package/test-cloudflare/vitest.config.ts +0 -9
- package/test-cloudflare/wrangler.toml +0 -37
- package/test-node/README.md +0 -44
- package/test-node/package.json +0 -23
- package/test-node/src/tools/greet.ts +0 -25
- package/test-node/xmcp.config.ts +0 -20
- package/tsconfig.json +0 -26
- package/vitest.config.ts +0 -14
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
|
|
2
|
+
> @kya-os/create-mcpi-app@1.7.38 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
|
|
3
|
+
> vitest --run
|
|
4
|
+
|
|
5
|
+
▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
|
|
6
|
+
|
|
7
|
+
package.json:15:6:
|
|
8
|
+
15 │ "types": "./dist/index.d.ts"
|
|
9
|
+
╵ ~~~~~~~
|
|
10
|
+
|
|
11
|
+
The "import" condition comes earlier and will be used for all "import" statements:
|
|
12
|
+
|
|
13
|
+
package.json:13:6:
|
|
14
|
+
13 │ "import": "./dist/index.js",
|
|
15
|
+
╵ ~~~~~~~~
|
|
16
|
+
|
|
17
|
+
The "require" condition comes earlier and will be used for all "require" calls:
|
|
18
|
+
|
|
19
|
+
package.json:14:6:
|
|
20
|
+
14 │ "require": "./dist/index.js",
|
|
21
|
+
╵ ~~~~~~~~~
|
|
22
|
+
|
|
23
|
+
▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
|
|
24
|
+
|
|
25
|
+
package.json:20:6:
|
|
26
|
+
20 │ "types": "./dist/helpers/config-builder.d.ts"
|
|
27
|
+
╵ ~~~~~~~
|
|
28
|
+
|
|
29
|
+
The "import" condition comes earlier and will be used for all "import" statements:
|
|
30
|
+
|
|
31
|
+
package.json:18:6:
|
|
32
|
+
18 │ "import": "./dist/helpers/config-builder.js",
|
|
33
|
+
╵ ~~~~~~~~
|
|
34
|
+
|
|
35
|
+
The "require" condition comes earlier and will be used for all "require" calls:
|
|
36
|
+
|
|
37
|
+
package.json:19:6:
|
|
38
|
+
19 │ "require": "./dist/helpers/config-builder.js",
|
|
39
|
+
╵ ~~~~~~~~~
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
[1m[46m RUN [49m[22m [36mv4.0.5 [39m[90m/Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app[39m
|
|
43
|
+
|
|
44
|
+
[90mstdout[2m | test-cloudflare/tests/session-management.test.ts[2m > [22m[2mSession Management[2m > [22m[2mSession Security[2m > [22m[2mshould not expose session data in logs
|
|
45
|
+
[22m[39m[Session] Created session: secure-session
|
|
46
|
+
|
|
47
|
+
[32m✓[39m test-cloudflare/tests/session-management.test.ts [2m([22m[2m17 tests[22m[2m)[22m[32m 41[2mms[22m[39m
|
|
48
|
+
[32m✓[39m test-cloudflare/tests/cors-security.test.ts [2m([22m[2m29 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
49
|
+
[32m✓[39m test-cloudflare/tests/delegation.test.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 5[2mms[22m[39m
|
|
50
|
+
[32m✓[39m test-cloudflare/tests/cache-invalidation.test.ts [2m([22m[2m18 tests[22m[2m)[22m[32m 7[2mms[22m[39m
|
|
51
|
+
[90mstderr[2m | src/utils/__tests__/fetch-remote-config.test.ts[2m > [22m[2mfetchRemoteConfig[2m > [22m[2mError handling[2m > [22m[2mshould return null if API request fails
|
|
52
|
+
[22m[39m[RemoteConfig] API returned 404: Not Found
|
|
53
|
+
|
|
54
|
+
[90mstderr[2m | src/utils/__tests__/fetch-remote-config.test.ts[2m > [22m[2mfetchRemoteConfig[2m > [22m[2mError handling[2m > [22m[2mshould return null if API throws error
|
|
55
|
+
[22m[39m[RemoteConfig] Failed to fetch config: Error: Network error
|
|
56
|
+
at [90m/Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/[39msrc/utils/__tests__/fetch-remote-config.test.ts:173:35
|
|
57
|
+
at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:157:11
|
|
58
|
+
at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:753:26
|
|
59
|
+
at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:1636:20
|
|
60
|
+
at new Promise (<anonymous>)
|
|
61
|
+
at runWithTimeout (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:1602:10)
|
|
62
|
+
at runTest (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:1309:12)
|
|
63
|
+
[90m at processTicksAndRejections (node:internal/process/task_queues:103:5)[39m
|
|
64
|
+
at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:1468:8)
|
|
65
|
+
at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:1468:8)
|
|
66
|
+
|
|
67
|
+
[90mstderr[2m | src/utils/__tests__/fetch-remote-config.test.ts[2m > [22m[2mfetchRemoteConfig[2m > [22m[2mError handling[2m > [22m[2mshould return null if neither projectId nor agentDid provided
|
|
68
|
+
[22m[39m[RemoteConfig] Neither projectId nor agentDid provided
|
|
69
|
+
|
|
70
|
+
[90mstderr[2m | src/utils/__tests__/fetch-remote-config.test.ts[2m > [22m[2mfetchRemoteConfig[2m > [22m[2mError handling[2m > [22m[2mshould handle cache read errors gracefully
|
|
71
|
+
[22m[39m[RemoteConfig] Cache read failed: Error: Cache error
|
|
72
|
+
at [90m/Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/[39msrc/utils/__tests__/fetch-remote-config.test.ts:201:50
|
|
73
|
+
at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:157:11
|
|
74
|
+
at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:753:26
|
|
75
|
+
at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:1636:20
|
|
76
|
+
at new Promise (<anonymous>)
|
|
77
|
+
at runWithTimeout (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:1602:10)
|
|
78
|
+
at runTest (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:1309:12)
|
|
79
|
+
[90m at processTicksAndRejections (node:internal/process/task_queues:103:5)[39m
|
|
80
|
+
at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:1468:8)
|
|
81
|
+
at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/[4m.pnpm[24m/@vitest+runner@4.0.5/node_modules/[4m@vitest/runner[24m/dist/index.js:1468:8)
|
|
82
|
+
|
|
83
|
+
[32m✓[39m src/utils/__tests__/fetch-remote-config.test.ts [2m([22m[2m9 tests[22m[2m)[22m[32m 5[2mms[22m[39m
|
|
84
|
+
[90mstderr[2m | src/helpers/__tests__/config-builder.spec.ts[2m > [22m[2mbuildConfigWithRemote[2m > [22m[2mshould fallback to local config when remote fetch fails
|
|
85
|
+
[22m[39m[RemoteConfig] Neither projectId nor agentDid provided
|
|
86
|
+
|
|
87
|
+
[32m✓[39m src/helpers/__tests__/config-builder.spec.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 3[2mms[22m[39m
|
|
88
|
+
[32m✓[39m src/__tests__/helpers/generate-config.test.ts [2m([22m[2m25 tests[22m[2m)[22m[32m 35[2mms[22m[39m
|
|
89
|
+
[32m✓[39m src/__tests__/helpers/generate-identity.test.ts [2m([22m[2m24 tests[22m[2m)[22m[32m 38[2mms[22m[39m
|
|
90
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mDependency installation[2m > [22m[2mshould install dependencies with npm
|
|
91
|
+
[22m[39m
|
|
92
|
+
📦 Installing dependencies with npm...
|
|
93
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
94
|
+
|
|
95
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mDependency installation[2m > [22m[2mshould install dependencies with yarn
|
|
96
|
+
[22m[39m
|
|
97
|
+
📦 Installing dependencies with yarn...
|
|
98
|
+
✓ Lockfile created (yarn.lock) - remember to commit it
|
|
99
|
+
|
|
100
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mDependency installation[2m > [22m[2mshould install dependencies with pnpm
|
|
101
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mInstall progress reporting[2m > [22m[2mshould report correct package manager in log
|
|
102
|
+
[22m[39m⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
|
|
103
|
+
[22m[39m
|
|
104
|
+
📦 Installing dependencies with pnpm...
|
|
105
|
+
✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mDependency installation[2m > [22m[2mshould use correct working directory
|
|
109
|
+
[22m[39m
|
|
110
|
+
📦 Installing dependencies with npm...
|
|
111
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
112
|
+
|
|
113
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mInstall progress reporting[2m > [22m[2mshould check for lockfile after installation
|
|
114
|
+
[22m[39m
|
|
115
|
+
📦 Installing dependencies with npm...
|
|
116
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould throw error when installation fails
|
|
117
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
118
|
+
|
|
119
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould throw error when installation fails
|
|
120
|
+
[22m[39mFailed to install dependencies with npm.
|
|
121
|
+
[22m[39m
|
|
122
|
+
📦 Installing dependencies with npm...
|
|
123
|
+
|
|
124
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle network errors during installation
|
|
125
|
+
|
|
126
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle network errors during installation
|
|
127
|
+
[22m[39m
|
|
128
|
+
📦 Installing dependencies with npm...
|
|
129
|
+
|
|
130
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle permission errors during installation
|
|
131
|
+
[22m[39m
|
|
132
|
+
[22m[39mFailed to install dependencies with npm.
|
|
133
|
+
📦 Installing dependencies with npm...
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould log error message when installation fails
|
|
137
|
+
[22m[39m
|
|
138
|
+
📦 Installing dependencies with npm...
|
|
139
|
+
|
|
140
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle invalid package manager gracefully
|
|
141
|
+
[22m[39m
|
|
142
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle permission errors during installation
|
|
143
|
+
📦 Installing dependencies with unknown...
|
|
144
|
+
[22m[39mFailed to install dependencies with npm.
|
|
145
|
+
|
|
146
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mLockfile validation[2m > [22m[2mshould warn when lockfile not created
|
|
147
|
+
[22m[39m
|
|
148
|
+
📦 Installing dependencies with npm...
|
|
149
|
+
|
|
150
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle invalid package manager gracefully
|
|
151
|
+
[22m[39m⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
[31m❯[39m src/__tests__/helpers/install.test.ts [2m([22m[2m20 tests[22m[2m | [22m[31m1 failed[39m[2m)[22m[32m 33[2mms[22m[39m
|
|
155
|
+
[31m [31m×[31m should detect npm from package-lock.json[39m[32m 4[2mms[22m[39m
|
|
156
|
+
[32m✓[39m should detect yarn from yarn.lock[32m 1[2mms[22m[39m
|
|
157
|
+
[32m✓[39m should detect pnpm from pnpm-lock.yaml[32m 1[2mms[22m[39m
|
|
158
|
+
[32m✓[39m should return null when no lockfile exists[32m 0[2mms[22m[39m
|
|
159
|
+
[32m✓[39m should prioritize pnpm over npm[32m 3[2mms[22m[39m
|
|
160
|
+
[32m✓[39m should prioritize yarn over npm[32m 1[2mms[22m[39m
|
|
161
|
+
[32m✓[39m should install dependencies with npm[32m 3[2mms[22m[39m
|
|
162
|
+
[32m✓[39m should install dependencies with yarn[32m 1[2mms[22m[39m
|
|
163
|
+
[32m✓[39m should install dependencies with pnpm[32m 1[2mms[22m[39m
|
|
164
|
+
[32m✓[39m should use correct working directory[32m 2[2mms[22m[39m
|
|
165
|
+
[32m✓[39m should log installation start message[32m 1[2mms[22m[39m
|
|
166
|
+
[32m✓[39m should report correct package manager in log[32m 1[2mms[22m[39m
|
|
167
|
+
[32m✓[39m should check for lockfile after installation[32m 5[2mms[22m[39m
|
|
168
|
+
[32m✓[39m should throw error when installation fails[32m 1[2mms[22m[39m
|
|
169
|
+
[32m✓[39m should handle network errors during installation[32m 1[2mms[22m[39m
|
|
170
|
+
[32m✓[39m should handle permission errors during installation[32m 1[2mms[22m[39m
|
|
171
|
+
[32m✓[39m should log error message when installation fails[32m 1[2mms[22m[39m
|
|
172
|
+
[32m✓[39m should handle invalid package manager gracefully[32m 1[2mms[22m[39m
|
|
173
|
+
[32m✓[39m should validate npm lockfile after installation[32m 2[2mms[22m[39m
|
|
174
|
+
[32m✓[39m should warn when lockfile not created[32m 1[2mms[22m[39m
|
|
175
|
+
[32m✓[39m src/__tests__/helpers/validate-project-structure.test.ts [2m([22m[2m23 tests[22m[2m)[22m[32m 37[2mms[22m[39m
|
|
176
|
+
[32m✓[39m test-cloudflare/tests/do-routing.test.ts [2m([22m[2m14 tests[22m[2m)[22m[32m 160[2mms[22m[39m
|
|
177
|
+
[32m✓[39m src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [2m([22m[2m19 tests[22m[2m)[22m[32m 218[2mms[22m[39m
|
|
178
|
+
[32m✓[39m src/__tests__/cloudflare-template.test.ts [2m([22m[2m24 tests[22m[2m)[22m[32m 210[2mms[22m[39m
|
|
179
|
+
|
|
180
|
+
[31m⎯⎯⎯⎯⎯⎯⎯[39m[1m[41m Failed Tests 1 [49m[22m[31m⎯⎯⎯⎯⎯⎯⎯[39m
|
|
181
|
+
|
|
182
|
+
[41m[1m FAIL [22m[49m src/__tests__/helpers/install.test.ts[2m > [22mdetectPackageManager[2m > [22mPackage manager detection[2m > [22mshould detect npm from package-lock.json
|
|
183
|
+
[31m[1mError[22m: ENOENT: no such file or directory, scandir '/Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/test-temp'[39m
|
|
184
|
+
[36m [2m❯[22m src/__tests__/helpers/install.test.ts:[2m40:35[22m[39m
|
|
185
|
+
[90m 38| [39m }
|
|
186
|
+
[90m 39| [39m [35mif[39m (fs[33m.[39m[34mexistsSync[39m(path[33m.[39m[34mjoin[39m(process[33m.[39m[34mcwd[39m()[33m,[39m [32m'test-temp'[39m))) {
|
|
187
|
+
[90m 40| [39m const testTempContents = fs.readdirSync(path.join(process.cwd(),…
|
|
188
|
+
[90m | [39m [31m^[39m
|
|
189
|
+
[90m 41| [39m [35mif[39m (testTempContents[33m.[39mlength [33m===[39m [34m0[39m) {
|
|
190
|
+
[90m 42| [39m fs[33m.[39m[34mremoveSync[39m(path[33m.[39m[34mjoin[39m(process[33m.[39m[34mcwd[39m()[33m,[39m [32m'test-temp'[39m))[33m;[39m
|
|
191
|
+
|
|
192
|
+
[31m[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯[22m[39m
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
[2m Test Files [22m [1m[31m1 failed[39m[22m[2m | [22m[1m[32m12 passed[39m[22m[90m (13)[39m
|
|
196
|
+
[2m Tests [22m [1m[31m1 failed[39m[22m[2m | [22m[1m[32m245 passed[39m[22m[90m (246)[39m
|
|
197
|
+
[2m Start at [22m 03:37:49
|
|
198
|
+
[2m Duration [22m 1.74s[2m (transform 2.33s, setup 0ms, collect 3.78s, tests 797ms, environment 1ms, prepare 328ms)[22m
|
|
199
|
+
|
|
200
|
+
ELIFECYCLE Test failed. See above for more details.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-cloudflare-mcpi-template.d.ts","sourceRoot":"","sources":["../../src/helpers/fetch-cloudflare-mcpi-template.ts"],"names":[],"mappings":"AAKA,UAAU,6BAA6B;IACrC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;GAGG;AACH,wBAAsB,2BAA2B,CAC/C,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,6BAAkC,GAC1C,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"fetch-cloudflare-mcpi-template.d.ts","sourceRoot":"","sources":["../../src/helpers/fetch-cloudflare-mcpi-template.ts"],"names":[],"mappings":"AAKA,UAAU,6BAA6B;IACrC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;GAGG;AACH,wBAAsB,2BAA2B,CAC/C,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,6BAAkC,GAC1C,OAAO,CAAC,IAAI,CAAC,CA09Cf"}
|