Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add presets #1964

Draft
wants to merge 2 commits into
base: next
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@vuepress/client": "2.0.0-beta.61",
"@vuepress/plugin-docsearch": "2.0.0-beta.61",
"@vuepress/utils": "2.0.0-beta.61",
"marked": "4.3.0",
"marked": "5.0.1",
"vue": "3.2.47",
"vuepress": "2.0.0-beta.61",
"vuepress-plugin-redirect": "2.0.0-beta.208",
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@
"@babel/runtime": "7.21.5",
"@commitlint/cli": "17.6.3",
"@commitlint/config-conventional": "17.6.3",
"@rollup/plugin-alias": "5.0.0",
"@rollup/plugin-commonjs": "24.1.0",
"@rollup/plugin-json": "6.0.0",
"@rollup/plugin-node-resolve": "15.0.2",
"@rollup/plugin-replace": "5.0.2",
"@types/node": "20.1.1",
Expand Down
84 changes: 84 additions & 0 deletions packages/client-presets/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"name": "@waline/client-presets",
"version": "0.1.0-alpha.0",
"description": "Presets for official Waline client",
"private": true,
"keywords": [
"waline",
"presets"
],
"repository": {
"url": "https://github.com/walinejs/waline",
"directory": "packages/client-presets"
},
"license": "MIT",
"author": {
"name": "Mr.Hope",
"email": "[email protected]",
"url": "https://mrhope.site"
},
"exports": {
"./recaptcha-v3": {
"types": "./dist/recaptcha-v3.d.mts",
"import": "./dist/recaptcha-v3.mjs",
"require": "./dist/recaptcha-v3.cjs"
},
"./turnstile": {
"types": "./dist/turnstile.d.mts",
"import": "./dist/turnstile.mjs",
"require": "./dist/turnstile.cjs"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"scripts": {
"build": "rollup -c rollup.config.ts --configPlugin esbuild='{target:\"esnext\"}'",
"clean": "rimraf ./dist",
"dev": "vite",
"prepublishOnly": "pnpm clean && pnpm build"
},
"browserslist": {
"production": [
">0.5%",
"maintained node versions",
"not dead",
"not ie 11",
"not op_mini all",
"last 2 years"
],
"development": [
"last 2 chrome version",
"last 2 firefox version",
"last 2 safari version"
]
},
"engines": {
"node": ">=16"
},
"dependencies": {
"@types/markdown-it-emoji": "^2.0.2",
"@types/katex": "0.16.0",
"@mdit/plugin-tex": "^0.4.5",
"@types/marked": "^4.3.0",
"@types/markdown-it": "^12.2.3",
"@types/prismjs": "^1.26.0",
"katex": "^0.16.7",
"mathjax-full": "^3.2.2",
"marked": "^5.0.1",
"marked-highlight": "^1.0.1",
"marked-emoji": "^1.0.1",
"markdown-it": "^13.0.1",
"markdown-it-emoji": "^2.0.2",
"prismjs": "^1.29.0",
"shiki": "^0.14.2"
},
"devDependencies": {
"@types/node": "18.15.11",
"@vitejs/plugin-vue": "4.1.0",
"recaptcha-v3": "1.10.0",
"user-agent-data-types": "0.3.1",
"vite": "4.2.1"
}
}
Loading