Skip to content

Commit 5288a0d

Browse files
committed
🔧 add npm publish configs
1 parent eab1e17 commit 5288a0d

File tree

10 files changed

+38
-1
lines changed

10 files changed

+38
-1
lines changed

.github/workflows/build-publish.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
publish:
1616
runs-on: 'ubuntu-latest'
1717
environment: 'production'
18+
permissions:
19+
id-token: 'write'
1820
steps:
1921
- name: 'Setup node 🛎️'
2022
uses: 'dudeofawesome/actions/node-setup@v1'
@@ -27,5 +29,4 @@ jobs:
2729
NODE_AUTH_TOKEN: '${{ secrets.NPM_AUTH_TOKEN }}'
2830
run: |-
2931
npm publish \
30-
--access public \
3132
--workspaces

code-style/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
],
1616
"author": "Louis Orleans <[email protected]>",
1717
"license": "MIT",
18+
"publishConfig": {
19+
"access": "public",
20+
"provenance": true
21+
},
1822
"scripts": {
1923
"test": "echo 'No tests'; exit 0"
2024
},

eslint-config-browser/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
],
1616
"author": "Louis Orleans <[email protected]>",
1717
"license": "MIT",
18+
"publishConfig": {
19+
"access": "public",
20+
"provenance": true
21+
},
1822
"main": "base.yaml",
1923
"scripts": {
2024
"test": "node --require ts-node/register --test test/index.ts"

eslint-config-cli/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
],
1616
"author": "Louis Orleans <[email protected]>",
1717
"license": "MIT",
18+
"publishConfig": {
19+
"access": "public",
20+
"provenance": true
21+
},
1822
"main": "base.yaml",
1923
"scripts": {
2024
"test": "function run() { node --require ts-node/register --test $@ 'test/index.ts'; }; run"

eslint-config-jest/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
],
1717
"author": "Louis Orleans <[email protected]>",
1818
"license": "MIT",
19+
"publishConfig": {
20+
"access": "public",
21+
"provenance": true
22+
},
1923
"main": "base.yaml",
2024
"scripts": {
2125
"test": "node --require ts-node/register --test test/index.ts"

eslint-config-node/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
],
1616
"author": "Louis Orleans <[email protected]>",
1717
"license": "MIT",
18+
"publishConfig": {
19+
"access": "public",
20+
"provenance": true
21+
},
1822
"main": "base.yaml",
1923
"scripts": {
2024
"test": "node --require ts-node/register --test test/index.ts"

eslint-config-react/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
],
1616
"author": "Louis Orleans <[email protected]>",
1717
"license": "MIT",
18+
"publishConfig": {
19+
"access": "public",
20+
"provenance": true
21+
},
1822
"main": "base.yaml",
1923
"scripts": {
2024
"test": "node --require ts-node/register --test test/index.ts"

eslint-config-typescript/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
],
1616
"author": "Louis Orleans <[email protected]>",
1717
"license": "MIT",
18+
"publishConfig": {
19+
"access": "public",
20+
"provenance": true
21+
},
1822
"main": "base.yaml",
1923
"scripts": {
2024
"test": "node --require ts-node/register --test test/index.ts"

eslint-config/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
],
1616
"author": "Louis Orleans <[email protected]>",
1717
"license": "MIT",
18+
"publishConfig": {
19+
"access": "public",
20+
"provenance": true
21+
},
1822
"main": "base.yaml",
1923
"scripts": {
2024
"test": "node --require ts-node/register --test test/index.ts"

typescript-configs/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
],
1414
"author": "Louis Orleans <[email protected]>",
1515
"license": "MIT",
16+
"publishConfig": {
17+
"access": "public",
18+
"provenance": true
19+
},
1620
"main": "base.json",
1721
"scripts": {
1822
"test": "node --require ts-node/register --test test/index.ts"

0 commit comments

Comments
 (0)