File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 },
3838 "devDependencies" : {
3939 "@changesets/cli" : " ^2.27.10" ,
40+ "commitsmile" : " ^1.0.3" ,
4041 "husky" : " ^9.1.7" ,
4142 "lint-staged" : " ^15.2.10" ,
42- "turbo" : " latest" ,
43- "commitsmile" : " ^1.0.3"
43+ "turbo" : " latest"
4444 },
4545 "engines" : {
4646 "node" : " >=20"
Original file line number Diff line number Diff line change 3232 "main" : " index.js" ,
3333 "bin" : {
3434 "commitsmileBuild" : " ./bin/app.js" ,
35- "commitsmileDev2 " : " ./bin/app.js"
35+ "commitsmileDev " : " ./bin/app.js"
3636 },
3737 "scripts" : {
3838 "build" : " pnpm tsup --config ./config/tsuprc/tsup.prod.ts" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export const BasicConfig = (isDev: boolean) =>
1313 ? { }
1414 : {
1515 entry : [ "src/index.ts" ] ,
16- plugins : [
16+ esbuildPlugins : [
1717 copy ( {
1818 assets : [
1919 { from : "./package.json" , to : "./package.json" } ,
Original file line number Diff line number Diff line change 33 "version" : " 2.0.0" ,
44 "private" : true ,
55 "type" : " module" ,
6+ "bin" : {
7+ "commitsmile-dev" : " ./lib/bin/app.cjs" ,
8+ "commitsmile-prod" : " ./dist/bin/app.cjs"
9+ },
610 "scripts" : {
711 "------------------------INSTALLATION-------------------" : " " ,
812 "prepare" : " " ,
913 "pre" : " git add . && npx lint-staged" ,
14+ "link-cli" : " pnpm link --global" ,
1015 "------------------------UTILS--------------------------" : " " ,
1116 "lint" : " eslint ." ,
1217 "lint:fix" : " eslint . --fix" ,
1318 "format" : " pnpm prettier . --write && pnpm prettier . --check" ,
1419 "clean" : " " ,
15- "link-cli" : " pnpm unlink --global && pnpm link --global" ,
16- "link-cli:dev" : " cd lib && pnpm unlink --global && pnpm link --global" ,
1720 "------------------------BUILDS-------------------------" : " " ,
1821 "build:dev" : " pnpm tsup --config ./config/tsuprc/tsup.dev.ts" ,
1922 "build:prod" : " pnpm tsup --config ./config/tsuprc/tsup.prod.ts" ,
You can’t perform that action at this time.
0 commit comments