Skip to content

Commit

Permalink
feat: bump things
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackman99 committed Jul 24, 2024
1 parent 1a0796c commit 975e128
Show file tree
Hide file tree
Showing 26 changed files with 779 additions and 852 deletions.
8 changes: 8 additions & 0 deletions .changeset/breezy-teachers-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@sveltepress/theme-default": minor
"@sveltepress/create": minor
"@sveltepress/vite": minor
"@sveltepress/twoslash": minor
---

fix: TabPanel & Feature component behaviour
8 changes: 8 additions & 0 deletions .changeset/bright-plums-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@sveltepress/theme-default": minor
"@sveltepress/create": minor
"@sveltepress/twoslash": minor
"@sveltepress/vite": minor
---

feat: use unocess safelist reimplement prebuild iconify icons
8 changes: 8 additions & 0 deletions .changeset/ninety-boats-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@sveltepress/theme-default": minor
"@sveltepress/create": minor
"@sveltepress/twoslash": minor
"@sveltepress/vite": minor
---

chore: update deps
8 changes: 8 additions & 0 deletions .changeset/young-carrots-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@sveltepress/theme-default": minor
"@sveltepress/create": minor
"@sveltepress/vite": minor
"@sveltepress/twoslash": minor
---

chore: remove @iconfiy/json package. Use @iconify-json/[collection] packages instead
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
{
"version": "0.0.1",
"devDependencies": {
"@casual-ui/eslint-config-svelte": "^0.6.0",
"@changesets/cli": "^2.27.1",
"eslint": "^8.57.0",
"prettier": "~3.2.5",
"prettier-plugin-svelte": "^3.2.1",
"svelte": "^4.2.12",
"taze": "^0.13.3",
"typescript": "~5.3.3"
},
"scripts": {
"lint": "eslint -c ./.eslintrc.cjs --ext .js,.ts,.svelte ./packages",
"format": "prettier \"./**/*.svelte\" --check",
Expand All @@ -20,5 +10,15 @@
},
"dependencies": {
"@changesets/changelog-github": "^0.5.0"
},
"devDependencies": {
"@casual-ui/eslint-config-svelte": "^0.6.0",
"@changesets/cli": "^2.27.1",
"eslint": "^8.57.0",
"prettier": "~3.2.5",
"prettier-plugin-svelte": "^3.2.1",
"svelte": "^4.2.12",
"taze": "^0.13.3",
"typescript": "~5.3.3"
}
}
2 changes: 1 addition & 1 deletion packages/create/template-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.1",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@sveltepress/theme-default": "^2.0.4",
"@sveltepress/theme-default": "^2.0.6",
"@sveltepress/vite": "^0.33.2",
"@types/node": "^20.11.20",
"svelte": "^4.2.12",
Expand Down
2 changes: 1 addition & 1 deletion packages/create/template-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.1",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@sveltepress/theme-default": "^2.0.4",
"@sveltepress/theme-default": "^2.0.6",
"@sveltepress/vite": "^0.33.2",
"@types/node": "^20.11.20",
"svelte": "^4.2.12",
Expand Down
20 changes: 17 additions & 3 deletions packages/docs-site-zh/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"name": "@sveltepress/docs-site-zh",
"type": "module",
"private": true,
"license": "MIT",
"scripts": {
"dev": "vite dev",
"build": "vite build",
Expand All @@ -9,6 +11,20 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
},
"devDependencies": {
"@iconify-json/bi": "^1.1.23",
"@iconify-json/bxs": "^1.1.10",
"@iconify-json/carbon": "^1.1.36",
"@iconify-json/emojione": "^1.1.10",
"@iconify-json/fxemoji": "^1.1.8",
"@iconify-json/logos": "^1.1.43",
"@iconify-json/material-symbols": "^1.1.85",
"@iconify-json/mdi": "^1.1.67",
"@iconify-json/noto": "^1.1.18",
"@iconify-json/openmoji": "^1.1.52",
"@iconify-json/ph": "^1.1.13",
"@iconify-json/solar": "^1.1.9",
"@iconify-json/tabler": "^1.1.118",
"@iconify-json/vscode-icons": "^1.1.36",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.1",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
Expand All @@ -20,7 +36,5 @@
"svelte-check": "^3.6.4",
"vite": "^5.1.4",
"workbox-window": "^7.0.0"
},
"type": "module",
"license": "MIT"
}
}
6 changes: 6 additions & 0 deletions packages/docs-site-zh/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
<slot />

<style>
:global(.i-logos-svelte-kit) {
width: 4em;
}
</style>
20 changes: 17 additions & 3 deletions packages/docs-site/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"name": "@sveltepress/docs-site",
"type": "module",
"private": true,
"license": "MIT",
"scripts": {
"dev": "vite dev",
"build": "vite build",
Expand All @@ -9,6 +11,20 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
},
"devDependencies": {
"@iconify-json/bi": "^1.1.23",
"@iconify-json/bxs": "^1.1.10",
"@iconify-json/carbon": "^1.1.36",
"@iconify-json/emojione": "^1.1.10",
"@iconify-json/fxemoji": "^1.1.8",
"@iconify-json/logos": "^1.1.43",
"@iconify-json/material-symbols": "^1.1.85",
"@iconify-json/mdi": "^1.1.67",
"@iconify-json/noto": "^1.1.18",
"@iconify-json/openmoji": "^1.1.52",
"@iconify-json/ph": "^1.1.13",
"@iconify-json/solar": "^1.1.9",
"@iconify-json/tabler": "^1.1.118",
"@iconify-json/vscode-icons": "^1.1.36",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.1",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
Expand All @@ -20,7 +36,5 @@
"svelte-check": "^3.6.4",
"vite": "^5.1.4",
"workbox-window": "^7.0.0"
},
"type": "module",
"license": "MIT"
}
}
6 changes: 6 additions & 0 deletions packages/docs-site/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
<slot />

<style>
:global(.i-logos-svelte-kit) {
height: 3em;
}
</style>
32 changes: 16 additions & 16 deletions packages/docs-site/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"lib": ["ESNext"],
"module": "ESNext",
"ignoreDeprecations": "5.0"
},
"exclude": ["deploy/index.cjs"]
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"lib": ["ESNext"],
"module": "ESNext",
"ignoreDeprecations": "5.0"
},
"exclude": ["deploy/index.cjs"]
}
119 changes: 59 additions & 60 deletions packages/theme-default/package.json
Original file line number Diff line number Diff line change
@@ -1,84 +1,37 @@
{
"name": "@sveltepress/theme-default",
"homepage": "https://sveltepress.site/",
"type": "module",
"version": "2.0.6",
"description": "The default theme for sveltepress",
"scripts": {
"test": "vitest",
"cp:assets": "cp src/style.css dist && cp -r src/fonts dist",
"build:comps": "svelte-package -i src",
"build": "pnpm build:comps && pnpm cp:assets",
"prepare": "pnpm build"
},
"files": [
"dist",
"types.d.ts"
],
"keywords": [
"Docs",
"svelte",
"svelte docs",
"sveltepress"
],
"author": {
"name": "Dongsheng Zhao",
"email": "[email protected]"
},
"license": "MIT",
"homepage": "https://sveltepress.site/",
"repository": {
"type": "github",
"url": "https://github.com/Blackman99/sveltepress",
"directory": "packages/theme-default"
},
"license": "MIT",
"devDependencies": {
"@sveltejs/kit": "^2.5.1",
"@sveltejs/package": "^2.3.0",
"@sveltepress/vite": "workspace:*",
"@types/node": "^20.11.20",
"svelte": "^4.2.12",
"unified": "^11.0.4",
"vite": "^5.1.4",
"vitest": "^1.3.1"
},
"dependencies": {
"@docsearch/css": "^3.5.2",
"@docsearch/js": "^3.5.2",
"@iconify/json": "^2.2.186",
"@iconify/utils": "^2.1.14",
"@shikijs/twoslash": "^1.1.7",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@sveltepress/twoslash": "workspace:*",
"@vite-pwa/sveltekit": "^0.4.0",
"lru-cache": "^10.2.0",
"shiki": "^1.1.7",
"uid": "^2.0.2",
"unist-util-visit": "^5.0.0",
"unocss": "^0.58.3",
"vite-plugin-pwa": "^0.19.0",
"workbox-precaching": "^7.0.0",
"workbox-routing": "^7.0.0"
},
"peerDependencies": {
"@sveltejs/kit": "^1.20.4 || ^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@sveltepress/vite": "workspace:*",
"svelte": "^3.55.1 || ^4.0.0",
"vite": "^4.3.9 || ^5.0.0"
},
"type": "module",
"types": "./src/index.ts",
"keywords": [
"Docs",
"svelte",
"svelte docs",
"sveltepress"
],
"exports": {
".": "./dist/index.js",
"./style.css": "./src/style.css",
"./components": {
"types": "./src/components/index.ts",
"import": "./src/components/index.ts",
"svelte": "./src/components/index.ts",
"types": "./src/components/index.ts"
"svelte": "./src/components/index.ts"
},
"./context": {
"types": "./src/context/index.ts",
"import": "./src/context/index.ts",
"svelte": "./src/context/index.ts",
"types": "./src/context/index.ts"
"svelte": "./src/context/index.ts"
},
"./PageLayout.svelte": {
"import": "./src/components/PageLayout.svelte",
Expand All @@ -92,6 +45,52 @@
"types": "./types.d.ts"
}
},
"types": "./src/index.ts",
"files": [
"dist",
"types.d.ts"
],
"scripts": {
"test": "vitest",
"cp:assets": "cp src/style.css dist && cp -r src/fonts dist",
"build:comps": "svelte-package -i src",
"build": "pnpm build:comps && pnpm cp:assets",
"prepare": "pnpm build"
},
"peerDependencies": {
"@sveltejs/kit": "^1.20.4 || ^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@sveltepress/vite": "workspace:*",
"svelte": "^3.55.1 || ^4.0.0",
"vite": "^4.3.9 || ^5.0.0"
},
"dependencies": {
"@docsearch/css": "^3.5.2",
"@docsearch/js": "^3.5.2",
"@shikijs/twoslash": "^1.1.7",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@sveltepress/twoslash": "workspace:*",
"@unocss/extractor-svelte": "^0.61.5",
"@vite-pwa/sveltekit": "^0.4.0",
"lru-cache": "^10.2.0",
"shiki": "^1.1.7",
"uid": "^2.0.2",
"unist-util-visit": "^5.0.0",
"unocss": "^0.61.5",
"vite-plugin-pwa": "^0.19.0",
"workbox-precaching": "^7.0.0",
"workbox-routing": "^7.0.0"
},
"devDependencies": {
"@sveltejs/kit": "^2.5.1",
"@sveltejs/package": "^2.3.0",
"@sveltepress/vite": "workspace:*",
"@types/node": "^20.11.20",
"svelte": "^4.2.12",
"unified": "^11.0.4",
"vite": "^5.1.4",
"vitest": "^1.3.1"
},
"publishConfig": {
"types": "./dist/index.d.ts",
"exports": {
Expand Down
Loading

0 comments on commit 975e128

Please sign in to comment.