package: migrate to ES modules

This commit is contained in:
2024-07-16 21:20:46 +08:00
parent 67728beefe
commit bac9f8be6d
13 changed files with 30 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
import { optFlag, undefList } from "./common";
import { optFlag, undefList } from "./common.js";
export type CMakeDefinition = {
name: string,

View File

@@ -1,4 +1,4 @@
import { optFlag, optMultiFlag, optSwitch, undefList } from "./common";
import { optFlag, optMultiFlag, optSwitch, undefList } from "./common.js";
export interface GeneralOptions {
output?: string;

View File

@@ -1,4 +1,4 @@
import { optFlag, optSwitch, undefList } from "./common";
import { optFlag, optSwitch, undefList } from "./common.js";
export interface RunCPUOptions {
/**

View File

@@ -1,4 +1,4 @@
import { optFlag, optSwitch } from "./common";
import { optFlag, optSwitch } from "./common.js";
export interface SystemdRunOptions {
/**