@expo/modules-macros-win32-x64 0.0.0-stage → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yml +32 -0
- package/package.json +9 -4
- package/README.md +0 -3
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: Publish to npm
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
publish:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
# Required for npm trusted publishing (OIDC) and provenance attestations.
|
|
14
|
+
id-token: write
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v7
|
|
17
|
+
|
|
18
|
+
- uses: actions/setup-node@v7
|
|
19
|
+
with:
|
|
20
|
+
node-version: 24
|
|
21
|
+
registry-url: https://registry.npmjs.org
|
|
22
|
+
package-manager-cache: false
|
|
23
|
+
|
|
24
|
+
# Trusted publishing needs npm 11.5.1 or newer. Node 24 ships npm 11.
|
|
25
|
+
- run: npm --version
|
|
26
|
+
|
|
27
|
+
- run: npm ci --ignore-scripts
|
|
28
|
+
if: hashFiles('package-lock.json') != ''
|
|
29
|
+
|
|
30
|
+
# No NODE_AUTH_TOKEN: npm exchanges the GitHub OIDC token for a short-lived
|
|
31
|
+
# publish token, and provenance is generated automatically.
|
|
32
|
+
- run: npm publish
|
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/modules-macros-win32-x64",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"author": "",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
}
|
|
11
|
+
}
|
package/README.md
DELETED