Skip to content

Commit

Permalink
chore: add linting for package publication
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Koops <[email protected]>
  • Loading branch information
jonkoops committed Jul 17, 2024
1 parent e9fcee5 commit dc96a64
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 @@ -62,6 +62,7 @@
"mutation-observer": "^1.0.3",
"plop": "^4.0.1",
"prettier": "^3.3.3",
"publint": "^0.2.9",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^5.0.9",
Expand Down Expand Up @@ -94,6 +95,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 @@ -3335,6 +3335,7 @@ __metadata:
mutation-observer: "npm:^1.0.3"
plop: "npm:^4.0.1"
prettier: "npm:^3.3.3"
publint: "npm:^0.2.9"
react: "npm:^18.3.1"
react-dom: "npm:^18.3.1"
rimraf: "npm:^5.0.9"
Expand Down Expand Up @@ -10951,6 +10952,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 @@ -11743,6 +11757,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 @@ -14995,6 +15018,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 @@ -15333,6 +15363,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 @@ -15351,6 +15390,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 @@ -15391,6 +15437,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 @@ -16974,6 +17034,19 @@ __metadata:
languageName: node
linkType: hard

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

"pump@npm:^1.0.0":
version: 1.0.3
resolution: "pump@npm:1.0.3"
Expand Down Expand Up @@ -18243,6 +18316,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 dc96a64

Please sign in to comment.