diff --git a/examples/init/manifest.json b/examples/init/manifest.json index 9b690e1b..db51939f 100644 --- a/examples/init/manifest.json +++ b/examples/init/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "version": "0.0.1", - "name": "Initial Template", + "name": "Init Template", "description": "An Extension.js example.", "icons": { "16": "images/extension_16.png", diff --git a/programs/develop/build.spec.ts b/programs/develop/build.spec.ts index c08cd786..c8ba9143 100644 --- a/programs/develop/build.spec.ts +++ b/programs/develop/build.spec.ts @@ -172,7 +172,7 @@ describe('extension build', () => { templatePath, 'dist', SUPPORTED_BROWSERS[0], - `${template.name}-0.0.1.zip` + `${template.name}-template-0.0.1.zip` ) ) ).toBeTruthy() @@ -196,10 +196,10 @@ describe('extension build', () => { browser: SUPPORTED_BROWSERS[0] as 'chrome', zipSource: true }) - + expect( fs.existsSync( - path.join(templatePath, 'dist', `${template.name}-0.0.1-source.zip`) + path.join(templatePath, 'dist', `${template.name}-template-0.0.1-source.zip`) ) ).toBeTruthy() }, diff --git a/programs/develop/commands/commands-lib/generate-zip.ts b/programs/develop/commands/commands-lib/generate-zip.ts index 7c3be4bf..3220c630 100644 --- a/programs/develop/commands/commands-lib/generate-zip.ts +++ b/programs/develop/commands/commands-lib/generate-zip.ts @@ -85,7 +85,7 @@ export async function generateZip( if (options.zipSource) { console.log('') - console.log(messages.packagingSourceFiles(browser)) + console.log(messages.packagingSourceFiles(sourceZipPath)) const zip = new AdmZip() const files = await getFilesToZip(projectDir)