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

Commit dd979cf

Browse files
committed
fix(ci): publish not working
1 parent 478b981 commit dd979cf

File tree

3 files changed

+32
-30
lines changed

3 files changed

+32
-30
lines changed

.github/workflows/release-package.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ jobs:
1111
- uses: actions/setup-node@v4
1212
with:
1313
node-version: 22
14-
registry-url: https://npm.pkg.github.com/
14+
always-auth: true
15+
registry-url: https://npm.pkg.github.com/
16+
scope: '@triliumnext'
1517
- run: yarn install
1618
- run: yarn push
1719
env:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "express-partial-content",
2+
"name": "@triliumnext/express-partial-content",
33
"description": "A partial content handler implementation for any readable stream with Express. Based on this blog post: https://www.codeproject.com/Articles/813480/HTTP-Partial-Content-In-Node-js.",
44
"version": "1.0.1",
55
"main": "dist/index.js",
@@ -14,7 +14,7 @@
1414
"build:watch": "npx tsc -w",
1515
"build:dev": "npx tsc && yarn copy-assets",
1616
"build:prod": "yarn clean && cross-env NODE_ENV=production tsc -p ./tsconfig.production.json",
17-
"push": "yarn test && yarn build:prod && yarn publish",
17+
"push": "yarn test && yarn build:prod && yarn npm publish",
1818
"run:examples:file": "node ./dist/examples/express-file-server/index.js",
1919
"run:examples:mongo": "node ./dist/examples/express-mongo-server/index.js"
2020
},

yarn.lock

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,33 @@ __metadata:
302302
languageName: node
303303
linkType: hard
304304

305+
"@triliumnext/express-partial-content@workspace:.":
306+
version: 0.0.0-use.local
307+
resolution: "@triliumnext/express-partial-content@workspace:."
308+
dependencies:
309+
"@types/chai": "npm:^4.1.7"
310+
"@types/express": "npm:^4.16.1"
311+
"@types/mocha": "npm:^5.2.6"
312+
"@types/mongodb": "npm:^3.1.22"
313+
"@types/sinon": "npm:^7.0.9"
314+
"@typescript-eslint/eslint-plugin": "npm:^1.5.0"
315+
"@typescript-eslint/parser": "npm:^1.5.0"
316+
chai: "npm:^4.2.0"
317+
copyfiles: "npm:^2.1.0"
318+
cross-env: "npm:^5.2.0"
319+
eslint: "npm:^5.15.3"
320+
express: "npm:^4.16.4"
321+
mocha: "npm:^6.0.2"
322+
mongodb: "npm:^3.1.13"
323+
nyc: "npm:^17.1.0"
324+
rimraf: "npm:^2.6.3"
325+
sinon: "npm:^7.2.7"
326+
typescript: "npm:^5.7.2"
327+
peerDependencies:
328+
express: ^4.16.4
329+
languageName: unknown
330+
linkType: soft
331+
305332
"@types/body-parser@npm:*":
306333
version: 1.17.0
307334
resolution: "@types/body-parser@npm:1.17.0"
@@ -1548,33 +1575,6 @@ __metadata:
15481575
languageName: node
15491576
linkType: hard
15501577

1551-
"express-partial-content@workspace:.":
1552-
version: 0.0.0-use.local
1553-
resolution: "express-partial-content@workspace:."
1554-
dependencies:
1555-
"@types/chai": "npm:^4.1.7"
1556-
"@types/express": "npm:^4.16.1"
1557-
"@types/mocha": "npm:^5.2.6"
1558-
"@types/mongodb": "npm:^3.1.22"
1559-
"@types/sinon": "npm:^7.0.9"
1560-
"@typescript-eslint/eslint-plugin": "npm:^1.5.0"
1561-
"@typescript-eslint/parser": "npm:^1.5.0"
1562-
chai: "npm:^4.2.0"
1563-
copyfiles: "npm:^2.1.0"
1564-
cross-env: "npm:^5.2.0"
1565-
eslint: "npm:^5.15.3"
1566-
express: "npm:^4.16.4"
1567-
mocha: "npm:^6.0.2"
1568-
mongodb: "npm:^3.1.13"
1569-
nyc: "npm:^17.1.0"
1570-
rimraf: "npm:^2.6.3"
1571-
sinon: "npm:^7.2.7"
1572-
typescript: "npm:^5.7.2"
1573-
peerDependencies:
1574-
express: ^4.16.4
1575-
languageName: unknown
1576-
linkType: soft
1577-
15781578
"express@npm:^4.16.4":
15791579
version: 4.16.4
15801580
resolution: "express@npm:4.16.4"

0 commit comments

Comments
 (0)