Skip to content

Commit

Permalink
Upgrade dependencies (#143)
Browse files Browse the repository at this point in the history
* Upgrade dependencies

* Fix single-spa dependency

* Fixes

* Fix

* Fix tests

* Upgrade single-spa
  • Loading branch information
joeldenning authored Jul 10, 2021
1 parent 50b6918 commit 01a54b5
Show file tree
Hide file tree
Showing 8 changed files with 2,238 additions and 3,457 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "15"
- uses: pnpm/action-setup@v1.2.1
node-version: "16"
- uses: pnpm/action-setup@v2.0.1
with:
version: 5.14.1
version: 6.9.1
- run: pnpm install --frozen-lockfile
- run: pnpm run build
- run: pnpm test
Expand Down
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm exec pretty-quick --staged && pnpm run lint
66 changes: 30 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"test:exports": "ls-exports path .",
"test:lockfile": "js-correct-lockfile pnpm",
"test-e2e:firefox": "cypress run --browser firefox",
"test-e2e:chrome": "cypress run --browser chrome"
"test-e2e:chrome": "cypress run --browser chrome",
"prepare": "husky install"
},
"engines": {
"node": ">=12"
Expand All @@ -49,11 +50,6 @@
"tsd": {
"directory": "test"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && pnpm run lint"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/single-spa/single-spa-layout.git"
Expand All @@ -72,48 +68,46 @@
"last 4 Edge major versions"
],
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/eslint-parser": "^7.13.14",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/preset-env": "^7.11.5",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.4",
"@testing-library/dom": "^7.29.4",
"@testing-library/jest-dom": "^5.11.4",
"@types/jest": "^26.0.14",
"@types/jsdom": "^16.2.4",
"@types/systemjs": "^6.1.0",
"babel-jest": "^26.3.0",
"concurrently": "^5.3.0",
"@babel/core": "^7.14.6",
"@babel/eslint-parser": "^7.14.7",
"@babel/plugin-transform-modules-commonjs": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@testing-library/dom": "^8.1.0",
"@testing-library/jest-dom": "^5.14.1",
"@types/jest": "^26.0.24",
"@types/jsdom": "^16.2.13",
"@types/systemjs": "^6.1.1",
"babel-jest": "^27.0.6",
"concurrently": "^6.2.0",
"cross-env": "^7.0.2",
"cypress": "^5.2.0",
"eslint": "^7.10.0",
"cypress": "^7.6.0",
"eslint": "^7.30.0",
"eslint-config-important-stuff": "^1.1.0",
"eslint-config-node-important-stuff": "^1.1.0",
"eslint-plugin-es5": "^1.5.0",
"husky": "^4.3.0",
"jest": "^26.4.2",
"jest-cli": "^26.4.2",
"husky": "^7.0.0",
"jest": "^27.0.6",
"jest-cli": "^27.0.6",
"jest-serializer-html": "^7.0.0",
"js-correct-lockfile": "^1.0.0",
"jsdom": "^16.4.0",
"jsdom": "^16.6.0",
"ls-exports": "^1.0.2",
"prettier": "^2.1.2",
"pretty-quick": "^3.0.2",
"prettier": "^2.3.2",
"pretty-quick": "^3.1.1",
"rimraf": "^3.0.2",
"rollup": "^2.28.2",
"rollup-cli": "^1.0.9",
"rollup": "^2.52.7",
"rollup-plugin-terser": "^7.0.2",
"single-spa": "^5.9.0",
"tsd": "^0.13.1",
"typescript": "^4.0.3"
"tsd": "^0.17.0",
"typescript": "^4.3.5"
},
"dependencies": {
"@types/parse5": "^5.0.3",
"@types/parse5": "^6.0.0",
"merge2": "^1.4.1",
"parse5": "^6.0.1",
"single-spa": ">=5"
"single-spa": "^6.0.0-beta.1"
}
}
Loading

0 comments on commit 01a54b5

Please sign in to comment.