Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 프로젝트 관리 툴 변경 #52

Merged
merged 3 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"node": "14",
"node": "18",
"packages": [
"packages/*"
],
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'yarn'
- run: yarn install
- run: yarn test --ci --coverage
node-version: 20
cache: 'pnpm'
- run: pnpm install
- run: pnpm test -- --ci --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,6 @@ dist

# npm
package-lock.json

# Turborepo
.turbo/
5 changes: 2 additions & 3 deletions examples/basic-routing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "basic-routing",
"version": "0.1.0-alpha.0",
"source": "index.html",
"main": "script.js",
"scripts": {
"start": "parcel",
"build": "parcel build"
Expand All @@ -17,7 +16,7 @@
"parcel": "latest"
},
"dependencies": {
"@vomjs/tools": "latest",
"vomjs": "latest"
"@vomjs/tools": "workspace:*",
"vomjs": "workspace:*"
}
}
3 changes: 1 addition & 2 deletions examples/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "counter",
"version": "0.1.0-alpha.0",
"source": "index.html",
"main": "script.js",
"scripts": {
"start": "parcel",
"build": "parcel build"
Expand All @@ -12,6 +11,6 @@
"parcel": "latest"
},
"dependencies": {
"vomjs": "latest"
"vomjs": "workspace:*"
}
}
3 changes: 1 addition & 2 deletions examples/tic-tac-toe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "tic-tac-toe",
"version": "0.1.0-alpha.0",
"source": "index.html",
"main": "script.js",
"scripts": {
"start": "parcel",
"build": "parcel build"
Expand All @@ -13,6 +12,6 @@
"parcel": "latest"
},
"dependencies": {
"vomjs": "latest"
"vomjs": "workspace:*"
}
}
5 changes: 0 additions & 5 deletions lerna.json

This file was deleted.

22 changes: 6 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@
"url": "https://xvezda.com/"
},
"scripts": {
"bootstrap": "lerna bootstrap",
"prepare": "husky install",
"prepublishOnly": "yarn build",
"build": "yarn workspace vomjs build",
"prepublishOnly": "pnpm run build",
"build": "turbo build",
"test": "jest --verbose --cache",
"lint": "eslint --cache .",
"define": "node scripts/defineSandbox.js",
"postversion": "yarn readme",
"readme": "yarn define 'docs: update README (%h)'"
"postversion": "pnpm run readme",
"readme": "pnpm run define 'docs: update README (%h)'"
},
"devDependencies": {
"@babel/core": "^7.16.0",
Expand All @@ -29,17 +28,8 @@
"gh-pages": "^3.2.3",
"husky": "^7.0.4",
"jest": "^27.3.1",
"lerna": "^4.0.0",
"lint-staged": ">=10"
},
"resolutions": {
"**/json-schema": "^0.4.0",
"**/glob-parent": "^5.1.2",
"**/postcss": "^8.2.13",
"**/nth-check": "^2.0.1",
"**/ansi-regex": "^5.0.1",
"**/node-forge": "^1.0.0",
"**/parse-path": "^6.0.0"
"lint-staged": ">=10",
"turbo": "^1.11.2"
},
"workspaces": [
"packages/*",
Expand Down
1 change: 1 addition & 0 deletions packages/vomjs-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "src/index.js",
"devDependencies": {
"@babel/core": "^7.15.5",
"@jest/globals": "^29.7.0",
"babel-jest": "^27.2.0",
"jest": "^27.2.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/vomjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"license": "MIT",
"dependencies": {
"@vomjs/store": "^0.0.4",
"@vomjs/tools": "^0.1.0-beta.0"
"@vomjs/store": "workspace:*",
"@vomjs/tools": "workspace:*"
},
"devDependencies": {
"babel-loader": "^8.2.3",
Expand Down
Loading
Loading