From 2d6b57e344ec8b40fb727f30a659e991940f759a Mon Sep 17 00:00:00 2001 From: Aswin Lakshmanan Date: Sun, 16 Aug 2020 14:54:14 +0530 Subject: [PATCH] =?UTF-8?q?chore:=20=E2=9D=87=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ package.json | 8 ++++++-- yarn.lock | 22 +++++++++++++++++++++- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4f1c43c..5a4bbff 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,6 @@ android/keystores/debug.keystore # generated by bob lib/ + +#Environment FIles +.env* \ No newline at end of file diff --git a/package.json b/package.json index e1bac11..87745a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rn-vertical-slider", - "version": "0.1.0", + "version": "2.0.0", "description": "A vertical Slider for React Native written entirely in javascript.", "main": "lib/commonjs/index", "module": "lib/module/index", @@ -24,7 +24,7 @@ "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepare": "bob build", - "release": "release-it", + "release": "dotenv release-it --dry-run", "example": "yarn --cwd example", "pods": "cd example && pod-install --quiet", "bootstrap": "yarn example && yarn && yarn pods" @@ -55,6 +55,7 @@ "@types/react": "^16.9.19", "@types/react-native": "0.62.13", "commitlint": "^8.3.5", + "dotenv-cli": "^3.2.0", "eslint": "^7.2.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.3", @@ -67,6 +68,9 @@ "release-it": "^13.5.8", "typescript": "^3.8.3" }, + "publishConfig": { + "registry": "https://registry.npmjs.org/" + }, "peerDependencies": { "react": "*", "react-native": "*" diff --git a/yarn.lock b/yarn.lock index 71893a0..0639fc2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3412,7 +3412,7 @@ cross-spawn@^6.0.0: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: +cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -3729,6 +3729,26 @@ dot-prop@^5.1.0, dot-prop@^5.2.0: dependencies: is-obj "^2.0.0" +dotenv-cli@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/dotenv-cli/-/dotenv-cli-3.2.0.tgz#002367c30992acb0b218b20fc01a8e18f13f85cf" + integrity sha512-zg/dfXISo7ntL3JKC+oj7eXEMg8LbOsARWTeypfVsmYtazDYOptmKLqA9u3LTee9x/sIPiLqmI6wskRP+89ohQ== + dependencies: + cross-spawn "^7.0.1" + dotenv "^8.1.0" + dotenv-expand "^5.1.0" + minimist "^1.1.3" + +dotenv-expand@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0" + integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA== + +dotenv@^8.1.0: + version "8.2.0" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a" + integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw== + duplexer3@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"