diff --git a/package.json b/package.json index 031ab2e..3fe678b 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "ci:publish": "pnpm run build && pnpm changeset publish", "ci:snapshot": "pnpm changeset version --snapshot beta", "ci:prerelease": "pnpm run build && pnpm changeset publish --tag beta", + "prepublishOnly": "publish-police", "lint:fix": "eslint . --fix", "prepare": "husky install" }, @@ -99,6 +100,7 @@ "husky": "7.0.4", "lint-staged": "11.2.6", "npm-run-all": "^4.1.5", + "publish-police": "^0.1.0", "remark": "^14.0.3", "remark-cli": "^11.0.0", "rimraf": "3.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e241f76..9c60db4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,6 +15,7 @@ specifiers: husky: 7.0.4 lint-staged: 11.2.6 npm-run-all: ^4.1.5 + publish-police: ^0.1.0 remark: ^14.0.3 remark-cli: ^11.0.0 remark-comment-config: ^7.0.1 @@ -114,6 +115,7 @@ devDependencies: husky: 7.0.4 lint-staged: 11.2.6 npm-run-all: 4.1.5 + publish-police: 0.1.0 remark: 14.0.3 remark-cli: 11.0.0 rimraf: 3.0.2 @@ -2030,6 +2032,10 @@ packages: well-known-symbols: 2.0.0 dev: true + /consola/2.15.3: + resolution: {integrity: sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==} + dev: true + /console-control-strings/1.1.0: resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==} dev: true @@ -3297,6 +3303,17 @@ packages: slash: 3.0.0 dev: true + /globby/13.2.0: + resolution: {integrity: sha512-jWsQfayf13NvqKUIL3Ta+CIqMnvlaIDFveWE/dpOZ9+3AMEJozsxDvKA02zync9UuvOM8rOXzsD5GqKP4OnWPQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + dir-glob: 3.0.1 + fast-glob: 3.2.12 + ignore: 5.2.4 + merge2: 1.4.1 + slash: 4.0.0 + dev: true + /gopd/1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} dependencies: @@ -5519,6 +5536,16 @@ packages: resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} dev: true + /publish-police/0.1.0: + resolution: {integrity: sha512-qIJTAyUKgbNJkr7/m9HKWIKkRI/ZCvS6Rrjx4XFUTVOLskDRA2V55B90Xx0J3zzLvfVg09U1eDId6iiKbpWOsg==} + engines: {node: '>=14'} + hasBin: true + dependencies: + cac: 6.7.14 + consola: 2.15.3 + globby: 13.2.0 + dev: true + /punycode/2.3.0: resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} engines: {node: '>=6'}