From 8311d9c06a2be3562f3bcb5afbda3cf66fba9337 Mon Sep 17 00:00:00 2001 From: carvin Date: Tue, 25 May 2021 21:33:33 +0800 Subject: [PATCH 1/2] Update index.ts --- packages/pilet-webpack-plugin/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pilet-webpack-plugin/src/index.ts b/packages/pilet-webpack-plugin/src/index.ts index e1e5c44..cd17ec3 100644 --- a/packages/pilet-webpack-plugin/src/index.ts +++ b/packages/pilet-webpack-plugin/src/index.ts @@ -65,7 +65,7 @@ export class PiletWebpackPlugin implements Plugin { ]; if (schema !== 'none') { - const bannerSuffix = schema ? `1(${jsonpFunction})` : `0`; + const bannerSuffix = schema === 'v1' ? `1(${jsonpFunction})` : `0`; plugins.push( new BannerPlugin({ From 38d6dd9200d40afcb07a3fde33c28daffc19e72a Mon Sep 17 00:00:00 2001 From: amu Date: Tue, 25 May 2021 22:24:27 +0800 Subject: [PATCH 2/2] chore: Updated changelog and versions --- CHANGELOG.md | 4 ++++ lerna.json | 2 +- packages/html5-entry-webpack-plugin/package.json | 5 +++-- packages/import-maps-webpack-plugin/package.json | 5 +++-- packages/parcel-codegen-loader/package.json | 5 +++-- packages/pilet-webpack-plugin/package.json | 4 ++-- packages/piral-instance-webpack-plugin/package.json | 4 ++-- 7 files changed, 18 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1271c1..04ed184 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Piral Webpack Tools Changelog +## 0.6.8 (May 25, 2021) + +* Fixed `v0` bannerSuffix logic. + ## 0.6.7 (May 5, 2021) * Improved wiring up `html-webpack-plugin` diff --git a/lerna.json b/lerna.json index 9b2c3f4..9c3d32a 100644 --- a/lerna.json +++ b/lerna.json @@ -4,5 +4,5 @@ ], "npmClient": "yarn", "useWorkspaces": true, - "version": "0.6.6" + "version": "0.6.8" } diff --git a/packages/html5-entry-webpack-plugin/package.json b/packages/html5-entry-webpack-plugin/package.json index 1fb1d2c..8f53854 100644 --- a/packages/html5-entry-webpack-plugin/package.json +++ b/packages/html5-entry-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "html5-entry-webpack-plugin", - "version": "0.6.6", + "version": "0.6.8", "description": "Webpack plugin for allowing HTML files as entry modules.", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -36,5 +36,6 @@ "dependencies": { "cheerio": "^1.0.0-rc.3", "html-webpack-plugin": "^4.2.0" - } + }, + "gitHead": "d8766113afb41e6962a01b71121403c979d5a803" } diff --git a/packages/import-maps-webpack-plugin/package.json b/packages/import-maps-webpack-plugin/package.json index 983826c..6f216f6 100644 --- a/packages/import-maps-webpack-plugin/package.json +++ b/packages/import-maps-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "import-maps-webpack-plugin", - "version": "0.6.6", + "version": "0.6.8", "description": "A plugin for providing static import maps support to Webpack.", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -37,5 +37,6 @@ }, "dependencies": { "webpack-virtual-modules": "^0.3.0" - } + }, + "gitHead": "d8766113afb41e6962a01b71121403c979d5a803" } diff --git a/packages/parcel-codegen-loader/package.json b/packages/parcel-codegen-loader/package.json index 34fe7ba..f8a6286 100644 --- a/packages/parcel-codegen-loader/package.json +++ b/packages/parcel-codegen-loader/package.json @@ -1,6 +1,6 @@ { "name": "parcel-codegen-loader", - "version": "0.6.6", + "version": "0.6.8", "description": "A loader for .codegen files to auto-generate modules on the fly.", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -35,5 +35,6 @@ "dependencies": { "loader-utils": "^2.0.0", "schema-utils": "^2.6.5" - } + }, + "gitHead": "d8766113afb41e6962a01b71121403c979d5a803" } diff --git a/packages/pilet-webpack-plugin/package.json b/packages/pilet-webpack-plugin/package.json index 74ce8cd..75228d3 100644 --- a/packages/pilet-webpack-plugin/package.json +++ b/packages/pilet-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "pilet-webpack-plugin", - "version": "0.6.6", + "version": "0.6.8", "description": "Webpack plugin for generating a valid pilet bundle.", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -31,5 +31,5 @@ "devDependencies": { "webpack": "4.42.0" }, - "dependencies": {} + "gitHead": "d8766113afb41e6962a01b71121403c979d5a803" } diff --git a/packages/piral-instance-webpack-plugin/package.json b/packages/piral-instance-webpack-plugin/package.json index b0647ba..304d5b5 100644 --- a/packages/piral-instance-webpack-plugin/package.json +++ b/packages/piral-instance-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "piral-instance-webpack-plugin", - "version": "0.6.6", + "version": "0.6.8", "description": "Webpack plugin for generating a valid Piral instance bundle.", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -31,5 +31,5 @@ "devDependencies": { "webpack": "4.42.0" }, - "dependencies": {} + "gitHead": "d8766113afb41e6962a01b71121403c979d5a803" }