From 277d347c96f507f415bb98c17f6421dee5a2b46b Mon Sep 17 00:00:00 2001 From: andres Date: Mon, 11 Dec 2023 12:36:41 +0100 Subject: [PATCH] use a go-npm fork by me lol --- .gitignore | 2 +- .goreleaser.yaml | 8 +++++--- package.json | 6 +++++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c0401a7..e3a5fdf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ .idea dist/ -.node_modules \ No newline at end of file +node_modules \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0e5b6ca..5c47147 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -13,9 +13,11 @@ before: - go mod tidy builds: - - env: - - CGO_ENABLED=0 + - binary: create-react-component goos: - - linux - windows - darwin + - linux + goarch: + - amd64 + - arm64 \ No newline at end of file diff --git a/package.json b/package.json index c4ba046..6549c89 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,12 @@ "private": false, "repository": "https://github.com/ershisan99/create-react-component", "description": "A simple CLI tool to create react component", + "files": [ + "dist", + "postinstall.js" + ], "dependencies": { - "@gzuidhof/go-npm": "^0.1.13" + "@ershisan99/go-npm": "^0.1.13" }, "scripts": { "postinstall": "go-npm install",