diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e9a241df..6475f871 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -53,7 +53,7 @@ jobs: CACHE_HIT="${{ steps.yarn-cache.outputs.cache-hit }}" NODE_MODULES_EXISTS=$(test -d "node_modules" && echo "true" || echo "false") if [[ "$CACHE_HIT" != 'true' || "$NODE_MODULES_EXISTS" == 'false' ]]; then - sh ./.script/ci.sh + yarn install fi - name: Lint check diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 7586b3b3..00000000 --- a/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -@ummgoban:registry=https://npm.pkg.github.com/ -//npm.pkg.github.com/:_authToken=${NPM_TOKEN} diff --git a/.script/ci.sh b/.script/ci.sh deleted file mode 100644 index b5bd0d3f..00000000 --- a/.script/ci.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -sh ./.script/pre-install.sh - -yarn install - -sh ./.script/post-install.sh diff --git a/.script/post-install.sh b/.script/post-install.sh deleted file mode 100644 index 3627d3e8..00000000 --- a/.script/post-install.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -echo "=== postinstall ===" - -# .yarnrc.yml.temp 가 없으면 종료 -if [ ! -f .yarnrc.yml.temp ]; then - echo "No .yarnrc.yml.temp file found" - exit 0 -fi - -# 원본 복구 -cp .yarnrc.yml.temp .yarnrc.yml - -# 임시 파일 삭제 -rm .yarnrc.yml.temp \ No newline at end of file diff --git a/.script/pre-install.sh b/.script/pre-install.sh deleted file mode 100644 index 8e0f78a7..00000000 --- a/.script/pre-install.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -echo "=== preinstall ===" - -# 원본 유지 -cp .yarnrc.yml .yarnrc.yml.temp - -NPM_TOKEN=$(grep NPM_TOKEN .env | cut -d '=' -f2 | tr -d '"' | xargs) envsubst < .yarnrc.yml.template > .yarnrc.yml diff --git a/.yarnrc.yml.template b/.yarnrc.yml.template deleted file mode 100644 index 7e52b02a..00000000 --- a/.yarnrc.yml.template +++ /dev/null @@ -1,12 +0,0 @@ -nodeLinker: node-modules - -yarnPath: .yarn/releases/yarn-3.6.4.cjs - -npmScopes: - ummgoban: - npmRegistryServer: 'https://npm.pkg.github.com' - -npmRegistries: - 'https://npm.pkg.github.com': - npmAlwaysAuth: true - npmAuthToken: '${NPM_TOKEN}' \ No newline at end of file diff --git a/package.json b/package.json index db8b9eca..b0d4bc62 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,6 @@ "version": "1.1.2", "private": true, "scripts": { - "ci": "sh ./.script/ci.sh", "android": "cp .env.development .env && npx react-native run-android", "android:release": "cp .env.release .env && cd android && ./gradlew assembleRelease", "ios": "react-native run-ios", @@ -42,7 +41,7 @@ "@tanstack/react-query": "^5.66.9", "@tosspayments/widget-sdk-react-native": "^1.3.5", "@types/react-native-vector-icons": "^6.4.18", - "@ummgoban/shared": "0.0.4", + "@ummgoban/shared": "^0.0.6-nightly.20250808.a3cf0f6", "axios": "^1.7.4", "dayjs": "^1.11.13", "react": "18.3.1", diff --git a/yarn.lock b/yarn.lock index fa300141..c6f3dab8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4453,14 +4453,14 @@ __metadata: languageName: node linkType: hard -"@ummgoban/shared@npm:0.0.4": - version: 0.0.4 - resolution: "@ummgoban/shared@npm:0.0.4::__archiveUrl=https%3A%2F%2Fnpm.pkg.github.com%2Fdownload%2F%40ummgoban%2Fshared%2F0.0.4%2Fb3ee84e295c1458b678c700d3fc985bc44ce24fe" +"@ummgoban/shared@npm:^0.0.6-nightly.20250808.a3cf0f6": + version: 0.0.6-nightly.20250808.f18a523 + resolution: "@ummgoban/shared@npm:0.0.6-nightly.20250808.f18a523" peerDependencies: axios: ">=1.7.4" react: ">=18.0.0" react-native: ">=0.79.0" - checksum: 2702383ed9e01fbdad9e554e782e85f5472d64044440384f15722d0ffc661e0c07fddf68d951359c15fa64fc0e013af5f51f49f54b839e7f80634ddfa6fd491f + checksum: e7b2817c8e85c7c963997ddd03490c809faf3bd313919902a4236f62bd34c17c619ac1967c6095ebe2cf305689120ef9625b1ad232a9576fd2b6cbfec0000455 languageName: node linkType: hard @@ -4502,7 +4502,7 @@ __metadata: "@types/react": ^18.2.6 "@types/react-native-vector-icons": ^6.4.18 "@types/react-test-renderer": ^18.0.0 - "@ummgoban/shared": 0.0.4 + "@ummgoban/shared": ^0.0.6-nightly.20250808.a3cf0f6 axios: ^1.7.4 babel-jest: ^29.6.3 babel-plugin-module-resolver: ^5.0.2