diff --git a/.changeset/new-mails-appear.md b/.changeset/new-mails-appear.md new file mode 100644 index 0000000..026163d --- /dev/null +++ b/.changeset/new-mails-appear.md @@ -0,0 +1,7 @@ +--- +"eslint-config-grisaia-typescript": patch +"grisaia-package-builder": patch +"eslint-config-grisaia-react": patch +--- + +Package builder used as binary diff --git a/packages/package-builder/package.json b/packages/package-builder/package.json index 013d2e4..309a61e 100644 --- a/packages/package-builder/package.json +++ b/packages/package-builder/package.json @@ -1,6 +1,6 @@ { "name": "grisaia-package-builder", - "version": "0.1.9", + "version": "0.1.8", "dependencies": { "rimraf": "^5.0.1" }, @@ -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" @@ -35,7 +30,7 @@ "esbuild": "^0.19.2" }, "private": false, - "sideEffects": false, + "sideEffects": true, "bugs": { "url": "https://github.com/RustedLabs/js-package-utils/issues" },