From 8c3429b8e62c103898938c8909856310bfe27406 Mon Sep 17 00:00:00 2001 From: imo-tikuwa Date: Mon, 2 Sep 2024 20:15:09 +0900 Subject: [PATCH] migrating from gulp 4 to 5 --- template-alpine-js/package.json | 2 +- template-alpine-js/src/zip.js | 2 +- template-alpine-ts/package.json | 2 +- template-alpine-ts/src/zip.js | 2 +- template-inferno-js/package.json | 2 +- template-inferno-js/src/zip.js | 2 +- template-inferno-ts/package.json | 2 +- template-inferno-ts/src/zip.js | 2 +- template-lit-js/package.json | 2 +- template-lit-js/src/zip.js | 2 +- template-lit-ts/package.json | 2 +- template-lit-ts/src/zip.js | 2 +- template-preact-js/package.json | 2 +- template-preact-js/src/zip.js | 2 +- template-preact-ts/package.json | 2 +- template-preact-ts/src/zip.js | 2 +- template-react-js/package.json | 2 +- template-react-js/src/zip.js | 2 +- template-react-ts/package.json | 2 +- template-react-ts/src/zip.js | 2 +- template-solid-js/package.json | 2 +- template-solid-js/src/zip.js | 2 +- template-solid-ts/package.json | 2 +- template-solid-ts/src/zip.js | 2 +- template-stencil-ts/package.json | 2 +- template-stencil-ts/src/zip.js | 2 +- template-svelte-js/package.json | 2 +- template-svelte-js/src/zip.js | 2 +- template-svelte-ts/package.json | 2 +- template-svelte-ts/src/zip.js | 2 +- template-vanilla-js/package.json | 2 +- template-vanilla-js/src/zip.js | 2 +- template-vanilla-ts/package.json | 2 +- template-vanilla-ts/src/zip.js | 2 +- template-vue-js/package.json | 2 +- template-vue-js/src/zip.js | 2 +- template-vue-ts/package.json | 2 +- template-vue-ts/src/zip.js | 2 +- 38 files changed, 38 insertions(+), 38 deletions(-) diff --git a/template-alpine-js/package.json b/template-alpine-js/package.json index ee72cb7..43b7466 100644 --- a/template-alpine-js/package.json +++ b/template-alpine-js/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "vite": "^4.4.11" } diff --git a/template-alpine-js/src/zip.js b/template-alpine-js/src/zip.js index 78e3846..b209e76 100644 --- a/template-alpine-js/src/zip.js +++ b/template-alpine-js/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-alpine-ts/package.json b/template-alpine-ts/package.json index 01c508d..746a38b 100644 --- a/template-alpine-ts/package.json +++ b/template-alpine-ts/package.json @@ -29,7 +29,7 @@ "@crxjs/vite-plugin": "^2.0.0-beta.19", "@types/alpinejs": "^3.13.2", "@types/chrome": "^0.0.246", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "typescript": "^5.2.2", "vite": "^4.4.11" diff --git a/template-alpine-ts/src/zip.js b/template-alpine-ts/src/zip.js index 78e3846..b209e76 100644 --- a/template-alpine-ts/src/zip.js +++ b/template-alpine-ts/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-inferno-js/package.json b/template-inferno-js/package.json index ce6948e..cf6e7bd 100644 --- a/template-inferno-js/package.json +++ b/template-inferno-js/package.json @@ -29,7 +29,7 @@ "@babel/core": "7.23.2", "@babel/parser": "7.23.0", "@crxjs/vite-plugin": "^2.0.0-beta.19", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "vite": "^4.4.11", "vite-plugin-inferno": "0.0.1" diff --git a/template-inferno-js/src/zip.js b/template-inferno-js/src/zip.js index 78e3846..b209e76 100644 --- a/template-inferno-js/src/zip.js +++ b/template-inferno-js/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-inferno-ts/package.json b/template-inferno-ts/package.json index aa5d044..b95e984 100644 --- a/template-inferno-ts/package.json +++ b/template-inferno-ts/package.json @@ -30,7 +30,7 @@ "@babel/parser": "7.23.0", "@crxjs/vite-plugin": "^2.0.0-beta.19", "@types/chrome": "^0.0.246", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "typescript": "^5.2.2", "vite": "^4.4.11", diff --git a/template-inferno-ts/src/zip.js b/template-inferno-ts/src/zip.js index 78e3846..b209e76 100644 --- a/template-inferno-ts/src/zip.js +++ b/template-inferno-ts/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-lit-js/package.json b/template-lit-js/package.json index c5a2ae2..59b6070 100644 --- a/template-lit-js/package.json +++ b/template-lit-js/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "vite": "^3.2.7" diff --git a/template-lit-js/src/zip.js b/template-lit-js/src/zip.js index 78e3846..b209e76 100644 --- a/template-lit-js/src/zip.js +++ b/template-lit-js/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-lit-ts/package.json b/template-lit-ts/package.json index d3f56e2..e01dd2f 100644 --- a/template-lit-ts/package.json +++ b/template-lit-ts/package.json @@ -28,7 +28,7 @@ "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", "@types/chrome": "^0.0.246", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "path": "^0.12.7", "prettier": "^3.0.3", diff --git a/template-lit-ts/src/zip.js b/template-lit-ts/src/zip.js index 78e3846..b209e76 100644 --- a/template-lit-ts/src/zip.js +++ b/template-lit-ts/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-preact-js/package.json b/template-preact-js/package.json index 30d7e50..2a89196 100644 --- a/template-preact-js/package.json +++ b/template-preact-js/package.json @@ -28,7 +28,7 @@ "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", "@preact/preset-vite": "^2.6.0", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "vite": "^4.4.11" diff --git a/template-preact-js/src/zip.js b/template-preact-js/src/zip.js index 78e3846..b209e76 100644 --- a/template-preact-js/src/zip.js +++ b/template-preact-js/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-preact-ts/package.json b/template-preact-ts/package.json index 78634c6..363b600 100644 --- a/template-preact-ts/package.json +++ b/template-preact-ts/package.json @@ -29,7 +29,7 @@ "@crxjs/vite-plugin": "^2.0.0-beta.19", "@preact/preset-vite": "^2.6.0", "@types/chrome": "^0.0.246", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "typescript": "^5.2.2", diff --git a/template-preact-ts/src/zip.js b/template-preact-ts/src/zip.js index 78e3846..b209e76 100644 --- a/template-preact-ts/src/zip.js +++ b/template-preact-ts/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-react-js/package.json b/template-react-js/package.json index e25ff66..69f3386 100644 --- a/template-react-js/package.json +++ b/template-react-js/package.json @@ -32,7 +32,7 @@ "@types/react-dom": "^18.2.13", "@vitejs/plugin-react": "^4.1.0", "glob": "^10.3.10", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "vite": "^4.4.11" diff --git a/template-react-js/src/zip.js b/template-react-js/src/zip.js index 78e3846..b209e76 100644 --- a/template-react-js/src/zip.js +++ b/template-react-js/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-react-ts/package.json b/template-react-ts/package.json index ba1c65c..9d90917 100644 --- a/template-react-ts/package.json +++ b/template-react-ts/package.json @@ -32,7 +32,7 @@ "@types/react": "^18.2.28", "@types/react-dom": "^18.2.13", "@vitejs/plugin-react": "^4.1.0", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "typescript": "^5.2.2", diff --git a/template-react-ts/src/zip.js b/template-react-ts/src/zip.js index 78e3846..b209e76 100644 --- a/template-react-ts/src/zip.js +++ b/template-react-ts/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-solid-js/package.json b/template-solid-js/package.json index d451a6e..1304814 100644 --- a/template-solid-js/package.json +++ b/template-solid-js/package.json @@ -25,7 +25,7 @@ }, "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "vite": "^4.4.11", diff --git a/template-solid-js/src/zip.js b/template-solid-js/src/zip.js index 78e3846..b209e76 100644 --- a/template-solid-js/src/zip.js +++ b/template-solid-js/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-solid-ts/package.json b/template-solid-ts/package.json index 2c373e6..28796ca 100644 --- a/template-solid-ts/package.json +++ b/template-solid-ts/package.json @@ -26,7 +26,7 @@ "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", "@types/chrome": "^0.0.246", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "typescript": "^5.2.2", diff --git a/template-solid-ts/src/zip.js b/template-solid-ts/src/zip.js index 78e3846..b209e76 100644 --- a/template-solid-ts/src/zip.js +++ b/template-solid-ts/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-stencil-ts/package.json b/template-stencil-ts/package.json index e34e566..84aeaf4 100644 --- a/template-stencil-ts/package.json +++ b/template-stencil-ts/package.json @@ -26,7 +26,7 @@ "@types/chrome": "^0.0.246", "@types/node": "^20.8.3", "express": "^4.18.2", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "typescript": "^5.2.2" diff --git a/template-stencil-ts/src/zip.js b/template-stencil-ts/src/zip.js index 78e3846..b209e76 100644 --- a/template-stencil-ts/src/zip.js +++ b/template-stencil-ts/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-svelte-js/package.json b/template-svelte-js/package.json index 6f862c9..10891f3 100755 --- a/template-svelte-js/package.json +++ b/template-svelte-js/package.json @@ -25,7 +25,7 @@ "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", "@sveltejs/vite-plugin-svelte": "2.4.6", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "prettier-plugin-svelte": "^3.0.3", diff --git a/template-svelte-js/src/zip.js b/template-svelte-js/src/zip.js index 78e3846..b209e76 100644 --- a/template-svelte-js/src/zip.js +++ b/template-svelte-js/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-svelte-ts/package.json b/template-svelte-ts/package.json index 48e203a..7073c90 100755 --- a/template-svelte-ts/package.json +++ b/template-svelte-ts/package.json @@ -26,7 +26,7 @@ "@crxjs/vite-plugin": "^2.0.0-beta.19", "@sveltejs/vite-plugin-svelte": "2.4.6", "@types/chrome": "^0.0.246", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "prettier-plugin-svelte": "^3.0.3", diff --git a/template-svelte-ts/src/zip.js b/template-svelte-ts/src/zip.js index 78e3846..b209e76 100644 --- a/template-svelte-ts/src/zip.js +++ b/template-svelte-ts/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-vanilla-js/package.json b/template-vanilla-js/package.json index 862c624..e950dea 100644 --- a/template-vanilla-js/package.json +++ b/template-vanilla-js/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "vite": "^4.4.11" diff --git a/template-vanilla-js/src/zip.js b/template-vanilla-js/src/zip.js index 78e3846..b209e76 100644 --- a/template-vanilla-js/src/zip.js +++ b/template-vanilla-js/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-vanilla-ts/package.json b/template-vanilla-ts/package.json index cb66be6..60f9cc3 100644 --- a/template-vanilla-ts/package.json +++ b/template-vanilla-ts/package.json @@ -25,7 +25,7 @@ "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", "@types/chrome": "^0.0.246", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "typescript": "^5.2.2", diff --git a/template-vanilla-ts/src/zip.js b/template-vanilla-ts/src/zip.js index 78e3846..b209e76 100644 --- a/template-vanilla-ts/src/zip.js +++ b/template-vanilla-ts/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-vue-js/package.json b/template-vue-js/package.json index 371426e..7604294 100644 --- a/template-vue-js/package.json +++ b/template-vue-js/package.json @@ -28,7 +28,7 @@ "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", "@vitejs/plugin-vue": "^4.4.0", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "vite": "^4.4.11" diff --git a/template-vue-js/src/zip.js b/template-vue-js/src/zip.js index 78e3846..b209e76 100644 --- a/template-vue-js/src/zip.js +++ b/template-vue-js/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package')) diff --git a/template-vue-ts/package.json b/template-vue-ts/package.json index 84f09b6..60fd38c 100644 --- a/template-vue-ts/package.json +++ b/template-vue-ts/package.json @@ -29,7 +29,7 @@ "@crxjs/vite-plugin": "^2.0.0-beta.19", "@types/chrome": "^0.0.246", "@vitejs/plugin-vue": "^4.4.0", - "gulp": "^4.0.2", + "gulp": "^5.0.0", "gulp-zip": "^6.0.0", "prettier": "^3.0.3", "typescript": "^5.2.2", diff --git a/template-vue-ts/src/zip.js b/template-vue-ts/src/zip.js index 78e3846..b209e76 100644 --- a/template-vue-ts/src/zip.js +++ b/template-vue-ts/src/zip.js @@ -5,6 +5,6 @@ const require = createRequire(import.meta.url) const manifest = require('../build/manifest.json') gulp - .src('build/**') + .src('build/**', { encoding: false }) .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) .pipe(gulp.dest('package'))