@aeriajs/cli 0.0.163 → 0.0.165
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/cli.js +1 -1
- package/dist/compile.js +3 -4
- package/dist/iconsExtraction.js +2 -2
- package/dist/transpile.js +1 -1
- package/dist/watch.d.ts +1 -1
- package/dist/watch.js +2 -2
- package/package.json +6 -6
package/dist/cli.js
CHANGED
package/dist/compile.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
2
|
import JSON5 from 'json5';
|
|
3
|
-
import * as path from 'path';
|
|
4
3
|
import * as transpile from './transpile.js';
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import { glob } from 'fs/promises';
|
|
4
|
+
import * as path from 'node:path';
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
6
|
+
import { readFile, glob } from 'node:fs/promises';
|
|
8
7
|
import { Result } from '@aeriajs/types';
|
|
9
8
|
import { deepMerge } from '@aeriajs/common';
|
|
10
9
|
import { log } from './log.js';
|
package/dist/iconsExtraction.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as fs from 'fs/promises';
|
|
2
|
-
import * as path from 'path';
|
|
1
|
+
import * as fs from 'node:fs/promises';
|
|
2
|
+
import * as path from 'node:path';
|
|
3
3
|
import { getCollections } from '@aeriajs/entrypoint';
|
|
4
4
|
import { Result } from '@aeriajs/types';
|
|
5
5
|
import { extractIcons, iconsEsmContent, iconsCjsContent, iconsDtsContent } from './icons.js';
|
package/dist/transpile.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as esbuild from 'esbuild';
|
|
2
|
-
import { glob } from 'fs/promises';
|
|
2
|
+
import { glob } from 'node:fs/promises';
|
|
3
3
|
export const init = async (options = {}) => {
|
|
4
4
|
const fileList = await Array.fromAsync(glob('src/**/*.ts'));
|
|
5
5
|
const ctx = await esbuild.context(Object.assign({
|
package/dist/watch.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ChildProcessWithoutNullStreams } from 'child_process';
|
|
1
|
+
import { type ChildProcessWithoutNullStreams } from 'node:child_process';
|
|
2
2
|
import { type CompileOptions } from './compile.js';
|
|
3
3
|
export declare const spawnApi: () => Promise<ChildProcessWithoutNullStreams>;
|
|
4
4
|
export declare const watch: (options?: CompileOptions) => Promise<void>;
|
package/dist/watch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
2
|
import * as chokidar from 'chokidar';
|
|
3
|
-
import { fileURLToPath } from 'url';
|
|
4
|
-
import { spawn, fork } from 'child_process';
|
|
3
|
+
import { fileURLToPath } from 'node:url';
|
|
4
|
+
import { spawn, fork } from 'node:child_process';
|
|
5
5
|
import { log } from './log.js';
|
|
6
6
|
import { mirrorSdk } from './mirrorSdk.js';
|
|
7
7
|
import { buildAeriaLangPhase } from './buildAeriaLang.js';
|
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.165",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@aeriajs/types": "link:../types"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@aeriajs/builtins": "^0.0.
|
|
43
|
-
"@aeriajs/common": "^0.0.
|
|
44
|
-
"@aeriajs/core": "^0.0.
|
|
45
|
-
"@aeriajs/entrypoint": "^0.0.
|
|
46
|
-
"@aeriajs/types": "^0.0.
|
|
42
|
+
"@aeriajs/builtins": "^0.0.217",
|
|
43
|
+
"@aeriajs/common": "^0.0.126",
|
|
44
|
+
"@aeriajs/core": "^0.0.217",
|
|
45
|
+
"@aeriajs/entrypoint": "^0.0.129",
|
|
46
|
+
"@aeriajs/types": "^0.0.108"
|
|
47
47
|
},
|
|
48
48
|
"optionalDependencies": {
|
|
49
49
|
"aeria-lang": "0.0.11"
|