Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dessant committed Apr 12, 2024
1 parent aed7d2d commit d66e7bc
Show file tree
Hide file tree
Showing 6 changed files with 4,170 additions and 5,938 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.10.0
20.12.2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ and the browser toolbar from the extension's options.

## License

Copyright (c) 2017-2023 Armin Sebastian
Copyright (c) 2017-2024 Armin Sebastian

This software is released under the terms of the GNU General Public License v3.0.
See the [LICENSE](LICENSE) file for further information.
20 changes: 15 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ async function images(done) {
// Chrome Web Store does not correctly display optimized icons
if (isProduction && targetEnv !== 'chrome') {
await new Promise(resolve => {
src(path.join(distDir, 'src/assets/icons/app/*.png'), {base: '.'})
src(path.join(distDir, 'src/assets/icons/app/*.png'), {
base: '.',
encoding: false
})
.pipe(imagemin())
.pipe(dest('.'))
.on('error', done)
Expand All @@ -107,7 +110,10 @@ async function images(done) {
}
if (isProduction) {
await new Promise(resolve => {
src(path.join(distDir, 'src/assets/icons/engines/*.png'), {base: '.'})
src(path.join(distDir, 'src/assets/icons/engines/*.png'), {
base: '.',
encoding: false
})
.pipe(imagemin())
.pipe(dest('.'))
.on('error', done)
Expand All @@ -118,7 +124,8 @@ async function images(done) {

await new Promise(resolve => {
src('src/assets/icons/@(app|engines|misc)/*.@(png|svg)', {
base: '.'
base: '.',
encoding: false
})
.pipe(gulpif(isProduction, imagemin()))
.pipe(dest(distDir))
Expand All @@ -128,7 +135,9 @@ async function images(done) {

if (enableContributions) {
await new Promise(resolve => {
src('node_modules/vueton/components/contribute/assets/*.@(png|svg)')
src('node_modules/vueton/components/contribute/assets/*.@(png|svg)', {
encoding: false
})
.pipe(gulpif(isProduction, imagemin()))
.pipe(dest(path.join(distDir, 'src/contribute/assets')))
.on('error', done)
Expand All @@ -148,7 +157,8 @@ async function fonts(done) {

await new Promise(resolve => {
src(
'node_modules/@fontsource/roboto/files/roboto-latin-@(400|500|700)-normal.woff2'
'node_modules/@fontsource/roboto/files/roboto-latin-@(400|500|700)-normal.woff2',
{encoding: false}
)
.pipe(dest(path.join(distDir, 'src/assets/fonts/files')))
.on('error', done)
Expand Down
Loading

0 comments on commit d66e7bc

Please sign in to comment.