Skip to content

Commit

Permalink
v0.1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
mgilangjanuar committed Mar 25, 2023
1 parent 83148bd commit 5fb5a47
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 164 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gptcommit",
"version": "0.1.22",
"version": "0.1.23",
"main": "dist/index.mjs",
"author": "M Gilang Januar",
"license": "MIT",
Expand All @@ -10,7 +10,7 @@
"build": "rimraf dist && tsc --noEmit false",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"package": "yarn build && cp ./package.pkg.json ./dist/package.json && cd dist && ncc build -o ./build ./index.js && sed -i '' '2s/$/\\\nimport { fileURLToPath } from \"url\";\\\nconst __filename = fileURLToPath(import.meta.url);\\\n/' build/index.js && cp ../package.pkg.json ./build/package.json && cd ./build && pkg package.json"
"package": "yarn build && cp ./package.pkg.json ./dist/package.json && cd dist && ncc build -o ./build ./index.mjs && sed -i '' '2s/$/\\\nimport { fileURLToPath } from \"url\";\\\nconst __filename = fileURLToPath(import.meta.url);\\\n/' build/index.mjs && cp ../package.pkg.json ./build/package.json && cd ./build && pkg package.json"
},
"bin": {
"gptcommit": "./dist/index.mjs"
Expand All @@ -35,7 +35,7 @@
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@vercel/ncc": "^0.36.1",
"eslint": "^8.35.0",
"pkg": "^5.8.0",
"pkg": "^5.8.1",
"rimraf": "^4.2.0",
"typescript": "^4.9.5"
},
Expand Down
4 changes: 2 additions & 2 deletions package.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "gptcommit",
"type": "module",
"bin": {
"gptcommit": "./index.js"
"gptcommit": "./index.mjs"
},
"pkg": {
"scripts": "./index.js",
"scripts": "./index.mjs",
"assets": [
"./fonts/*"
]
Expand Down
Loading

0 comments on commit 5fb5a47

Please sign in to comment.