-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
21,786 additions
and
16,255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
.*cache | ||
.type-coverage | ||
.vercel | ||
.yarn/* | ||
!.yarn/plugins | ||
coverage | ||
dist | ||
lib | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.type-coverage | ||
.vercel | ||
.yarn | ||
coverage | ||
dist | ||
lib | ||
/auto-imports.d.ts | ||
/pnpm-lock.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ dist | |
lib | ||
LICENSE | ||
*.json | ||
*.lock | ||
*.log | ||
*.patch | ||
*.ts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports={name:"plugin-prepare-lifecycle",factory:e=>({hooks:{afterAllInstalled(r){if(!r.topLevelWorkspace.manifest.scripts.get("prepare"))return;e("@yarnpkg/shell").execute("yarn prepare")}}})}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
compressionLevel: mixed | ||
|
||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- checksum: 37b2361b1502b2054e6779788c0e9bdd6a90ce49852a8cad2feda79b0614ec94f06fb6e78951f5f95429c610d7934dd077caa47413a0227378a102c55161616d | ||
path: .yarn/plugins/plugin-prepare-lifecycle.cjs | ||
spec: "https://github.com/un-es/yarn-plugin-prepare-lifecycle/releases/download/v0.0.1/index.js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,74 @@ | ||
{ | ||
"name": "lib-boilerplate", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"type": "module", | ||
"description": "A simple library boilerplate.", | ||
"repository": "git+https://github.com/un-ts/lib-boilerplate.git", | ||
"author": "JounQin (https://www.1stG.me) <[email protected]>", | ||
"funding": "https://opencollective.com/unts", | ||
"license": "MIT", | ||
"packageManager": "[email protected].1", | ||
"packageManager": "[email protected].1", | ||
"engines": { | ||
"node": ">=16.0.0" | ||
"node": ">=18.0.0" | ||
}, | ||
"exports": "./src/index.ts", | ||
"files": [ | ||
"lib", | ||
"!**/*.tsbuildinfo" | ||
], | ||
"scripts": { | ||
"build": "run-p build:*", | ||
"build": "run-p 'build:*'", | ||
"build:r": "r -f cjs", | ||
"build:tsc": "tsc -p src", | ||
"dev": "vitest", | ||
"docs:build": "vite build docs", | ||
"docs:build": "vite build docs --emptyOutDir", | ||
"docs:dev": "vite docs", | ||
"lint": "run-p lint:*", | ||
"lint": "run-p 'lint:*'", | ||
"lint:es": "eslint . --cache -f friendly --max-warnings 10", | ||
"lint:style": "stylelint . --cache", | ||
"lint:tsc": "tsc --noEmit", | ||
"postversion": "pnpm i --no-frozen-lockfile", | ||
"prepare": "simple-git-hooks", | ||
"prerelease": "pnpm build", | ||
"release": "changeset publish", | ||
"serve": "vite preview docs", | ||
"test": "vitest run --coverage", | ||
"typecov": "type-coverage", | ||
"vercel-build": "pnpm docs:build", | ||
"version": "changeset version" | ||
"vercel-build": "yarn docs:build" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.5.0" | ||
"tslib": "^2.6.2" | ||
}, | ||
"devDependencies": { | ||
"@1stg/app-config": "^8.1.0", | ||
"@1stg/lib-config": "^11.1.0", | ||
"@1stg/app-config": "^9.0.0", | ||
"@1stg/lib-config": "^12.0.0", | ||
"@changesets/changelog-github": "^0.4.8", | ||
"@changesets/cli": "^2.26.1", | ||
"@mdx-js/rollup": "^2.3.0", | ||
"@size-limit/preset-small-lib": "^8.2.4", | ||
"@types/mdx": "^2.0.5", | ||
"@types/node": "^18.16.3", | ||
"@types/react": "^18.2.0", | ||
"@types/react-dom": "^18.2.1", | ||
"@types/web": "^0.0.99", | ||
"@vitejs/plugin-react-swc": "^3.3.0", | ||
"@vitest/coverage-istanbul": "^0.30.1", | ||
"github-markdown-css": "^5.2.0", | ||
"lib-boilerplate": "link:.", | ||
"@changesets/cli": "^2.26.2", | ||
"@mdx-js/rollup": "^3.0.0", | ||
"@pkgr/rollup": "^4.1.3", | ||
"@size-limit/preset-small-lib": "^10.0.2", | ||
"@types/mdx": "^2.0.9", | ||
"@types/node": "^20.8.10", | ||
"@types/react": "^18.2.36", | ||
"@types/react-dom": "^18.2.14", | ||
"@types/web": "^0.0.119", | ||
"@vitejs/plugin-react-swc": "^3.4.1", | ||
"@vitest/coverage-v8": "^0.34.6", | ||
"commitlint": "^18.2.0", | ||
"eslint": "^8.53.0", | ||
"github-markdown-css": "^5.4.0", | ||
"lint-staged": "^13.3.0", | ||
"npm-run-all": "^4.1.5", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-router-dom": "^6.11.0", | ||
"rehype-slug": "^5.1.0", | ||
"remark-gfm": "^3.0.1", | ||
"size-limit": "^8.2.4", | ||
"type-coverage": "^2.25.0", | ||
"typescript": "~5.0.4", | ||
"unplugin-auto-import": "^0.15.3", | ||
"vite": "^4.3.4", | ||
"vitest": "^0.30.1" | ||
"react-router-dom": "^6.18.0", | ||
"rehype-slug": "^6.0.0", | ||
"remark-gfm": "^4.0.0", | ||
"simple-git-hooks": "^2.9.0", | ||
"size-limit": "^10.0.2", | ||
"stylelint": "^15.11.0", | ||
"type-coverage": "^2.27.0", | ||
"typescript": "^5.2.2", | ||
"unplugin-auto-import": "^0.16.7", | ||
"vite": "^4.5.0", | ||
"vitest": "^0.34.6" | ||
}, | ||
"publishConfig": { | ||
"main": "./lib/index.cjs", | ||
|
@@ -78,11 +80,6 @@ | |
}, | ||
"types": "./lib/index.d.ts" | ||
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"@vitejs/[email protected]": "patches/@[email protected]" | ||
} | ||
}, | ||
"size-limit": [ | ||
{ | ||
"path": "lib/index.js" | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.