feat: 모든 패키지의 package.json에 "type": "module" 추가 및 tsconfig.base.json의 모듈 설정을 NodeNext로 변경

This commit is contained in:
2025-12-27 05:49:00 +00:00
parent 4eac1e45ba
commit 14a18cfb22
9 changed files with 11 additions and 4 deletions
+1
View File
@@ -2,6 +2,7 @@
"name": "@sammo-ts/game-api",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "node -e \"console.log('dev not configured')\"",
+1
View File
@@ -2,6 +2,7 @@
"name": "@sammo-ts/game-engine",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "node -e \"console.log('dev not configured')\"",
+1
View File
@@ -2,6 +2,7 @@
"name": "@sammo-ts/game-frontend",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "node -e \"console.log('dev not configured')\"",
+1
View File
@@ -2,6 +2,7 @@
"name": "@sammo-ts/gateway-api",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "node -e \"console.log('dev not configured')\"",
+1
View File
@@ -2,6 +2,7 @@
"name": "@sammo-ts/gateway-frontend",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "node -e \"console.log('dev not configured')\"",
+1
View File
@@ -2,6 +2,7 @@
"name": "@sammo-ts/common",
"private": true,
"version": "0.0.0",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
+2 -2
View File
@@ -1,2 +1,2 @@
export * from './infra/postgres';
export * from './infra/redis';
export * from './infra/postgres.js';
export * from './infra/redis.js';
+1
View File
@@ -2,6 +2,7 @@
"name": "@sammo-ts/build-scripts",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "node -e \"console.log('dev not configured')\"",
+2 -2
View File
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "CommonJS",
"moduleResolution": "Node",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"lib": ["ES2022"],
"strict": true,
"esModuleInterop": true,