@ludeo/cloud-common 1.2.264 → 1.2.267
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/main.yaml +20 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/v4/events/index.d.ts +2 -0
- package/dist/v4/events/index.js +2 -0
- package/dist/v4/events/index.js.map +1 -1
- package/dist/v4/events/ludeocast-agent/index.d.ts +1 -0
- package/dist/v4/events/ludeocast-agent/index.js +1 -0
- package/dist/v4/events/ludeocast-agent/index.js.map +1 -1
- package/dist/v4/events/ludeocast-agent/set-sftp-credentials-ended.d.ts +9 -0
- package/dist/v4/events/ludeocast-agent/set-sftp-credentials-ended.js +39 -0
- package/dist/v4/events/ludeocast-agent/set-sftp-credentials-ended.js.map +1 -0
- package/dist/v4/events/set-sftp-credentials.d.ts +12 -0
- package/dist/v4/events/set-sftp-credentials.js +45 -0
- package/dist/v4/events/set-sftp-credentials.js.map +1 -0
- package/dist/v4/events/sftp-credentials-installed.d.ts +14 -0
- package/dist/v4/events/sftp-credentials-installed.js +51 -0
- package/dist/v4/events/sftp-credentials-installed.js.map +1 -0
- package/dist/v4/events/site-controller/index.d.ts +1 -0
- package/dist/v4/events/site-controller/index.js +1 -0
- package/dist/v4/events/site-controller/index.js.map +1 -1
- package/dist/v4/events/site-controller/set-sftp-credentials.command.d.ts +9 -0
- package/dist/v4/events/site-controller/set-sftp-credentials.command.js +37 -0
- package/dist/v4/events/site-controller/set-sftp-credentials.command.js.map +1 -0
- package/dist/v4/types/cloud/cloud-configuration-settings.js +9 -9
- package/dist/v4/types/cloud/cloud-configuration-settings.js.map +1 -1
- package/dist/v4/types/site-controller/types.d.ts +6 -0
- package/dist/v4/types/site-controller/types.js +8 -1
- package/dist/v4/types/site-controller/types.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/index.ts +2 -0
- package/src/v4/events/ludeocast-agent/index.ts +2 -1
- package/src/v4/events/ludeocast-agent/set-sftp-credentials-ended.ts +26 -0
- package/src/v4/events/set-sftp-credentials.ts +34 -0
- package/src/v4/events/sftp-credentials-installed.ts +37 -0
- package/src/v4/events/site-controller/index.ts +1 -0
- package/src/v4/events/site-controller/set-sftp-credentials.command.ts +23 -0
- package/src/v4/types/cloud/cloud-configuration-settings.ts +9 -9
- package/src/v4/types/site-controller/types.ts +9 -0
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
uses: actions/setup-node@v4
|
|
29
29
|
with:
|
|
30
30
|
node-version: "20"
|
|
31
|
-
registry-url:
|
|
31
|
+
registry-url: "https://registry.npmjs.org/"
|
|
32
32
|
|
|
33
33
|
- name: 🔐 Login to Ludeo NPM
|
|
34
34
|
run: |
|
|
@@ -68,8 +68,9 @@ jobs:
|
|
|
68
68
|
publish:
|
|
69
69
|
if: github.ref == 'refs/heads/develop'
|
|
70
70
|
runs-on: ubuntu-latest
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
permissions:
|
|
72
|
+
id-token: write
|
|
73
|
+
contents: write
|
|
73
74
|
|
|
74
75
|
steps:
|
|
75
76
|
- name: Checkout code
|
|
@@ -79,7 +80,18 @@ jobs:
|
|
|
79
80
|
uses: actions/setup-node@v4
|
|
80
81
|
with:
|
|
81
82
|
node-version: "20"
|
|
82
|
-
registry-url:
|
|
83
|
+
registry-url: "https://registry.npmjs.org/"
|
|
84
|
+
|
|
85
|
+
# Trusted publishing requires npm >= 11.5.1 to perform the OIDC token exchange.
|
|
86
|
+
# Node 20 ships with npm 10.x, so upgrade explicitly.
|
|
87
|
+
- name: Upgrade npm for trusted publishing
|
|
88
|
+
run: npm install -g npm@latest
|
|
89
|
+
|
|
90
|
+
# Token still needed to install private @ludeo/* dependencies from the registry.
|
|
91
|
+
# Publishing itself uses OIDC trusted publishing (no token).
|
|
92
|
+
- name: 🔐 Login to Ludeo NPM (install only)
|
|
93
|
+
run: |
|
|
94
|
+
npm config set @ludeo:registry https://registry.npmjs.org/ && npm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN }}
|
|
83
95
|
|
|
84
96
|
- name: 🏗️ Install dependencies
|
|
85
97
|
run: npm install
|
|
@@ -87,8 +99,10 @@ jobs:
|
|
|
87
99
|
- name: 🛠 Run build 🛠️
|
|
88
100
|
run: npm run build
|
|
89
101
|
|
|
90
|
-
-
|
|
91
|
-
|
|
102
|
+
# Drop any token from the user-level .npmrc so npm publish performs the OIDC exchange
|
|
103
|
+
# against the npm registry instead of using the install token.
|
|
104
|
+
- name: Clear npm auth token before publish
|
|
105
|
+
run: npm config delete //registry.npmjs.org/:_authToken
|
|
92
106
|
|
|
93
107
|
- name: 📦 Publish to npm
|
|
94
108
|
run: npm publish
|