Skip to content

Commit

Permalink
✨ 新的 example,尝试 monorepo (#2)
Browse files Browse the repository at this point in the history
* ✨ 新的 example
它拥有自己的 package,使用 vitesse-lite 作为模版

* 🐛 修复 lint 错误,避免重复 vue 实例

* 🔨 tsup 热重载

* 🔧 配置 Workspace

* 💚 修复单元测试

* 💚 更新 pnpm-lock.yaml
  • Loading branch information
LittleSound authored May 22, 2022
1 parent d73d61d commit f4d4715
Show file tree
Hide file tree
Showing 48 changed files with 4,666 additions and 318 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ dist
public
node_modules
node_modules/
.vscode
.github
package.json
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: LittleSound
22 changes: 22 additions & 0 deletions .pnpm-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"0 debug pnpm:scope": {
"selected": 1
},
"1 error pnpm": {
"code": "ELIFECYCLE",
"errno": "ENOENT",
"syscall": "spawn",
"file": "sh",
"pkgid": "[email protected]",
"stage": "dev",
"script": "run-p dev:*",
"pkgname": "slimeform",
"err": {
"name": "pnpm",
"message": "[email protected] dev: `run-p dev:*`\nspawn ENOENT",
"code": "ELIFECYCLE",
"stack": "pnpm: [email protected] dev: `run-p dev:*`\nspawn ENOENT\n at ChildProcess.<anonymous> (/Users/rizumu/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:93455:22)\n at ChildProcess.emit (node:events:526:28)\n at maybeClose (node:internal/child_process:1092:16)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)"
}
},
"2 warn pnpm:global": " Local package.json exists, but node_modules missing, did you mean to install?"
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"editor.defaultFormatter": "dprint.dprint",
"dprint.path": "node_modules/dprint/dprint"
"dprint.path": "node_modules/dprint/dprint",
"unocss.root": "example"
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021-2022 Sachin Raja
Copyright (c) 2022-PRESENT Ayaka Rizumu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
23 changes: 0 additions & 23 deletions dprint.json

This file was deleted.

31 changes: 6 additions & 25 deletions example/.gitignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
.DS_Store
.vite-ssg-dist
.vite-ssg-temp
*.local
dist
dist-ssr
coverage
*.local

/cypress/videos/
/cypress/screenshots/

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
node_modules
.idea/
*.log
1 change: 1 addition & 0 deletions example/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shamefully-hoist=true
10 changes: 10 additions & 0 deletions example/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recommendations": [
"antfu.vite",
"antfu.iconify",
"antfu.unocss",
"antfu.goto-alias",
"vue.volar",
"dbaeumer.vscode-eslint"
]
}
10 changes: 10 additions & 0 deletions example/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"cSpell.words": ["Vitesse"],
"prettier.enable": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"files.associations": {
"*.css": "postcss"
}
}
46 changes: 0 additions & 46 deletions example/README.md

This file was deleted.

Loading

0 comments on commit f4d4715

Please sign in to comment.