Skip to content

Commit 3c56626

Browse files
committed
Merging upstream
2 parents 2490157 + 3a14aa1 commit 3c56626

File tree

4 files changed

+3
-25
lines changed

4 files changed

+3
-25
lines changed

lib/publish.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export async function publish(
2929
const zipResult = config.withAssets
3030
? await execa(
3131
zipCommand,
32-
['-qr', path.join(releaseDir, `assets.zip`), '.'],
32+
['-qjr', path.join(releaseDir, `assets.zip`), assetDir],
3333
{
3434
cwd: assetDir,
3535
timeout: 30 * 1000,

package-lock.json

-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"type": "module",
2929
"engines": {
30-
"node": ">= 18"
30+
"node": ">=20.8.1"
3131
},
3232
"main": "dist/index.js",
3333
"types": "dist/index.d.ts",
@@ -46,7 +46,6 @@
4646
"devDependencies": {
4747
"@babel/core": "7.24.7",
4848
"@babel/preset-env": "7.24.7",
49-
"@types/adm-zip": "^0.5.5",
5049
"@types/fs-extra": "11.0.4",
5150
"@types/jest": "29.5.12",
5251
"@types/node": "20.14.7",
@@ -55,7 +54,6 @@
5554
"@types/sinon": "17.0.3",
5655
"@typescript-eslint/eslint-plugin": "6.21.0",
5756
"@typescript-eslint/parser": "6.21.0",
58-
"adm-zip": "^0.5.16",
5957
"babel-jest": "29.7.0",
6058
"eslint": "8.56.0",
6159
"eslint-config-prettier": "9.1.0",

test/3-publish-plugin.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ afterAll(async () => {
5656
});
5757

5858
describe('Publish step', () => {
59-
it('Should zip a complete plugin properly', async () => {
59+
it('Should package a complete plugin', async () => {
6060
await prepare(pluginConfig, contexts.publishContext);
6161
await publish(pluginConfig, contexts.publishContext);
6262

0 commit comments

Comments
 (0)