Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit a05ce45

Browse files
committed
Publish packages to npmjs.com and create a 1.0.0 release
Signed-off-by: Dominik Henneke <[email protected]>
1 parent aeacacb commit a05ce45

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

.changeset/dirty-ways-guess.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@nordeck/element-web-guest-module': major
3+
'@nordeck/element-web-widget-lifecycle-module': major
4+
'@nordeck/synapse-guest-module': major
5+
---
6+
7+
First stable release.

.github/workflows/ci.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ jobs:
1818
with:
1919
node-version: '20'
2020
cache: 'yarn'
21-
registry-url: 'https://npm.pkg.github.com'
22-
scope: '@nordeck'
21+
registry-url: 'https://registry.npmjs.org'
2322

2423
- name: yarn install
2524
run: yarn install --frozen-lockfile
@@ -125,8 +124,7 @@ jobs:
125124
with:
126125
node-version: '20'
127126
cache: 'yarn'
128-
registry-url: 'https://npm.pkg.github.com'
129-
scope: '@nordeck'
127+
registry-url: 'https://registry.npmjs.org'
130128

131129
- name: yarn install
132130
run: yarn install --frozen-lockfile
@@ -148,7 +146,7 @@ jobs:
148146
publish: yarn release
149147
env:
150148
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
151-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
149+
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
152150

153151
e2e:
154152
name: Run e2e tests
@@ -161,8 +159,7 @@ jobs:
161159
with:
162160
node-version: '20'
163161
cache: 'yarn'
164-
registry-url: 'https://npm.pkg.github.com'
165-
scope: '@nordeck'
162+
registry-url: 'https://registry.npmjs.org'
166163

167164
- name: yarn install
168165
run: yarn install --frozen-lockfile

.npmrc

-1
This file was deleted.

scripts/publishAllPackages.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ for (let p of packages) {
4545

4646
console.log(`🔄 Publish package ${name}@${version}`);
4747

48-
child_process.execSync('npm publish --registry https://npm.pkg.github.com', {
48+
child_process.execSync('npm publish --registry https://registry.npmjs.org', {
4949
cwd: packagePath,
5050
});
5151

@@ -60,7 +60,7 @@ console.log('Done!');
6060
function versionNeedsUpload(name, version) {
6161
try {
6262
const result = child_process.execSync(
63-
`npm view "${name}@${version}" --registry https://npm.pkg.github.com --json`,
63+
`npm view "${name}@${version}" --registry https://registry.npmjs.org --json`,
6464
);
6565

6666
// this line throws if not exists

0 commit comments

Comments
 (0)