@ecmaos/kernel 0.2.3 → 0.2.5
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/README.md +60 -24
- package/dist/.vite/manifest.json +14 -14
- package/dist/{browser-jvtvvRnm.js → browser-C0q0NWWv.js} +2 -2
- package/dist/{browser-jvtvvRnm.js.map → browser-C0q0NWWv.js.map} +1 -1
- package/dist/{empty-D1k8eaRb.js → empty-BMkCc_7L.js} +7218 -5069
- package/dist/empty-BMkCc_7L.js.map +1 -0
- package/dist/{install-DvXm00-p.js → install-C64fBUI2.js} +18 -5
- package/dist/{install-DvXm00-p.js.map → install-C64fBUI2.js.map} +1 -1
- package/dist/kernel.css +1 -1
- package/dist/kernel.d.ts +7 -0
- package/dist/kernel.js +1 -1
- package/dist/swapi.js +937 -883
- package/dist/{topbar.min-qHiqBD75.js → topbar.min-xBbuiIjv.js} +2 -2
- package/dist/{topbar.min-qHiqBD75.js.map → topbar.min-xBbuiIjv.js.map} +1 -1
- package/dist/ui.js +1 -1
- package/package.json +16 -15
- package/dist/empty-D1k8eaRb.js.map +0 -1
package/dist/kernel.css
CHANGED
package/dist/kernel.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { FileHeader } from '@ecmaos/types';
|
|
|
11
11
|
import { Filesystem } from '#filesystem.ts';
|
|
12
12
|
import { I18n } from '#i18n.ts';
|
|
13
13
|
import { Intervals } from '#intervals.ts';
|
|
14
|
+
import { JSONSchemaForNPMPackageJsonFiles } from '@schemastore/package';
|
|
14
15
|
import { Kernel as Kernel_2 } from '@ecmaos/types';
|
|
15
16
|
import { KernelDevice } from '@ecmaos/types';
|
|
16
17
|
import { KernelEvents } from '@ecmaos/types';
|
|
@@ -137,6 +138,12 @@ export declare class Kernel implements Kernel_2 {
|
|
|
137
138
|
* @param options - Configuration options for kernel subsystems
|
|
138
139
|
*/
|
|
139
140
|
configure(options: KernelOptions): Promise<void>;
|
|
141
|
+
/**
|
|
142
|
+
* Gets the main entry file path from a package.json
|
|
143
|
+
* @param pkgData - The parsed package.json data
|
|
144
|
+
* @returns The main entry file path or null if not found
|
|
145
|
+
*/
|
|
146
|
+
getPackageMainExport(pkgData: JSONSchemaForNPMPackageJsonFiles): string | null;
|
|
140
147
|
/**
|
|
141
148
|
* Executes a command in the kernel environment
|
|
142
149
|
* @param options - Execution options containing command, args, and shell
|
package/dist/kernel.js
CHANGED