lucy-cli 2.0.0-beta.1 → 2.0.0-beta.3
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/.cursorignore +4 -0
- package/README.md +117 -102
- package/dist/args.js +42 -1
- package/dist/args.js.map +1 -1
- package/dist/commands/exec.d.ts +2 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/init/blocks.d.ts +1 -1
- package/dist/init/cargo.d.ts +1 -1
- package/dist/init/expo.d.ts +1 -1
- package/dist/init/index.d.ts +1 -1
- package/dist/init/monorepo.d.ts +1 -1
- package/dist/init/tauri.d.ts +1 -1
- package/dist/init/velo.d.ts +1 -1
- package/dist/tasks/index.d.ts +1 -1
- package/files/templates/block[D]/files/.cursorignore +4 -0
- package/files/templates/cargo[D]/files/.cursorignore +4 -0
- package/files/templates/expo[D]/files/.cursorignore +4 -0
- package/files/templates/monorepo[D]/files/.cursorignore +4 -0
- package/files/templates/tauri[D]/files/.cursorignore +4 -0
- package/files/templates/velo[D]/files/.cursorignore +4 -0
- package/lucy +4 -0
- package/lucy.jpg +0 -0
- package/package.json +7 -6
- package/src/args.ts +42 -1
- package/src/index.ts +0 -1
package/.cursorignore
ADDED
package/README.md
CHANGED
@@ -1,46 +1,59 @@
|
|
1
1
|
# Lucy-CLI
|
2
2
|
|
3
|
-
|
3
|
+
<div style="float: right; margin: 0 0 30px 30px;">
|
4
|
+
<img src="lucy.jpg" alt="Lucy-CLI" width="200" height="200" style="border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);">
|
5
|
+
</div>
|
4
6
|
|
5
7
|
## Motivation
|
6
8
|
|
7
|
-
Lucy-CLI was developed out of a personal need to gain full TypeScript support for Wix Velo projects. Typically, using Wix
|
9
|
+
Lucy-CLI was developed out of a personal need to gain full TypeScript support for Wix Velo projects. Typically, using Wix's GitHub integration provides JSON docs and basic type support, but I aimed for a more integrated TypeScript experience, especially for larger projects that benefit from enhanced type safety.
|
8
10
|
|
9
11
|
Lucy, my loyal dog, accompanied me during long nights working on a major project where I developed this CLI. Her companionship and resilience inspired the name "Lucy-CLI."
|
10
12
|
|
11
|
-
##
|
13
|
+
## Important Notes Before Using Lucy-CLI
|
12
14
|
|
13
15
|
This CLI is still in development and may have bugs. Please use it with caution.
|
14
|
-
Libraries are expected to have the same folder structure as the main typescript folder except for the pages folder.
|
15
|
-
(backend, public, styles)
|
16
|
-
The lucy CLI is opinionated and may not work with all projects.
|
17
16
|
|
18
|
-
|
19
|
-
Make sure you have yarn installed on your machine and it is set to version 3.
|
17
|
+
### Project Types Overview
|
20
18
|
|
21
|
-
|
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.
|
19
|
+
Lucy-CLI supports multiple project types, each with different requirements and configurations:
|
27
20
|
|
28
|
-
|
29
|
-
|
21
|
+
#### Wix Velo Projects (`init velo`)
|
22
|
+
- **Purpose**: Full TypeScript support for Wix Velo development
|
23
|
+
- **Requirements**:
|
24
|
+
- Libraries must have the same folder structure as the main TypeScript folder (backend, public, styles)
|
25
|
+
- Composite and declaration tsconfig settings must be set to false for type reexport
|
26
|
+
- **Limitations**: Opinionated structure - may not work with all projects
|
30
27
|
|
31
|
-
|
28
|
+
**Backend Endpoint Import Pattern:**
|
29
|
+
```javascript
|
32
30
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
33
31
|
//@ts-ignore
|
34
32
|
import { initialize, InitResponse } from 'backend/lib/initialize.web';
|
35
33
|
```
|
36
34
|
|
35
|
+
#### Other Project Types
|
36
|
+
- **Expo** (`init expo`): React Native with Expo framework
|
37
|
+
- **Blocks** (`init blocks`): Wix Blocks development
|
38
|
+
- **Monorepo** (`init monorepo`): Nx-based monorepo setup
|
39
|
+
- **Tauri** (`init tauri`): Desktop applications with Tauri
|
40
|
+
- **Cargo** (`init cargo`): Rust projects
|
41
|
+
- **Wix SDK** (`init wix-sdk`): Wix SDK integration
|
42
|
+
|
43
|
+
### Template System
|
44
|
+
|
45
|
+
Lucy-CLI uses a centralized template system located at `~/.lucy-cli` (your home directory). This folder contains:
|
46
|
+
- Default project configurations
|
47
|
+
- File structure templates for each project type
|
48
|
+
- Customizable settings and configurations
|
49
|
+
|
37
50
|
## Contributing
|
38
51
|
|
39
|
-
|
52
|
+
Contributions are welcome! Please submit issues and pull requests, and I will merge them if they fit the project's goals.
|
40
53
|
|
41
54
|
## What It Does
|
42
55
|
|
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
|
56
|
+
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:
|
44
57
|
|
45
58
|
1. **ESLint Configuration**
|
46
59
|
- Adds ESLint with a default configuration (customizable post-init) to maintain consistent code style and prevent common errors.
|
@@ -55,7 +68,7 @@ Lucy-CLI is designed to streamline the setup and management of TypeScript within
|
|
55
68
|
- Includes support for git submodules, providing full type support within submodules and enabling the use of libraries and types across projects.
|
56
69
|
- To add a submodule, include the following in the `lucy.json` file:
|
57
70
|
|
58
|
-
```
|
71
|
+
```json
|
59
72
|
"modules": {
|
60
73
|
"<repoName>": {
|
61
74
|
"url": "String",
|
@@ -69,124 +82,126 @@ Lucy-CLI is designed to streamline the setup and management of TypeScript within
|
|
69
82
|
5. **Configurable Setup**
|
70
83
|
- After initialization, Lucy-CLI creates a `lucy-config.json` configuration file where you can modify settings, add dev packages, specify Wix packages, and configure git submodules.
|
71
84
|
|
72
|
-
6. **Execute
|
85
|
+
6. **Execute Render Functions**
|
73
86
|
- Lucy-CLI can execute render functions located in the backend template folder, allowing you to test render functions locally.
|
74
87
|
|
75
|
-
|
88
|
+
7. **Compile SCSS Files**
|
76
89
|
- Lucy-CLI can compile SCSS files to CSS files.
|
77
|
-
- It compiles styles/global.scss file to global.css
|
90
|
+
- It compiles the `styles/global.scss` file to `global.css`.
|
78
91
|
|
79
92
|
8. **Wix NPM Package Installation**
|
80
93
|
- Lucy-CLI can install Wix npm packages from the `lucy.json` file.
|
81
94
|
|
82
|
-
|
95
|
+
9. **Testing with Vitest**
|
83
96
|
- Lucy-CLI can run tests with Vitest.
|
84
|
-
- It runs tests located backend folder with
|
85
|
-
-
|
86
|
-
- Vitest
|
87
|
-
- You can add additional mock folders in vitest.config.ts file.
|
97
|
+
- It runs tests located in the backend folder with file names ending with `.spec.ts`.
|
98
|
+
- It creates a code coverage report in the coverage folder in the lib folders and TypeScript folders.
|
99
|
+
- Vitest looks for mocks in the TypeScript folder and lib folder.
|
100
|
+
- You can add additional mock folders in the `vitest.config.ts` file.
|
88
101
|
|
89
102
|
10. **Linting with ESLint**
|
90
103
|
- Lucy-CLI can lint the code with ESLint.
|
91
104
|
- It uses the ESLint configuration in the `.eslintrc.cjs` file in the project directory.
|
92
105
|
|
93
|
-
11. **Add
|
106
|
+
11. **Add Git Version During Production Build**
|
94
107
|
- Lucy-CLI can add the git version to the production build.
|
95
|
-
- It adds the git version to the `public/constant/env.ts` file in the public folder under the key gitTag
|
96
|
-
|
97
|
-
|
108
|
+
- It adds the git version to the `public/constant/env.ts` file in the public folder under the key `gitTag`.
|
109
|
+
|
110
|
+
12. **Use Velo-Sync to Synchronize Local Collections with Wix**
|
111
|
+
- Lucy-CLI can synchronize local collections with Wix collections.
|
98
112
|
- More information can be found in the [velo-sync](https://www.npmjs.com/package/velo-sync) documentation.
|
99
113
|
|
100
114
|
13. **Synchronize `package.json` with `lucy.json`**
|
101
|
-
-
|
115
|
+
- Lucy-CLI can synchronize dependencies from your project's `package.json` directly into the `lucy.json` configuration. The `dependencies` are mapped to `wixPackages` and `devDependencies` are mapped to `devPackages`.
|
102
116
|
|
103
117
|
14. **Manage CLI Templates**
|
104
|
-
-
|
118
|
+
- Lucy-CLI uses a templates folder (`~/.lucy-cli`) to store default configurations and file structures for the `init` command. Use the `open` command to access and customize these templates.
|
105
119
|
|
106
120
|
## Commands & Options
|
107
121
|
|
108
|
-
Lucy-CLI comes with a
|
109
|
-
|
110
|
-
### Commands
|
111
|
-
|
112
|
-
- **`init
|
113
|
-
-
|
114
|
-
- **`
|
115
|
-
- **`
|
116
|
-
- **`
|
117
|
-
- **`
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
- **`
|
122
|
-
- **`
|
123
|
-
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
-
|
131
|
-
-
|
132
|
-
-
|
133
|
-
-
|
122
|
+
Lucy-CLI comes with a comprehensive set of commands and options. Use `lucy-cli -h` to see a complete overview of all available commands and options.
|
123
|
+
|
124
|
+
### Main Commands
|
125
|
+
|
126
|
+
- **`init <type>`**: Initialize a new Lucy project with the specified type
|
127
|
+
- **Types**: `velo`, `expo`, `blocks`, `monorepo`, `tauri`, `cargo`, `wix-sdk`
|
128
|
+
- **`open`**: Open the Lucy home directory
|
129
|
+
- **`task <name>`**: Run a specific task
|
130
|
+
- **`wix-sync <action>`**: Run velo-sync actions
|
131
|
+
- **`wix-sdk <action>`**: Run Wix SDK actions
|
132
|
+
|
133
|
+
### Available Tasks
|
134
|
+
|
135
|
+
- **`dev`**: Start development environment
|
136
|
+
- **`build`**: Build the project
|
137
|
+
- **`build-prod`**: Build for production
|
138
|
+
- **`build-pipeline`**: Build pipeline
|
139
|
+
- **`sync-settings`**: Sync settings
|
140
|
+
|
141
|
+
### Wix Sync Actions
|
142
|
+
|
143
|
+
- **`sync`**: Synchronize collections
|
144
|
+
- **`import`**: Import data from CSV
|
145
|
+
- **`init`**: Initialize sync configuration
|
146
|
+
- **`is-alive`**: Check if sync is alive
|
147
|
+
- **`migrate`**: Migrate data
|
148
|
+
- **`export`**: Export data
|
149
|
+
|
150
|
+
### Project Types
|
151
|
+
|
152
|
+
- **`velo`**: Wix Velo project
|
153
|
+
- **`expo`**: React Native with Expo
|
154
|
+
- **`blocks`**: Wix Blocks
|
155
|
+
- **`monorepo`**: Monorepo setup
|
156
|
+
- **`tauri`**: Tauri desktop app
|
157
|
+
- **`cargo`**: Rust project
|
158
|
+
- **`wix-sdk`**: Wix SDK setup
|
159
|
+
|
160
|
+
### Global Options
|
161
|
+
|
162
|
+
- **`-h, --help`**: Show comprehensive help message with all commands and options
|
163
|
+
- **`-v, --version`**: Show version number
|
164
|
+
- **`-f, --force`**: Force execution (use with caution)
|
134
165
|
|
135
166
|
## Examples
|
136
167
|
|
137
168
|
Here are some example commands to get started with Lucy-CLI:
|
138
169
|
|
139
170
|
```bash
|
140
|
-
#
|
141
|
-
lucy-cli
|
171
|
+
# Get comprehensive help overview
|
172
|
+
lucy-cli -h
|
173
|
+
|
174
|
+
# Initialize a new Wix Velo project
|
175
|
+
lucy-cli init velo
|
142
176
|
|
143
177
|
# Start the development environment
|
144
|
-
lucy-cli dev
|
178
|
+
lucy-cli task dev
|
145
179
|
|
146
180
|
# Synchronize database and settings
|
147
|
-
lucy-cli sync
|
181
|
+
lucy-cli task sync-settings
|
148
182
|
|
149
|
-
#
|
150
|
-
lucy-cli
|
183
|
+
# Run velo-sync import with CSV file
|
184
|
+
lucy-cli wix-sync import -i data.csv -c myCollection
|
151
185
|
|
152
186
|
# Force start the dev environment
|
153
|
-
lucy-cli dev -f
|
154
|
-
|
155
|
-
#
|
156
|
-
lucy-cli
|
157
|
-
|
158
|
-
🦮 Lucy CLI Help
|
159
|
-
Usage: lucy-cli <command> [options]
|
160
|
-
|
161
|
-
Commands:
|
162
|
-
🦮 init : Initializes a WIX project to enable full TS support.
|
163
|
-
🦮 dev : Starts the development environment. This includes setting up any required services for local development.
|
164
|
-
🦮 build-prod : Builds the project in production mode, optimizing files for deployment.
|
165
|
-
🦮 prepare : Prepares the project by installing packages & initializing git modules, configured in lucy.json.
|
166
|
-
🦮 velo-sync : Synchronizes Wix collections (run `velo-sync -h` for help).
|
167
|
-
🦮 install : Installs all Wix and dev npm packages listed in the 'lucy.json' file.
|
168
|
-
🦮 fix : Runs a fix command to resolve common issues in development or production settings.
|
169
|
-
🦮 docs : Generates documentation for the project.
|
170
|
-
🦮 cypress : Starts the cypress test runner.
|
171
|
-
🦮 templates : Opens the Lucy CLI templates folder.
|
172
|
-
🦮 sync-pkgs : Syncs dependencies from package.json to lucy.json.
|
173
|
-
🦮 e2e : Starts the cypress test runner in CI mode. Usage: `e2e <key> <buildId>`
|
174
|
-
|
175
|
-
Options:
|
176
|
-
🦮 -h, help : Displays this help message.
|
177
|
-
🦮 -v, version : Displays the current version of Lucy CLI as defined in the project’s package.json.
|
178
|
-
🦮 -f, force : Forces specific commands to execute even if they may lead to potential issues.
|
179
|
-
Used for functions like deleting obsolete pages or initializing missing components.
|
180
|
-
🦮 -l : Locks package versions to those specified in `lucy.json` during installation.
|
181
|
-
|
182
|
-
Examples:
|
183
|
-
🦮 lucy-cli init : Initializes a new Wix project.
|
184
|
-
🦮 lucy-cli dev : Starts the development environment.
|
185
|
-
🦮 lucy-cli sync : Synchronizes database and settings.
|
186
|
-
🦮 lucy-cli install : Installs all Wix and dev npm packages from 'lucy.json'.
|
187
|
-
🦮 lucy-cli dev -f : Starts the dev environment with forced settings.
|
188
|
-
🦮 lucy-cli install -l : Installs Wix npm packages, respecting locked versions specified in the configuration.
|
187
|
+
lucy-cli task dev -f
|
188
|
+
|
189
|
+
# Check Wix sync status
|
190
|
+
lucy-cli wix-sync is-alive
|
189
191
|
```
|
190
192
|
|
193
|
+
## Enhanced Help System
|
194
|
+
|
195
|
+
Lucy-CLI now provides a comprehensive help overview when you use the `-h` or `--help` flag. This includes:
|
196
|
+
|
197
|
+
- 📋 Complete list of all available commands
|
198
|
+
- 🔧 Available tasks with descriptions
|
199
|
+
- 🔄 Wix sync actions with explanations
|
200
|
+
- ⚙️ Global options and their usage
|
201
|
+
- 📁 Project types for initialization
|
202
|
+
- 🦮 Emoji-enhanced interface for better readability
|
203
|
+
|
204
|
+
The help system dynamically shows all available options based on your current configuration and provides clear examples for each command.
|
205
|
+
|
191
206
|
If you find Lucy-CLI useful, consider supporting the project:
|
192
207
|
[](https://www.buymeacoffee.com/gradlon)
|
package/dist/args.js
CHANGED
@@ -70,7 +70,48 @@ export async function get_args() {
|
|
70
70
|
.alias('h', 'help')
|
71
71
|
.strict()
|
72
72
|
.wrap(yargs().terminalWidth())
|
73
|
-
.epilogue(
|
73
|
+
.epilogue(`
|
74
|
+
🦮 Lucy CLI - Complete Command Overview
|
75
|
+
|
76
|
+
📋 Available Commands:
|
77
|
+
init <type> Initialize a new Lucy project (types: ${initTypes.join(', ')})
|
78
|
+
open Open the Lucy home directory
|
79
|
+
task <name> Run a task (tasks: ${taskNames.join(', ')})
|
80
|
+
wix-sync <action> Run velo-sync actions (actions: ${syncActions.join(', ')})
|
81
|
+
wix-sdk <action> Run Wix SDK actions
|
82
|
+
|
83
|
+
🔧 Available Tasks:
|
84
|
+
dev Start development environment
|
85
|
+
build Build the project
|
86
|
+
build-prod Build for production
|
87
|
+
build-pipeline Build pipeline
|
88
|
+
sync-settings Sync settings
|
89
|
+
|
90
|
+
🔄 Wix Sync Actions:
|
91
|
+
sync Synchronize collections
|
92
|
+
import Import data from CSV
|
93
|
+
init Initialize sync configuration
|
94
|
+
is-alive Check if sync is alive
|
95
|
+
migrate Migrate data
|
96
|
+
export Export data
|
97
|
+
|
98
|
+
⚙️ Global Options:
|
99
|
+
-h, --help Show this help message
|
100
|
+
-v, --version Show version number
|
101
|
+
-f, --force Force execution (use with caution)
|
102
|
+
|
103
|
+
📁 Project Types:
|
104
|
+
velo Wix Velo project
|
105
|
+
expo React Native with Expo
|
106
|
+
blocks Wix Blocks
|
107
|
+
monorepo Monorepo setup
|
108
|
+
tauri Tauri desktop app
|
109
|
+
cargo Rust project
|
110
|
+
submodules Git submodules
|
111
|
+
wix-sdk Wix SDK setup
|
112
|
+
|
113
|
+
For more information, visit https://github.com/Sunnyside-UP-GmbH/lucy-cli
|
114
|
+
`)
|
74
115
|
.parseAsync();
|
75
116
|
// The cast is now safer with the defined interface.
|
76
117
|
return argv;
|
package/dist/args.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"args.js","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,SAAS,EAAY,SAAS,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC/C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,MAAM,CAAC,KAAK,UAAU,QAAQ;IAC1B,MAAM,IAAI,GAAG,MAAM,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;SAC1C,KAAK,CAAC,+BAA+B,CAAC;SACtC,OAAO,CAAC,iBAAiB,EAAE,+BAA+B,EAAE,CAAC,KAAK,EAAE,EAAE;QACnE,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,EAAE;YAChC,QAAQ,EAAE,mCAAmC;YAC7C,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,IAAI;SACrB,CAAC,CAAA;IACN,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE;QACf,KAAK,EAAE,GAAG;QACV,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,gBAAgB;KAChC,CAAC;SACD,OAAO,CAAC,MAAM,EAAE,8BAA8B,CAAC;SAC/C,OAAO,CAAC,kBAAkB,EAAE,YAAY,EAAE,CAAC,KAAK,EAAE,EAAE;QACjD,OAAO,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE;YACjC,QAAQ,EAAE,iBAAiB;YAC3B,OAAO,E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AAC;SACrB,IAAI,EAAE;SACN,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC;SAClB,MAAM,EAAE;SACR,IAAI,CAAC,KAAK,EAAE,CAAC,aAAa,EAAE,CAAC;SAC7B,QAAQ,CAAC;;;;6DAI2C,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;;0CAEvC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;uDACP,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAkCpE,CAAC;SACD,UAAU,EAAE,CAAC;IAElB,oDAAoD;IAEpD,OAAO,IAAgB,CAAC;AAC5B,CAAC"}
|
package/dist/commands/exec.d.ts
CHANGED
@@ -3,5 +3,5 @@ import { Config } from "../config.js";
|
|
3
3
|
import { FileSystem } from "@effect/platform";
|
4
4
|
import { AppError } from "../error.js";
|
5
5
|
export declare const execCommand: Effect.Effect<void, import("@effect/platform/Error").PlatformError, Config | import("@effect/platform/CommandExecutor").CommandExecutor>;
|
6
|
-
export declare const open: Effect.Effect<void, import("@effect/platform/Error").PlatformError, Config | import("@effect/platform/CommandExecutor").CommandExecutor
|
7
|
-
export declare const openVSCode: Effect.Effect<void, import("
|
6
|
+
export declare const open: Effect.Effect<void, import("@effect/platform/Error").PlatformError, Config | FileSystem.FileSystem | import("@effect/platform/CommandExecutor").CommandExecutor>;
|
7
|
+
export declare const openVSCode: Effect.Effect<void, AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, Config | import("@effect/platform/CommandExecutor").CommandExecutor>;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAC,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;AAED,KAAK,UAAU,IAAI;IACf,MAAM,IAAI,GAAG,MAAM,QAAQ,EAAE,CAAC;IAC9B,MAAM,OAAO,GAAE,aAAa,CAAC,IAAI,CAAC,CAAC;IACnC,+EAA+E;IAC/E,MAAM,OAAO,GAAG,MAAM,CAAC,SAAS,CAC5B,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,KAAK,CAAC,kCAAkC,KAAK,EAAE,CAC7D,CACR,CAAA;IACG,MAAM,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;AACrC,CAAC;AAED,IAAI,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE;IACb,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACf,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QACzB,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;IACD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC,CAAC,CAAC"}
|
package/dist/init/blocks.d.ts
CHANGED
@@ -2,4 +2,4 @@ import { Effect } from "effect/index";
|
|
2
2
|
import { Config } from "../config.js";
|
3
3
|
import { FileSystem, Path } from "@effect/platform";
|
4
4
|
import { AppError } from "../error.js";
|
5
|
-
export declare const init_blocks: () => Effect.Effect<void, import("
|
5
|
+
export declare const init_blocks: () => Effect.Effect<void, AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, Config | FileSystem.FileSystem | Path.Path | import("@effect/platform/CommandExecutor").CommandExecutor>;
|
package/dist/init/cargo.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
import { Effect } from "effect/index";
|
2
|
-
export declare const init_cargo: () => Effect.Effect<void, import("
|
2
|
+
export declare const init_cargo: () => Effect.Effect<void, import("../error.js").AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, import("../config.js").Config | import("@effect/platform/FileSystem").FileSystem | import("@effect/platform/Path").Path | import("@effect/platform/CommandExecutor").CommandExecutor>;
|
package/dist/init/expo.d.ts
CHANGED
@@ -2,4 +2,4 @@ import { Effect } from "effect/index";
|
|
2
2
|
import { Config } from "../config.js";
|
3
3
|
import { FileSystem, Path } from "@effect/platform";
|
4
4
|
import { AppError } from "../error.js";
|
5
|
-
export declare const init_expo: () => Effect.Effect<void, import("
|
5
|
+
export declare const init_expo: () => Effect.Effect<void, AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, Config | FileSystem.FileSystem | Path.Path | import("@effect/platform/CommandExecutor").CommandExecutor>;
|
package/dist/init/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
import { Effect } from "effect/index";
|
2
2
|
import { Config } from "../config.js";
|
3
3
|
import { AppError } from "../error.js";
|
4
|
-
export declare const init: Effect.Effect<void, import("
|
4
|
+
export declare const init: Effect.Effect<void, AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, Config | import("@effect/platform/FileSystem").FileSystem | import("@effect/platform/Path").Path | import("@effect/platform/CommandExecutor").CommandExecutor>;
|
package/dist/init/monorepo.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
import { Effect } from "effect/index";
|
2
2
|
import { Config } from "../config.js";
|
3
3
|
import { FileSystem, Path } from "@effect/platform";
|
4
|
-
export declare const init_monorepo: () => Effect.Effect<void, import("
|
4
|
+
export declare const init_monorepo: () => Effect.Effect<void, import("../error.js").AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, Config | FileSystem.FileSystem | Path.Path | import("@effect/platform/CommandExecutor").CommandExecutor>;
|
package/dist/init/tauri.d.ts
CHANGED
@@ -2,4 +2,4 @@ import { Effect } from "effect/index";
|
|
2
2
|
import { Config } from "../config.js";
|
3
3
|
import { FileSystem, Path } from "@effect/platform";
|
4
4
|
import { AppError } from "../error.js";
|
5
|
-
export declare const init_tauri: () => Effect.Effect<void, import("
|
5
|
+
export declare const init_tauri: () => Effect.Effect<void, AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, Config | FileSystem.FileSystem | Path.Path | import("@effect/platform/CommandExecutor").CommandExecutor>;
|
package/dist/init/velo.d.ts
CHANGED
@@ -2,4 +2,4 @@ import { Effect } from "effect/index";
|
|
2
2
|
import { Config } from "../config.js";
|
3
3
|
import { FileSystem, Path } from "@effect/platform";
|
4
4
|
import { AppError } from "../error.js";
|
5
|
-
export declare const init_velo: () => Effect.Effect<void,
|
5
|
+
export declare const init_velo: () => Effect.Effect<void, AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, Config | FileSystem.FileSystem | Path.Path | import("@effect/platform/CommandExecutor").CommandExecutor>;
|
package/dist/tasks/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
import { Effect } from "effect/index";
|
2
2
|
import { Config } from "../config.js";
|
3
3
|
import { AppError } from "../error.js";
|
4
|
-
export declare const tasks: Effect.Effect<void, import("@effect/platform/Error").PlatformError
|
4
|
+
export declare const tasks: Effect.Effect<void, AppError | import("@effect/platform/Error").PlatformError, Config | import("@effect/platform/FileSystem").FileSystem | import("@effect/platform/Path").Path>;
|
package/lucy
ADDED
package/lucy.jpg
CHANGED
Binary file
|
package/package.json
CHANGED
@@ -1,17 +1,18 @@
|
|
1
1
|
{
|
2
2
|
"type": "module",
|
3
3
|
"name": "lucy-cli",
|
4
|
-
"version": "2.0.0-beta.
|
4
|
+
"version": "2.0.0-beta.3",
|
5
5
|
"description": "Lucy Framework for WIX Studio Editor",
|
6
6
|
"main": ".dist/index.js",
|
7
7
|
"scripts": {
|
8
8
|
"build": "tsc",
|
9
9
|
"dev": "tsc -w",
|
10
|
-
"postinstall": "patch-package"
|
10
|
+
"postinstall": "patch-package",
|
11
|
+
"start": "NODE_OPTIONS='--no-warnings' node dist/index.js"
|
11
12
|
},
|
12
13
|
"repository": {
|
13
14
|
"type": "git",
|
14
|
-
"url": "git+https://github.com/
|
15
|
+
"url": "git+https://github.com/Sunnyside-UP-GmbH/lucy-cli.git"
|
15
16
|
},
|
16
17
|
"keywords": [
|
17
18
|
"WIX",
|
@@ -24,10 +25,10 @@
|
|
24
25
|
"author": "Gradlon von Känel",
|
25
26
|
"license": "GPL-3.0-or-later",
|
26
27
|
"bugs": {
|
27
|
-
"url": "https://github.com/
|
28
|
+
"url": "https://github.com/Sunnyside-UP-GmbH/lucy-cli/issues"
|
28
29
|
},
|
29
|
-
"homepage": "https://github.com/
|
30
|
-
"bin": "./
|
30
|
+
"homepage": "https://github.com/Sunnyside-UP-GmbH/lucy-cli#readme",
|
31
|
+
"bin": "./lucy",
|
31
32
|
"publishConfig": {
|
32
33
|
"registry": "https://registry.npmjs.org"
|
33
34
|
},
|
package/src/args.ts
CHANGED
@@ -72,7 +72,48 @@ export async function get_args(): Promise<LucyArgs> {
|
|
72
72
|
.alias('h', 'help')
|
73
73
|
.strict()
|
74
74
|
.wrap(yargs().terminalWidth())
|
75
|
-
.epilogue(
|
75
|
+
.epilogue(`
|
76
|
+
🦮 Lucy CLI - Complete Command Overview
|
77
|
+
|
78
|
+
📋 Available Commands:
|
79
|
+
init <type> Initialize a new Lucy project (types: ${initTypes.join(', ')})
|
80
|
+
open Open the Lucy home directory
|
81
|
+
task <name> Run a task (tasks: ${taskNames.join(', ')})
|
82
|
+
wix-sync <action> Run velo-sync actions (actions: ${syncActions.join(', ')})
|
83
|
+
wix-sdk <action> Run Wix SDK actions
|
84
|
+
|
85
|
+
🔧 Available Tasks:
|
86
|
+
dev Start development environment
|
87
|
+
build Build the project
|
88
|
+
build-prod Build for production
|
89
|
+
build-pipeline Build pipeline
|
90
|
+
sync-settings Sync settings
|
91
|
+
|
92
|
+
🔄 Wix Sync Actions:
|
93
|
+
sync Synchronize collections
|
94
|
+
import Import data from CSV
|
95
|
+
init Initialize sync configuration
|
96
|
+
is-alive Check if sync is alive
|
97
|
+
migrate Migrate data
|
98
|
+
export Export data
|
99
|
+
|
100
|
+
⚙️ Global Options:
|
101
|
+
-h, --help Show this help message
|
102
|
+
-v, --version Show version number
|
103
|
+
-f, --force Force execution (use with caution)
|
104
|
+
|
105
|
+
📁 Project Types:
|
106
|
+
velo Wix Velo project
|
107
|
+
expo React Native with Expo
|
108
|
+
blocks Wix Blocks
|
109
|
+
monorepo Monorepo setup
|
110
|
+
tauri Tauri desktop app
|
111
|
+
cargo Rust project
|
112
|
+
submodules Git submodules
|
113
|
+
wix-sdk Wix SDK setup
|
114
|
+
|
115
|
+
For more information, visit https://github.com/Sunnyside-UP-GmbH/lucy-cli
|
116
|
+
`)
|
76
117
|
.parseAsync();
|
77
118
|
|
78
119
|
// The cast is now safer with the defined interface.
|
package/src/index.ts
CHANGED