-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from KrishEnacton/feature/gulp-zip
feat: gulp zip implemented
- Loading branch information
Showing
39 changed files
with
268 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import gulp from 'gulp' | ||
import zip from 'gulp-zip' | ||
import { createRequire } from 'module' | ||
const require = createRequire(import.meta.url) | ||
const manifest = require('../build/manifest.json') | ||
|
||
gulp | ||
.src('build/*') | ||
.pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`)) | ||
.pipe(gulp.dest('package')) |
Oops, something went wrong.