Skip to content

Commit

Permalink
Merge pull request #44 from Team-B1ND/Feature/#40
Browse files Browse the repository at this point in the history
Feature/#40
  • Loading branch information
ftery0 authored Jan 14, 2025
2 parents c5be29e + 5451418 commit cc813bb
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 33 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@ jobs:
node-version: '20'

- name: Install pnpm
run: npm install -g pnpm
run: npm install -g pnpm@latest

- name: Cache Node.js modules
- name: Cache pnpm store
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
run: pnpm install --frozen-lockfile --prefer-offline

- name: Build the project
run: pnpm run build

- name: Publish to NPM
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
pnpm publish dist --access public # pnpm 명령어로 변경
pnpm publish dist --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"@rollup/plugin-image": "^3.0.3",
"@rollup/plugin-replace": "^6.0.2",
"@svgr/rollup": "^8.1.0",
"@types/react": "^19.0.2",
"@types/styled-components": "^5.1.34",
"react": "^18.2.0",
"styled-components": "^6.1.8"
"@types/react": "^18.2.0",
"styled-components": "^6.1.8",
"@types/styled-components": "^5.1.34"
}
}
6 changes: 4 additions & 2 deletions packages/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
},
"license": "ISC",
"dependencies": {
"react": "^18.2.0",
"styled-components": "^6.1.8",
"typescript": "^5.4.2"
},
"devDependencies": {
"@dds-web/styles": "workspace: *",
"@types/react": "18.2.0",
"@types/styled-components": "^5.1.34"
},
"peerDependencies": {
"react": "^18.2.0",
"@types/react": "18.2.0"
}
}
5 changes: 4 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"dependencies": {
"@testing-library/react": "^16.0.1",
"@types/styled-components": "^5.1.34",
"react": "^18.2.0",
"styled-components": "^6.1.8",
"typescript": "^5.4.2"
},
Expand All @@ -35,5 +34,9 @@
"@types/react-dom": "^18.2.0",
"storybook": "^8.4.1",
"swc-loader": "^0.2.6"
},
"peerDependencies": {
"react": "^18.2.0",
"@types/react": "18.2.0"
}
}
6 changes: 4 additions & 2 deletions packages/foundations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@
},
"license": "ISC",
"dependencies": {
"react": "^18.2.0",
"styled-components": "^6.1.8",
"typescript": "^5.4.2"
},
"devDependencies": {
"@dds-web/assets": "workspace:*",
"@dds-web/styles": "workspace:*",
"@types/react": "^18.2.0",
"@types/styled-components": "^5.1.34"
},
"peerDependencies": {
"react": "^18.2.0",
"@types/react": "18.2.0"
}
}
6 changes: 3 additions & 3 deletions packages/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"react": "^18.2.0",
"react-query": "^3.39.3",
"typescript": "^5.4.2"
},
"devDependencies": {
"@types/react": "^18.2.0"
"peerDependencies": {
"react": "^18.2.0",
"@types/react": "18.2.0"
}
}
6 changes: 4 additions & 2 deletions packages/styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
},
"license": "ISC",
"dependencies": {
"react": "^18.2.0",
"styled-components": "^6.1.8",
"typescript": "^5.4.2"
},
"devDependencies": {
"@dds-web/foundations": "workspace:*",
"@types/react": "^18.2.0",
"@types/styled-components": "^5.1.34"
},
"peerDependencies": {
"react": "^18.2.0",
"@types/react": "18.2.0"
}
}
6 changes: 3 additions & 3 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"react": "^18.2.0",
"typescript": "^5.4.2"
},
"devDependencies": {
"@types/react": "^18.2.0"
"peerDependencies": {
"react": "^18.2.0",
"@types/react": "18.2.0"
}
}
13 changes: 3 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cc813bb

Please sign in to comment.