Skip to content

Commit

Permalink
fix: add json import assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
tzuge committed Feb 4, 2025
1 parent 4cff303 commit 03b6864
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import fs from "fs-extra";
import xml2js from "xml2js";
import { Logger } from "./types.js";
import ERROR_DEFINITIONS from "./definitions/errors.js";
import pkg from "../../package.json";
import pkg from "../../package.json" assert { type: "json" };

/**
* Execute while streaming to stdout in realtime
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */

/* Modules */
"module": "node16", /* Specify what module code is generated. */
"module": "nodenext", /* Specify what module code is generated. */
"rootDir": "./src", /* Specify the root folder within your source files. */
"moduleResolution": "nodenext", /* Specify how TypeScript looks up a file from a given module specifier. */
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
Expand Down

0 comments on commit 03b6864

Please sign in to comment.