Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b4bfcda
Update $id URL in prettierrc.json schema
fisker Nov 27, 2025
19f4441
update gitversion schema to 6.7 (#5485)
arturcic Apr 12, 2026
cf458e6
add `package.autolib` to `cargo.json` (#5413)
usamoi Apr 12, 2026
6aaf2f9
Sync some properties of `{ts,js}config.json` (#5551)
hyperupcall Apr 12, 2026
7906f1c
Fix CODEOWNERS so "Anthropic Team" owns `coverage.js` (#5552)
hyperupcall Apr 12, 2026
b266264
Add Knowledge Unit schema (IETF draft-farley-acta-knowledge-units) (#…
tomjwxf Apr 12, 2026
ca25a8f
Allow Node20 in `jsconfig.json` (#5554)
hyperupcall Apr 12, 2026
66bd426
Fix catalog to unmap `app.json` to Expo (#5556)
hyperupcall Apr 12, 2026
26f4f7f
Fix overly broad Ansible `defaults/*` pattern. (#5557)
hyperupcall Apr 12, 2026
45d08e7
Add JSON schema for Rustdoc lints and update Cargo schema references …
ya7010 Apr 12, 2026
50e464c
Add nodemonConfig to package.json schema (#5555)
Copilot Apr 12, 2026
fcf92ca
Update minor and patch dependencies
hyperupcall Apr 12, 2026
1f7f9aa
Update minor and patch dependencies
hyperupcall Apr 12, 2026
ed875d5
Update major versions of dependencies that still support Node v20
hyperupcall Apr 12, 2026
f5e5ccd
Downgrade to `@types/node@20`
hyperupcall Apr 12, 2026
009b4da
This is a combination of 2 commits.
hyperupcall Apr 12, 2026
3c6ab02
Merge pull request #5558 from SchemaStore/hyperupcall-update26
hyperupcall Apr 12, 2026
3a86f50
hyperupcall Apr 12, 2026
fd851f9
Fix Prettier schema URL in `package.json`
hyperupcall Apr 12, 2026
cae4d45
Merge pull request #5173 from fisker/patch-1
hyperupcall Apr 12, 2026
689997a
Remove deprecated codepaths
hyperupcall Apr 12, 2026
75300d9
Merge pull request #5559 from SchemaStore/hyperupcall-removedeprecate
hyperupcall Apr 12, 2026
52b573c
Specify `--fix` as boolean directly to minimist
hyperupcall Apr 12, 2026
a33222a
Merge pull request #5560 from SchemaStore/hyperupcall-fixfix
hyperupcall Apr 12, 2026
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
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ src/negative_test/claude-code-settings/ @domdomegg @bogini @ant-kurt
src/schemas/json/claude-code-keybindings.json @domdomegg @bogini @antrewmorrison
src/test/claude-code-keybindings/ @domdomegg @bogini @antrewmorrison
src/negative_test/claude-code-keybindings/ @domdomegg @bogini @antrewmorrison
src/helpers/coverage.js @domdomegg @bogini @antrewmorrison

# Managed by Convex Team:
src/schemas/json/convex.json @ianmacartney @thomasballinger @Nicolapps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: 'actions/checkout@v6'
- uses: 'actions/setup-node@v6'
with:
node-version: '18'
node-version: '20'
cache: 'npm'
cache-dependency-path: './package-lock.json'
- run: 'npm clean-install'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '18'
node-version: '20'
cache: 'npm'
cache-dependency-path: './package-lock.json'
- run: 'npm clean-install'
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ repos:
- id: 'prettier'
types: [text]
additional_dependencies:
- 'prettier@3.5.3'
- 'prettier-plugin-sort-json@4.1.1'
- 'prettier-plugin-toml@2.0.5'
- 'prettier@3.8.2'
- 'prettier-plugin-sort-json@4.2.0'
- 'prettier-plugin-toml@2.0.3'
pass_filenames: true
args:
[
Expand Down
23 changes: 5 additions & 18 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,13 @@ const SchemaDialects = [
{ draftVersion: 'draft-03', url: 'http://json-schema.org/draft-03/schema#', isActive: false, isTooHigh: false },
]

/** @type {{ _: string[], fix?: boolean, help?: boolean, SchemaName?: string, 'schema-name'?: string, 'unstable-check-with'?: string, 'build-xregistry'?: boolean, 'verify-xregistry'?: boolean }} */
/** @type {{ _: string[], fix?: boolean, help?: boolean, 'schema-name'?: string, 'unstable-check-with'?: string, 'build-xregistry'?: boolean, 'verify-xregistry'?: boolean }} */
const argv = /** @type {any} */ (
minimist(process.argv.slice(2), {
string: ['SchemaName', 'schema-name', 'unstable-check-with'],
boolean: ['help', 'build-xregistry', 'verify-xregistry'],
string: ['schema-name', 'unstable-check-with'],
boolean: ['fix', 'help', 'build-xregistry', 'verify-xregistry'],
})
)
if (argv.SchemaName) {
process.stderr.write(
`WARNING: Please use "--schema-name" instead of "--SchemaName". The flag "--SchemaName" will be removed.\n`,
)
argv['schema-name'] = argv.SchemaName
}

/**
* @typedef {Object} JsonSchemaAny
Expand Down Expand Up @@ -578,7 +572,7 @@ async function taskNewSchema() {

console.log('Enter the name of the schema (without .json extension)')
await handleInput()
async function handleInput(/** @type {string | undefined} */ schemaName) {
async function handleInput(/** @type {string} */ schemaName = '') {
if (!schemaName || schemaName.endsWith('.json')) {
rl.question('input: ', handleInput)
return
Expand Down Expand Up @@ -1702,7 +1696,7 @@ function assertFileHasNoBom(/** @type {DataFile} */ file) {

async function assertFilePassesJsonLint(
/** @type {DataFile} */ file,
/** @type {Record<string, unknown>} */ options,
/** @type {Record<string, unknown> | undefined} */ options = {},
) {
try {
jsonlint.parse(file.text, {
Expand Down Expand Up @@ -2268,16 +2262,9 @@ EXAMPLES:
'build-website': taskBuildWebsite,
'build-xregistry': taskBuildXRegistry,
coverage: taskCoverage,
build: taskCheck, // Undocumented alias.
}
const taskOrFn = argv._[0]
if (taskOrFn in taskMap) {
if (taskOrFn === 'build') {
process.stdout.write(
`WARNING: Please use the "check" task instead of "build". The "build" task will be removed.\n`,
)
}

await taskMap[taskOrFn]()
} else {
eval(`${taskOrFn}()`)
Expand Down
Loading