Skip to content

Commit 8e77ee3

Browse files
2.2.0 bump and cleanup for zxp/zip customizations
1 parent a9ab3c5 commit 8e77ee3

10 files changed

Lines changed: 1992 additions & 1848 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Bolt CEP Changelog
22

3+
## Version 2.2.0 (2025-11-20)
4+
5+
- Added zxpOutput & zipOutput to config
6+
37
## Version 2.1.1 (2025-06-16)
48

59
- Add Changelog

create-bolt-cep/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-bolt-cep",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"license": "MIT",
55
"bin": {
66
"create-bolt-cep": "dist/index.js"
@@ -30,7 +30,7 @@
3030
"url": "https://github.com/hyper-brew/bolt-cep/issues"
3131
},
3232
"dependencies": {
33-
"bolt-cep": "^2.1.2",
33+
"bolt-cep": "^2.2.0",
3434
"meta-bolt": "^0.0.17"
3535
},
3636
"devDependencies": {

create-bolt-cep/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -446,10 +446,10 @@ base64-js@^1.3.1:
446446
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
447447
integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
448448

449-
bolt-cep@^2.1.2:
450-
version "2.1.2"
451-
resolved "https://registry.yarnpkg.com/bolt-cep/-/bolt-cep-2.1.2.tgz#38301d84e589aabf68ecf2cf408be4d45909016c"
452-
integrity sha512-GQ314gvS+ZEkh3iof2BQxwrwQkIWUbXFSfc6YkazDU2+GvYFCFYBgl+dqwsr4VYMu9xEi9nss/k0hnC1w/ulqg==
449+
bolt-cep@^2.2.0:
450+
version "2.2.0"
451+
resolved "https://registry.yarnpkg.com/bolt-cep/-/bolt-cep-2.2.0.tgz#a43381ba134adf933b3b47a4acac67121bafe36c"
452+
integrity sha512-g7/Wim/g6sKkS62DHAbm0SqntVWxfks4vy4RRvoxsVF9Ic9yq5rmFBnYUl5HhuarunOdbeEQnQmC+U1/S+27og==
453453
dependencies:
454454
react "^19.1.0"
455455
react-dom "^19.1.0"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bolt-cep",
3-
"version": "2.1.2",
3+
"version": "2.2.0",
44
"type": "module",
55
"scripts": {
66
"dev": "vite",
@@ -63,7 +63,7 @@
6363
"types-for-adobe-extras": "^0.0.9",
6464
"typescript": "^5.8.3",
6565
"vite": "^6.3.5",
66-
"vite-cep-plugin": "^2.1.1"
66+
"vite-cep-plugin": "^2.2.0"
6767
},
6868
"main": "index.js",
6969
"license": "MIT",

package.react.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@
5656
"types-for-adobe-extras": "^0.0.9",
5757
"typescript": "^5.8.3",
5858
"vite": "^6.3.5",
59-
"vite-cep-plugin": "^2.1.1"
59+
"vite-cep-plugin": "^2.2.0"
6060
}
6161
}

package.svelte.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@
5454
"types-for-adobe-extras": "^0.0.9",
5555
"typescript": "^5.8.3",
5656
"vite": "^6.3.5",
57-
"vite-cep-plugin": "^2.1.1"
57+
"vite-cep-plugin": "^2.2.0"
5858
}
5959
}

package.vue.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
"types-for-adobe-extras": "^0.0.9",
5454
"typescript": "^5.8.3",
5555
"vite": "^6.3.5",
56-
"vite-cep-plugin": "^2.1.1"
56+
"vite-cep-plugin": "^2.2.0"
5757
}
5858
}

vite-cep-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-cep-plugin",
3-
"version": "2.1.1",
3+
"version": "2.2.0",
44
"description": "A Vite Plugin for building Adobe CEP Extension Panels",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",

vite-cep-plugin/src/index.ts

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const injectRequire = fs.readFileSync(
120120

121121
let foundPackages: string[] = [];
122122

123-
interface CepOptions {
123+
export interface CepOptions {
124124
cepConfig: CEP_Config;
125125
dir: string;
126126
isProduction: boolean;
@@ -306,7 +306,8 @@ export const cep = (opts: CepOptions) => {
306306
};
307307
fs.writeFileSync(destPath, panelHtmlFile.source);
308308
console.log(
309-
`${conColors.white} > ${path.dirname(relativePath)}: ${conColors.cyan
309+
`${conColors.white} > ${path.dirname(relativePath)}: ${
310+
conColors.cyan
310311
}http://localhost:${cepConfig.port}/${posix(
311312
path.dirname(relativePath),
312313
)}/`,
@@ -335,8 +336,8 @@ export const cep = (opts: CepOptions) => {
335336
if (isPackage) {
336337
const zxpPath = await signZXP(cepConfig, input, zxpOutput, tmpDir);
337338
if (isMetaPackage) {
338-
const zipName = path.basename(opts.zipOutput)
339-
const zipDir = path.dirname(opts.zipOutput)
339+
const zipName = path.basename(opts.zipOutput);
340+
const zipDir = path.dirname(opts.zipOutput);
340341
const zxpDir = path.dirname(zxpPath);
341342
await zipPackage(
342343
zipName,
@@ -350,7 +351,8 @@ export const cep = (opts: CepOptions) => {
350351
},
351352
async generateBundle(output: any, bundle: any) {
352353
console.log(
353-
`${conColors.green}cep process: ${(isPackage && "zxp package") || (isProduction && "build") || "dev"
354+
`${conColors.green}cep process: ${
355+
(isPackage && "zxp package") || (isProduction && "build") || "dev"
354356
}`,
355357
);
356358

@@ -656,7 +658,10 @@ export const jsxBin = (jsxBinMode?: JSXBIN_MODE) => {
656658
const jsxbin = require("jsxbin");
657659
await jsxbin(srcFilePathTmp, dstFilePathTmp);
658660
if (fs.existsSync(dstFilePathTmp) === false) {
659-
console.warn("JSXBIN generation failed. File not found:", dstFilePathTmp);
661+
console.warn(
662+
"JSXBIN generation failed. File not found:",
663+
dstFilePathTmp,
664+
);
660665
}
661666
const output = fs.readFileSync(dstFilePathTmp, { encoding: "utf-8" });
662667
const jsxBinFile = {

0 commit comments

Comments
 (0)