lucy-cli 0.8.1 → 0.8.2
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/gulp/backend.js +2 -0
- package/dist/gulp/pages.js +1 -0
- package/dist/gulp/public.js +1 -0
- package/files/.eslintrc.cjs +9 -0
- package/lucy.jpg +0 -0
- package/package.json +1 -1
- package/src/gulp/backend.ts +2 -0
- package/src/gulp/pages.ts +1 -0
- package/src/gulp/public.ts +1 -0
package/dist/gulp/backend.js
CHANGED
@@ -13,6 +13,7 @@ export function buildBackend(options) {
|
|
13
13
|
const { outputDir, enableIncrementalBuild } = options;
|
14
14
|
const gulpEsbuild = createGulpEsbuild({
|
15
15
|
incremental: enableIncrementalBuild,
|
16
|
+
pipe: true,
|
16
17
|
});
|
17
18
|
// Create tasks for each folder
|
18
19
|
const tasks = folders.map((folder) => {
|
@@ -51,6 +52,7 @@ export function buildBackendJSW(options) {
|
|
51
52
|
const { outputDir, enableIncrementalBuild } = options;
|
52
53
|
const gulpEsbuild = createGulpEsbuild({
|
53
54
|
incremental: enableIncrementalBuild,
|
55
|
+
pipe: true,
|
54
56
|
});
|
55
57
|
// Create tasks for each folder
|
56
58
|
const tasks = folders.map((folder) => {
|
package/dist/gulp/pages.js
CHANGED
@@ -6,6 +6,7 @@ export function buildPages(options) {
|
|
6
6
|
const { outputDir, enableIncrementalBuild } = options;
|
7
7
|
const gulpEsbuild = createGulpEsbuild({
|
8
8
|
incremental: enableIncrementalBuild, // enables the esbuild's incremental build
|
9
|
+
pipe: true, // enables the esbuild's pipe mode
|
9
10
|
});
|
10
11
|
return () => {
|
11
12
|
return gulp.src('typescript/pages/*.ts')
|
package/dist/gulp/public.js
CHANGED
@@ -12,6 +12,7 @@ export function buildPublic(options) {
|
|
12
12
|
const { outputDir, enableIncrementalBuild } = options;
|
13
13
|
const gulpEsbuild = createGulpEsbuild({
|
14
14
|
incremental: enableIncrementalBuild,
|
15
|
+
pipe: true,
|
15
16
|
});
|
16
17
|
// Create tasks for each folder
|
17
18
|
const tasks = folders.map((folder) => {
|
package/files/.eslintrc.cjs
CHANGED
@@ -7,6 +7,7 @@ module.exports = {
|
|
7
7
|
},
|
8
8
|
ignorePatterns: ['src/**/*', 'typescript/types/backend/**/*', 'typescript/types/pages/**/*', 'typescript/types/public/**/*', 'typescript/types/node/**/*', '.wix/**/*', 'coverage/**/*', 'docs/**/*'],
|
9
9
|
rules: {
|
10
|
+
'no-static-block': 'error',
|
10
11
|
quotes: [2, 'single', { 'avoidEscape': true, 'allowTemplateLiterals': true }],
|
11
12
|
curly: ['error', 'multi-line'],
|
12
13
|
'simple-import-sort/imports': 'error',
|
@@ -87,6 +88,14 @@ module.exports = {
|
|
87
88
|
}
|
88
89
|
],
|
89
90
|
},
|
91
|
+
overrides: [
|
92
|
+
{
|
93
|
+
files: ['**/*.tsx', '**/*.ts'],
|
94
|
+
rules: {
|
95
|
+
'no-static-block': 'error'
|
96
|
+
}
|
97
|
+
}
|
98
|
+
],
|
90
99
|
root: true,
|
91
100
|
env: {
|
92
101
|
es6: true,
|
package/lucy.jpg
CHANGED
Binary file
|
package/package.json
CHANGED
package/src/gulp/backend.ts
CHANGED
@@ -16,6 +16,7 @@ export function buildBackend(options: TaskOptions) {
|
|
16
16
|
const { outputDir, enableIncrementalBuild } = options;
|
17
17
|
const gulpEsbuild = createGulpEsbuild({
|
18
18
|
incremental: enableIncrementalBuild,
|
19
|
+
pipe: true,
|
19
20
|
});
|
20
21
|
|
21
22
|
// Create tasks for each folder
|
@@ -64,6 +65,7 @@ export function buildBackendJSW(options: TaskOptions) {
|
|
64
65
|
const { outputDir, enableIncrementalBuild } = options;
|
65
66
|
const gulpEsbuild = createGulpEsbuild({
|
66
67
|
incremental: enableIncrementalBuild,
|
68
|
+
pipe: true,
|
67
69
|
});
|
68
70
|
|
69
71
|
// Create tasks for each folder
|
package/src/gulp/pages.ts
CHANGED
@@ -8,6 +8,7 @@ export function buildPages(options: TaskOptions) {
|
|
8
8
|
const { outputDir, enableIncrementalBuild} = options;
|
9
9
|
const gulpEsbuild = createGulpEsbuild({
|
10
10
|
incremental: enableIncrementalBuild, // enables the esbuild's incremental build
|
11
|
+
pipe: true, // enables the esbuild's pipe mode
|
11
12
|
});
|
12
13
|
|
13
14
|
return () => {
|
package/src/gulp/public.ts
CHANGED