diff options
Diffstat (limited to 'gulpfile.babel.js')
-rw-r--r-- | gulpfile.babel.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gulpfile.babel.js b/gulpfile.babel.js index d5fb607d9..ae461ba87 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js | |||
@@ -75,7 +75,6 @@ const paths = { | |||
75 | dest: 'build/', | 75 | dest: 'build/', |
76 | watch: [ | 76 | watch: [ |
77 | 'src/**/*.js', | 77 | 'src/**/*.js', |
78 | // 'packages/**/*.js', | ||
79 | ], | 78 | ], |
80 | }, | 79 | }, |
81 | typescripts: { | 80 | typescripts: { |
@@ -83,17 +82,8 @@ const paths = { | |||
83 | dest: 'build/', | 82 | dest: 'build/', |
84 | watch: [ | 83 | watch: [ |
85 | 'src/**/*.ts', | 84 | 'src/**/*.ts', |
86 | // 'packages/**/*.ts', | ||
87 | ], | 85 | ], |
88 | }, | 86 | }, |
89 | packages: { | ||
90 | watch: 'packages/**/*', | ||
91 | // dest: 'build/', | ||
92 | // watch: [ | ||
93 | // 'src/**/*.js', | ||
94 | // // 'packages/**/*.js', | ||
95 | // ], | ||
96 | }, | ||
97 | }; | 87 | }; |
98 | 88 | ||
99 | // eslint-disable-next-line no-unused-vars | 89 | // eslint-disable-next-line no-unused-vars |
@@ -145,10 +135,6 @@ export function mvPackageJson() { | |||
145 | return gulp.src(['./package.json']).pipe(gulp.dest(paths.dest)); | 135 | return gulp.src(['./package.json']).pipe(gulp.dest(paths.dest)); |
146 | } | 136 | } |
147 | 137 | ||
148 | export function mvLernaPackages() { | ||
149 | return gulp.src(['packages/**']).pipe(gulp.dest(`${paths.dest}/packages`)); | ||
150 | } | ||
151 | |||
152 | export function mvPostinstallScript() { | 138 | export function mvPostinstallScript() { |
153 | return gulp | 139 | return gulp |
154 | .src(['./scripts/postinstall.ts']) | 140 | .src(['./scripts/postinstall.ts']) |
@@ -240,7 +226,6 @@ export function processTypescripts() { | |||
240 | } | 226 | } |
241 | 227 | ||
242 | export function watch() { | 228 | export function watch() { |
243 | gulp.watch(paths.packages.watch, mvLernaPackages); | ||
244 | gulp.watch(paths.styles.watch, styles); | 229 | gulp.watch(paths.styles.watch, styles); |
245 | 230 | ||
246 | gulp.watch([paths.src], mvSrc); | 231 | gulp.watch([paths.src], mvSrc); |
@@ -273,7 +258,6 @@ const build = gulp.series( | |||
273 | gulp.parallel( | 258 | gulp.parallel( |
274 | mvSrc, | 259 | mvSrc, |
275 | mvPackageJson, | 260 | mvPackageJson, |
276 | mvLernaPackages, | ||
277 | mvPostinstallScript, | 261 | mvPostinstallScript, |
278 | exportBuildInfo, | 262 | exportBuildInfo, |
279 | ), | 263 | ), |