-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimize transform function using compose util (#18)
* build: move to bunchee * chore: add changeset * feat: compose fns of parser * chore: add changeset * test: revert relative path * chore: upgrade pnpm * ci: upgrade action
- Loading branch information
Showing
14 changed files
with
6,312 additions
and
4,970 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'prettier-plugin-zh': patch | ||
'core': patch | ||
--- | ||
|
||
compose fns of parser |
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,6 @@ | ||
--- | ||
"prettier-plugin-zh": minor | ||
"core": minor | ||
--- | ||
|
||
use bunchee for bundle |
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 |
---|---|---|
|
@@ -14,24 +14,22 @@ | |
"author": "nnecec <[email protected]>", | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.js", | ||
"import": "./dist/index.mjs" | ||
}, | ||
"./package.json": "./package.json" | ||
"require": "./dist/index.cjs", | ||
"import": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"main": "./dist/index.js", | ||
"files": [ | ||
"./dist" | ||
], | ||
"scripts": { | ||
"build": "tsup src/index.ts --format esm,cjs --dts", | ||
"build": "bunchee", | ||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", | ||
"dev": "tsup src/index.ts --format esm,cjs --watch --dts", | ||
"test": "echo \"Error: no test specified\" && exit 0" | ||
"dev": "bunchee -w" | ||
}, | ||
"devDependencies": { | ||
"@nnecec/tsconfig": "^0.2.2", | ||
"tsup": "^8.0.1" | ||
"@nnecec/tsconfig": "^0.2.3", | ||
"bunchee": "^5.2.2" | ||
}, | ||
"publishConfig": { | ||
"access": "restricted" | ||
|
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 |
---|---|---|
|
@@ -13,30 +13,29 @@ | |
"author": "nnecec <[email protected]>", | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.js", | ||
"import": "./dist/index.mjs" | ||
}, | ||
"./package.json": "./package.json" | ||
"require": "./dist/index.cjs", | ||
"import": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"main": "./dist/index.js", | ||
"main": "./dist/index.cjs", | ||
"files": [ | ||
"./dist" | ||
], | ||
"scripts": { | ||
"build": "tsup src/index.ts --format esm,cjs --dts", | ||
"build": "bunchee", | ||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", | ||
"dev": "tsup src/index.ts --format esm,cjs --watch --dts", | ||
"test": "echo \"Error: no test specified\" && exit 0" | ||
"dev": "bunchee -w" | ||
}, | ||
"dependencies": { | ||
"prettier": "^3.2.4" | ||
"prettier": "^3.3.2" | ||
}, | ||
"devDependencies": { | ||
"core": "workspace:*", | ||
"tsup": "^8.0.1" | ||
"bunchee": "^5.2.2", | ||
"core": "workspace:*" | ||
}, | ||
"peerDependencies": { | ||
"prettier": ">=3.0.0" | ||
"prettier": ">=3" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
|
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
Oops, something went wrong.