Skip to content

Commit

Permalink
migrating from gulp 4 to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
imo-tikuwa committed Sep 2, 2024
1 parent ebdf929 commit 8c3429b
Show file tree
Hide file tree
Showing 38 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion template-alpine-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion template-alpine-js/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-alpine-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion template-alpine-ts/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-inferno-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion template-inferno-js/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-inferno-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion template-inferno-ts/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-lit-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion template-lit-js/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-lit-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion template-lit-ts/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-preact-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion template-preact-js/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-preact-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion template-preact-ts/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-react-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion template-react-js/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion template-react-ts/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-solid-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion template-solid-js/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-solid-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion template-solid-ts/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-stencil-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion template-stencil-ts/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-svelte-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion template-svelte-js/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-svelte-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion template-svelte-ts/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-vanilla-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion template-vanilla-js/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-vanilla-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion template-vanilla-ts/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-vue-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion template-vue-js/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion template-vue-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion template-vue-ts/src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))

0 comments on commit 8c3429b

Please sign in to comment.