René's URL Explorer Experiment


Title: Scoped node packages produce invalid config · Issue #268 · pre-commit/pre-commit-mirror-maker · GitHub

Open Graph Title: Scoped node packages produce invalid config · Issue #268 · pre-commit/pre-commit-mirror-maker

X Title: Scoped node packages produce invalid config · Issue #268 · pre-commit/pre-commit-mirror-maker

Description: I'm trying to set up a mirror for @bugron/validate-dependabot-yaml. I'm running: $ pre-commit-mirror . \ --language node \ --package-name '@bugron/validate-dependabot-yaml' \ --id validate-dependabot-cli \ --entry validate-dependabot-yam...

Open Graph Description: I'm trying to set up a mirror for @bugron/validate-dependabot-yaml. I'm running: $ pre-commit-mirror . \ --language node \ --package-name '@bugron/validate-dependabot-yaml' \ --id validate-dependab...

X Description: I'm trying to set up a mirror for @bugron/validate-dependabot-yaml. I'm running: $ pre-commit-mirror . \ --language node \ --package-name '@bugron/validate-dependabot-yaml' \ --id v...

Opengraph URL: https://github.com/pre-commit/pre-commit-mirror-maker/issues/268

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Scoped node packages produce invalid config","articleBody":"I'm trying to set up a mirror for `@bugron/validate-dependabot-yaml`. I'm running:\n\n```\n$ pre-commit-mirror . \\\n  --language node \\\n  --package-name '@bugron/validate-dependabot-yaml' \\\n  --id validate-dependabot-cli \\\n  --entry validate-dependabot-yaml \\\n  --files-regex '^(\\.github|config)/dependabot\\.ya?ml$'\n```\n\nThe produced YAML file ends up with `name: @bugron/validate-dependabot-yaml` (no quotes). The problem is `@` (as the first character) is one of YAML's reserved indicators so this produces invalid YAML and the hook can't load.\n\nOne fix is to change `name: {name}` in the `all/.pre-commit-hooks.yaml` to `name: {name!r}`. This is what we do for `description`.\n\nAnother is to use `pyyaml` to dump the file instead of string formatting, but it's more involvd.\n\nWith either fix I verified that the same `pre-commit-mirror` command produces a valid `.pre-commit-hooks.yaml` file with `name: '@bugron/validate-dependabot-yaml'` (with quotes) and I verified that the repo runs with `pre-commit try-repo`.","author":{"url":"https://github.com/mxr","@type":"Person","name":"mxr"},"datePublished":"2026-07-09T01:28:17Z","url":"https://github.com/pre-commit/pre-commit-mirror-maker/issues/268"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8e208d70-035b-3881-fbd0-118ca34aab86
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCAC8:302FC:106D3B2:160CEF7:6B005E11
html-safe-nonce2c5ec8e2cefe5d93487afe9a564482c707ae09ead24c83a3b71015e66ceb5537
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUM4OjMwMkZDOjEwNkQzQjI6MTYwQ0VGNzo2QjAwNUUxMSIsInZpc2l0b3JfaWQiOiI3NTM0NTQzNzkwNjYxNDU5NDczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc1c01485a5e5ae2dac927ae0b65446803ec9afeb0523974dba65f80404be1f8e
hovercard-subject-tagissue:4842349227
github-keyboard-shortcutsrepository,issues,commits,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pre-commit/pre-commit-mirror-maker/268/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0cd60a42e050b69552a962ecfbf00e519b9b1b648f341d3aafa80834ef39d7f2/pre-commit/pre-commit-mirror-maker/issues/268
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0cd60a42e050b69552a962ecfbf00e519b9b1b648f341d3aafa80834ef39d7f2/pre-commit/pre-commit-mirror-maker/issues/268
og:image:altI'm trying to set up a mirror for @bugron/validate-dependabot-yaml. I'm running: $ pre-commit-mirror . \ --language node \ --package-name '@bugron/validate-dependabot-yaml' \ --id validate-dependab...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemxr
hostnamegithub.com
expected-hostnamegithub.com
None29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73
turbo-cache-controlno-preview
go-importgithub.com/pre-commit/pre-commit-mirror-maker git https://github.com/pre-commit/pre-commit-mirror-maker.git
octolytics-dimension-user_id6943086
octolytics-dimension-user_loginpre-commit
octolytics-dimension-repository_id20654297
octolytics-dimension-repository_nwopre-commit/pre-commit-mirror-maker
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20654297
octolytics-dimension-repository_network_root_nwopre-commit/pre-commit-mirror-maker
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseeacd927ba6112e3b01ba99c762bd699a4a4f5df7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/pre-commit/pre-commit-mirror-maker/issues/268#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit-mirror-maker%2Fissues%2F268
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit-mirror-maker%2Fissues%2F268
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=pre-commit%2Fpre-commit-mirror-maker
Reloadhttps://github.com/pre-commit/pre-commit-mirror-maker/issues/268
Reloadhttps://github.com/pre-commit/pre-commit-mirror-maker/issues/268
Reloadhttps://github.com/pre-commit/pre-commit-mirror-maker/issues/268
pre-commithttps://github.com/pre-commit
pre-commit-mirror-makerhttps://github.com/pre-commit/pre-commit-mirror-maker
Codehttps://github.com/pre-commit/pre-commit-mirror-maker
Issueshttps://github.com/pre-commit/pre-commit-mirror-maker/issues
Pull requestshttps://github.com/pre-commit/pre-commit-mirror-maker/pulls
Actionshttps://github.com/pre-commit/pre-commit-mirror-maker/actions
Security and qualityhttps://github.com/pre-commit/pre-commit-mirror-maker/security
Insightshttps://github.com/pre-commit/pre-commit-mirror-maker/insights
https://github.com/pre-commit/pre-commit-mirror-maker
New issuehttps://github.com/login?return_to=https://github.com/pre-commit/pre-commit-mirror-maker/issues/268
New issuehttps://github.com/login?return_to=https://github.com/pre-commit/pre-commit-mirror-maker/issues/268
#271https://github.com/pre-commit/pre-commit-mirror-maker/pull/271
Scoped node packages produce invalid confighttps://github.com/pre-commit/pre-commit-mirror-maker/issues/268#top
#271https://github.com/pre-commit/pre-commit-mirror-maker/pull/271
https://github.com/mxr
mxrhttps://github.com/mxr
on Jul 9, 2026https://github.com/pre-commit/pre-commit-mirror-maker/issues/268#issue-4842349227
asottilehttps://github.com/asottile
completedhttps://github.com/pre-commit/pre-commit-mirror-maker/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#271https://github.com/pre-commit/pre-commit-mirror-maker/pull/271
on Jul 21, 2026https://github.com/pre-commit/pre-commit-mirror-maker/issues/268#event-28290267843
Sign up for freehttps://github.com/signup?return_to=https://github.com/pre-commit/pre-commit-mirror-maker/issues/268
Sign in to commenthttps://github.com/login?return_to=https://github.com/pre-commit/pre-commit-mirror-maker/issues/268
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.