@shipfox/client-onboarding 5.0.0
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 +2 -0
- package/.turbo/turbo-check.log +24 -0
- package/CHANGELOG.md +17 -0
- package/LICENSE +21 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/workspace-setup-route.d.ts +9 -0
- package/dist/workspace-setup-route.d.ts.map +1 -0
- package/dist/workspace-setup-route.js +128 -0
- package/dist/workspace-setup-route.js.map +1 -0
- package/package.json +66 -0
- package/src/index.ts +4 -0
- package/src/workspace-setup-route.test.tsx +561 -0
- package/src/workspace-setup-route.ts +157 -0
- package/test/setup.ts +3 -0
- package/tsconfig.build.json +10 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.json +3 -0
- package/tsconfig.test.json +8 -0
- package/vitest.config.ts +31 -0
package/tsconfig.json
ADDED
package/vitest.config.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {defineConfig, type UserConfigExport} from '@shipfox/vitest';
|
|
2
|
+
|
|
3
|
+
export default defineConfig(
|
|
4
|
+
{
|
|
5
|
+
test: {
|
|
6
|
+
projects: [
|
|
7
|
+
{
|
|
8
|
+
extends: true,
|
|
9
|
+
test: {
|
|
10
|
+
name: 'node',
|
|
11
|
+
environment: 'node',
|
|
12
|
+
include: ['src/**/*.test.ts'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
extends: true,
|
|
17
|
+
test: {
|
|
18
|
+
name: 'dom',
|
|
19
|
+
environment: 'jsdom',
|
|
20
|
+
// Files are isolation-safe (test/setup.ts resets DOM + api client), so reuse the
|
|
21
|
+
// module graph across files in a worker instead of re-importing it per file.
|
|
22
|
+
isolate: false,
|
|
23
|
+
include: ['src/**/*.test.tsx'],
|
|
24
|
+
setupFiles: ['test/setup.ts'],
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
import.meta.url,
|
|
31
|
+
) as UserConfigExport;
|