Skip to content

Commit 6e155c7

Browse files
committed
#65 TypeScript v6へ対応
1 parent 5b2c92b commit 6e155c7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"license": "MIT",
77
"main": "dist/index.js",
88
"types": "dist/index.d.ts",
9+
"type": "module",
910
"homepage": "https://next2d.app",
1011
"bugs": "https://github.com/Next2D/create-next2d-app/issues",
1112
"keywords": [

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import pc from "picocolors";
66
import { Command } from "commander";
7-
import packageJson from "../package.json";
7+
import packageJson from "../package.json" with { type: "json" };
88
import path from "path";
99
import validateProjectName from "validate-npm-package-name";
1010
import { execSync } from "child_process";

0 commit comments

Comments
 (0)