diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 976fc4b0f5..39e607121b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,6 +34,8 @@ jobs: # make extra sure this publish wouldn’t break anything - run: yarn run build check test + - run: cp internals/scripts/source/npmrc-template /home/runner/work/_temp/.npmrc + - name: publish run: bun internals/scripts/source/publish.ts env: diff --git a/internals/scripts/source/npmrc-template b/internals/scripts/source/npmrc-template new file mode 100644 index 0000000000..f3b1a9fcbc --- /dev/null +++ b/internals/scripts/source/npmrc-template @@ -0,0 +1 @@ +//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN} diff --git a/package.json b/package.json index bbf59f44ee..73afb6cacd 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,10 @@ "useTabs": true }, "private": true, - "repository": "git@github.com:3YOURMIND/kotti", + "repository": { + "type": "git", + "url": "git+https://github.com/3YOURMIND/kotti.git" + }, "scripts": { "build": "turbo run build", "check": "turbo run check", diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 89cfbba654..f536be11d8 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -46,7 +46,10 @@ "peerDependencies": { "eslint": ">= 9" }, - "repository": "git+https://github.com/3YOURMIND/kotti.git", + "repository": { + "type": "git", + "url": "git+https://github.com/3YOURMIND/kotti.git" + }, "scripts": { "build": "./scripts/build.sh", "check:eslint": "eslint --max-warnings=0 .", diff --git a/packages/yoco/package.json b/packages/yoco/package.json index a9e37f7fba..4093778bd6 100644 --- a/packages/yoco/package.json +++ b/packages/yoco/package.json @@ -51,7 +51,10 @@ "main": "./dist/cjs/index.cjs", "module": "./dist/mjs/index.js", "name": "@3yourmind/yoco", - "repository": "git+https://github.com/3YOURMIND/kotti.git", + "repository": { + "type": "git", + "url": "git+https://github.com/3YOURMIND/kotti.git" + }, "scripts": { "build": "./scripts/build.sh", "check:eslint": "eslint --max-warnings=0 .",