create-vizcraft-playground 0.1.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/index.js +171 -0
- package/package.json +44 -0
- package/template/.github/skills/vizcraft-playground/SKILL.md +573 -0
- package/template/README.md +59 -0
- package/template/eslint.config.js +23 -0
- package/template/index.html +13 -0
- package/template/package.json +37 -0
- package/template/public/vite.svg +1 -0
- package/template/scripts/generate-plugin.js +594 -0
- package/template/scripts/init-playground.js +119 -0
- package/template/src/App.scss +137 -0
- package/template/src/App.tsx +72 -0
- package/template/src/assets/react.svg +1 -0
- package/template/src/components/InfoModal/InfoModal.scss +211 -0
- package/template/src/components/InfoModal/InfoModal.tsx +85 -0
- package/template/src/components/Landing/Landing.scss +85 -0
- package/template/src/components/Landing/Landing.tsx +55 -0
- package/template/src/components/Shell.tsx +144 -0
- package/template/src/components/StepIndicator/StepIndicator.scss +151 -0
- package/template/src/components/StepIndicator/StepIndicator.tsx +73 -0
- package/template/src/components/VizInfoBeacon/VizInfoBeacon.scss +41 -0
- package/template/src/components/VizInfoBeacon/VizInfoBeacon.tsx +157 -0
- package/template/src/components/plugin-kit/CanvasStage.tsx +30 -0
- package/template/src/components/plugin-kit/ConceptPills.tsx +55 -0
- package/template/src/components/plugin-kit/PluginLayout.tsx +41 -0
- package/template/src/components/plugin-kit/SidePanel.tsx +69 -0
- package/template/src/components/plugin-kit/StageHeader.tsx +35 -0
- package/template/src/components/plugin-kit/StatBadge.tsx +35 -0
- package/template/src/components/plugin-kit/index.ts +42 -0
- package/template/src/components/plugin-kit/plugin-kit.scss +241 -0
- package/template/src/components/plugin-kit/useConceptModal.tsx +51 -0
- package/template/src/index.scss +81 -0
- package/template/src/main.tsx +14 -0
- package/template/src/playground.config.ts +27 -0
- package/template/src/plugins/hello-world/concepts.tsx +70 -0
- package/template/src/plugins/hello-world/helloWorldSlice.ts +29 -0
- package/template/src/plugins/hello-world/index.ts +48 -0
- package/template/src/plugins/hello-world/main.scss +32 -0
- package/template/src/plugins/hello-world/main.tsx +144 -0
- package/template/src/plugins/hello-world/useHelloWorldAnimation.ts +99 -0
- package/template/src/registry.ts +73 -0
- package/template/src/store/slices/simulationSlice.ts +47 -0
- package/template/src/store/store.ts +13 -0
- package/template/src/types/ModelPlugin.ts +55 -0
- package/template/src/utils/random.ts +11 -0
- package/template/tsconfig.app.json +35 -0
- package/template/tsconfig.json +7 -0
- package/template/tsconfig.node.json +26 -0
- package/template/vite.config.ts +7 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
+
"target": "ES2023",
|
|
5
|
+
"lib": ["ES2023"],
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"types": ["node"],
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
|
|
10
|
+
/* Bundler mode */
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
13
|
+
"verbatimModuleSyntax": true,
|
|
14
|
+
"moduleDetection": "force",
|
|
15
|
+
"noEmit": true,
|
|
16
|
+
|
|
17
|
+
/* Linting */
|
|
18
|
+
"strict": true,
|
|
19
|
+
"noUnusedLocals": true,
|
|
20
|
+
"noUnusedParameters": true,
|
|
21
|
+
"erasableSyntaxOnly": true,
|
|
22
|
+
"noFallthroughCasesInSwitch": true,
|
|
23
|
+
"noUncheckedSideEffectImports": true
|
|
24
|
+
},
|
|
25
|
+
"include": ["vite.config.ts"]
|
|
26
|
+
}
|