From e6f6cba31004f94b94c3b8e3a0d85415ab674570 Mon Sep 17 00:00:00 2001 From: George Muresan Date: Mon, 12 Feb 2024 13:35:59 -0500 Subject: [PATCH 1/2] Update files for publishing package --- .npmrc | 1 + package.json | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..79cec4f --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +//npm.pkg.github.com/:_authToken=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 diff --git a/package.json b/package.json index 789f007..36d7740 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,7 @@ { - "name": "graphql-tag-swc-plugin", + "name": "@scorebet/graphql-tag-swc-plugin", "version": "0.1.7-1", "description": "SWC plugin to expand gql tags at build time", - "author": "rishabh3112 ", "license": "ISC", "keywords": [ "swc-plugin", @@ -15,5 +14,8 @@ "test": "RUST_LOG=info cargo test --package graphql-tag-swc-plugin --test fixtures -- --nocapture", "test:update": "UPDATE=1 RUST_LOG=info cargo test --package graphql-tag-swc-plugin --test fixtures -- --nocapture" }, + "publishConfig": { + "@scorebet:registry": "https://npm.pkg.github.com" + }, "files": [] } From 2a10a4ec091f2325e2d6754ab230effd3b5852ee Mon Sep 17 00:00:00 2001 From: George Muresan Date: Tue, 20 Feb 2024 14:42:42 -0500 Subject: [PATCH 2/2] update package version --- .npmrc | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 .npmrc diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 79cec4f..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -//npm.pkg.github.com/:_authToken=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 diff --git a/package.json b/package.json index 36d7740..be78e42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@scorebet/graphql-tag-swc-plugin", - "version": "0.1.7-1", + "version": "1.0.0", "description": "SWC plugin to expand gql tags at build time", "license": "ISC", "keywords": [