From 7e311abcbad606ef136d13ffa706ff08a3f7a594 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Thu, 11 Jul 2024 02:39:09 +0800 Subject: [PATCH] chore: resume building docs on push --- .husky/pre-push | 2 +- package.json | 2 +- pnpm-lock.yaml | 42 +++++++++++++++++++++++------------------- 3 files changed, 25 insertions(+), 21 deletions(-) diff --git a/.husky/pre-push b/.husky/pre-push index f48cbd2e0..05340f7e4 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npm test && npm run build +npm test && npm run build && npm run check-docs diff --git a/package.json b/package.json index 2fc6d945c..de30eb405 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "eslint": "9.6.0", "eslint-config-canonical": "~43.0.13", "espree": "^10.1.0", - "gitdown": "^4.0.0", + "gitdown": "^4.1.0", "glob": "^10.4.2", "globals": "^15.8.0", "husky": "^9.0.11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dece4c064..723ffc50c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -148,8 +148,8 @@ importers: specifier: ^10.1.0 version: 10.1.0 gitdown: - specifier: ^4.0.0 - version: 4.0.0(re2@1.20.9) + specifier: ^4.1.0 + version: 4.1.0(re2@1.20.9) glob: specifier: ^10.4.2 version: 10.4.2 @@ -1707,8 +1707,8 @@ packages: resolution: {integrity: sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==} engines: {node: '>= 0.4'} - array.prototype.reduce@1.0.6: - resolution: {integrity: sha512-UW+Mz8LG/sPSU8jRDCjVr6J/ZKAGpHfwrZ6kWTG5qCxIEiXdVshqGnu5vEZA8S1y6X4aCSbQZ0/EEsfvEvBiSg==} + array.prototype.reduce@1.0.7: + resolution: {integrity: sha512-mzmiUCVwtiD4lgxYP8g7IYy8El8p2CSMePvIbTS7gchKir/L1fgJrk0yDKmAX6mnRQFKNADYIk8nNlTris5H1Q==} engines: {node: '>= 0.4'} array.prototype.toreversed@1.1.2: @@ -2111,8 +2111,8 @@ packages: core-js-pure@3.34.0: resolution: {integrity: sha512-pmhivkYXkymswFfbXsANmBAewXx86UBfmagP+w0wkK06kLsLlTK5oQmsURPivzMkIBQiYq2cjamcZExIwlFQIg==} - core-js@3.34.0: - resolution: {integrity: sha512-aDdvlDder8QmY91H88GzNi9EtQi2TjvQhpCX6B1v/dAZHU1AuLgHvRh54RiOerpEhEW46Tkf+vgAViB/CWC0ag==} + core-js@3.37.1: + resolution: {integrity: sha512-Xn6qmxrQZyB0FFY8E3bgRXei3lWDJHhvI+u0q9TKIYM49G8pAr0FgnnrFRAmsbptZL1yxRADVXn+x5AGsbBfyw==} core-util-is@1.0.2: resolution: {integrity: sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==} @@ -3047,8 +3047,8 @@ packages: git-log-parser@1.2.0: resolution: {integrity: sha512-rnCVNfkTL8tdNryFuaY0fYiBWEBcgF748O6ZI61rslBvr2o7U65c2/6npCRqH40vuAhtgtDiqLTJjBVdrejCzA==} - gitdown@4.0.0: - resolution: {integrity: sha512-yzkDLVzsYkM86p+a3XtW2gdBqs3Jw0cn20Fb/pAaiag5JNzApj7xDM+kcYiFZef/CoIuEr8D+hR1wzgky9ZLYg==} + gitdown@4.1.0: + resolution: {integrity: sha512-CI/r2ksBVjecwuMhjcLkR8+BxULZrG3penxn9TkzdSYdEzjeiUJJr/Q0Gn24kNC/5mafgRNOBCbiERUgIxSyKw==} engines: {node: '>=18'} hasBin: true @@ -4275,8 +4275,8 @@ packages: resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==} engines: {node: '>= 0.4'} - object.getownpropertydescriptors@2.1.7: - resolution: {integrity: sha512-PrJz0C2xJ58FNn11XV2lr4Jt5Gzl94qpy9Lu0JlfEj14z88sqbSBJCBEzdlNUCzY2gburhbrwOZ5BHCmuNUy0g==} + object.getownpropertydescriptors@2.1.8: + resolution: {integrity: sha512-qkHIGe4q0lSYMv0XI4SsBTJz3WaURhLvd0lKSgtVuOsJ2krg4SgMw3PIRQFMp07yi++UR3se2mkcLqsBNpBb/A==} engines: {node: '>= 0.8'} object.hasown@1.1.4: @@ -5975,7 +5975,7 @@ snapshots: '@babel/core': 7.24.7 '@babel/register': 7.24.6(@babel/core@7.24.7) commander: 6.2.1 - core-js: 3.34.0 + core-js: 3.37.1 node-environment-flags: 1.0.6 regenerator-runtime: 0.14.1 v8flags: 3.2.0 @@ -7710,12 +7710,14 @@ snapshots: es-abstract: 1.23.3 es-shim-unscopables: 1.0.2 - array.prototype.reduce@1.0.6: + array.prototype.reduce@1.0.7: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 es-abstract: 1.23.3 es-array-method-boxes-properly: 1.0.0 + es-errors: 1.3.0 + es-object-atoms: 1.0.0 is-string: 1.0.7 array.prototype.toreversed@1.1.2: @@ -7929,7 +7931,7 @@ snapshots: dependencies: '@npmcli/fs': 3.1.0 fs-minipass: 3.0.3 - glob: 10.4.2 + glob: 10.4.5 lru-cache: 10.2.0 minipass: 7.1.2 minipass-collect: 2.0.1 @@ -8179,7 +8181,7 @@ snapshots: core-js-pure@3.34.0: {} - core-js@3.34.0: {} + core-js@3.37.1: {} core-util-is@1.0.2: {} @@ -9455,7 +9457,7 @@ snapshots: through2: 2.0.5 traverse: 0.6.8 - gitdown@4.0.0(re2@1.20.9): + gitdown@4.1.0(re2@1.20.9): dependencies: bluebird: 3.7.2 deadlink: 1.1.3 @@ -10561,7 +10563,7 @@ snapshots: node-environment-flags@1.0.6: dependencies: - object.getownpropertydescriptors: 2.1.7 + object.getownpropertydescriptors: 2.1.8 semver: 5.7.2 node-fetch@2.7.0(encoding@0.1.13): @@ -10574,7 +10576,7 @@ snapshots: dependencies: env-paths: 2.2.1 exponential-backoff: 3.1.1 - glob: 10.4.2 + glob: 10.4.5 graceful-fs: 4.2.11 make-fetch-happen: 13.0.0 nopt: 7.2.0 @@ -10686,12 +10688,14 @@ snapshots: es-abstract: 1.23.3 es-object-atoms: 1.0.0 - object.getownpropertydescriptors@2.1.7: + object.getownpropertydescriptors@2.1.8: dependencies: - array.prototype.reduce: 1.0.6 + array.prototype.reduce: 1.0.7 call-bind: 1.0.7 define-properties: 1.2.1 es-abstract: 1.23.3 + es-object-atoms: 1.0.0 + gopd: 1.0.1 safe-array-concat: 1.1.2 object.hasown@1.1.4: