lucy-cli 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Gulpfile.js +1 -1
- package/dist/gulp/watchers.js +2 -7
- package/package.json +1 -1
- package/src/Gulpfile.ts +1 -1
- package/src/gulp/watchers.ts +8 -8
package/dist/Gulpfile.js
CHANGED
@@ -73,7 +73,7 @@ gulp.task('build', gulp.parallel('build-backend', 'build-public', 'preview-templ
|
|
73
73
|
gulp.task('build-pipeline', gulp.series(cleanSrc(taskOptions), 'set-production', 'fix-wixtypes', 'add-wix-types',
|
74
74
|
// 'test',
|
75
75
|
'build'));
|
76
|
-
gulp.task('build-prod', gulp.series((done) => checkPages(true, false).then(() => done(), (err) => done(err)), cleanSrc(taskOptions), 'set-production', 'fix-wix', 'build-backend', 'build-public', buildPages(taskOptions), 'copy-files', compileScss(taskOptions)
|
76
|
+
gulp.task('build-prod', gulp.series((done) => checkPages(true, false).then(() => done(), (err) => done(err)), cleanSrc(taskOptions), 'set-production', 'fix-wix', 'build-backend', 'build-public', buildPages(taskOptions), 'copy-files', compileScss(taskOptions)));
|
77
77
|
gulp.task('start-dev-env', gulp.parallel(watchAll(taskOptions), 'test', 'start-wix', (done) => checkPages(false, taskOptions.moduleSettings?.force ?? false).then(() => done(), (err) => done(err))));
|
78
78
|
gulp.task('dev', gulp.series(cleanSrc(taskOptions), 'fix-wix', 'build', 'start-dev-env'));
|
79
79
|
async function gulpTaskRunner(task) {
|
package/dist/gulp/watchers.js
CHANGED
@@ -6,7 +6,6 @@ import { buildPages } from './pages.js';
|
|
6
6
|
import { copyFiles } from './copy.js';
|
7
7
|
import { previewTemplates } from './templates.js';
|
8
8
|
import { checkTs } from './checks.js';
|
9
|
-
import shell from 'gulp-shell';
|
10
9
|
let taskOptions;
|
11
10
|
export function watchSCSS() {
|
12
11
|
return gulp.watch([
|
@@ -19,17 +18,13 @@ export function watchBackend() {
|
|
19
18
|
'*/backend/**/*.tsx',
|
20
19
|
'!*/backend/**/*.jsw.ts',
|
21
20
|
'!src/**/**',
|
22
|
-
], gulp.parallel(checkTs(taskOptions), buildBackend(taskOptions)
|
23
|
-
'yarn docs',
|
24
|
-
])));
|
21
|
+
], gulp.parallel(checkTs(taskOptions), buildBackend(taskOptions)));
|
25
22
|
}
|
26
23
|
export function watchPublic() {
|
27
24
|
return gulp.watch([
|
28
25
|
'*/public/**/*.ts',
|
29
26
|
'*/public/**/*.tsx',
|
30
|
-
], gulp.parallel(checkTs(taskOptions), buildPublic(taskOptions)
|
31
|
-
'yarn docs',
|
32
|
-
])));
|
27
|
+
], gulp.parallel(checkTs(taskOptions), buildPublic(taskOptions)));
|
33
28
|
}
|
34
29
|
export function watchPages() {
|
35
30
|
return gulp.watch('typescript/pages/**/*.ts', gulp.parallel(checkTs(taskOptions), buildPages(taskOptions)));
|
package/package.json
CHANGED
package/src/Gulpfile.ts
CHANGED
package/src/gulp/watchers.ts
CHANGED
@@ -28,10 +28,10 @@ export function watchBackend() {
|
|
28
28
|
], gulp.parallel(
|
29
29
|
checkTs(taskOptions),
|
30
30
|
buildBackend(taskOptions),
|
31
|
-
shell.task([
|
32
|
-
|
33
|
-
])
|
34
|
-
);
|
31
|
+
// shell.task([
|
32
|
+
// 'yarn docs',
|
33
|
+
// ])
|
34
|
+
));
|
35
35
|
}
|
36
36
|
|
37
37
|
export function watchPublic() {
|
@@ -41,10 +41,10 @@ export function watchPublic() {
|
|
41
41
|
], gulp.parallel(
|
42
42
|
checkTs(taskOptions),
|
43
43
|
buildPublic(taskOptions),
|
44
|
-
shell.task([
|
45
|
-
|
46
|
-
])
|
47
|
-
);
|
44
|
+
// shell.task([
|
45
|
+
// 'yarn docs',
|
46
|
+
// ])
|
47
|
+
));
|
48
48
|
}
|
49
49
|
|
50
50
|
export function watchPages() {
|