@zerosumstudio/spool 0.0.0-stage → 1.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/LICENSE +21 -0
- package/README.md +600 -2
- package/dist/federation/Remote.svelte +106 -0
- package/dist/federation/Remote.vue +118 -0
- package/dist/federation/core.ts +421 -0
- package/dist/federation/overrides.ts +289 -0
- package/dist/federation/remote.tsx +105 -0
- package/dist/index.js +7798 -0
- package/dist/navigation/binding.react.ts +6 -0
- package/dist/navigation/binding.svelte.ts +13 -0
- package/dist/navigation/binding.vue.ts +12 -0
- package/dist/navigation/history.ts +98 -0
- package/dist/sentry/scrub.ts +157 -0
- package/dist/vite.d.ts +110 -0
- package/dist/vite.js +1068 -0
- package/package.json +87 -3
package/package.json
CHANGED
|
@@ -1,6 +1,90 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zerosumstudio/spool",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "spool is a small CLI for building micro frontends",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"micro-frontends",
|
|
7
|
+
"module-federation",
|
|
8
|
+
"vite",
|
|
9
|
+
"react",
|
|
10
|
+
"svelte",
|
|
11
|
+
"vue",
|
|
12
|
+
"cli",
|
|
13
|
+
"scaffolding",
|
|
14
|
+
"monorepo"
|
|
15
|
+
],
|
|
16
|
+
"homepage": "https://github.com/zerosumstudio/spool#readme",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/zerosumstudio/spool/issues"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/zerosumstudio/spool.git"
|
|
23
|
+
},
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"author": "zerosum studio <hello@zerosum.studio>",
|
|
26
|
+
"type": "module",
|
|
27
|
+
"bin": {
|
|
28
|
+
"spool": "./dist/index.js"
|
|
29
|
+
},
|
|
30
|
+
"exports": {
|
|
31
|
+
"./vite": {
|
|
32
|
+
"types": "./dist/vite.d.ts",
|
|
33
|
+
"default": "./dist/vite.js"
|
|
34
|
+
},
|
|
35
|
+
"./package.json": "./package.json"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist"
|
|
39
|
+
],
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@clack/prompts": "^1.9.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@module-federation/runtime": "2.7.0",
|
|
45
|
+
"@playwright/test": "^1.65.1",
|
|
46
|
+
"@sentry/react": "^11.17.0",
|
|
47
|
+
"@sentry/svelte": "^11.17.0",
|
|
48
|
+
"@sentry/vue": "^11.17.0",
|
|
49
|
+
"@types/node": "^26.6.6",
|
|
50
|
+
"@types/react": "^19.3.0",
|
|
51
|
+
"@types/react-dom": "^19.3.0",
|
|
52
|
+
"@vitest/coverage-v8": "^5.1.1",
|
|
53
|
+
"esbuild": "^0.28.2",
|
|
54
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
55
|
+
"eslint-plugin-svelte": "^3.24.1",
|
|
56
|
+
"eslint-plugin-vue": "^10.12.1",
|
|
57
|
+
"jsdom": "^31.0.1",
|
|
58
|
+
"prettier": "^3.10.1",
|
|
59
|
+
"svelte": "^5.59.1",
|
|
60
|
+
"svelte-check": "^4.7.8",
|
|
61
|
+
"tsdown": "^0.23.7",
|
|
62
|
+
"typescript": "^6.0.3",
|
|
63
|
+
"vite": "^8.3.8",
|
|
64
|
+
"vitest": "^5.1.1",
|
|
65
|
+
"vue": "^3.5.46",
|
|
66
|
+
"vue-tsc": "^3.3.14"
|
|
67
|
+
},
|
|
68
|
+
"engines": {
|
|
69
|
+
"node": ">=26"
|
|
70
|
+
},
|
|
71
|
+
"publishConfig": {
|
|
72
|
+
"access": "public",
|
|
73
|
+
"provenance": true
|
|
74
|
+
},
|
|
75
|
+
"scripts": {
|
|
76
|
+
"build": "tsdown",
|
|
77
|
+
"dev": "tsdown --watch",
|
|
78
|
+
"format": "prettier --write . --ignore-path ../../.gitignore --ignore-path ../../.prettierignore",
|
|
79
|
+
"format:check": "prettier --check . --ignore-path ../../.gitignore --ignore-path ../../.prettierignore",
|
|
80
|
+
"lint": "eslint .",
|
|
81
|
+
"lint:fix": "eslint . --fix",
|
|
82
|
+
"start": "node ./dist/index.js",
|
|
83
|
+
"test": "vitest run",
|
|
84
|
+
"test:watch": "vitest",
|
|
85
|
+
"test:coverage": "vitest run --coverage",
|
|
86
|
+
"test:e2e": "pnpm run build && playwright test -c e2e/playwright.config.ts",
|
|
87
|
+
"type-check": "tsc --noEmit && tsc --noEmit -p e2e && tsc --noEmit -p src/core/templates/federation && tsc --noEmit -p src/core/templates/navigation && tsc --noEmit -p src/core/templates/sentry && vue-tsc --noEmit -p src/core/templates/federation/tsconfig.vue.json && svelte-check --workspace src/core/templates/federation --tsconfig ./tsconfig.svelte.json --threshold warning",
|
|
88
|
+
"verify": "pnpm run type-check && pnpm run lint && pnpm run format:check && pnpm run test:coverage && pnpm run build"
|
|
89
|
+
}
|
|
6
90
|
}
|