Skip to content

Commit

Permalink
test(monorepo): add a test on commit that checks if sub packages are …
Browse files Browse the repository at this point in the history
…having thier deps in order (#1558)

* test(monorepo): add a test on commit that checks if sub packages are having thier deps in order

* fix(scully): add yamljs back in package.json
  • Loading branch information
SanderElias authored Mar 10, 2022
1 parent a800326 commit 7271249
Show file tree
Hide file tree
Showing 17 changed files with 1,033 additions and 283 deletions.
2 changes: 1 addition & 1 deletion .huskyrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hooks": {
"pre-commit": "pretty-quick --staged"
"pre-commit": "pretty-quick --staged && npm run chkPackage"
}
}
2 changes: 1 addition & 1 deletion libs/platform-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"@scullyio/ng-lib": ">2.0.0 || <3.0.0"
},
"dependencies": {
"tslib": "^2.3.0"
"tslib": "^2.3.1"
}
}
7 changes: 3 additions & 4 deletions libs/plugins/docs-link-update/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
"name": "@scullyio/scully-plugin-docs-link-update",
"version": "2.1.23",
"peerDependencies": {
"@scullyio/scully": "*"
"@scullyio/scully": "*",
"jsdom": "^19.0.0"
},
"repository": {
"type": "GIT",
"url": "https://github.com/scullyio/scully/tree/main/libs/plugins/docs-link-update"
},
"dependencies": {
"jsdom": "^16.2.2"
},
"dependencies": {},
"keywords": [
"angular",
"scully",
Expand Down
5 changes: 2 additions & 3 deletions libs/plugins/from-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
"author": "",
"license": "ISC",
"dependencies": {
"tslib": "^1.13.0"
"tslib": "^2.3.1"
},
"peerDependencies": {
"@scullyio/scully": "*",
"sharp": "^0.26.0"
"@scullyio/scully": "*"
},
"repository": {
"type": "GIT",
Expand Down
2 changes: 1 addition & 1 deletion libs/plugins/logrocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"license": "MIT",
"dependencies": {
"tslib": "^1.13.0"
"tslib": "^2.3.1"
},
"peerDependencies": {
"@scullyio/scully": "*"
Expand Down
7 changes: 3 additions & 4 deletions libs/plugins/scully-plugin-copy-to-clipboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@
"url": "https://github.com/scullyio/scully/tree/main/libs/plugins/scully-plugin-copy-to-clipboard"
},
"peerDependencies": {
"@scullyio/scully": "*"
},
"dependencies": {
"jsdom": "^17.x.x"
"@scullyio/scully": "*",
"jsdom": "^19.0.0"
},
"dependencies": {},
"keywords": [
"angular",
"scully",
Expand Down
2 changes: 1 addition & 1 deletion libs/plugins/scully-plugin-flash-prevention/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"Aaron Frost <[email protected]>"
],
"dependencies": {
"tslib": "^1.13.0"
"tslib": "^2.3.1"
},
"peerDependencies": {
"@scullyio/scully": "*"
Expand Down
4 changes: 1 addition & 3 deletions libs/plugins/scully-plugin-local-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"level": "*"
},
"main": "src/index.js",
"devDependencies": {
"@types/level-js": "^4.0.2"
},
"devDependencies": {},
"peerDependencies": {
"rxjs": "*",
"yargs": "*",
Expand Down
2 changes: 1 addition & 1 deletion libs/plugins/scully-plugin-playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"playwright"
],
"dependencies": {
"tslib": "^1.13.0"
"tslib": "^2.3.1"
},
"peerDependencies": {
"@scullyio/scully": "*",
Expand Down
2 changes: 1 addition & 1 deletion libs/plugins/scully-plugin-puppeteer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "./src/index.js",
"license": "MIT",
"dependencies": {
"tslib": "^1.13.0"
"tslib": "^2.3.1"
},
"peerDependencies": {
"@scullyio/scully": "*",
Expand Down
2 changes: 1 addition & 1 deletion libs/plugins/sentry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"license": "MIT",
"dependencies": {
"tslib": "^1.13.0"
"tslib": "^2.3.1"
},
"peerDependencies": {
"@scullyio/scully": "*"
Expand Down
15 changes: 3 additions & 12 deletions libs/scully-schematics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,11 @@
"@angular-devkit/core": ">12.0.0",
"@angular-devkit/schematics": ">12.0.0",
"@schematics/angular": ">12.0.0",
"guess-parser": "^0.4.22",
"js-yaml": "^4.1.0",
"typescript": "^4.2.4"
},
"devDependencies": {
"@types/jasmine": "^3.3.9",
"@types/js-yaml": "^4.1.0",
"@types/node": "^8.0.31",
"@types/source-map-support": "^0.5.1",
"jasmine": "^3.3.1",
"jasmine-spec-reporter": "^5.0.2",
"source-map-support": "^0.5.19"
"js-yaml": "^4.1.0"
},
"devDependencies": {},
"peerDependencies": {
"typescript": "^4.2.4",
"guess-parser": "^0.4.22"
}
}
34 changes: 11 additions & 23 deletions libs/scully/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,25 @@
"author": "@herodevs",
"license": "MIT",
"dependencies": {
"@sentry/node": "^5.20.1",
"@sentry/node": "^6.12.0",
"asciidoctor": "^2.2.5",
"chalk": "^4.1.2",
"chokidar": "^3.5.2",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.17.1",
"express": "^4.17.3",
"front-matter": "^4.0.2",
"fs-extra": "^9.0.1",
"guess-parser": "^0.4.19",
"http-proxy-middleware": "^1.0.6",
"jsdom": "^16.4.0",
"fs-extra": "^10.0.1",
"guess-parser": "^0.4.22",
"http-proxy-middleware": "^2.0.3",
"jsdom": "^19.0.0",
"jsonc": "2.0.0",
"marked": "^4.0.12",
"open": "^7.3.0",
"os": "^0.1.1",
"open": "^8.4.0",
"os": "^0.1.2",
"selfsigned": "^2.0.0",
"ws": "^7.4.0",
"ws": "^8.5.0",
"js-yaml": "^4.1.0",
"yamljs": "^0.3.0",
"yargs": "^17.2.1"
},
Expand All @@ -43,20 +44,7 @@
"peerDependencies": {
"typescript": ">=4.3"
},
"devDependencies": {
"@types/compression": "^1.7.0",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.0",
"@types/http-proxy-middleware": "^0.19.3",
"@types/jsdom": "^16.1.0",
"@types/marked": "^4.0.2",
"@types/node": "^13.13.5",
"@types/ws": "^7.2.1",
"@types/yamljs": "^0.2.30",
"@types/yargs": "^17.0.7",
"codelyzer": "^5.1.2",
"prettier": "^1.19.1"
},
"devDependencies": {},
"keywords": [
"angular",
"scully",
Expand Down
Loading

0 comments on commit 7271249

Please sign in to comment.