fix: 빌드 오류 수정 및 TypeScript 환경 설정 (JSA-56)

- build 스크립트를 ait build에서 직접 granite CLI 호출로 변경
  (ait build가 --no-cache 옵션을 granite에 전달하나 미지원 버그)
- typescript, @types/react, @types/react-dom, @types/webpack-env 설치
- @toss/tds-react-native 누락 peer dependency 설치
- tsconfig.json: ignoreDeprecations 및 webpack-env 타입 설정 추가
- require.context.ts: webpack/granite-js RequireContext 타입 호환 수정
- global.d.ts: 전역 타입 선언 파일 추가

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-04-02 04:19:30 +09:00
parent 9800d067b9
commit 197bcc796a
5 changed files with 377 additions and 2 deletions

15
global.d.ts vendored Normal file
View File

@@ -0,0 +1,15 @@
interface RequireContext {
keys(): string[];
(id: string): any;
<T>(id: string): T;
resolve(id: string): string;
id: string;
}
interface NodeRequire {
context(directory: string, useSubdirectories?: boolean, regExp?: RegExp): RequireContext;
}
interface Require {
context(directory: string, useSubdirectories?: boolean, regExp?: RegExp): RequireContext;
}

343
package-lock.json generated
View File

@@ -8,15 +8,23 @@
"name": "archetype-firstspark",
"version": "1.0.0",
"dependencies": {
"@apps-in-toss/analytics": "^2.3.0",
"@apps-in-toss/web-framework": "^2.3.0",
"@emotion/react": "^11.14.0",
"@toss/tds-colors": "^0.1.0",
"@toss/tds-mobile": "^2.3.0",
"@toss/tds-mobile-ait": "^2.3.0",
"@toss/tds-react-native": "^2.0.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-native": "^0.84.1",
"zustand": "^5.0.12"
},
"devDependencies": {
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/webpack-env": "^1.18.8",
"typescript": "^6.0.2"
}
},
"node_modules/@ampproject/remapping": {
@@ -8789,6 +8797,140 @@
"nanoid": "^3.1.23"
}
},
"node_modules/@react-spring/animated": {
"version": "10.0.3",
"resolved": "https://registry.npmjs.org/@react-spring/animated/-/animated-10.0.3.tgz",
"integrity": "sha512-7MrxADV3vaUADn2V9iYhaIL6iOWRx9nCJjYrsk2AHD2kwPr6fg7Pt0v+deX5RnCDmCKNnD6W5fasiyM8D+wzJQ==",
"license": "MIT",
"dependencies": {
"@react-spring/shared": "~10.0.3",
"@react-spring/types": "~10.0.3"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/@react-spring/core": {
"version": "10.0.3",
"resolved": "https://registry.npmjs.org/@react-spring/core/-/core-10.0.3.tgz",
"integrity": "sha512-D4DwNO68oohDf/0HG2G0Uragzb9IA1oXblxrd6MZAcBcUQG2EHUWXewjdECMPLNmQvlYVyyBRH6gPxXM5DX7DQ==",
"license": "MIT",
"dependencies": {
"@react-spring/animated": "~10.0.3",
"@react-spring/shared": "~10.0.3",
"@react-spring/types": "~10.0.3"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/react-spring/donate"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/@react-spring/native": {
"version": "10.0.3",
"resolved": "https://registry.npmjs.org/@react-spring/native/-/native-10.0.3.tgz",
"integrity": "sha512-ypfKsfqn+Ll3LeZCp+noFBJdJOVomIfnGjpQzpXibrfqWlPgl0Ckj9sy+U3fLGPyrbbCSw9KLvsgSwZwDCScKA==",
"license": "MIT",
"dependencies": {
"@react-spring/animated": "~10.0.3",
"@react-spring/core": "~10.0.3",
"@react-spring/shared": "~10.0.3",
"@react-spring/types": "~10.0.3"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-native": ">=0.78"
}
},
"node_modules/@react-spring/rafz": {
"version": "10.0.3",
"resolved": "https://registry.npmjs.org/@react-spring/rafz/-/rafz-10.0.3.tgz",
"integrity": "sha512-Ri2/xqt8OnQ2iFKkxKMSF4Nqv0LSWnxXT4jXFzBDsHgeeH/cHxTLupAWUwmV9hAGgmEhBmh5aONtj3J6R/18wg==",
"license": "MIT"
},
"node_modules/@react-spring/shared": {
"version": "10.0.3",
"resolved": "https://registry.npmjs.org/@react-spring/shared/-/shared-10.0.3.tgz",
"integrity": "sha512-geCal66nrkaQzUVhPkGomylo+Jpd5VPK8tPMEDevQEfNSWAQP15swHm+MCRG4wVQrQlTi9lOzKzpRoTL3CA84Q==",
"license": "MIT",
"dependencies": {
"@react-spring/rafz": "~10.0.3",
"@react-spring/types": "~10.0.3"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/@react-spring/types": {
"version": "10.0.3",
"resolved": "https://registry.npmjs.org/@react-spring/types/-/types-10.0.3.tgz",
"integrity": "sha512-H5Ixkd2OuSIgHtxuHLTt7aJYfhMXKXT/rK32HPD/kSrOB6q6ooeiWAXkBy7L8F3ZxdkBb9ini9zP9UwnEFzWgQ==",
"license": "MIT"
},
"node_modules/@react-stately/form": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/@react-stately/form/-/form-3.2.4.tgz",
"integrity": "sha512-qNBzun8SbLdgahryhKLqL1eqP+MXY6as82sVXYOOvUYLzgU5uuN8mObxYlxJgMI5akSdQJQV3RzyfVobPRE7Kw==",
"license": "Apache-2.0",
"dependencies": {
"@react-types/shared": "^3.33.1",
"@swc/helpers": "^0.5.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
}
},
"node_modules/@react-stately/radio": {
"version": "3.11.5",
"resolved": "https://registry.npmjs.org/@react-stately/radio/-/radio-3.11.5.tgz",
"integrity": "sha512-QxA779S4ea5icQ0ja7CeiNzY1cj7c9G9TN0m7maAIGiTSinZl2Ia8naZJ0XcbRRp+LBll7RFEdekne15TjvS/w==",
"license": "Apache-2.0",
"dependencies": {
"@react-stately/form": "^3.2.4",
"@react-stately/utils": "^3.11.0",
"@react-types/radio": "^3.9.4",
"@react-types/shared": "^3.33.1",
"@swc/helpers": "^0.5.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
}
},
"node_modules/@react-stately/utils": {
"version": "3.11.0",
"resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.11.0.tgz",
"integrity": "sha512-8LZpYowJ9eZmmYLpudbo/eclIRnbhWIJZ994ncmlKlouNzKohtM8qTC6B1w1pwUbiwGdUoyzLuQbeaIor5Dvcw==",
"license": "Apache-2.0",
"dependencies": {
"@swc/helpers": "^0.5.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
}
},
"node_modules/@react-types/radio": {
"version": "3.9.4",
"resolved": "https://registry.npmjs.org/@react-types/radio/-/radio-3.9.4.tgz",
"integrity": "sha512-TkMRY3sA1PcFZhhclu4IUzUTIir6MzNJj8h6WT8vO6Nug2kXJ72qigugVFBWJSE472mltduOErEAo0rtAYWbQA==",
"license": "Apache-2.0",
"dependencies": {
"@react-types/shared": "^3.33.1"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
}
},
"node_modules/@react-types/shared": {
"version": "3.33.1",
"resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.33.1.tgz",
"integrity": "sha512-oJHtjvLG43VjwemQDadlR5g/8VepK56B/xKO2XORPHt9zlW6IZs3tZrYlvH29BMvoqC7RtE7E5UjgbnbFtDGag==",
"license": "Apache-2.0",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
}
},
"node_modules/@rollup/rollup-android-arm-eabi": {
"version": "4.60.1",
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.1.tgz",
@@ -9613,11 +9755,24 @@
"@swc/counter": "^0.1.3"
}
},
"node_modules/@toss/tds-color-utils": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/@toss/tds-color-utils/-/tds-color-utils-0.0.2.tgz",
"integrity": "sha512-cdq+kvMT8XgGRxDPDPte+ddt/q9zoevI+DoYYLzrak7MYkUNZnQPNkwDx5OCZIzRRou68b1NFgu7ljOZK1Q2mA==",
"dependencies": {
"bezier-easing": "^2.1.0"
}
},
"node_modules/@toss/tds-colors": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/@toss/tds-colors/-/tds-colors-0.1.0.tgz",
"integrity": "sha512-NVV6vpcqobw8NBD7EKFS+muvmiyDsUItzzko9ib2RufU2DywlSb4A/4EyBO9EFV/Ff28ODrWySIuS6MjzDpiPw=="
},
"node_modules/@toss/tds-easings": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/@toss/tds-easings/-/tds-easings-0.0.1.tgz",
"integrity": "sha512-EHX9OJ0EefBqzCuQgofZS7Re1dhXHm3UL1bvE5e/Su1USYH6gpoEj/p2Q3PtTfvfVKgMrV402W/Nszw402Sarw=="
},
"node_modules/@toss/tds-mobile": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/@toss/tds-mobile/-/tds-mobile-2.3.0.tgz",
@@ -9643,6 +9798,77 @@
"react-dom": "^16.8.3 || ^17 || ^18"
}
},
"node_modules/@toss/tds-react-native": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/@toss/tds-react-native/-/tds-react-native-2.0.2.tgz",
"integrity": "sha512-TXICYKPhp8N6w6151mIkbjmdCUX95Pq5+/SzPuUKLYoMZSAw1xR2o9zoprr+xtTcRrXKRyiNJmnokx0TPbhoJQ==",
"license": "GPL-3.0",
"dependencies": {
"@react-spring/native": "10.0.3",
"@react-stately/radio": "^3.11.3",
"@toss/tds-color-utils": "0.0.2",
"@toss/tds-colors": "^0.1.0",
"@toss/tds-easings": "^0.0.1",
"@toss/tds-spring-easing": "^0.0.1",
"@toss/tds-typography": "0.0.3",
"@toss/utils": "^1.6.1",
"@types/node": "22.15.0",
"culori": "^4.0.1",
"es-hangul": "^2.3.0",
"hex-to-rgba": "^2.0.1"
},
"peerDependencies": {
"@granite-js/native": ">=1",
"@granite-js/react-native": ">=1",
"brick-module": "*",
"react": "*",
"react-native": "*"
}
},
"node_modules/@toss/tds-react-native/node_modules/@types/node": {
"version": "22.15.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.0.tgz",
"integrity": "sha512-99S8dWD2DkeE6PBaEDw+In3aar7hdoBvjyJMR6vaKBTzpvR0P00ClzJMOoVrj9D2+Sy/YCwACYHnBTpMhg1UCA==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.21.0"
}
},
"node_modules/@toss/tds-react-native/node_modules/undici-types": {
"version": "6.21.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
"license": "MIT"
},
"node_modules/@toss/tds-spring-easing": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/@toss/tds-spring-easing/-/tds-spring-easing-0.0.1.tgz",
"integrity": "sha512-LYTSqGxtn4+vw/ITWb6OPG7b3USWlBcBwp4YAxamLFUKSaE/rakFRuoI/35NLmzZUmlqfQqxADpPauhQYt9E2Q=="
},
"node_modules/@toss/tds-typography": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/@toss/tds-typography/-/tds-typography-0.0.3.tgz",
"integrity": "sha512-4BLnuAZ/IzSGvNONldJIA62QPiibADntLhe9VSUbirPjKESeZUEOgIm+KXk0z2mPQ2D2xWGh7w/+zUoH8c96Sg==",
"dependencies": {
"param-case": "^3.0.4"
}
},
"node_modules/@toss/utility-types": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/@toss/utility-types/-/utility-types-1.2.1.tgz",
"integrity": "sha512-1y8s1bvmuhuMX/d6qR9mmvcgFZIKYIQqJbAIshlGArXkjk/ec67gXc5uByEV1Y7in9ZhrGNRmjD8DTH0988vpQ=="
},
"node_modules/@toss/utils": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/@toss/utils/-/utils-1.6.1.tgz",
"integrity": "sha512-x6m8jLKWtAmCbxTLXbgTzJ5wZyRSUQPLpR/oLJP1ZK9ytXcRf03oA46W/+78kErUkEw/yQz2L+t2xFDHSeZ6IQ==",
"deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.",
"dependencies": {
"@babel/runtime": "^7.14.8",
"@toss/utility-types": "^1.2.1",
"date-fns": "^2.25.0"
}
},
"node_modules/@ts-morph/common": {
"version": "0.28.1",
"resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.28.1.tgz",
@@ -9810,12 +10036,39 @@
"integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==",
"license": "MIT"
},
"node_modules/@types/react": {
"version": "19.2.14",
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz",
"integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==",
"dev": true,
"license": "MIT",
"dependencies": {
"csstype": "^3.2.2"
}
},
"node_modules/@types/react-dom": {
"version": "19.2.3",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz",
"integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==",
"dev": true,
"license": "MIT",
"peerDependencies": {
"@types/react": "^19.2.0"
}
},
"node_modules/@types/stack-utils": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz",
"integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==",
"license": "MIT"
},
"node_modules/@types/webpack-env": {
"version": "1.18.8",
"resolved": "https://registry.npmjs.org/@types/webpack-env/-/webpack-env-1.18.8.tgz",
"integrity": "sha512-G9eAoJRMLjcvN4I08wB5I7YofOb/kaJNd5uoCMX+LbKXTPCF+ZIHuqTnFaK9Jz1rgs035f9JUPUhNFtqgucy/A==",
"dev": true,
"license": "MIT"
},
"node_modules/@types/ws": {
"version": "8.18.1",
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz",
@@ -10579,6 +10832,12 @@
"node": ">=6.0.0"
}
},
"node_modules/bezier-easing": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/bezier-easing/-/bezier-easing-2.1.0.tgz",
"integrity": "sha512-gbIqZ/eslnUFC1tjEvtz0sgx+xTK20wDnYMIA27VA04R7w6xxXQPZDbibjA9DTWZRA2CXtwHykkVzlCaAJAZig==",
"license": "MIT"
},
"node_modules/bl": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
@@ -11858,6 +12117,31 @@
"integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
"license": "MIT"
},
"node_modules/culori": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/culori/-/culori-4.0.2.tgz",
"integrity": "sha512-1+BhOB8ahCn4O0cep0Sh2l9KCOfOdY+BXJnKMHFFzDEouSr/el18QwXEMRlOj9UY5nCeA8UN3a/82rUWRBeyBw==",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
}
},
"node_modules/date-fns": {
"version": "2.30.0",
"resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz",
"integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.21.0"
},
"engines": {
"node": ">=0.11"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/date-fns"
}
},
"node_modules/dayjs": {
"version": "1.11.20",
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.20.tgz",
@@ -12077,6 +12361,16 @@
"url": "https://github.com/fb55/domutils?sponsor=1"
}
},
"node_modules/dot-case": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz",
"integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==",
"license": "MIT",
"dependencies": {
"no-case": "^3.0.4",
"tslib": "^2.0.3"
}
},
"node_modules/dunder-proto": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
@@ -13332,6 +13626,12 @@
"node": ">= 12"
}
},
"node_modules/hex-to-rgba": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/hex-to-rgba/-/hex-to-rgba-2.0.1.tgz",
"integrity": "sha512-5XqPJBpsEUMsseJUi2w2Hl7cHFFi3+OO10M2pzAvKB1zL6fc+koGMhmBqoDOCB4GemiRM/zvDMRIhVw6EkB8dQ==",
"license": "GPL-3.0"
},
"node_modules/hoist-non-react-statics": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
@@ -15742,6 +16042,15 @@
"loose-envify": "cli.js"
}
},
"node_modules/lower-case": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
"integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
"license": "MIT",
"dependencies": {
"tslib": "^2.0.3"
}
},
"node_modules/lru-cache": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
@@ -17620,6 +17929,16 @@
"integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",
"license": "MIT"
},
"node_modules/no-case": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
"integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
"license": "MIT",
"dependencies": {
"lower-case": "^2.0.2",
"tslib": "^2.0.3"
}
},
"node_modules/nocache": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/nocache/-/nocache-3.0.4.tgz",
@@ -18036,6 +18355,16 @@
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==",
"license": "(MIT AND Zlib)"
},
"node_modules/param-case": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz",
"integrity": "sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==",
"license": "MIT",
"dependencies": {
"dot-case": "^3.0.4",
"tslib": "^2.0.3"
}
},
"node_modules/parent-module": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
@@ -21524,6 +21853,20 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/typescript": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.2.tgz",
"integrity": "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
},
"node_modules/ufo": {
"version": "1.6.3",
"resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.3.tgz",

View File

@@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "chcp 65001 >nul 2>&1 && node node_modules/@granite-js/react-native/bin/cli.js dev",
"build": "chcp 65001 >nul 2>&1 && ait build",
"build": "chcp 65001 >nul 2>&1 && node node_modules/@granite-js/react-native/bin/cli.js build",
"deploy": "chcp 65001 >nul 2>&1 && ait deploy"
},
"dependencies": {
@@ -14,9 +14,16 @@
"@toss/tds-colors": "^0.1.0",
"@toss/tds-mobile": "^2.3.0",
"@toss/tds-mobile-ait": "^2.3.0",
"@toss/tds-react-native": "^2.0.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-native": "^0.84.1",
"zustand": "^5.0.12"
},
"devDependencies": {
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/webpack-env": "^1.18.8",
"typescript": "^6.0.2"
}
}

View File

@@ -1 +1,9 @@
export const context = require.context('./pages', false, /\.(tsx|ts)$/);
interface GraniteRequireContext {
keys(): string[];
(id: string): any;
<T>(id: string): T;
resolve(id: string): string;
id: string;
}
export const context = require.context('./pages', false, /\.(tsx|ts)$/) as unknown as GraniteRequireContext;

View File

@@ -11,6 +11,8 @@
"noEmit": true,
"strict": true,
"skipLibCheck": true,
"ignoreDeprecations": "6.0",
"types": ["webpack-env"],
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]