create-supaslidev 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/README.md +91 -0
- package/dist/cli.d.ts +6 -0
- package/dist/cli.js +1279 -0
- package/dist/index.d.ts +241 -0
- package/dist/index.js +1675 -0
- package/package.json +62 -0
- package/templates/default/.supaslidev/state.json.ejs +6 -0
- package/templates/default/gitignore.ejs +7 -0
- package/templates/default/npmrc.ejs +1 -0
- package/templates/default/package.json.ejs +21 -0
- package/templates/default/pnpm-workspace.yaml.ejs +13 -0
- package/templates/default/tsconfig.json.ejs +17 -0
- package/templates/default/turbo.json.ejs +24 -0
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-supaslidev",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "CLI tool for scaffolding Supaslidev presentations",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"slidev",
|
|
7
|
+
"supaslidev"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://github.com/timdamen/supaslidev#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/timdamen/supaslidev/issues"
|
|
12
|
+
},
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"author": "Tim Damen <hello@timdamen.io>",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/timdamen/supaslidev.git",
|
|
18
|
+
"directory": "packages/cli"
|
|
19
|
+
},
|
|
20
|
+
"bin": {
|
|
21
|
+
"create-supaslidev": "./dist/cli.js"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"templates"
|
|
26
|
+
],
|
|
27
|
+
"type": "module",
|
|
28
|
+
"main": "./dist/index.js",
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"import": "./dist/index.js"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "tsdown",
|
|
41
|
+
"typecheck": "tsc --noEmit",
|
|
42
|
+
"lint": "oxlint --config ../../oxlint.json .",
|
|
43
|
+
"test": "vitest run",
|
|
44
|
+
"test:watch": "vitest"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@clack/prompts": "^0.9.1",
|
|
48
|
+
"commander": "^13.1.0",
|
|
49
|
+
"ejs": "^3.1.10",
|
|
50
|
+
"picocolors": "^1.1.1",
|
|
51
|
+
"ts-morph": "^24.0.0",
|
|
52
|
+
"yaml": "^2.7.0"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@types/ejs": "^3.1.5",
|
|
56
|
+
"@types/node": "^22.10.0",
|
|
57
|
+
"tsdown": "^0.12.5",
|
|
58
|
+
"tsx": "^4.19.0",
|
|
59
|
+
"typescript": "^5.3.3",
|
|
60
|
+
"vitest": "^3.0.0"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
shamefully-hoist=true
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "<%= projectName %>",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"description": "<%= description %>",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"dev": "supaslidev",
|
|
9
|
+
"new": "supaslidev new",
|
|
10
|
+
"present": "supaslidev present",
|
|
11
|
+
"export": "supaslidev export",
|
|
12
|
+
"deploy": "supaslidev deploy"
|
|
13
|
+
},
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"supaslidev": "^0.1.0"
|
|
16
|
+
},
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=18.0.0"
|
|
19
|
+
},
|
|
20
|
+
"packageManager": "pnpm@10.28.1"
|
|
21
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
packages:
|
|
2
|
+
- 'packages/*'
|
|
3
|
+
- 'presentations/*'
|
|
4
|
+
|
|
5
|
+
catalog:
|
|
6
|
+
'@slidev/cli': ^52.11.3
|
|
7
|
+
'@slidev/theme-default': latest
|
|
8
|
+
'@slidev/theme-seriph': latest
|
|
9
|
+
'@slidev/theme-apple-basic': latest
|
|
10
|
+
vue: ^3.5.26
|
|
11
|
+
'@vue/compiler-sfc': ^3.5.27
|
|
12
|
+
typescript: ^5.3.3
|
|
13
|
+
vue-tsc: ^2.0.0
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ESNext",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"moduleResolution": "bundler",
|
|
6
|
+
"strict": true,
|
|
7
|
+
"jsx": "preserve",
|
|
8
|
+
"resolveJsonModule": true,
|
|
9
|
+
"isolatedModules": true,
|
|
10
|
+
"esModuleInterop": true,
|
|
11
|
+
"lib": ["ESNext", "DOM"],
|
|
12
|
+
"skipLibCheck": true,
|
|
13
|
+
"noEmit": true
|
|
14
|
+
},
|
|
15
|
+
"include": ["packages/**/*.ts", "packages/**/*.vue"],
|
|
16
|
+
"exclude": ["node_modules", "**/dist"]
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://turbo.build/schema.json",
|
|
3
|
+
"tasks": {
|
|
4
|
+
"typecheck": {
|
|
5
|
+
"dependsOn": ["^typecheck"],
|
|
6
|
+
"inputs": ["**/*.ts", "**/*.tsx", "**/*.vue", "tsconfig.json"],
|
|
7
|
+
"outputs": []
|
|
8
|
+
},
|
|
9
|
+
"lint": {
|
|
10
|
+
"dependsOn": ["^lint"],
|
|
11
|
+
"inputs": ["**/*.ts", "**/*.tsx", "**/*.vue", "**/*.js", "**/*.mjs"],
|
|
12
|
+
"outputs": []
|
|
13
|
+
},
|
|
14
|
+
"build": {
|
|
15
|
+
"dependsOn": ["^build"],
|
|
16
|
+
"inputs": ["src/**", "**/*.ts", "**/*.vue", "package.json"],
|
|
17
|
+
"outputs": ["dist/**"]
|
|
18
|
+
},
|
|
19
|
+
"dev": {
|
|
20
|
+
"cache": false,
|
|
21
|
+
"persistent": true
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|