Skip to content

Commit

Permalink
feat: 1.11.0 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangWeixian authored Mar 18, 2023
1 parent 404a18b commit b29784f
Show file tree
Hide file tree
Showing 7 changed files with 1,088 additions and 483 deletions.
5 changes: 5 additions & 0 deletions .changeset/seven-deers-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aiou/rollup-template": patch
---

build with esbuild
3 changes: 3 additions & 0 deletions .czrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"path": "node_modules/cz-emoji"
}
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@

## features

- ⚡ Fast - Build with [`rollup-plugin-esbuild`](https://github.com/egoist/rollup-plugin-esbuild)
- 📊 Stats - output bag bundlesize
- 📦 Exclude `dependencies` and `peerDependencies`, and bundle `devDependencies`
- 💪 Typescript - type safe
- 🃏 Auto setup package condition exports
- 💪 Typescript - type safe, support alias path with [`ttypescript`](https://github.com/cevek/ttypescript/tree/master/packages/ttypescript)
- 🃏 Auto setup package condition exports with [`rollup-plugin-condition-exports`](https://github.com/JiangWeixian/rollup-plugin-condition-exports/tree/master)
- ✅ Vitest
- 📦 Publish with `changesets`

## install

Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@aiou/rollup-template",
"version": "1.10.2",
"license": "MIT",
"packageManager": "pnpm@7.23.0",
"homepage": "https://github.com/neo-hack/rollup-template#readme",
"repository": {
"type": "git",
Expand All @@ -19,16 +20,18 @@
"exports": {
"./package.json": "./package.json",
".": {
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"build": "rimraf dist && rollup -c --silent",
"build:lib": "rollup -c --silent",
"build:dts": "ttsc",
"build": "rimraf dist && run-p build:*",
"dev": "rollup -c -w --silent",
"test": "vitest",
"pretest": "pnpm run build",
Expand All @@ -41,42 +44,39 @@
"lint:fix": "eslint . --fix"
},
"lint-staged": {
"**/**/*.{js,ts,tsx,vue,json}": [
"eslint --fix"
]
"**/**/*.{js,ts,tsx,vue,json}": ["eslint --fix"]
},
"dependencies": {
"functional-md": "^1.1.0"
},
"devDependencies": {
"@aiou/eslint-config": "0.5.1",
"@aiou/eslint-config": "0.7.8",
"@changesets/cli": "2.21.1",
"@rollup/plugin-alias": "3.1.9",
"@rollup/plugin-commonjs": "21.0.2",
"@rollup/plugin-node-resolve": "13.1.3",
"@rollup/plugin-alias": "4.0.3",
"@rollup/plugin-commonjs": "24.0.1",
"@rollup/plugin-node-resolve": "15.0.1",
"@types/node": "17.0.22",
"cz-emoji": "1.3.1",
"esbuild": "^0.17.12",
"eslint": "8.11.0",
"esrua": "0.2.1",
"husky": "7.0.4",
"lint-staged": "11.2.6",
"prettier": "2.4.1",
"npm-run-all": "^4.1.5",
"rimraf": "3.0.2",
"rollup": "2.71.1",
"rollup": "3.19.1",
"rollup-plugin-condition-exports": "1.3.1",
"rollup-plugin-esbuild": "^5.0.0",
"rollup-plugin-filesize": "9.1.2",
"rollup-plugin-node-externals": "4.0.0",
"rollup-plugin-typescript2": "0.31.2",
"rollup-plugin-node-externals": "5.1.2",
"ts-node": "^10.7.0",
"tslib": "2.4.0",
"ttypescript": "1.5.13",
"typescript": "4.4.3",
"typescript-transform-paths": "3.3.1",
"vitest": "0.10.0"
},
"config": {
"commitizen": {
"path": "cz-emoji"
}
"engines": {
"node": ">=14"
}
}
Loading

0 comments on commit b29784f

Please sign in to comment.