chore: add workspace and package configuration
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
|||||||
|
node_modules/
|
||||||
|
dist/
|
||||||
|
exports/
|
||||||
|
.easy-slides/
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
playwright-report/
|
||||||
|
test-results/
|
||||||
|
*.log
|
||||||
|
.DS_Store
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2026 easy-slides contributors
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
"name": "@easy-slides/cli",
|
||||||
|
"version": "0.2.0",
|
||||||
|
"description": "Build and present multi-deck Markdown slide sites with Slidev",
|
||||||
|
"license": "MIT",
|
||||||
|
"private": false,
|
||||||
|
"type": "module",
|
||||||
|
"bin": {
|
||||||
|
"easy-slides": "dist-cli/cli.js"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist-cli",
|
||||||
|
"README.md",
|
||||||
|
"LICENSE"
|
||||||
|
],
|
||||||
|
"exports": {
|
||||||
|
".": "./dist-cli/index.js",
|
||||||
|
"./config": "./dist-cli/lib/config.js"
|
||||||
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
},
|
||||||
|
"packageManager": "[email protected]",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=20.12.0"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "tsc -p tsconfig.build.json && node scripts/copy-theme.mjs",
|
||||||
|
"demo:dev": "tsx scripts/cli.ts dev --root examples/content-repo",
|
||||||
|
"demo:present": "tsx scripts/cli.ts present --root examples/content-repo",
|
||||||
|
"demo:build": "tsx scripts/cli.ts build --root examples/content-repo",
|
||||||
|
"demo:check": "tsx scripts/cli.ts check --root examples/content-repo",
|
||||||
|
"demo:export": "tsx scripts/cli.ts export --root examples/content-repo",
|
||||||
|
"test": "vitest run",
|
||||||
|
"test:e2e": "node node_modules/@playwright/test/cli.js test",
|
||||||
|
"test:watch": "vitest",
|
||||||
|
"typecheck": "tsc --noEmit",
|
||||||
|
"verify": "pnpm typecheck && pnpm test && pnpm build && pnpm demo:check && pnpm demo:build"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@slidev/cli": "52.19.1",
|
||||||
|
"@slidev/parser": "52.19.1",
|
||||||
|
"dotenv": "17.4.2",
|
||||||
|
"fast-glob": "3.3.3",
|
||||||
|
"gray-matter": "4.0.3",
|
||||||
|
"markdown-it-attrs": "4.3.1",
|
||||||
|
"playwright-chromium": "1.62.1",
|
||||||
|
"qrcode-terminal": "0.12.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@playwright/test": "1.62.1",
|
||||||
|
"@types/node": "24.5.2",
|
||||||
|
"@types/qrcode-terminal": "0.12.2",
|
||||||
|
"tsx": "4.20.5",
|
||||||
|
"typescript": "5.9.2",
|
||||||
|
"vite": "8.2.2",
|
||||||
|
"vitest": "3.2.4"
|
||||||
|
}
|
||||||
|
}
|
||||||
Generated
+7982
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
|||||||
|
packages:
|
||||||
|
- packages/*
|
||||||
|
|
||||||
|
allowBuilds:
|
||||||
|
esbuild: true
|
||||||
|
playwright-chromium: false
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2022",
|
||||||
|
"module": "NodeNext",
|
||||||
|
"moduleResolution": "NodeNext",
|
||||||
|
"strict": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"types": ["node"],
|
||||||
|
"allowImportingTsExtensions": true,
|
||||||
|
"rewriteRelativeImportExtensions": true,
|
||||||
|
"declaration": true,
|
||||||
|
"sourceMap": true,
|
||||||
|
"rootDir": "scripts",
|
||||||
|
"outDir": "dist-cli"
|
||||||
|
},
|
||||||
|
"include": ["scripts/**/*.ts"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2022",
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "Bundler",
|
||||||
|
"strict": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"types": ["node", "vitest/globals"],
|
||||||
|
"allowImportingTsExtensions": true,
|
||||||
|
"noEmit": true
|
||||||
|
},
|
||||||
|
"include": ["scripts/**/*.ts", "tests/**/*.ts", "playwright.config.ts", "vitest.config.ts"]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user