lucy-cli 1.0.8 → 1.0.10
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/README.md
CHANGED
@@ -15,6 +15,16 @@ Libraries are expected to have the same folder structure as the main typescript
|
|
15
15
|
(backend, public, styles)
|
16
16
|
The lucy CLI is opinionated and may not work with all projects.
|
17
17
|
|
18
|
+
Yarn: Lucy-CLI is designed to work with yarn. It may not work with npm.
|
19
|
+
Make sure you have yarn installed on your machine and it is set to version 3.
|
20
|
+
|
21
|
+
```bash
|
22
|
+
yarn set <version>
|
23
|
+
```
|
24
|
+
|
25
|
+
The composite and declaration tsconfig setting int need to be set to false in order to reexport types from the lib folder.
|
26
|
+
This is not ideal but it is a limitation of the current version of the CLI.
|
27
|
+
|
18
28
|
Importing backend endpoint into the frontend
|
19
29
|
Please be aware that the backend endpoint should be imported with the following code:
|
20
30
|
|
@@ -24,6 +34,10 @@ Please be aware that the backend endpoint should be imported with the following
|
|
24
34
|
import { initialize, InitResponse } from 'backend/lib/initialize.web';
|
25
35
|
```
|
26
36
|
|
37
|
+
## Contributing
|
38
|
+
|
39
|
+
Contribution are welcome, issue and pull request and I will merge it if i see it fit.
|
40
|
+
|
27
41
|
## What It Does
|
28
42
|
|
29
43
|
Lucy-CLI is designed to streamline the setup and management of TypeScript within Wix Velo projects, providing tools to enhance code quality and reduce development time. Here’s what it offers:
|
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() {
|