chore: update

This commit is contained in:
Anthony Fu committed 2021-08-05 16:26:15 +08:00
1 parent 12ca186a5c
commit f51d60af4c
3 files changed
+2360 -2765

No files matched your search

+3 -3
View File
@@ -19,9 +19,9 @@ jobs:
- run: npm i -g pnpm @antfu/ni - run: npm i -g pnpm @antfu/ni
- run: nci - run: nci
- run: nr test --if-present - run: nr test --if-present
- run: npm publish --access public # - run: npm publish --access public
env: # env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} # NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npx conventional-github-releaser -p angular - run: npx conventional-github-releaser -p angular
env: env:
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}} CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}}
+21 -16
View File
@@ -1,10 +1,16 @@
{ {
"name": "name", "name": "[name]",
"version": "0.0.0", "version": "0.0.0",
"description": "", "description": "",
"main": "dist/index.js", "main": "dist/index.js",
"module": "dist/index.mjs", "module": "dist/index.mjs",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"funding": "https://github.com/sponsors/antfu", "funding": "https://github.com/sponsors/antfu",
"author": "Anthony Fu <anthonyfu117@hotmail.com>", "author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT", "license": "MIT",
@@ -22,28 +28,27 @@
"dist" "dist"
], ],
"scripts": { "scripts": {
"prepublishOnly": "npm run build", "prepublishOnly": "nr build",
"dev": "npm run build -- --watch", "dev": "nr build --watch",
"start": "esno src/index.ts", "start": "esno src/index.ts",
"build": "tsup src/index.ts --format cjs,esm --dts", "build": "tsup src/index.ts --format cjs,esm --dts --no-splitting",
"release": "git-ensure -a && bumpp --commit --push --tag", "release": "bumpp --commit --push --tag && pnpm publish",
"lint": "eslint \"{src,test}/**/*.ts\"", "lint": "eslint \"{src,test}/**/*.ts\"",
"lint:fix": "npm run lint -- --fix", "lint:fix": "nr lint -- --fix",
"test": "jest" "test": "jest"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^0.6.2", "@antfu/eslint-config": "^0.6.6",
"@antfu/ni": "^0.5.5", "@antfu/ni": "^0.5.9",
"@types/jest": "^26.0.22", "@types/jest": "^26.0.24",
"@types/node": "^14.14.37", "@types/node": "^14.17.9",
"bumpp": "^6.0.6", "bumpp": "^6.0.6",
"eslint": "^7.23.0", "eslint": "^7.32.0",
"eslint-plugin-jest": "^24.3.2", "eslint-plugin-jest": "^24.4.0",
"esno": "^0.5.0", "esno": "^0.5.0",
"git-ensure": "^0.1.0",
"jest": "^26.6.3", "jest": "^26.6.3",
"ts-jest": "^26.5.4", "ts-jest": "^26.5.6",
"tsup": "^4.8.21", "tsup": "^4.13.1",
"typescript": "^4.2.3" "typescript": "^4.3.5"
} }
} }
+2336 -2746
View File
File diff suppressed because it is too large. Load diff