Skip to content
Open
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
833 changes: 833 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ pre-commit:
commands:
prettier:
glob: "*.{js,ts,jsx,tsx,json,css,html,yml,mdx,md}"
run: pnpm prettier:write {staged_files}
run: bun prettier:write {staged_files}
stage_fixed: true
test:
run: pnpm vitest --run --dom related {staged_files}
run: bun vitest --run --dom related {staged_files}
glob: "*.{js,ts,jsx,tsx}"
fail_text: Tests failed or not found on {staged_files}
check:
run: pnpm tsc --noEmit
run: bun tsc --noEmit
glob: "*.{js,ts,jsx,tsx}"
54 changes: 30 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "codemirror-json-schema",
"name": "codemirror-json-schema-refined",
"license": "MIT",
"version": "0.8.1",
"version": "0.8.2",
"description": "Codemirror 6 extensions that provide full JSONSchema support for `@codemirror/lang-json` and `codemirror-json5`",
"contributors": [
{
Expand All @@ -11,6 +11,10 @@
{
"name": "Rikki Schulte",
"url": "https://rikki.dev"
},
{
"name": "Yusing",
"url": "https://github.com/yusing"
}
],
"keywords": [
Expand All @@ -23,7 +27,7 @@
"editor"
],
"type": "module",
"packageManager": "[email protected]",
"packageManager": "[email protected]",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"main": "cjs/index.js",
Expand Down Expand Up @@ -57,14 +61,16 @@
"repository": "github:acao/codemirror-json-schema",
"homepage": "https://codemirror-json-schema.netlify.app/",
"dependencies": {
"@sagold/json-pointer": "^5.1.1",
"@shikijs/markdown-it": "^1.22.2",
"@sagold/json-pointer": "^7.2.0",
"@shikijs/langs": "^3.15.0",
"@shikijs/markdown-it": "^3.15.0",
"@shikijs/themes": "^3.15.0",
"best-effort-json-parser": "^1.1.2",
"json-schema": "^0.4.0",
"json-schema-library": "^9.3.5",
"json-schema-library": "^10.4.2",
"loglevel": "^1.9.1",
"markdown-it": "^14.1.0",
"shiki": "^1.22.2",
"shiki": "^3.15.0",
"yaml": "^2.3.4"
},
"optionalDependencies": {
Expand All @@ -82,7 +88,7 @@
"@lezer/common": "^1.2.1"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.26.2",
"@codemirror/autocomplete": "^6.16.2",
"@codemirror/commands": "^6.6.0",
Expand All @@ -91,34 +97,34 @@
"@codemirror/state": "^6.4.1",
"@codemirror/theme-one-dark": "^6.1.2",
"@codemirror/view": "^6.27.0",
"@evilmartians/lefthook": "^1.4.6",
"@evilmartians/lefthook": "^2.0.4",
"@lezer/common": "^1.2.1",
"@types/json-schema": "^7.0.12",
"@types/markdown-it": "^13.0.7",
"@types/node": "^20.4.2",
"@vitest/coverage-v8": "^2.0.5",
"@types/markdown-it": "^14.1.2",
"@types/node": "^24.10.1",
"@vitest/coverage-v8": "^4.0.9",
"codemirror-json5": "^1.0.3",
"happy-dom": "^10.3.2",
"jsdom": "^24.1.1",
"happy-dom": "^20.0.10",
"jsdom": "^27.2.0",
"json5": "^2.2.3",
"prettier": "^3.3.3",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.3",
"typedoc": "^0.28.14",
"typedoc-plugin-markdown": "^4.9.0",
"typescript": "^5.5.2",
"vite": "^5.3.1",
"vitest": "^1.6.0",
"vite": "^7.2.2",
"vitest": "^4.0.9",
"vitest-dom": "^0.1.1",
"vite-tsconfig-paths": "^4.3.1"
"vite-tsconfig-paths": "^5.1.4"
},
"scripts": {
"dev": "vite ./dev --port 3000",
"build": "pnpm tsc && tsc --module commonjs --outDir cjs && vite build ./dev --outDir ../public --emptyOutDir",
"build": "bun tsc && bun tsc --module commonjs --outDir cjs && bun vite build ./dev --outDir ../public --emptyOutDir",
"test": "vitest --dom",
"test:coverage": "vitest run --dom --coverage ",
"tsc": "tsc && pnpm replace:env",
"version-packages": "changeset version && pnpm typedoc && pnpm prettier:write CHANGELOG.md && git add package.json pnpm-lock.yaml CHANGELOG.md",
"release": "pnpm build && changeset publish",
"typedoc": "typedoc --out docs src/index.ts src/json5.ts && pnpm prettier:write docs/**/*",
"tsc": "tsc && bun replace:env",
"version-packages": "changeset version && bun typedoc && bun prettier:write CHANGELOG.md && git add package.json bun-lock.yaml CHANGELOG.md",
"release": "bun run build && changeset publish",
"typedoc": "typedoc --out docs src/index.ts src/json5.ts && bun prettier:write docs/**/*",
"prettier:write": "prettier --ignore-path .gitignore --write",
"replace:env": "sh scripts/replace-env.sh"
}
Expand Down
Loading