From 16c938eb80f938f9beea06728df55e8aa9679b63 Mon Sep 17 00:00:00 2001 From: amoskeyz Date: Mon, 24 Jun 2024 16:28:26 +0100 Subject: [PATCH 1/3] update webflow --- .github/workflows/publish-to-npm.yml | 2 +- package.json | 4 +--- src/index.tsx | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml index d6c201c..abfe4d2 100644 --- a/.github/workflows/publish-to-npm.yml +++ b/.github/workflows/publish-to-npm.yml @@ -14,6 +14,6 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - name: Publish package on NPM 📦 - run: yarn install --immutable && npm publish + run: npx tsc && npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index 386f647..1d41efd 100644 --- a/package.json +++ b/package.json @@ -30,9 +30,7 @@ "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", - "clean": "del-cli lib", - "prepare": "bob build", - "release": "release-it" + "clean": "del-cli lib" }, "keywords": [ "react-native", diff --git a/src/index.tsx b/src/index.tsx index 6cc49b3..39c237f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,3 +1,4 @@ +//@ts-ignore import React, { forwardRef, useState, From d558e881edc49c519e1e0ee702e30520f35e428d Mon Sep 17 00:00:00 2001 From: amoskeyz Date: Mon, 24 Jun 2024 16:29:37 +0100 Subject: [PATCH 2/3] update webflow --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1d41efd..66eeaae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hydrodenpay-react-native-webview", - "version": "0.1.1", + "version": "0.1.2", "description": "hydrogen pay react native webview wrapper", "main": "lib/commonjs/index", "module": "lib/module/index", From 83fd86c428db0b705c125829ec9b6613a753705f Mon Sep 17 00:00:00 2001 From: amoskeyz Date: Mon, 24 Jun 2024 16:30:37 +0100 Subject: [PATCH 3/3] update webflow --- .github/workflows/publish-to-npm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml index abfe4d2..02faa91 100644 --- a/.github/workflows/publish-to-npm.yml +++ b/.github/workflows/publish-to-npm.yml @@ -16,4 +16,5 @@ jobs: - name: Publish package on NPM 📦 run: npx tsc && npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + \ No newline at end of file