From ef94f7578169bea44c910ecfe0ea67aacd42926f Mon Sep 17 00:00:00 2001 From: Kara Fox Date: Thu, 3 Oct 2024 15:18:49 -0700 Subject: [PATCH] release setup --- package.json | 17 ++++++++--------- release.sh | 7 +++++++ 2 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 release.sh diff --git a/package.json b/package.json index 32d95b21..76597216 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,8 @@ { - "name": "react-textarea-autosize", + "name": "@fulcrumapp/react-textarea-autosize", "description": "textarea component for React which grows with content", - "version": "4.0.0", - "author": { - "name": "Andrey Popp", - "email": "8mayday@gmail.com", - "url": "http://andreypopp.com" - }, + "version": "0.0.1", + "author": "", "homepage": "https://github.com/andreypopp/react-textarea-autosize", "eslintConfig": { "extends": "prometheusresearch" @@ -16,6 +12,9 @@ "prometheusresearch" ] }, + "publishConfig": { + "registry": "https://npm.pkg.github.com" + }, "keywords": [ "react", "react-component", @@ -23,12 +22,12 @@ "grow", "autosize" ], - "license": "MIT", + "license": "ISC", "main": "lib/TextareaAutosize.js", "peerDependencies": {}, "repository": { "type": "git", - "url": "git://github.com/andreypopp/react-textarea-autosize.git" + "url": "git://github.com/fulcrumapp/react-textarea-autosize.git" }, "devDependencies": { "babel-cli": "^6.7.5", diff --git a/release.sh b/release.sh new file mode 100644 index 00000000..a05b5111 --- /dev/null +++ b/release.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +export VERSION="$1" + +yarn build +gh release create --generate-notes $VERSION +yarn publish --new-version $VERSION \ No newline at end of file