Commit d86fd0b 1 parent de00a62 commit d86fd0b Copy full SHA for d86fd0b
File tree 15 files changed +86
-17
lines changed
15 files changed +86
-17
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,9 @@ jobs:
269
269
runs-on : ubuntu-latest
270
270
timeout-minutes : 15
271
271
name : Build and release
272
+ permissions :
273
+ contents : read
274
+ id-token : write
272
275
needs :
273
276
- build
274
277
- build-linux
@@ -343,7 +346,7 @@ jobs:
343
346
echo "Publishing $pkg..."
344
347
cd $pkg
345
348
npm version ${{ env.NPM_VERSION }} --force --no-git-tag-version
346
- npm publish --tag ${{ env.RELEASE_CHANNEL }} --access public
349
+ npm publish --provenance -- tag ${{ env.RELEASE_CHANNEL }} --access public
347
350
cd -
348
351
done
349
352
@@ -352,7 +355,7 @@ jobs:
352
355
npm version ${{ env.NPM_VERSION }} --force --no-git-tag-version
353
356
sed "s#\"0.0.0\"#\"${{ env.NPM_VERSION }}\"#g" package.json > package_updated.json
354
357
mv package_updated.json package.json
355
- npm publish --tag ${{ env.RELEASE_CHANNEL }} --access public
358
+ npm publish --provenance -- tag ${{ env.RELEASE_CHANNEL }} --access public
356
359
cd -
357
360
env :
358
361
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
@@ -361,6 +364,9 @@ jobs:
361
364
runs-on : ubuntu-latest
362
365
timeout-minutes : 15
363
366
name : Build and release Tailwind CSS
367
+ permissions :
368
+ contents : read
369
+ id-token : write
364
370
365
371
needs :
366
372
- release
@@ -401,7 +407,7 @@ jobs:
401
407
run : npm version 0.0.0-${{ env.RELEASE_CHANNEL }}.${{ env.SHA_SHORT }} --force --no-git-tag-version
402
408
403
409
- name : Publish
404
- run : npm publish --tag ${{ env.RELEASE_CHANNEL }}
410
+ run : npm publish --provenance -- tag ${{ env.RELEASE_CHANNEL }}
405
411
env :
406
412
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
407
413
Original file line number Diff line number Diff line change 6
6
7
7
permissions :
8
8
contents : read
9
+ id-token : write
9
10
10
11
env :
11
12
CI : true
58
59
run : npm version 0.0.0-${{ env.RELEASE_CHANNEL }}.${{ env.SHA_SHORT }} --force --no-git-tag-version
59
60
60
61
- name : Publish
61
- run : npm publish --tag ${{ env.RELEASE_CHANNEL }}
62
+ run : npm publish --provenance -- tag ${{ env.RELEASE_CHANNEL }}
62
63
env :
63
64
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
64
65
Original file line number Diff line number Diff line change @@ -218,6 +218,9 @@ jobs:
218
218
runs-on : ubuntu-latest
219
219
timeout-minutes : 15
220
220
name : Build and release
221
+ permissions :
222
+ contents : read
223
+ id-token : write
221
224
needs :
222
225
- oxide-build
223
226
- oxide-build-linux
@@ -273,7 +276,7 @@ jobs:
273
276
echo "Publishing $pkg..."
274
277
cd $pkg
275
278
npm version ${{ env.NPM_VERSION }} --force --no-git-tag-version
276
- npm publish --tag insiders --access public
279
+ npm publish --provenance -- tag insiders --access public
277
280
cd -
278
281
done
279
282
@@ -282,7 +285,7 @@ jobs:
282
285
npm version ${{ env.NPM_VERSION }} --force --no-git-tag-version
283
286
sed "s#\"0.0.0\"#\"${{ env.NPM_VERSION }}\"#g" package.json > package_updated.json
284
287
mv package_updated.json package.json
285
- npm publish --tag insiders --access public
288
+ npm publish --provenance -- tag insiders --access public
286
289
cd -
287
290
env :
288
291
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
@@ -291,6 +294,9 @@ jobs:
291
294
runs-on : ubuntu-latest
292
295
timeout-minutes : 15
293
296
name : Build and release Tailwind CSS
297
+ permissions :
298
+ contents : read
299
+ id-token : write
294
300
295
301
needs :
296
302
- oxide-release
@@ -332,6 +338,6 @@ jobs:
332
338
run : npm version 0.0.0-oxide.${{ env.SHA_SHORT }} --force --no-git-tag-version
333
339
334
340
- name : Publish
335
- run : npm publish --tag oxide
341
+ run : npm publish --provenance -- tag oxide
336
342
env :
337
343
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 6
6
7
7
permissions :
8
8
contents : read
9
+ id-token : write
9
10
10
11
env :
11
12
CI : true
47
48
echo "TAILWINDCSS_VERSION=$(node -e 'console.log(require(`./package.json`).version);')" >> $GITHUB_ENV
48
49
49
50
- name : Publish
50
- run : npm publish --tag ${{ env.RELEASE_CHANNEL }}
51
+ run : npm publish --provenance -- tag ${{ env.RELEASE_CHANNEL }}
51
52
env :
52
53
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
53
54
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @tailwindcss/oxide-darwin-arm64" ,
3
3
"version" : " 0.0.0" ,
4
+ "repository" : {
5
+ "type" : " git" ,
6
+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7
+ "directory" : " oxide/crates/node/npm/darwin-arm64"
8
+ },
4
9
"os" : [
5
10
" darwin"
6
11
],
15
20
"engines" : {
16
21
"node" : " >= 10"
17
22
}
18
- }
23
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @tailwindcss/oxide-darwin-x64" ,
3
3
"version" : " 0.0.0" ,
4
+ "repository" : {
5
+ "type" : " git" ,
6
+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7
+ "directory" : " oxide/crates/node/npm/darwin-x64"
8
+ },
4
9
"os" : [
5
10
" darwin"
6
11
],
15
20
"engines" : {
16
21
"node" : " >= 10"
17
22
}
18
- }
23
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @tailwindcss/oxide-freebsd-x64" ,
3
3
"version" : " 0.0.0" ,
4
+ "repository" : {
5
+ "type" : " git" ,
6
+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7
+ "directory" : " oxide/crates/node/npm/freebsd-x64"
8
+ },
4
9
"os" : [
5
10
" freebsd"
6
11
],
15
20
"engines" : {
16
21
"node" : " >= 10"
17
22
}
18
- }
23
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @tailwindcss/oxide-linux-arm-gnueabihf" ,
3
3
"version" : " 0.0.0" ,
4
+ "repository" : {
5
+ "type" : " git" ,
6
+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7
+ "directory" : " oxide/crates/node/npm/linux-arm-gnueabihf"
8
+ },
4
9
"os" : [
5
10
" linux"
6
11
],
15
20
"engines" : {
16
21
"node" : " >= 10"
17
22
}
18
- }
23
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @tailwindcss/oxide-linux-arm64-gnu" ,
3
3
"version" : " 0.0.0" ,
4
+ "repository" : {
5
+ "type" : " git" ,
6
+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7
+ "directory" : " oxide/crates/node/npm/linux-arm64-gnu"
8
+ },
4
9
"os" : [
5
10
" linux"
6
11
],
18
23
"libc" : [
19
24
" glibc"
20
25
]
21
- }
26
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @tailwindcss/oxide-linux-arm64-musl" ,
3
3
"version" : " 0.0.0" ,
4
+ "repository" : {
5
+ "type" : " git" ,
6
+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7
+ "directory" : " oxide/crates/node/npm/linux-arm64-musl"
8
+ },
4
9
"os" : [
5
10
" linux"
6
11
],
18
23
"libc" : [
19
24
" musl"
20
25
]
21
- }
26
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @tailwindcss/oxide-linux-x64-gnu" ,
3
3
"version" : " 0.0.0" ,
4
+ "repository" : {
5
+ "type" : " git" ,
6
+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7
+ "directory" : " oxide/crates/node/npm/linux-x64-gnu"
8
+ },
4
9
"os" : [
5
10
" linux"
6
11
],
18
23
"libc" : [
19
24
" glibc"
20
25
]
21
- }
26
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @tailwindcss/oxide-linux-x64-musl" ,
3
3
"version" : " 0.0.0" ,
4
+ "repository" : {
5
+ "type" : " git" ,
6
+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7
+ "directory" : " oxide/crates/node/npm/linux-x64-musl"
8
+ },
4
9
"os" : [
5
10
" linux"
6
11
],
18
23
"libc" : [
19
24
" musl"
20
25
]
21
- }
26
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @tailwindcss/oxide-win32-x64-msvc" ,
3
3
"version" : " 0.0.0" ,
4
+ "repository" : {
5
+ "type" : " git" ,
6
+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7
+ "directory" : " oxide/crates/node/npm/win32-x64-msvc"
8
+ },
4
9
"os" : [
5
10
" win32"
6
11
],
15
20
"engines" : {
16
21
"node" : " >= 10"
17
22
}
18
- }
23
+ }
Original file line number Diff line number Diff line change 18
18
}
19
19
},
20
20
"license" : " MIT" ,
21
+ "repository" : {
22
+ "type" : " git" ,
23
+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
24
+ "directory" : " oxide/crates/node"
25
+ },
21
26
"devDependencies" : {
22
27
"@napi-rs/cli" : " ^2.15.2"
23
28
},
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " tailwindcss-standalone" ,
3
3
"version" : " 0.0.0" ,
4
+ "repository" : {
5
+ "type" : " git" ,
6
+ "url" : " git+https://github.com/tailwindlabs/tailwindcss.git" ,
7
+ "directory" : " standalone-cli"
8
+ },
4
9
"bin" : " standalone.js" ,
5
10
"scripts" : {
6
11
"build" : " pkg . --compress Brotli --no-bytecode --public-packages \" *\" --public" ,
You can’t perform that action at this time.
0 commit comments