Skip to content

Repo sync #31413

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

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"post-lints": "node src/content-linter/scripts/post-lints.js",
"postinstall": "cp package-lock.json .installed.package-lock.json && echo \"Updated .installed.package-lock.json\" # see husky/post-checkout and husky/post-merge",
"precompute-pageinfo": "tsx src/pageinfo/scripts/precompute-pageinfo.ts",
"prepare": "husky install src/workflows/husky",
"prepare": "husky src/workflows/husky",
"prettier": "prettier -w \"**/*.{ts,tsx,js,mjs,scss,yml,yaml}\"",
"prettier-check": "prettier -c \"**/*.{ts,tsx,js,mjs,scss,yml,yaml}\"",
"prevent-pushes-to-main": "node src/workflows/prevent-pushes-to-main.js",
Expand Down Expand Up @@ -350,7 +350,7 @@
"event-to-promise": "^0.8.0",
"graphql": "^16.8.1",
"http-status-code": "^2.1.0",
"husky": "^8.0.3",
"husky": "^9.0.8",
"jest": "29.7.0",
"jest-expect-message": "1.1.3",
"jest-fail-on-console": "^3.1.1",
Expand Down
1 change: 0 additions & 1 deletion src/workflows/husky/post-checkout
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/sh
[ -n "$CI" ] && exit 0
. "$(dirname "$0")/_/husky.sh"

# Same process in husky/post-merge
echo "Check if any packages need to be installed"
Expand Down
1 change: 0 additions & 1 deletion src/workflows/husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/sh
[ -n "$CI" ] && exit 0
. "$(dirname "$0")/_/husky.sh"

# Same process in husky/post-checkout
echo "Check if any packages need to be installed"
Expand Down
1 change: 0 additions & 1 deletion src/workflows/husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/sh
[ -n "$CI" ] && exit 0
. "$(dirname "$0")/_/husky.sh"

# The --verbose flag tells lint-staged to *not* swallow the stdout
# output even if it passes.
Expand Down
1 change: 0 additions & 1 deletion src/workflows/husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
[ -n "$CI" ] && exit 0
. "$(dirname "$0")/_/husky.sh"

npm run prevent-pushes-to-main