build: use pkgroll
This commit is contained in:
19
.github/CONTRIBUTING.md
vendored
19
.github/CONTRIBUTING.md
vendored
@@ -40,22 +40,3 @@ Or in non UNIX environments, you can use Node.js to run the file:
|
|||||||
```
|
```
|
||||||
node ./dist/cli.mjs
|
node ./dist/cli.mjs
|
||||||
```
|
```
|
||||||
|
|
||||||
## Testing the package
|
|
||||||
After commiting your changes, you can create a test release via GitHub using [`git-publish`](https://github.com/privatenumber/git-publish):
|
|
||||||
|
|
||||||
```
|
|
||||||
$ pnpm dlx git-publish
|
|
||||||
✔ Successfully published branch! Install with command:
|
|
||||||
→ npm i 'privatenumber/aicommits#npm/main'
|
|
||||||
```
|
|
||||||
|
|
||||||
You can test it out in any project like this:
|
|
||||||
```
|
|
||||||
pnpm dlx 'privatenumber/aicommits#npm/main'
|
|
||||||
```
|
|
||||||
|
|
||||||
Or using npx:
|
|
||||||
```
|
|
||||||
npx 'privatenumber/aicommits#npm/main'
|
|
||||||
```
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": true,
|
"outDir": "dist",
|
||||||
"target": "ES2020",
|
"target": "ES2020",
|
||||||
"module": "Node16",
|
"module": "Node16",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user