feat: 모든 패키지의 package.json에 "type": "module" 추가 및 tsconfig.base.json의 모듈 설정을 NodeNext로 변경
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
"name": "@sammo-ts/game-api",
|
"name": "@sammo-ts/game-api",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.json",
|
"build": "tsc -p tsconfig.json",
|
||||||
"dev": "node -e \"console.log('dev not configured')\"",
|
"dev": "node -e \"console.log('dev not configured')\"",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"name": "@sammo-ts/game-engine",
|
"name": "@sammo-ts/game-engine",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.json",
|
"build": "tsc -p tsconfig.json",
|
||||||
"dev": "node -e \"console.log('dev not configured')\"",
|
"dev": "node -e \"console.log('dev not configured')\"",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"name": "@sammo-ts/game-frontend",
|
"name": "@sammo-ts/game-frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.json",
|
"build": "tsc -p tsconfig.json",
|
||||||
"dev": "node -e \"console.log('dev not configured')\"",
|
"dev": "node -e \"console.log('dev not configured')\"",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"name": "@sammo-ts/gateway-api",
|
"name": "@sammo-ts/gateway-api",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.json",
|
"build": "tsc -p tsconfig.json",
|
||||||
"dev": "node -e \"console.log('dev not configured')\"",
|
"dev": "node -e \"console.log('dev not configured')\"",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"name": "@sammo-ts/gateway-frontend",
|
"name": "@sammo-ts/gateway-frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.json",
|
"build": "tsc -p tsconfig.json",
|
||||||
"dev": "node -e \"console.log('dev not configured')\"",
|
"dev": "node -e \"console.log('dev not configured')\"",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"name": "@sammo-ts/common",
|
"name": "@sammo-ts/common",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
export * from './infra/postgres';
|
export * from './infra/postgres.js';
|
||||||
export * from './infra/redis';
|
export * from './infra/redis.js';
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"name": "@sammo-ts/build-scripts",
|
"name": "@sammo-ts/build-scripts",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.json",
|
"build": "tsc -p tsconfig.json",
|
||||||
"dev": "node -e \"console.log('dev not configured')\"",
|
"dev": "node -e \"console.log('dev not configured')\"",
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"module": "CommonJS",
|
"module": "NodeNext",
|
||||||
"moduleResolution": "Node",
|
"moduleResolution": "NodeNext",
|
||||||
"lib": ["ES2022"],
|
"lib": ["ES2022"],
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user