Skip to content

Commit

Permalink
build: update gulp to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
cerinoligutom committed Jun 2, 2024
1 parent 983c47f commit f8edb5d
Show file tree
Hide file tree
Showing 3 changed files with 375 additions and 1,711 deletions.
5 changes: 3 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
/* eslint-env node */

import gulp from 'gulp';
Expand Down Expand Up @@ -55,7 +56,7 @@ async function lint() {
}

async function copyConfigFiles() {
return src(PATHS.configFiles, { base: '.' }).pipe(dest(PATHS.destinationDir));
return src(PATHS.configFiles, { base: '.', dot: true }).pipe(dest(PATHS.destinationDir));
}

async function copyNonTypeScriptFiles() {
Expand Down Expand Up @@ -93,7 +94,7 @@ export default dev;

export async function build() {
await cleanBuildDir();
await copyConfigFiles();
// await copyConfigFiles();

await lint();
await generateGqlTsFiles();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"eslint": "9.4.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"gulp": "4.0.2",
"gulp": "5.0.0",
"gulp-run-command": "0.0.10",
"husky": "9.0.11",
"lint-staged": "15.2.5",
Expand Down
Loading

0 comments on commit f8edb5d

Please sign in to comment.