Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ”¨ Ensure proper package definition #3719

Merged
merged 8 commits into from Apr 4, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build-status.yml
Expand Up @@ -311,6 +311,8 @@ jobs:
run: yarn workspaces foreach -pvi --no-private exec "git restore -s@ -SW -- test-bundle || true"
- name: Check bundles
run: yarn workspaces foreach -pvi --no-private run test-bundle
- name: Check publication lint
run: yarn publint:all
test_types:
name: 'Test types'
needs:
Expand Down
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -18,6 +18,7 @@
"format:check": "prettier --list-different .",
"lint": "eslint . --fix",
"lint:check": "eslint .",
"publint:all": "yarn workspaces foreach -pvi --no-private exec publint",
dubzzz marked this conversation as resolved.
Show resolved Hide resolved
"version:bump": "yarn version check --interactive",
"pack:all": "yarn workspaces foreach -pvi --no-private pack --out package.tgz",
"unpack:all": "yarn workspaces foreach -pvi --no-private exec tar -xvf package.tgz --strip-components=1 --exclude='package/package.json'"
Expand All @@ -29,6 +30,7 @@
"all-contributors-cli": "^6.24.0",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"prettier": "2.8.7"
"prettier": "2.8.7",
"publint": "^0.1.11"
}
}
60 changes: 60 additions & 0 deletions yarn.lock
Expand Up @@ -851,6 +851,7 @@ __metadata:
eslint: ^8.37.0
eslint-config-prettier: ^8.8.0
prettier: 2.8.7
publint: ^0.1.11
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -7881,6 +7882,13 @@ __metadata:
languageName: node
linkType: hard

"mri@npm:^1.1.0":
version: 1.2.0
resolution: "mri@npm:1.2.0"
checksum: 83f515abbcff60150873e424894a2f65d68037e5a7fcde8a9e2b285ee9c13ac581b63cfc1e6826c4732de3aeb84902f7c1e16b7aff46cd3f897a0f757a894e85
languageName: node
linkType: hard

"ms@npm:2.0.0":
version: 2.0.0
resolution: "ms@npm:2.0.0"
Expand Down Expand Up @@ -8080,6 +8088,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: ^2.0.0
checksum: 7747293985c48c5268871efe691545b03731cb80029692000cbdb0b3344b9617be5187aa36281cabbe6b938e3651b4e87236d1c31f9e645eef391a1a779413e6
languageName: node
linkType: hard

"npm-bundled@npm:^3.0.0":
version: 3.0.0
resolution: "npm-bundled@npm:3.0.0"
Expand All @@ -8098,6 +8115,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: 7c5379f9b188b564c4332c97bdd9a5d6b7b15f02b5823b00989d6a0e6fb31eb0280f02b0a924f930e1fcaf00e60fae333aec8923d2a4c7747613c7d629d8aa25
languageName: node
linkType: hard

"npm-normalize-package-bin@npm:^3.0.0":
version: 3.0.0
resolution: "npm-normalize-package-bin@npm:3.0.0"
Expand All @@ -8117,6 +8141,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: ^8.0.1
ignore-walk: ^5.0.1
npm-bundled: ^2.0.0
npm-normalize-package-bin: ^2.0.0
bin:
npm-packlist: bin/index.js
checksum: 94cc9c66740e8f80243301de85eb0a2cec5bbd570c3f26b6ad7af1a3eca155f7e810580dc7ea4448f12a8fd82f6db307e7132a5fe69e157eb45b325acadeb22a
languageName: node
linkType: hard

"npm-packlist@npm:^7.0.0":
version: 7.0.0
resolution: "npm-packlist@npm:7.0.0"
Expand Down Expand Up @@ -8743,6 +8781,19 @@ __metadata:
languageName: node
linkType: hard

"publint@npm:^0.1.11":
version: 0.1.11
resolution: "publint@npm:0.1.11"
dependencies:
npm-packlist: ^5.1.3
picocolors: ^1.0.0
sade: ^1.8.1
bin:
publint: lib/cli.js
checksum: 65b5bb7a2e79933bbe58eb67354d4c4950c8f8a04aef3956d9459280762dd507886b7f11a8b96a96a738cd641d570ab0a4826889ff61963d0d324fdaf70e70f2
languageName: node
linkType: hard

"punycode@npm:^2.1.0, punycode@npm:^2.1.1":
version: 2.1.1
resolution: "punycode@npm:2.1.1"
Expand Down Expand Up @@ -9121,6 +9172,15 @@ __metadata:
languageName: node
linkType: hard

"sade@npm:^1.8.1":
version: 1.8.1
resolution: "sade@npm:1.8.1"
dependencies:
mri: ^1.1.0
checksum: 0756e5b04c51ccdc8221ebffd1548d0ce5a783a44a0fa9017a026659b97d632913e78f7dca59f2496aa996a0be0b0c322afd87ca72ccd909406f49dbffa0f45d
languageName: node
linkType: hard

"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:~5.2.0":
version: 5.2.1
resolution: "safe-buffer@npm:5.2.1"
Expand Down