Skip to content

Commit

Permalink
chore: prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
zce committed Apr 14, 2024
1 parent 9d55be4 commit 67e1eee
Show file tree
Hide file tree
Showing 16 changed files with 2,025 additions and 273 deletions.
16 changes: 0 additions & 16 deletions .editorconfig

This file was deleted.

4 changes: 0 additions & 4 deletions .github/husky/commit-msg

This file was deleted.

4 changes: 0 additions & 4 deletions .github/husky/pre-commit

This file was deleted.

4 changes: 4 additions & 0 deletions .github/renovate.json
@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>zce/renovate-config"]
}
11 changes: 2 additions & 9 deletions .gitignore
@@ -1,12 +1,5 @@
*.pem
.DS_Store

node_modules

/dist

/coverage
/test/.temp

package-lock.json
pnpm-lock.yaml
yarn.lock
dist
8 changes: 8 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,8 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"files.exclude": {
"**/node_modules": true
},
"typescript.tsdk": "node_modules/typescript/lib"
}
3 changes: 3 additions & 0 deletions bin/caz.js
@@ -0,0 +1,3 @@
#!/usr/bin/env node
import('../dist/cli.js')
// for worksapce development
File renamed without changes.
2 changes: 1 addition & 1 deletion LICENSE → license
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 zce <w@zce.me> (https://zce.me)
Copyright (c) 2024 zce <w@zce.me> (https://zce.me)

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
97 changes: 41 additions & 56 deletions package.json
Expand Up @@ -14,31 +14,20 @@
"cli",
"zce"
],
"homepage": "https://github.com/zce/caz#readme",
"bugs": {
"url": "https://github.com/zce/caz/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zce/caz.git"
},
"repository": "zce/caz",
"license": "MIT",
"author": {
"name": "zce",
"email": "w@zce.me",
"url": "https://zce.me"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": "dist/cli.js",
"type": "module",
"author": "zce <w@zce.me> (https://zce.me)",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": "./bin/velite.js",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"lint": "ts-standard",
"build": "tsc && rollup -c",
"test": "vitest run",
"prepare": "husky install .github/husky"
"format": "prettier . --write"
},
"tsup": {
"entry": [
Expand All @@ -53,48 +42,44 @@
"resolve": true
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
"prettier": "@zce/prettier-config",
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{ts,js}": "ts-standard --fix"
},
"renovate": {
"extends": [
"zce"
]
"*.{js,ts,md}": "prettier --write"
},
"devDependencies": {
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
"@types/adm-zip": "0.5.1",
"@types/ini": "1.3.31",
"@types/lodash": "4.14.198",
"@types/node": "20.11.22",
"@types/semver": "7.5.2",
"@types/validate-npm-package-name": "4.0.0",
"adm-zip": "0.5.10",
"cac": "6.7.14",
"env-paths": "3.0.0",
"fast-glob": "3.3.1",
"husky": "8.0.3",
"ini": "4.1.1",
"lint-staged": "14.0.1",
"lodash": "4.17.21",
"node-fetch": "3.3.2",
"ora": "7.0.1",
"prompts": "2.4.2",
"semver": "7.5.4",
"socks-proxy-agent": "8.0.2",
"ts-standard": "12.0.2",
"tsup": "7.2.0",
"typescript": "5.2.2",
"validate-npm-package-name": "5.0.0",
"vitest": "0.34.4"
"@clack/prompts": "^0.7.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/adm-zip": "^0.5.5",
"@types/ini": "^4.1.0",
"@types/lodash": "^4.17.0",
"@types/node": "^20.12.7",
"@types/semver": "^7.5.8",
"@types/validate-npm-package-name": "^4.0.2",
"adm-zip": "^0.5.12",
"cac": "^6.7.14",
"env-paths": "^3.0.0",
"fast-glob": "^3.3.2",
"ini": "^4.1.2",
"lint-staged": "^15.2.2",
"lodash": "^4.17.21",
"node-fetch": "^3.3.2",
"ora": "^8.0.1",
"prompts": "^2.4.2",
"rollup": "^4.14.2",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.1",
"semver": "^7.6.0",
"socks-proxy-agent": "^8.0.3",
"typescript": "^5.4.5",
"validate-npm-package-name": "^5.0.0",
"vitest": "^1.5.0"
},
"engines": {
"node": ">=16"
"node": "^18.17.0 || >=20.3.0"
}
}

0 comments on commit 67e1eee

Please sign in to comment.