Message de bienvenue
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import path from "node:path"
|
||||
import fs from "node:fs"
|
||||
|
||||
import { buildPacks } from "./pack-builder.mjs"
|
||||
import { buildPacks, SYSTEM_PACK_DEFINITIONS } from "./pack-builder.mjs"
|
||||
|
||||
const rootDir = path.resolve(import.meta.dirname, "..")
|
||||
const packageJson = JSON.parse(fs.readFileSync(path.join(rootDir, "package.json"), "utf8"))
|
||||
@@ -10,6 +10,7 @@ const systemJson = JSON.parse(fs.readFileSync(path.join(rootDir, "system.json"),
|
||||
await buildPacks({
|
||||
sourceRoot: path.join(rootDir, "packs-src"),
|
||||
outputRoot: path.join(rootDir, "packs"),
|
||||
packDefinitions: SYSTEM_PACK_DEFINITIONS,
|
||||
documentSystemId: systemJson.id,
|
||||
documentSystemVersion: packageJson.version,
|
||||
coreVersion: String(systemJson.compatibility?.verified ?? systemJson.compatibility?.minimum ?? ""),
|
||||
|
||||
Reference in New Issue
Block a user