lucy-cli 2.0.0-alpha.14 → 2.0.0-alpha.15
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/.turbo/cookies/10.cookie +0 -0
- package/.turbo/cookies/11.cookie +0 -0
- package/.turbo/cookies/12.cookie +0 -0
- package/.turbo/cookies/13.cookie +0 -0
- package/.turbo/cookies/14.cookie +0 -0
- package/.turbo/cookies/15.cookie +0 -0
- package/.turbo/cookies/16.cookie +0 -0
- package/.turbo/cookies/17.cookie +0 -0
- package/.turbo/cookies/18.cookie +0 -0
- package/.turbo/cookies/9.cookie +0 -0
- package/.upload-cache.sqlite.db +0 -0
- package/dist/commands/checks.d.ts +2 -2
- package/dist/commands/git.d.ts +2 -2
- 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/gitModules.d.ts +1 -1
- package/dist/init/index.d.ts +1 -1
- package/dist/init/monorepo.d.ts +1 -1
- package/dist/init/prepareVelo.d.ts +1 -1
- package/dist/init/tauri.d.ts +1 -1
- package/dist/init/templates.d.ts +1 -1
- package/dist/init/velo.d.ts +1 -1
- package/dist/tasks/index.d.ts +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/package.json +5 -3
- package/patches/velo-sync+0.0.9.patch +13 -0
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
@@ -3,5 +3,5 @@ import { FileSystem, Path } from "@effect/platform";
|
|
3
3
|
import { Config } from "../config.js";
|
4
4
|
import { AppError } from "../error.js";
|
5
5
|
export declare const isDirectoryClean: (excludes?: string[]) => Effect.Effect<boolean, import("@effect/platform/Error").PlatformError, Config | FileSystem.FileSystem>;
|
6
|
-
export declare const checkForDirty: (excludes?: string[]) => Effect.Effect<void, import("@effect/platform/Error").PlatformError
|
7
|
-
export declare const checkForVelo: () => Effect.Effect<undefined, import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
6
|
+
export declare const checkForDirty: (excludes?: string[]) => Effect.Effect<void, AppError | import("@effect/platform/Error").PlatformError, Config | FileSystem.FileSystem>;
|
7
|
+
export declare const checkForVelo: () => Effect.Effect<undefined, AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, Config | FileSystem.FileSystem | Path.Path>;
|
package/dist/commands/git.d.ts
CHANGED
@@ -4,5 +4,5 @@ import { Config } from '../config.js';
|
|
4
4
|
import { AppError } from '../error.js';
|
5
5
|
import { FileSystem, Path } from "@effect/platform";
|
6
6
|
export declare const isSubmoduleRegistered: (git: SimpleGit, submoduleName: string) => Effect.Effect<boolean, AppError, never>;
|
7
|
-
export declare const gitInit: (update?: boolean) => Effect.Effect<void, import("@effect/platform/Error").PlatformError
|
8
|
-
export declare const initSubmodules: (update?: boolean) => Effect.Effect<void, import("@effect/platform/Error").PlatformError
|
7
|
+
export declare const gitInit: (update?: boolean) => Effect.Effect<void, AppError | import("@effect/platform/Error").PlatformError, Config | FileSystem.FileSystem | Path.Path>;
|
8
|
+
export declare const initSubmodules: (update?: boolean) => Effect.Effect<void, AppError | import("@effect/platform/Error").PlatformError, Config | FileSystem.FileSystem | Path.Path>;
|
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("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
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("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
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>;
|
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("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
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>;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { Effect } from "effect/index";
|
2
|
-
export declare const init_submodules: () => Effect.Effect<void, import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
2
|
+
export declare const init_submodules: () => 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>;
|
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("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
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("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
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>;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { Effect } from 'effect/index';
|
2
|
-
export declare const prepareVelo: Effect.Effect<void, import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
2
|
+
export declare const prepareVelo: 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/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("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
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/templates.d.ts
CHANGED
@@ -2,4 +2,4 @@ import { Effect } from "effect/index";
|
|
2
2
|
import { Config } from "../config.js";
|
3
3
|
import { FileSystem } from "@effect/platform";
|
4
4
|
import { AppError } from "../error.js";
|
5
|
-
export declare const selectTemplate: () => Effect.Effect<undefined, import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
5
|
+
export declare const selectTemplate: () => Effect.Effect<undefined, AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, Config | FileSystem.FileSystem>;
|
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, import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
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/dist/wix-sdk/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 wix_sdk: Effect.Effect<void, import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
4
|
+
export declare const wix_sdk: Effect.Effect<void, AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, Config | import("@effect/platform/FileSystem").FileSystem | import("@effect/platform/Path").Path>;
|
package/dist/wix-sdk/init.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 wix_sdk_init: Effect.Effect<void, import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
4
|
+
export declare const wix_sdk_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>;
|
package/dist/wix-sdk/run.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 wix_sdk_run: (program: Effect.Effect<never, AppError, never>) => Effect.Effect<void, import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
4
|
+
export declare const wix_sdk_run: (program: Effect.Effect<never, AppError, never>) => Effect.Effect<void, AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, Config | import("@effect/platform/FileSystem").FileSystem | import("@effect/platform/Path").Path>;
|
package/dist/wix-sync/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 wix_sync: Effect.Effect<void, import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
4
|
+
export declare const wix_sync: Effect.Effect<void, AppError | import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError, Config | import("@effect/platform/FileSystem").FileSystem | import("@effect/platform/Path").Path>;
|
package/dist/wix-sync/init.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("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError
|
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>;
|
package/package.json
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"type": "module",
|
3
3
|
"name": "lucy-cli",
|
4
|
-
"version": "2.0.0-alpha.
|
4
|
+
"version": "2.0.0-alpha.15",
|
5
5
|
"description": "Lucy Framework for WIX Studio Editor",
|
6
6
|
"main": ".dist/index.js",
|
7
7
|
"scripts": {
|
8
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
9
9
|
"build": "tsc",
|
10
|
-
"dev": "tsc -w"
|
10
|
+
"dev": "tsc -w",
|
11
|
+
"postinstall": "patch-package"
|
11
12
|
},
|
12
13
|
"repository": {
|
13
14
|
"type": "git",
|
@@ -67,6 +68,7 @@
|
|
67
68
|
"jest": "30.0.5",
|
68
69
|
"merge2": "^1.4.1",
|
69
70
|
"optimist": "^0.6.1",
|
71
|
+
"patch-package": "^8.0.0",
|
70
72
|
"prettier": "^3.0.3",
|
71
73
|
"sass": "^1.65.1",
|
72
74
|
"simple-git": "^3.20.0",
|
@@ -74,7 +76,7 @@
|
|
74
76
|
"ts-node": "^10.9.1",
|
75
77
|
"typedoc": "0.28.8",
|
76
78
|
"typescript": "^5.6.3",
|
77
|
-
"velo-sync": "
|
79
|
+
"velo-sync": "0.0.9",
|
78
80
|
"yargs": "^18.0.0"
|
79
81
|
},
|
80
82
|
"devDependencies": {
|
@@ -0,0 +1,13 @@
|
|
1
|
+
diff --git a/dist/tasks/sync-task.js b/dist/tasks/sync-task.js
|
2
|
+
index bf9e91cebf7741fec0f822123aa8ca4d53863225..9a351ec093419815637ef67983ba0ce23e83b635 100644
|
3
|
+
--- a/dist/tasks/sync-task.js
|
4
|
+
+++ b/dist/tasks/sync-task.js
|
5
|
+
@@ -30,7 +30,7 @@ exports.default = syncTask;
|
6
|
+
function runImport(filename, collection, schemaFilename, importOnly, dryrun) {
|
7
|
+
return new Promise(async (resolve) => {
|
8
|
+
let stats = new statistics_1.LoggingStatistics();
|
9
|
+
- let config = await config_1.readConfig('config.json');
|
10
|
+
+ let config = await config_1.readConfig('wix-sync.json');
|
11
|
+
let schema = await schema_1.readSchema(schemaFilename);
|
12
|
+
let loggerRejectsReporter = new rejects_reporter_1.LoggerRejectsReporter(stats);
|
13
|
+
let uploadFileCache = new SQLiteFileUploadCache_1.SQLiteFileUploadCache('./.upload-cache.sqlite.db');
|