@aeriajs/cli 0.0.196 → 0.0.198
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/buildAeriaLang.d.ts
CHANGED
|
@@ -3,14 +3,14 @@ export declare const buildAeriaLangPhase: () => Promise<{
|
|
|
3
3
|
readonly _tag: "Result";
|
|
4
4
|
readonly error: undefined;
|
|
5
5
|
readonly result: "skipped build as the schemas directory schemas wasn't found";
|
|
6
|
-
} | {
|
|
7
|
-
readonly _tag: "Result";
|
|
8
|
-
readonly error: undefined;
|
|
9
|
-
readonly result: "no aeria schemas to build";
|
|
10
6
|
} | {
|
|
11
7
|
readonly _tag: "Error";
|
|
12
8
|
readonly error: string;
|
|
13
9
|
readonly result: undefined;
|
|
10
|
+
} | {
|
|
11
|
+
readonly _tag: "Result";
|
|
12
|
+
readonly error: undefined;
|
|
13
|
+
readonly result: "no aeria schemas to build";
|
|
14
14
|
} | {
|
|
15
15
|
readonly _tag: "Result";
|
|
16
16
|
readonly error: undefined;
|
package/dist/buildAeriaLang.js
CHANGED
|
@@ -9,11 +9,11 @@ export const buildAeriaLangPhase = async () => {
|
|
|
9
9
|
const result = await compileFromFiles(SCHEMAS_DIR, {
|
|
10
10
|
outDir: '.aeria/out',
|
|
11
11
|
});
|
|
12
|
-
if (!('emittedFiles' in result)) {
|
|
13
|
-
return Result.result('no aeria schemas to build');
|
|
14
|
-
}
|
|
15
12
|
if (!result.success) {
|
|
16
13
|
return Result.error(result.errors.map((error) => `\n${error.fileLocation}:${error.location.line} at column (${error.location.start}-${error.location.end}) - ${error.message}`).join(' | '));
|
|
17
14
|
}
|
|
15
|
+
if (!('emittedFiles' in result)) {
|
|
16
|
+
return Result.result('no aeria schemas to build');
|
|
17
|
+
}
|
|
18
18
|
return Result.result('aeria schemas built');
|
|
19
19
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.198",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@aeriajs/builtins": "^0.0.243",
|
|
44
44
|
"@aeriajs/common": "^0.0.136",
|
|
45
|
-
"@aeriajs/compiler": "^0.0.
|
|
45
|
+
"@aeriajs/compiler": "^0.0.12",
|
|
46
46
|
"@aeriajs/core": "^0.0.243",
|
|
47
47
|
"@aeriajs/entrypoint": "^0.0.140",
|
|
48
48
|
"@aeriajs/types": "^0.0.118"
|