Skip to content

Commit e3d3221

Browse files
authored
fix: ZMSA-1: update release workflow, update deps, use updated deps, scope package (#887)
* update release workflow * update deps, use scoped packages, scope package
1 parent 2f4f3e1 commit e3d3221

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+726
-697
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,23 @@ jobs:
2323
patch: ${{ steps.release.outputs.patch }}
2424
release_created: ${{ steps.release.outputs.release_created }}
2525
steps:
26-
- uses: google-github-actions/release-please-action@v3
26+
- uses: google-github-actions/release-please-action@v4
2727
id: release
2828
with:
2929
release-type: node
30-
package-name: ${{env.NPM_MODULE_NAME}}
31-
pull-request-title-pattern: 'chore${scope}: release ${version} [skip-ci]'
3230
# The logic below handles the npm publication:
33-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v5
3432
# these if statements ensure that a publication only occurs when
3533
# a new release is created:
3634
if: ${{ steps.release.outputs.release_created }}
37-
- uses: actions/setup-node@v3
35+
- uses: actions/setup-node@v5
3836
with:
39-
node-version: 18
37+
node-version: 24
4038
registry-url: 'https://registry.npmjs.org'
4139
if: ${{ steps.release.outputs.release_created }}
4240
- run: npm ci
4341
if: ${{ steps.release.outputs.release_created }}
4442
- run: npm publish --provenance --access public
45-
env:
46-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4743
if: ${{ steps.release.outputs.release_created }}
4844

4945
publish_docker:

acme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
const config = require('wild-config');
3+
const config = require('@zone-eu/wild-config');
44
const restify = require('restify');
55
const log = require('npmlog');
66
const logger = require('restify-logger');

api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
const config = require('wild-config');
3+
const config = require('@zone-eu/wild-config');
44
const restify = require('restify');
55
const log = require('npmlog');
66
const logger = require('restify-logger');

bin/access-tokens

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ process.env.NODE_CONFIG_DIR = pathlib.join(__dirname, '..', 'config');
1212

1313
const db = require('../lib/db');
1414
const crypto = require('crypto');
15-
const config = require('wild-config');
15+
const config = require('@zone-eu/wild-config');
1616
const yargs = require('yargs');
1717
const util = require('util');
1818

examples/append.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'use strict';
44

55
const rawpath = process.argv[2];
6-
const config = require('wild-config');
6+
const config = require('@zone-eu/wild-config');
77
const { ImapFlow } = require('imapflow');
88

99
const raw = require('fs').readFileSync(rawpath);

examples/push-message.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (!recipients || !recipients.length) {
1010
return process.exit(1);
1111
}
1212

13-
const config = require('wild-config');
13+
const config = require('@zone-eu/wild-config');
1414
const nodemailer = require('nodemailer');
1515

1616
const transporter = nodemailer.createTransport({
@@ -36,9 +36,7 @@ function send() {
3636
},
3737

3838
from: 'Kärbes 🐧 <andris@kreata.ee>',
39-
to: recipients
40-
.map((rcpt) => ({ name: rcpt.split('@')[0], address: rcpt }))
41-
.concat('andris <andris.reinman@gmail.com>, andmekala <andmekala@hot.ee>'),
39+
to: recipients.map(rcpt => ({ name: rcpt.split('@')[0], address: rcpt })).concat('andris <andris.reinman@gmail.com>, andmekala <andmekala@hot.ee>'),
4240
cc: '"Juulius Orro" muna@gmail.com, kixgraft@gmail.com',
4341
subject: 'Test ööö message [' + Date.now() + ']',
4442
text: 'Hello world! Current time is ' + new Date().toString(),

imap-core/test/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
66

7-
const config = require('wild-config');
7+
const config = require('@zone-eu/wild-config');
88
const { ImapFlow } = require('imapflow');
99

1010
const client = new ImapFlow({

imap-core/test/protocol-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
'use strict';
55

6-
let config = require('wild-config');
6+
let config = require('@zone-eu/wild-config');
77
//let testServer = require('./test-server.js');
88
let testClient = require('./test-client.js');
99
let exec = require('child_process').exec;

imap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const log = require('npmlog');
4-
const config = require('wild-config');
4+
const config = require('@zone-eu/wild-config');
55
const IMAPServerModule = require('./imap-core');
66
const IMAPServer = IMAPServerModule.IMAPServer;
77
const ImapNotifier = require('./lib/imap-notifier');

indexer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const log = require('npmlog');
4-
const config = require('wild-config');
4+
const config = require('@zone-eu/wild-config');
55
const Gelf = require('gelf');
66
const os = require('os');
77
const { Queue, Worker } = require('bullmq');

0 commit comments

Comments
 (0)