Skip to content

Commit fbe6bf5

Browse files
committed
Fix missing release files
1 parent e1b8ff4 commit fbe6bf5

File tree

6 files changed

+11
-8
lines changed

6 files changed

+11
-8
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v3
1919
- uses: actions/setup-node@v3
2020
with:
21-
node-version: 20
21+
node-version: 24
2222
registry-url: https://registry.npmjs.org/
2323
- run: npm ci
2424
- run: npm publish --provenance --access public

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ on:
1111

1212
jobs:
1313
ubuntu:
14-
name: 'Ubuntu (Node 22)'
14+
name: 'Ubuntu (Node 24)'
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
1818
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
1919
with:
20-
node-version: '22'
20+
node-version: '24'
2121
- run: npm ci
2222
- run: npm run lint
2323
- run: npm test

esbuild.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const cjsDeclarationFiles = async (directoryPath: string) => {
6262
return entry.isFile() && entry.name.endsWith('.d.ts');
6363
})
6464
.map(async (file) => {
65-
const name = join(file.path, file.name);
65+
const name = join(file.parentPath, file.name);
6666
const newName = name.slice(0, -2) + 'cts';
6767

6868
const contents = await readFile(name, { encoding: 'utf-8' });

loader.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import { register } from 'node:module';
22
import { pathToFileURL } from 'node:url';
33

4-
process.on('uncaughtException', (e) => console.error('Loader error', e));
4+
process.on('uncaughtException', (e) => {
5+
console.error('Loader error', e);
6+
throw e;
7+
});
58
register('ts-node/esm', pathToFileURL('./'));

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apeleghq/cms-classes",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "A collection of utility classes to encode ASN.1 data following DER rules",
55
"type": "module",
66
"main": "dist/index.cjs",

0 commit comments

Comments
 (0)