Skip to content

Commit

Permalink
chore: add linting for package publication (patternfly#10764)
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Koops <[email protected]>
  • Loading branch information
jonkoops authored Aug 22, 2024
1 parent 0659533 commit 2e6837e
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"mutation-observer": "^1.0.3",
"plop": "^4.0.1",
"prettier": "^3.3.2",
"publint": "^0.2.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^5.0.7",
Expand Down Expand Up @@ -96,6 +97,7 @@
"lint:md": "eslint \"**/*.md\" --config eslint.config-md.mjs --cache --cache-strategy content --no-warn-ignored",
"lint:ts": "yarn lint packages/*/src",
"lint:tests": "yarn lint packages/*/src/components/*/__tests__/*.test.*",
"lint:publication": "yarn workspaces foreach --all --no-private --parallel exec publint --strict",
"postinstall": "ts-patch install -s && husky",
"serve:docs": "yarn workspace @patternfly/react-docs serve",
"serve:integration": "lerna run preview --scope=demo-app-ts",
Expand Down
82 changes: 82 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3313,6 +3313,7 @@ __metadata:
mutation-observer: "npm:^1.0.3"
plop: "npm:^4.0.1"
prettier: "npm:^3.3.2"
publint: "npm:^0.2.10"
react: "npm:^18.3.1"
react-dom: "npm:^18.3.1"
rimraf: "npm:^5.0.7"
Expand Down Expand Up @@ -10613,6 +10614,19 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^8.0.1":
version: 8.1.0
resolution: "glob@npm:8.1.0"
dependencies:
fs.realpath: "npm:^1.0.0"
inflight: "npm:^1.0.4"
inherits: "npm:2"
minimatch: "npm:^5.0.1"
once: "npm:^1.3.0"
checksum: 10c0/cb0b5cab17a59c57299376abe5646c7070f8acb89df5595b492dba3bfb43d301a46c01e5695f01154e6553168207cb60d4eaf07d3be4bc3eb9b0457c5c561d0f
languageName: node
linkType: hard

"glob@npm:^9.2.0":
version: 9.3.5
resolution: "glob@npm:9.3.5"
Expand Down Expand Up @@ -11405,6 +11419,15 @@ __metadata:
languageName: node
linkType: hard

"ignore-walk@npm:^5.0.1":
version: 5.0.1
resolution: "ignore-walk@npm:5.0.1"
dependencies:
minimatch: "npm:^5.0.1"
checksum: 10c0/0d157a54d6d11af0c3059fdc7679eef3b074e9a663d110a76c72788e2fb5b22087e08b21ab767718187ac3396aca4d0aa6c6473f925b19a74d9a00480ca7a76e
languageName: node
linkType: hard

"ignore-walk@npm:^6.0.4":
version: 6.0.5
resolution: "ignore-walk@npm:6.0.5"
Expand Down Expand Up @@ -14619,6 +14642,13 @@ __metadata:
languageName: node
linkType: hard

"mri@npm:^1.1.0":
version: 1.2.0
resolution: "mri@npm:1.2.0"
checksum: 10c0/a3d32379c2554cf7351db6237ddc18dc9e54e4214953f3da105b97dc3babe0deb3ffe99cf409b38ea47cc29f9430561ba6b53b24ab8f9ce97a4b50409e4a50e7
languageName: node
linkType: hard

"mrmime@npm:^1.0.0":
version: 1.0.1
resolution: "mrmime@npm:1.0.1"
Expand Down Expand Up @@ -14957,6 +14987,15 @@ __metadata:
languageName: node
linkType: hard

"npm-bundled@npm:^2.0.0":
version: 2.0.1
resolution: "npm-bundled@npm:2.0.1"
dependencies:
npm-normalize-package-bin: "npm:^2.0.0"
checksum: 10c0/5b2dc1de455d38200e49c6205dee185ce919ea6b608672c693bec8907116bc5686dabcc150347630d351c1c533315fd60a1910ce00bdad6bb204cef016b90b7d
languageName: node
linkType: hard

"npm-bundled@npm:^3.0.0":
version: 3.0.1
resolution: "npm-bundled@npm:3.0.1"
Expand All @@ -14975,6 +15014,13 @@ __metadata:
languageName: node
linkType: hard

"npm-normalize-package-bin@npm:^2.0.0":
version: 2.0.0
resolution: "npm-normalize-package-bin@npm:2.0.0"
checksum: 10c0/9b5283a2e423124c60fbc14244d36686b59e517d29156eacf9df8d3dc5d5bf4d9444b7669c607567ed2e089bbdbef5a2b3678cbf567284eeff3612da6939514b
languageName: node
linkType: hard

"npm-normalize-package-bin@npm:^3.0.0":
version: 3.0.1
resolution: "npm-normalize-package-bin@npm:3.0.1"
Expand Down Expand Up @@ -15015,6 +15061,20 @@ __metadata:
languageName: node
linkType: hard

"npm-packlist@npm:^5.1.3":
version: 5.1.3
resolution: "npm-packlist@npm:5.1.3"
dependencies:
glob: "npm:^8.0.1"
ignore-walk: "npm:^5.0.1"
npm-bundled: "npm:^2.0.0"
npm-normalize-package-bin: "npm:^2.0.0"
bin:
npm-packlist: bin/index.js
checksum: 10c0/a8bea97661b2a7132bc8832d5560da24f823ee5324429bd16eb82b7873557de14641bc3fed8a7611b0d88b9771e59e99e01a9e551a53adb164327ded6128aada
languageName: node
linkType: hard

"npm-pick-manifest@npm:^1.0.4":
version: 1.0.4
resolution: "npm-pick-manifest@npm:1.0.4"
Expand Down Expand Up @@ -16588,6 +16648,19 @@ __metadata:
languageName: node
linkType: hard

"publint@npm:^0.2.10":
version: 0.2.10
resolution: "publint@npm:0.2.10"
dependencies:
npm-packlist: "npm:^5.1.3"
picocolors: "npm:^1.0.1"
sade: "npm:^1.8.1"
bin:
publint: lib/cli.js
checksum: 10c0/af1b82d0427e3e18a77157cfecf8dd84270540e8209215a434d571f93a3d0e4e0e56caf87efb7ed18b9518806469440d7ea003df0d15b82bf0500f14ff48aa64
languageName: node
linkType: hard

"pump@npm:^1.0.0":
version: 1.0.3
resolution: "pump@npm:1.0.3"
Expand Down Expand Up @@ -17822,6 +17895,15 @@ __metadata:
languageName: node
linkType: hard

"sade@npm:^1.8.1":
version: 1.8.1
resolution: "sade@npm:1.8.1"
dependencies:
mri: "npm:^1.1.0"
checksum: 10c0/da8a3a5d667ad5ce3bf6d4f054bbb9f711103e5df21003c5a5c1a8a77ce12b640ed4017dd423b13c2307ea7e645adee7c2ae3afe8051b9db16a6f6d3da3f90b1
languageName: node
linkType: hard

"safe-array-concat@npm:^1.1.2":
version: 1.1.2
resolution: "safe-array-concat@npm:1.1.2"
Expand Down

0 comments on commit 2e6837e

Please sign in to comment.