lucy-cli 2.0.0-beta.2 → 2.0.0-beta.4
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/.wix/debug.log +10 -0
- package/dist/args.js +1 -2
- package/dist/args.js.map +1 -1
- package/dist/commands/checks.d.ts +1 -1
- package/dist/commands/edit.d.ts +1 -1
- package/dist/commands/exec.d.ts +1 -1
- package/dist/commands/exec.js +15 -13
- package/dist/commands/exec.js.map +1 -1
- package/dist/commands/install.d.ts +1 -0
- package/dist/commands/install.js +29 -16
- package/dist/commands/install.js.map +1 -1
- package/dist/commands/read.d.ts +3 -3
- package/dist/config.d.ts +1 -1
- 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/blocks.js +2 -2
- package/dist/init/cargo.d.ts +1 -1
- package/dist/init/cargo.js +2 -2
- package/dist/init/expo.d.ts +1 -1
- package/dist/init/expo.js +2 -2
- package/dist/init/gitModules.d.ts +1 -1
- package/dist/init/index.d.ts +1 -1
- package/dist/init/index.js +7 -1
- package/dist/init/index.js.map +1 -1
- package/dist/init/monorepo.d.ts +1 -1
- package/dist/init/monorepo.js +2 -2
- package/dist/init/prepareVelo.d.ts +1 -1
- package/dist/init/tauri.d.ts +1 -1
- package/dist/init/tauri.js +2 -2
- package/dist/init/templates.d.ts +1 -1
- package/dist/init/velo.d.ts +1 -1
- package/dist/init/velo.js +3 -2
- package/dist/init/velo.js.map +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/lucy.d.ts +2 -2
- package/dist/schemas/lucy.js +1 -1
- package/dist/schemas/lucy.js.map +1 -1
- package/dist/wix-sdk/index.d.ts +1 -1
- package/dist/wix-sdk/init.d.ts +1 -1
- package/dist/wix-sdk/run.d.ts +1 -1
- package/dist/wix-sync/index.d.ts +1 -1
- package/dist/wix-sync/init.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/files/templates/velo[D]/files/.yarnrc.yml +1 -2
- package/files/templates/velo[D]/lucy.json +1 -1
- package/lucy +4 -0
- package/mitarbeiter-login.html +188 -0
- package/package.json +9 -7
- package/src/args.ts +1 -2
- package/src/commands/exec.ts +22 -18
- package/src/commands/install.ts +41 -21
- package/src/index.ts +0 -1
- package/src/init/blocks.ts +2 -2
- package/src/init/cargo.ts +2 -2
- package/src/init/expo.ts +2 -2
- package/src/init/index.ts +7 -1
- package/src/init/monorepo.ts +2 -2
- package/src/init/tauri.ts +2 -2
- package/src/init/velo.ts +4 -3
- package/src/schemas/index.ts +2 -0
- package/src/schemas/lucy.ts +1 -1
package/src/init/velo.ts
CHANGED
@@ -6,14 +6,14 @@ import { mergeAdditions, mergeLucySettings2PackageJson, setInitialized, setProje
|
|
6
6
|
import { writeLucySettings, writePackageJson } from "../commands/write.js";
|
7
7
|
import { copyTemplateFiles } from "../commands/copy.js";
|
8
8
|
import { readPackageJson } from "../commands/read.js";
|
9
|
-
import { installVeloPackages, runInstall } from "../commands/install.js";
|
9
|
+
import { installVeloPackages, runInstall, yarnSetVersion } from "../commands/install.js";
|
10
10
|
import { cleanup } from "../commands/cleanup.js";
|
11
11
|
import { gitInit } from "../commands/git.js";
|
12
12
|
import { checkForVelo } from "../commands/checks.js";
|
13
13
|
import { AppError } from "../error.js";
|
14
14
|
import Enquirer from "enquirer";
|
15
15
|
import { prepareVelo } from "./prepareVelo.js";
|
16
|
-
import {
|
16
|
+
import { openEditor } from "../commands/exec.js";
|
17
17
|
|
18
18
|
export const init_velo = () => {
|
19
19
|
return Effect.gen(function*() {
|
@@ -53,6 +53,7 @@ export const init_velo = () => {
|
|
53
53
|
yield* writeLucySettings;
|
54
54
|
yield* writePackageJson;
|
55
55
|
yield* gitInit();
|
56
|
+
yield* runInstall;
|
56
57
|
yield* installVeloPackages;
|
57
58
|
yield* runInstall;
|
58
59
|
yield* cleanup;
|
@@ -60,6 +61,6 @@ export const init_velo = () => {
|
|
60
61
|
|
61
62
|
logger.success("Velo initialized successfully!");
|
62
63
|
|
63
|
-
yield*
|
64
|
+
yield* openEditor;
|
64
65
|
})
|
65
66
|
}
|
package/src/schemas/index.ts
CHANGED
package/src/schemas/lucy.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Schema } from "effect/index";
|
2
2
|
import { initTypes } from "./types.js";
|
3
3
|
|
4
|
-
export const pkgManagers = ['pnpm', '
|
4
|
+
export const pkgManagers = ['pnpm', 'yarn', 'npm'] as const;
|
5
5
|
export const lucySettings = Schema.mutable(Schema.Struct({
|
6
6
|
modules: Schema.Record({
|
7
7
|
key: Schema.String,
|