Skip to content

Commit

Permalink
feat: 改造workspace,使用bun
Browse files Browse the repository at this point in the history
  • Loading branch information
liuhuapiaoyuan committed Oct 12, 2024
1 parent 2411691 commit e8f8e26
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
10 changes: 10 additions & 0 deletions apps/docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/coverage
/node_modules
dist
TODOs.md
.DS_Store
.vitepress/cache
.vscode/
.idea/
.vitepress/dist/
package-lock.json
3 changes: 2 additions & 1 deletion apps/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ layout: home
hero:
name: "🚀next-auth-oauth"
text: "一键启动完善登录套件的Nextjs应用 🔐"
image: "static/main.jpg"
image:
src: ./static/main.jpg
tagline: "为国人🚩提供更爽的集成,支持微信登国内常用平台,规范短信验证码集成"
actions:
- theme: brand
Expand Down
Binary file added bun.lockb
Binary file not shown.
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
"version": "1.0.5",
"description": "",
"main": "index.js",
"workspaces": ["packages/*","app"],
"workspaces": ["packages/*","apps/*"],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"docs:dev": "pnpm -F ./packages/docs docs:dev",
"docs:build": "pnpm -F ./packages/docs docs:build",
"docs:preview": "pnpm -F ./packages/docs docs:preview ",
"release": "pnpm -F ./packages/next-auth-oauth release "
"docs:dev":"bun --filter 'docs' docs:dev",
"docs:build":"bun --filter 'docs' docs:build",
"release": "bun --filter 'next-auth-oauth' release",
"dev": "bun --filter 'next-auth-oauth' dev"
},
"keywords": [],
"author": "",
Expand Down
1 change: 1 addition & 0 deletions packages/next-auth-oauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
],
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"release": "rollup -c && npm publish"
},
"keywords": [
Expand Down

0 comments on commit e8f8e26

Please sign in to comment.