Skip to content

Commit

Permalink
Fix failing release (#27)
Browse files Browse the repository at this point in the history
* fix package builder binary

* fix package builder binary

* Fix dependencies used in binary

* Fix dependencies used in binary

* fix bin file extension

* update lockfile

* test package builder during build time

* fix missing rimraf

* Fix missing package.json build output
  • Loading branch information
l-you authored Sep 13, 2023
1 parent 7c61bf4 commit 3cc42b9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
7 changes: 7 additions & 0 deletions .changeset/new-mails-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"eslint-config-grisaia-typescript": patch
"grisaia-package-builder": patch
"eslint-config-grisaia-react": patch
---

Package builder used as binary
15 changes: 5 additions & 10 deletions packages/package-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grisaia-package-builder",
"version": "0.1.9",
"version": "0.1.8",
"dependencies": {
"rimraf": "^5.0.1"
},
Expand All @@ -12,20 +12,15 @@
},
"main": "src/index.ts",
"scripts": {
"build": "rimraf dist && esbuild bin/cli.ts --platform=node --packages=external --bundle --outdir=dist/bin"
"build": "rimraf dist && esbuild bin/cli.ts --platform=node --packages=external --bundle --outdir=dist/bin && cp package.json README.md LICENSE ./dist "
},
"publishConfig": {
"provenance": true,
"access": "public",
"main": "index.js",
"main": "bin/cli.js",
"directory": "dist",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./index.js",
"require": "./index.cjs",
"types": "./index.d.ts"
}
"./package.json": "./package.json"
},
"bin": {
"gbuild": "./bin/cli.js"
Expand All @@ -35,7 +30,7 @@
"esbuild": "^0.19.2"
},
"private": false,
"sideEffects": false,
"sideEffects": true,
"bugs": {
"url": "https://github.com/RustedLabs/js-package-utils/issues"
},
Expand Down

0 comments on commit 3cc42b9

Please sign in to comment.