Skip to content

Commit 1a857bd

Browse files
authored
fix: upd npm publish workflows (#1667)
* fix: upd npm publish workflows * chore: add changeset
1 parent 25edd03 commit 1a857bd

File tree

9 files changed

+27
-8
lines changed

9 files changed

+27
-8
lines changed

.changeset/true-lizards-cough.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@lingo.dev/_compiler": patch
3+
"@lingo.dev/_locales": patch
4+
"@lingo.dev/_logging": patch
5+
"@lingo.dev/_react": patch
6+
"@lingo.dev/_spec": patch
7+
"lingo.dev": patch
8+
"@lingo.dev/_sdk": patch
9+
---
10+
11+
Upd NPM workflows

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
permissions:
1818
contents: write
1919
pull-requests: write
20+
id-token: write
2021
steps:
2122
- name: Checkout
2223
uses: actions/checkout@v4
@@ -93,4 +94,4 @@ jobs:
9394
commit: "chore: bump package version"
9495
env:
9596
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
96-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
97+
NPM_CONFIG_PROVENANCE: true

packages/cli/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Lingo.dev CLI",
55
"private": false,
66
"publishConfig": {
7-
"access": "public"
7+
"access": "public",
8+
"provenance": true
89
},
910
"type": "module",
1011
"sideEffects": false,

packages/compiler/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Lingo.dev Compiler",
55
"private": false,
66
"publishConfig": {
7-
"access": "public"
7+
"access": "public",
8+
"provenance": true
89
},
910
"sideEffects": false,
1011
"type": "module",

packages/locales/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Lingo.dev locales",
55
"private": false,
66
"publishConfig": {
7-
"access": "public"
7+
"access": "public",
8+
"provenance": true
89
},
910
"type": "module",
1011
"sideEffects": false,

packages/logging/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Lingo.dev logging utilities with Pino",
55
"private": false,
66
"publishConfig": {
7-
"access": "public"
7+
"access": "public",
8+
"provenance": true
89
},
910
"type": "module",
1011
"sideEffects": false,

packages/react/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Lingo.dev React Kit",
55
"private": false,
66
"publishConfig": {
7-
"access": "public"
7+
"access": "public",
8+
"provenance": true
89
},
910
"sideEffects": false,
1011
"type": "module",

packages/sdk/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Lingo.dev JS SDK",
55
"private": false,
66
"publishConfig": {
7-
"access": "public"
7+
"access": "public",
8+
"provenance": true
89
},
910
"type": "module",
1011
"sideEffects": false,

packages/spec/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Lingo.dev open specification",
55
"private": false,
66
"publishConfig": {
7-
"access": "public"
7+
"access": "public",
8+
"provenance": true
89
},
910
"type": "module",
1011
"sideEffects": false,

0 commit comments

Comments
 (0)