Skip to content

Commit

Permalink
deps: use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinZhu committed Sep 14, 2021
1 parent 866578d commit fede02f
Show file tree
Hide file tree
Showing 20 changed files with 452 additions and 423 deletions.
2 changes: 1 addition & 1 deletion .github/actions/microapp/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
working-directory: ${{ inputs.path }}
run: |
npm install -g pnpm
pnpm install
pnpm install --filter .
# - name: Test
# shell: bash
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/blog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
uses: actions/[email protected]
with:
node-version: 16.x
- name: Cache .pnpm-store
uses: actions/cache@v1
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node16-${{ hashFiles('**/pnpm-lock.yaml') }}
- uses: ./.github/actions/microapp
with:
path: 'blog'
5 changes: 5 additions & 0 deletions .github/workflows/campus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
uses: actions/[email protected]
with:
node-version: 16.x
- name: Cache .pnpm-store
uses: actions/cache@v1
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node16-${{ hashFiles('**/pnpm-lock.yaml') }}
- uses: ./.github/actions/microapp
with:
path: 'campus'
5 changes: 5 additions & 0 deletions .github/workflows/career.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
uses: actions/[email protected]
with:
node-version: 16.x
- name: Cache .pnpm-store
uses: actions/cache@v1
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node16-${{ hashFiles('**/pnpm-lock.yaml') }}
- uses: ./.github/actions/microapp
with:
path: 'career'
5 changes: 5 additions & 0 deletions .github/workflows/root.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
uses: actions/[email protected]
with:
node-version: 16.x
- name: Cache .pnpm-store
uses: actions/cache@v1
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node16-${{ hashFiles('**/pnpm-lock.yaml') }}
- uses: ./.github/actions/microapp
with:
path: 'root'
5 changes: 5 additions & 0 deletions .github/workflows/syllabus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
uses: actions/[email protected]
with:
node-version: 16.x
- name: Cache .pnpm-store
uses: actions/cache@v1
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node16-${{ hashFiles('**/pnpm-lock.yaml') }}
- uses: ./.github/actions/microapp
with:
path: 'syllabus'
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
shared-workspace-lockfile=false
shared-workspace-shrinkwrap = true
link-workspace-packages = true
3 changes: 2 additions & 1 deletion blog/.npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@bit:registry=https://node.bit.dev
//node.bit.dev/:_authToken=${BIT_TOKEN}
always-auth=true
always-auth=true
recursive-install=false
80 changes: 40 additions & 40 deletions blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,40 +14,40 @@
"coverage": "cross-env BABEL_ENV=test jest --coverage"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@babel/preset-react": "^7.12.7",
"@babel/preset-typescript": "^7.12.7",
"@babel/runtime": "^7.12.5",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^11.2.2",
"@babel/core": "^7.15.5",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.6",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@babel/runtime": "^7.15.4",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@types/systemjs": "^6.1.0",
"babel-eslint": "^11.0.0-beta.2",
"babel-jest": "^26.6.3",
"babel-plugin-styled-components": "^1.12.0",
"babel-plugin-styled-components": "^1.13.2",
"concurrently": "^5.3.0",
"cross-env": "^7.0.3",
"dotenv-webpack": "^7.0.2",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"dotenv-webpack": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7.2.0",
"eslint-config-ts-react-important-stuff": "^3.0.0",
"eslint-plugin-prettier": "^3.2.0",
"eslint-plugin-prettier": "^3.4.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"single-spa-react": "^4.0.0",
"prettier": "^2.4.0",
"pretty-quick": "^3.1.1",
"single-spa-react": "^4.4.0",
"ts-config-single-spa": "^2.0.1",
"typescript": "^4.1.2",
"webpack": "^5.8.0",
"webpack-cli": "^4.2.0",
"webpack-config-single-spa-react": "^2.0.0",
"webpack-config-single-spa-react-ts": "^2.0.0",
"webpack-config-single-spa-ts": "^2.0.0",
"webpack-dev-server": "^4.0.0-beta.0",
"webpack-merge": "^5.4.0"
"typescript": "^4.4.3",
"webpack": "^5.52.1",
"webpack-cli": "^4.8.0",
"webpack-config-single-spa-react": "^2.2.4",
"webpack-config-single-spa-react-ts": "^2.2.4",
"webpack-config-single-spa-ts": "^2.2.4",
"webpack-dev-server": "^4.2.1",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@bit/wasedatime.core.assets.img.logo": "0.0.1",
Expand All @@ -57,28 +57,28 @@
"@bit/wasedatime.core.ts.ui.loading-spinner": "0.0.7",
"@bit/wasedatime.core.ts.utils.i18n": "0.0.3",
"@bit/wasedatime.core.ts.utils.responsive-utils": "0.0.1",
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"@material-ui/core": "^4.11.3",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.15",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@types/jest": "^26.0.16",
"@types/react": "^16.9.32",
"@types/react-dom": "^16.9.6",
"@types/systemjs": "^6.1.0",
"@types/webpack-env": "^1.16.0",
"axios": "^0.21.2",
"@types/jest": "^26.0.24",
"@types/react": "^16.14.15",
"@types/react-dom": "^16.9.14",
"@types/systemjs": "^6.1.1",
"@types/webpack-env": "^1.16.2",
"axios": "^0.21.4",
"file-loader": "^6.2.0",
"i18next": "^19.9.1",
"i18next": "^19.9.2",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-i18next": "^11.8.8",
"react-i18next": "^11.12.0",
"react-markdown": "^5.0.3",
"react-responsive": "^8.2.0",
"react-router-dom": "^5.2.0",
"styled-components": "^5.2.1",
"react-router-dom": "^5.3.0",
"styled-components": "^5.3.1",
"url-loader": "^4.1.1"
}
}
88 changes: 44 additions & 44 deletions blog/pnpm-lock.yaml

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

3 changes: 2 additions & 1 deletion campus/.npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@bit:registry=https://node.bit.dev
//node.bit.dev/:_authToken=${BIT_TOKEN}
always-auth=true
always-auth=true
recursive-install=false
Loading

0 comments on commit fede02f

Please sign in to comment.