void 0.10.12 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS_TEMPLATE.md +6 -0
- package/{skills/void/docs/node_modules/void/node_modules/pglite-server/LICENSE.md → LICENSE} +1 -1
- package/README.md +34 -8
- package/dist/{auth-qgMlYp7Z.d.mts → auth-DkcFflXV.d.mts} +10 -11
- package/dist/auth-W9WII-mN.mjs +630 -0
- package/dist/{auth-cmd-BqsdZJp5.mjs → auth-cmd-CYVhSNFy.mjs} +4 -3
- package/dist/{auth-migrations-BTZ-ATvQ.mjs → auth-migrations-9vif1uj8.mjs} +53 -12
- package/dist/{better-auth-shared-BQooDxbw.mjs → better-auth-shared-CYw1T3k4.mjs} +7 -10
- package/dist/{better-auth-shared-DealXecJ.d.mts → better-auth-shared-DSCeohOK.d.mts} +10 -5
- package/dist/{build-cmd-Bujrv5q-.mjs → build-cmd-CkVD1uOh.mjs} +6 -4
- package/dist/{cache-C11V8Fxq.mjs → cache-QcUfR-ff.mjs} +9 -5
- package/dist/{cancel-deploy-fwFYF04b.mjs → cancel-deploy-DsvWKFTe.mjs} +3 -2
- package/dist/cf-access-AJ1ehiFR.mjs +42 -0
- package/dist/cf-access-DsSsZUPr.mjs +67 -0
- package/dist/cli/cli.d.mts +1 -1
- package/dist/cli/cli.mjs +1592 -153
- package/dist/cli/env-schema-probe.d.mts +48 -61
- package/dist/cli/env-schema-probe.mjs +10 -58
- package/dist/{client-Gb71-XkG.mjs → client-CyCHWSO_.mjs} +61 -463
- package/dist/cloudflare-auth-DRkGe7-s.mjs +170 -0
- package/dist/cloudflare-cmd-D3ME2GAe.mjs +62 -0
- package/dist/cloudflare-connect-BivMefMA.mjs +56 -0
- package/dist/cloudflare-operations-CPTpRW6d.mjs +566 -0
- package/dist/{config-BkTvs43g.mjs → config-BQFq7QvD.mjs} +85 -41
- package/dist/{config-CutEMNGJ.mjs → config-NOG_U1aK.mjs} +10 -15
- package/dist/connect-D9Yr-T5f.mjs +79 -0
- package/dist/{create-project-DsYvl3TB.mjs → create-project-DMV-csEm.mjs} +26 -16
- package/dist/database-provider.d.mts +21 -0
- package/dist/database-provider.mjs +6 -0
- package/dist/{db-DOiJMRt2.mjs → db-BxoUWL0F.mjs} +600 -115
- package/dist/{delete-mh6p-zkQ.mjs → delete-iJOqxBz1.mjs} +9 -6
- package/dist/{deploy-u7Rv9q_q.mjs → deploy-CcDoeBIf.mjs} +3451 -1986
- package/dist/dev-inbox-DkgRWLkW.mjs +307 -0
- package/dist/{discover-CJHyvYfR.mjs → discover-xvfrgJeo.mjs} +3 -3
- package/dist/{magic-string.es-ZQjdJFFn.mjs → dist-BR1quN_w.mjs} +570 -216
- package/dist/{dist-DaKKDf8D.mjs → dist-BrsS7cai.mjs} +17 -2
- package/dist/{dist-BuiRJkTd.mjs → dist-m40_XgNh.mjs} +48 -33
- package/dist/{domain-DiaNQbrl.mjs → domain-gu_iaHmn.mjs} +41 -4
- package/dist/dotenv-VQxupEUv.mjs +181 -0
- package/dist/edge.d.mts +2 -0
- package/dist/edge.mjs +2 -0
- package/dist/email-Ce6SQq-i.mjs +182 -0
- package/dist/email-r6DHJyAB.mjs +262 -0
- package/dist/{entry-D7yy4xVH.mjs → entry-DU3oDoQ3.mjs} +2 -2
- package/dist/env-D4Emu-M_.mjs +95 -0
- package/dist/env-DmU2To0C.mjs +73 -0
- package/dist/env-helpers-CyKtOBpj.d.mts +22 -0
- package/dist/env-public-D_6u46fX.d.mts +135 -0
- package/dist/{env-types-QBj-ndax.mjs → env-types-BNPhro-M.mjs} +2 -2
- package/dist/{env-validation-Dea3v3ej.mjs → env-validation-ENpMy6Ez.mjs} +68 -122
- package/dist/{gen-o_w-8yI8.mjs → gen-BKw6qHIg.mjs} +70 -15
- package/dist/{github-cmd-DKcGUNsj.mjs → github-cmd-DJS5Ab-H.mjs} +39 -31
- package/dist/{handler-Cjh8uM3Y.d.mts → handler-D1hLsObx.d.mts} +124 -122
- package/dist/{head-nmvOgFjd.d.mts → head-Do8P4puT.d.mts} +9 -8
- package/dist/{headers-nsHIFixA.mjs → headers-D8QfRX9Y.mjs} +12 -10
- package/dist/inbound-BJ70in1n.d.mts +354 -0
- package/dist/inbound-CNKxb3FY.mjs +694 -0
- package/dist/index.d.mts +61 -34
- package/dist/index.mjs +1048 -321
- package/dist/{init-3rgHKBVi.mjs → init-Dx5cgKqK.mjs} +329 -271
- package/dist/link-D_rm5sRH.mjs +52 -0
- package/dist/{list-CPwFDZ_c.mjs → list-M8XShti7.mjs} +37 -5
- package/dist/{runner-kapo9aPs.mjs → local-d1-BE8KBbMy.mjs} +116 -6
- package/dist/{login-BT3H8PN3.mjs → login-C8-UuLnp.mjs} +17 -15
- package/dist/{logs-Bt313ax7.mjs → logs-DwFU7dMW.mjs} +16 -2
- package/dist/mime-BJD7d_qL.mjs +1216 -0
- package/dist/neon-DHwd2zvC.mjs +54 -0
- package/dist/{node-Da0UcsGA.mjs → node-BkaXcpAc.mjs} +29 -8
- package/dist/operator-cmd-DYWRbWUA.mjs +348 -0
- package/dist/{agents-CtgBYqld.mjs → output-tFQLLj26.mjs} +676 -211
- package/dist/{package-json-Cx1osYo6.mjs → package-json-CPoWX79C.mjs} +1 -1
- package/dist/pages/client.d.mts +43 -41
- package/dist/pages/client.mjs +40 -33
- package/dist/pages/head-client.d.mts +10 -12
- package/dist/pages/head.d.mts +1 -1
- package/dist/pages/index.d.mts +37 -14
- package/dist/pages/index.mjs +5 -5
- package/dist/pages/islands-plugin.d.mts +25 -27
- package/dist/pages/islands-plugin.mjs +6 -4
- package/dist/pages/prefetch.d.mts +6 -7
- package/dist/pages/protocol.d.mts +2 -2
- package/dist/pages/protocol.mjs +2 -1
- package/dist/pages/serialize.d.mts +7 -8
- package/dist/platform-cmd-BEOVv1PN.mjs +123 -0
- package/dist/platform-domain-BszUfiS8.mjs +228 -0
- package/dist/platform-lifecycle-CjSr6xf0.mjs +4450 -0
- package/dist/platform-management-W30iCaTL.mjs +698 -0
- package/dist/platform-recovery-pHHv4ZSg.mjs +99 -0
- package/dist/{plugin-inference-DMeavIJ6.mjs → plugin-inference-BDRfZngg.mjs} +35 -19
- package/dist/prepare-BfJvFUtJ.mjs +14 -0
- package/dist/{prepare-BoKHgMNx.mjs → prepare-CBetXvsN.mjs} +15 -24
- package/dist/{preset-BjyR3lzz.mjs → preset-lAy0B0BQ.mjs} +25 -212
- package/dist/{project-cmd-D_w-4w5B.mjs → project-cmd-DCpk1cDt.mjs} +25 -12
- package/dist/{project-paths-BQd7OmIo.mjs → project-paths-SK8nMHPp.mjs} +3 -1
- package/dist/{project-tsconfig-B-QtXjLQ.mjs → project-tsconfig-Ql2XsSQp.mjs} +2 -2
- package/dist/{protocol-Bnb0LFp3.d.mts → protocol-C-pqYJjE.d.mts} +3 -4
- package/dist/{provision-rShh6MKY.mjs → provision-Blnstcm2.mjs} +78 -45
- package/dist/r2-conditions-D1Wk8i7b.mjs +30 -0
- package/dist/{requests-B8sZxaFM.mjs → requests-Dn8Vheh1.mjs} +5 -3
- package/dist/{resolve-project-BBMtLLV9.mjs → resolve-project--Vxawf7z.mjs} +2 -2
- package/dist/rollback-CtlPXEBi.mjs +166 -0
- package/dist/{rolldown-runtime-DJK8HYOj.mjs → rolldown-runtime-rQ84J-ij.mjs} +1 -1
- package/dist/{route-types-COI2DsZv.mjs → route-types-Da-DpyUp.mjs} +85 -26
- package/dist/routes-stub.d.mts +22 -23
- package/dist/runner-mysql-CgRFl3s6.mjs +61 -0
- package/dist/{runner-pg-CHM76xuC.mjs → runner-pg-DCkWPsWS.mjs} +18 -6
- package/dist/runtime/ai.d.mts +21 -14
- package/dist/runtime/ai.mjs +5 -4
- package/dist/runtime/auth-client-react.d.mts +3 -5
- package/dist/runtime/auth-client-solid.d.mts +3 -5
- package/dist/runtime/auth-client-svelte.d.mts +3 -5
- package/dist/runtime/auth-client-vue.d.mts +3 -5
- package/dist/runtime/auth-client.d.mts +3 -5
- package/dist/runtime/auth.d.mts +1 -1
- package/dist/runtime/better-auth-mysql.d.mts +10 -0
- package/dist/runtime/better-auth-mysql.mjs +49 -0
- package/dist/runtime/better-auth-pg.d.mts +8 -9
- package/dist/runtime/better-auth-pg.mjs +2 -2
- package/dist/runtime/better-auth.d.mts +8 -9
- package/dist/runtime/better-auth.mjs +2 -2
- package/dist/runtime/client-react.d.mts +1 -1
- package/dist/runtime/client-solid.d.mts +1 -1
- package/dist/runtime/client-svelte.d.mts +1 -1
- package/dist/runtime/client-vue.d.mts +1 -1
- package/dist/runtime/client.d.mts +1 -1
- package/dist/runtime/db-mysql.d.mts +2 -0
- package/dist/runtime/db-mysql.mjs +1 -0
- package/dist/runtime/db.d.mts +10 -11
- package/dist/runtime/durable.d.mts +47 -0
- package/dist/runtime/durable.mjs +146 -0
- package/dist/runtime/email/testing.d.mts +112 -0
- package/dist/runtime/email/testing.mjs +283 -0
- package/dist/runtime/email.d.mts +30 -0
- package/dist/runtime/email.mjs +573 -0
- package/dist/runtime/env-helpers.d.mts +2 -2
- package/dist/runtime/env-helpers.mjs +5 -42
- package/dist/runtime/env-public-client.d.mts +10 -11
- package/dist/runtime/env-public-client.mjs +1 -1
- package/dist/runtime/env-public.d.mts +2 -2
- package/dist/runtime/env-public.mjs +104 -49
- package/dist/runtime/env.d.mts +19 -18
- package/dist/runtime/env.mjs +15 -2
- package/dist/runtime/fetch-stream.d.mts +20 -21
- package/dist/runtime/fetch.d.mts +15 -16
- package/dist/runtime/handler.d.mts +1 -1
- package/dist/runtime/isr.d.mts +21 -22
- package/dist/runtime/isr.mjs +26 -8
- package/dist/runtime/kv.d.mts +9 -10
- package/dist/runtime/live-client.d.mts +5 -7
- package/dist/runtime/live-client.mjs +9 -7
- package/dist/runtime/live-server.d.mts +4 -5
- package/dist/runtime/live.d.mts +22 -24
- package/dist/runtime/live.mjs +1 -1
- package/dist/runtime/log.d.mts +16 -17
- package/dist/runtime/migration-handler-mysql.d.mts +4 -0
- package/dist/runtime/migration-handler-mysql.mjs +81 -0
- package/dist/runtime/migration-handler-pg.d.mts +2 -4
- package/dist/runtime/migration-handler.d.mts +5 -6
- package/dist/runtime/migration-handler.mjs +4 -3
- package/dist/runtime/queues.d.mts +3 -4
- package/dist/runtime/queues.mjs +2 -1
- package/dist/runtime/remote/binding-handler.d.mts +10 -12
- package/dist/runtime/remote/binding-handler.mjs +24 -3
- package/dist/runtime/remote/index.d.mts +5 -6
- package/dist/runtime/remote/index.mjs +21 -18
- package/dist/runtime/response.d.mts +10 -11
- package/dist/runtime/sandbox.d.mts +56 -55
- package/dist/runtime/sandbox.mjs +57 -49
- package/dist/runtime/schema-mysql.d.mts +1 -0
- package/dist/runtime/schema-mysql.mjs +2 -0
- package/dist/runtime/seed.d.mts +14 -9
- package/dist/runtime/sse-client.d.mts +6 -7
- package/dist/runtime/sse.d.mts +11 -12
- package/dist/runtime/storage.d.mts +3 -4
- package/dist/runtime/validator.d.mts +1 -1
- package/dist/runtime/ws-server.d.mts +12 -12
- package/dist/runtime/ws-server.mjs +32 -4
- package/dist/runtime/ws.d.mts +19 -21
- package/dist/{scan-DYXkrasO.mjs → scan-BMH4rzlv.mjs} +53 -31
- package/dist/{scan-DEwlM_Xy.mjs → scan-CpK-57ug.mjs} +9 -5
- package/dist/{secret-Dt32J6RI.mjs → secret-BqTxGqki.mjs} +62 -5
- package/dist/{skills-CLjN0uUO.mjs → skills-Q46GZMO-.mjs} +6 -4
- package/dist/{standard-schema-DJ0HW7QP.d.mts → standard-schema-Fo_vCAZh.d.mts} +6 -6
- package/dist/{subcommand-prompt-BzV8iQZo.mjs → subcommand-prompt-WfySCQ7S.mjs} +67 -48
- package/dist/sveltekit.d.mts +12 -11
- package/dist/sveltekit.mjs +1 -1
- package/dist/types-BAp5AEBU.d.mts +79 -0
- package/dist/types-CKWnYgfy.d.mts +1 -0
- package/dist/{validate-Cw_RLeTj.mjs → validate-Bihr8WBi.mjs} +3 -3
- package/dist/wrangler--imS8n0d.mjs +1796 -0
- package/dist/{yarn-pnp-DJn3SAHF.mjs → yarn-pnp-DxSInkzL.mjs} +1 -1
- package/package.json +79 -65
- package/schema.json +35 -3
- package/skills/migrate-vite-cloudflare-to-void/SKILL.md +1 -1
- package/skills/void/SKILL.md +59 -2
- package/skills/void/docs/guide/ai.md +32 -14
- package/skills/void/docs/guide/app-types.md +6 -6
- package/skills/void/docs/guide/auth.md +14 -16
- package/skills/void/docs/guide/database/d1.md +6 -0
- package/skills/void/docs/guide/database/mysql.md +60 -0
- package/skills/void/docs/guide/database/postgresql.md +14 -9
- package/skills/void/docs/guide/database.md +39 -26
- package/skills/void/docs/guide/deployment.md +163 -22
- package/skills/void/docs/guide/durable-state.md +140 -0
- package/skills/void/docs/guide/edge/headers.md +5 -5
- package/skills/void/docs/guide/edge/prerendering.md +2 -0
- package/skills/void/docs/guide/edge/revalidation.md +21 -6
- package/skills/void/docs/guide/edge/rewrites.md +18 -14
- package/skills/void/docs/guide/edge/static-assets.md +23 -8
- package/skills/void/docs/guide/email.md +609 -0
- package/skills/void/docs/guide/env-migration.md +109 -0
- package/skills/void/docs/guide/env-vars.md +70 -248
- package/skills/void/docs/guide/index.md +15 -17
- package/skills/void/docs/guide/jobs.md +8 -5
- package/skills/void/docs/guide/live.md +7 -15
- package/skills/void/docs/guide/pages-routing/actions-and-forms.md +8 -4
- package/skills/void/docs/guide/pages-routing/islands.md +3 -3
- package/skills/void/docs/guide/pages-routing/loaders.md +6 -4
- package/skills/void/docs/guide/pages-routing/overview.md +7 -7
- package/skills/void/docs/guide/platform-administration.md +212 -0
- package/skills/void/docs/guide/platform-development.md +235 -0
- package/skills/void/docs/guide/queues.md +10 -10
- package/skills/void/docs/guide/quickstart.md +46 -67
- package/skills/void/docs/guide/remote-dev.md +8 -6
- package/skills/void/docs/guide/sandboxes.md +33 -16
- package/skills/void/docs/guide/self-hosted-platform.md +553 -0
- package/skills/void/docs/guide/server-routing.md +25 -5
- package/skills/void/docs/guide/sse.md +4 -4
- package/skills/void/docs/guide/ssg.md +5 -3
- package/skills/void/docs/guide/storage.md +2 -2
- package/skills/void/docs/guide/websockets.md +18 -7
- package/skills/void/docs/index.md +3 -3
- package/skills/void/docs/integrations/agents.md +6 -64
- package/skills/void/docs/integrations/cloudflare.md +165 -146
- package/skills/void/docs/integrations/frameworks/analog.md +4 -4
- package/skills/void/docs/integrations/frameworks/astro.md +5 -5
- package/skills/void/docs/integrations/frameworks/nuxt.md +5 -5
- package/skills/void/docs/integrations/frameworks/overview.md +3 -3
- package/skills/void/docs/integrations/frameworks/react-router.md +3 -3
- package/skills/void/docs/integrations/frameworks/sveltekit.md +3 -3
- package/skills/void/docs/integrations/frameworks/tanstack-start.md +2 -2
- package/skills/void/docs/integrations/nodejs-bun-deno.md +11 -4
- package/skills/void/docs/reference/api.md +42 -6
- package/skills/void/docs/reference/cli.md +637 -159
- package/skills/void/docs/reference/config.md +80 -25
- package/skills/void/docs/reference/resource-inference.md +13 -9
- package/skills/void/docs/reference/structure.md +10 -11
- package/AGENT_PROMPT.md +0 -19
- package/dist/cf-access-Bqw81xAf.mjs +0 -22
- package/dist/env-CZy5MorI.mjs +0 -299
- package/dist/env-helpers-z4stu8uc.d.mts +0 -52
- package/dist/env-mask-Dd47NbR6.mjs +0 -90
- package/dist/env-public-BfiLcMBk.d.mts +0 -140
- package/dist/link-CdGHSIy-.mjs +0 -45
- package/dist/mcp-DoM3_nhd.mjs +0 -377
- package/dist/project-paths-GpziKeQQ.d.mts +0 -25
- package/dist/providers-BNKRacMr.d.mts +0 -7
- package/dist/proxy-D-3_D-Gl.mjs +0 -5
- package/dist/rollback-CkvTFXx5.mjs +0 -90
- package/dist/runtime/isr-cache.d.mts +0 -207
- package/dist/runtime/isr-cache.mjs +0 -523
- package/dist/types-lLjNE9Qp.d.mts +0 -51
- package/getting-started-prompt.txt +0 -28
- package/skills/void/command/void.md +0 -7
- package/skills/void/docs/integrations/auth-providers.md +0 -0
- package/skills/void/docs/integrations/payment-processors.md +0 -0
- package/skills/void/docs/node_modules/@iconify/vue/README.md +0 -408
- package/skills/void/docs/node_modules/@iconify/vue/offline/readme.md +0 -5
- package/skills/void/docs/node_modules/@voidzero-dev/vitepress-theme/README.md +0 -103
- package/skills/void/docs/node_modules/oxc-minify/README.md +0 -78
- package/skills/void/docs/node_modules/reka-ui/README.md +0 -80
- package/skills/void/docs/node_modules/vitepress/README.md +0 -28
- package/skills/void/docs/node_modules/vitepress/template/api-examples.md +0 -49
- package/skills/void/docs/node_modules/vitepress/template/index.md +0 -28
- package/skills/void/docs/node_modules/vitepress/template/markdown-examples.md +0 -85
- package/skills/void/docs/node_modules/vitepress-plugin-group-icons/README.md +0 -101
- package/skills/void/docs/node_modules/void/AGENT_PROMPT.md +0 -19
- package/skills/void/docs/node_modules/void/CLAUDE.md +0 -219
- package/skills/void/docs/node_modules/void/README.md +0 -90
- package/skills/void/docs/node_modules/void/node_modules/@clack/prompts/CHANGELOG.md +0 -685
- package/skills/void/docs/node_modules/void/node_modules/@clack/prompts/README.md +0 -396
- package/skills/void/docs/node_modules/void/node_modules/@cloudflare/sandbox/README.md +0 -219
- package/skills/void/docs/node_modules/void/node_modules/@cloudflare/vite-plugin/README.md +0 -37
- package/skills/void/docs/node_modules/void/node_modules/@cloudflare/workers-types/README.md +0 -135
- package/skills/void/docs/node_modules/void/node_modules/@electric-sql/pglite/README.md +0 -189
- package/skills/void/docs/node_modules/void/node_modules/@hono/oauth-providers/CHANGELOG.md +0 -143
- package/skills/void/docs/node_modules/void/node_modules/@hono/oauth-providers/README.md +0 -1272
- package/skills/void/docs/node_modules/void/node_modules/@napi-rs/keyring/README.md +0 -19
- package/skills/void/docs/node_modules/void/node_modules/@types/better-sqlite3/README.md +0 -15
- package/skills/void/docs/node_modules/void/node_modules/@types/node/README.md +0 -15
- package/skills/void/docs/node_modules/void/node_modules/@types/pg/README.md +0 -15
- package/skills/void/docs/node_modules/void/node_modules/@types/proper-lockfile/README.md +0 -51
- package/skills/void/docs/node_modules/void/node_modules/@typescript/native-preview/README.md +0 -22
- package/skills/void/docs/node_modules/void/node_modules/@typescript/native-preview/vendor/vscode-jsonrpc/README.md +0 -69
- package/skills/void/docs/node_modules/void/node_modules/@void/md/README.md +0 -153
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@shikijs/engine-javascript/README.md +0 -9
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@shikijs/transformers/README.md +0 -9
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@types/node/README.md +0 -15
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/gray-matter/CHANGELOG.md +0 -24
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/gray-matter/README.md +0 -565
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-exit/README.md +0 -127
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-anchor/README.md +0 -600
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-attrs/README.md +0 -386
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-container/README.md +0 -95
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-emoji/README.md +0 -101
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/markdown-it-footnote/README.md +0 -135
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/pathslash/README.md +0 -64
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/shiki/README.md +0 -15
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/tinyglobby/README.md +0 -25
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/AGENTS.md +0 -16
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/README.md +0 -220
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/build.md +0 -21
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/check.md +0 -35
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/create.md +0 -70
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/fmt.md +0 -20
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/index.md +0 -35
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/lint.md +0 -26
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/pack.md +0 -17
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/run.md +0 -364
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/staged.md +0 -15
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/test.md +0 -18
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/automatic-data-tracking.md +0 -145
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/build.md +0 -40
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/cache.md +0 -107
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/check.md +0 -60
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/ci.md +0 -62
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/commit-hooks.md +0 -60
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/create.md +0 -341
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/dev.md +0 -24
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/docker.md +0 -175
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/env.md +0 -167
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/fmt.md +0 -41
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/github-actions-cache.md +0 -165
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/ide-integration.md +0 -101
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/implode.md +0 -23
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/index.md +0 -134
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/install.md +0 -199
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/lint.md +0 -50
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/migrate-rules.md +0 -347
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/migrate.md +0 -197
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/monorepo.md +0 -176
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/pack.md +0 -69
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/run.md +0 -356
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/test.md +0 -35
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/troubleshooting.md +0 -108
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/upgrade.md +0 -101
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/vpx.md +0 -66
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/why.md +0 -39
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/index.md +0 -12
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/team.md +0 -35
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/templates/generator/README.md +0 -35
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/templates/monorepo/README.md +0 -29
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vue/README.md +0 -58
- package/skills/void/docs/node_modules/void/node_modules/arktype/README.md +0 -165
- package/skills/void/docs/node_modules/void/node_modules/better-auth/LICENSE.md +0 -20
- package/skills/void/docs/node_modules/void/node_modules/better-auth/README.md +0 -32
- package/skills/void/docs/node_modules/void/node_modules/better-sqlite3/README.md +0 -99
- package/skills/void/docs/node_modules/void/node_modules/blake3-jit/README.md +0 -108
- package/skills/void/docs/node_modules/void/node_modules/drizzle-arktype/README.md +0 -51
- package/skills/void/docs/node_modules/void/node_modules/drizzle-kit/README.md +0 -79
- package/skills/void/docs/node_modules/void/node_modules/drizzle-orm/README.md +0 -44
- package/skills/void/docs/node_modules/void/node_modules/drizzle-valibot/README.md +0 -51
- package/skills/void/docs/node_modules/void/node_modules/drizzle-zod/README.md +0 -65
- package/skills/void/docs/node_modules/void/node_modules/es-module-lexer/README.md +0 -403
- package/skills/void/docs/node_modules/void/node_modules/estree-walker/README.md +0 -48
- package/skills/void/docs/node_modules/void/node_modules/hono/README.md +0 -85
- package/skills/void/docs/node_modules/void/node_modules/ignore/README.md +0 -452
- package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/CHANGELOG.md +0 -76
- package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/LICENSE.md +0 -21
- package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/README.md +0 -364
- package/skills/void/docs/node_modules/void/node_modules/jsonc-parser/SECURITY.md +0 -41
- package/skills/void/docs/node_modules/void/node_modules/magic-string/README.md +0 -325
- package/skills/void/docs/node_modules/void/node_modules/ofetch/README.md +0 -398
- package/skills/void/docs/node_modules/void/node_modules/pathslash/README.md +0 -64
- package/skills/void/docs/node_modules/void/node_modules/pg/README.md +0 -96
- package/skills/void/docs/node_modules/void/node_modules/pglite-server/README.md +0 -135
- package/skills/void/docs/node_modules/void/node_modules/picocolors/README.md +0 -21
- package/skills/void/docs/node_modules/void/node_modules/proper-lockfile/CHANGELOG.md +0 -108
- package/skills/void/docs/node_modules/void/node_modules/proper-lockfile/README.md +0 -183
- package/skills/void/docs/node_modules/void/node_modules/tinyglobby/README.md +0 -25
- package/skills/void/docs/node_modules/void/node_modules/valibot/LICENSE.md +0 -9
- package/skills/void/docs/node_modules/void/node_modules/valibot/README.md +0 -94
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/AGENTS.md +0 -16
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/README.md +0 -220
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/build.md +0 -21
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/check.md +0 -35
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/create.md +0 -70
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/fmt.md +0 -20
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/index.md +0 -35
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/lint.md +0 -26
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/pack.md +0 -17
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/run.md +0 -364
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/staged.md +0 -15
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/test.md +0 -18
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/automatic-data-tracking.md +0 -145
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/build.md +0 -40
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/cache.md +0 -107
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/check.md +0 -60
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/ci.md +0 -62
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/commit-hooks.md +0 -60
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/create.md +0 -341
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/dev.md +0 -24
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/docker.md +0 -175
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/env.md +0 -167
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/fmt.md +0 -41
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/github-actions-cache.md +0 -165
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/ide-integration.md +0 -101
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/implode.md +0 -23
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/index.md +0 -134
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/install.md +0 -199
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/lint.md +0 -50
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/migrate-rules.md +0 -347
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/migrate.md +0 -197
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/monorepo.md +0 -176
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/pack.md +0 -69
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/run.md +0 -356
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/test.md +0 -35
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/troubleshooting.md +0 -108
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/upgrade.md +0 -101
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/vpx.md +0 -66
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/why.md +0 -39
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/index.md +0 -12
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/team.md +0 -35
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/templates/generator/README.md +0 -35
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/templates/monorepo/README.md +0 -29
- package/skills/void/docs/node_modules/void/node_modules/wrangler/README.md +0 -63
- package/skills/void/docs/node_modules/void/node_modules/zod/README.md +0 -191
- package/skills/void/docs/node_modules/void/skills/migrate-vite-cloudflare-to-void/SKILL.md +0 -175
- package/skills/void/docs/node_modules/void/skills/void/SKILL.md +0 -76
- package/skills/void/docs/node_modules/void/skills/void/command/void.md +0 -7
- package/skills/void/docs/node_modules/void/test/e2e/README.md +0 -85
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
# markdown-it-footnote
|
|
2
|
-
|
|
3
|
-
[](https://github.com/markdown-it/markdown-it-footnote/actions/workflows/ci.yml)
|
|
4
|
-
[](https://www.npmjs.org/package/markdown-it-footnote)
|
|
5
|
-
[](https://coveralls.io/r/markdown-it/markdown-it-footnote?branch=master)
|
|
6
|
-
|
|
7
|
-
> Footnotes plugin for [markdown-it](https://github.com/markdown-it/markdown-it) markdown parser.
|
|
8
|
-
|
|
9
|
-
__v2.+ requires `markdown-it` v5.+, see changelog.__
|
|
10
|
-
|
|
11
|
-
Markup is based on [pandoc](http://johnmacfarlane.net/pandoc/README.html#footnotes) definition.
|
|
12
|
-
|
|
13
|
-
__Normal footnote__:
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
Here is a footnote reference,[^1] and another.[^longnote]
|
|
17
|
-
|
|
18
|
-
[^1]: Here is the footnote.
|
|
19
|
-
|
|
20
|
-
[^longnote]: Here's one with multiple blocks.
|
|
21
|
-
|
|
22
|
-
Subsequent paragraphs are indented to show that they
|
|
23
|
-
belong to the previous footnote.
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
html:
|
|
27
|
-
|
|
28
|
-
```html
|
|
29
|
-
<p>Here is a footnote reference,<sup class="footnote-ref"><a href="#fn1" id="fnref1">[1]</a></sup> and another.<sup class="footnote-ref"><a href="#fn2" id="fnref2">[2]</a></sup></p>
|
|
30
|
-
<p>This paragraph won’t be part of the note, because it
|
|
31
|
-
isn’t indented.</p>
|
|
32
|
-
<hr class="footnotes-sep">
|
|
33
|
-
<section class="footnotes">
|
|
34
|
-
<ol class="footnotes-list">
|
|
35
|
-
<li id="fn1" class="footnote-item"><p>Here is the footnote. <a href="#fnref1" class="footnote-backref">↩</a></p>
|
|
36
|
-
</li>
|
|
37
|
-
<li id="fn2" class="footnote-item"><p>Here’s one with multiple blocks.</p>
|
|
38
|
-
<p>Subsequent paragraphs are indented to show that they
|
|
39
|
-
belong to the previous footnote. <a href="#fnref2" class="footnote-backref">↩</a></p>
|
|
40
|
-
</li>
|
|
41
|
-
</ol>
|
|
42
|
-
</section>
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
__Inline footnote__:
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
Here is an inline note.^[Inlines notes are easier to write, since
|
|
49
|
-
you don't have to pick an identifier and move down to type the
|
|
50
|
-
note.]
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
html:
|
|
54
|
-
|
|
55
|
-
```html
|
|
56
|
-
<p>Here is an inline note.<sup class="footnote-ref"><a href="#fn1" id="fnref1">[1]</a></sup></p>
|
|
57
|
-
<hr class="footnotes-sep">
|
|
58
|
-
<section class="footnotes">
|
|
59
|
-
<ol class="footnotes-list">
|
|
60
|
-
<li id="fn1" class="footnote-item"><p>Inlines notes are easier to write, since
|
|
61
|
-
you don’t have to pick an identifier and move down to type the
|
|
62
|
-
note. <a href="#fnref1" class="footnote-backref">↩</a></p>
|
|
63
|
-
</li>
|
|
64
|
-
</ol>
|
|
65
|
-
</section>
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
## Install
|
|
70
|
-
|
|
71
|
-
node.js, browser:
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
npm install markdown-it-footnote --save
|
|
75
|
-
bower install markdown-it-footnote --save
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
## Use
|
|
79
|
-
|
|
80
|
-
```js
|
|
81
|
-
var md = require('markdown-it')()
|
|
82
|
-
.use(require('markdown-it-footnote'));
|
|
83
|
-
|
|
84
|
-
md.render(/*...*/) // See examples above
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
_Differences in browser._ If you load script directly into the page, without
|
|
88
|
-
package system, module will add itself globally as `window.markdownitFootnote`.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
### Customize
|
|
92
|
-
|
|
93
|
-
If you want to customize the output, you'll need to replace the template
|
|
94
|
-
functions. To see which templates exist and their default implementations,
|
|
95
|
-
look in [`index.js`](index.js). The API of these template functions is out of
|
|
96
|
-
scope for this plugin's documentation; you can read more about it [in the
|
|
97
|
-
markdown-it
|
|
98
|
-
documentation](https://github.com/markdown-it/markdown-it/blob/master/docs/architecture.md#renderer).
|
|
99
|
-
|
|
100
|
-
To demonstrate with an example, here is how you might replace the `<hr>` that
|
|
101
|
-
this plugin emits by default with an `<h4>` emitted by your own template
|
|
102
|
-
function override:
|
|
103
|
-
|
|
104
|
-
```js
|
|
105
|
-
const md = require('markdown-it')().use(require('markdown-it-footnote'));
|
|
106
|
-
|
|
107
|
-
md.renderer.rules.footnote_block_open = () => (
|
|
108
|
-
'<h4 class="mt-3">Footnotes</h4>\n' +
|
|
109
|
-
'<section class="footnotes">\n' +
|
|
110
|
-
'<ol class="footnotes-list">\n'
|
|
111
|
-
);
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
Here's another example that customizes footnotes for epub books:
|
|
115
|
-
|
|
116
|
-
```js
|
|
117
|
-
const backrefLabel = 'back to text';
|
|
118
|
-
|
|
119
|
-
const epubRules = {
|
|
120
|
-
footnote_ref: ['<a', '<a epub:type="noteref"'],
|
|
121
|
-
footnote_open: ['<li', '<li epub:type="footnote"'],
|
|
122
|
-
footnote_anchor: ['<a', `<a aria-label="${backrefLabel}"`],
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
Object.keys(epubRules).map(rule => {
|
|
126
|
-
let defaultRender = md.renderer.rules[rule];
|
|
127
|
-
md.renderer.rules[rule] = (tokens, idx, options, env, self) => {
|
|
128
|
-
return defaultRender(tokens, idx, options, env, self).replace(...epubRules[rule]);
|
|
129
|
-
}
|
|
130
|
-
})
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
## License
|
|
134
|
-
|
|
135
|
-
[MIT](https://github.com/markdown-it/markdown-it-footnote/blob/master/LICENSE)
|
package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/pathslash/README.md
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
# pathslash
|
|
2
|
-
|
|
3
|
-
> `node:path`, platform-correct, with forward-slash output.
|
|
4
|
-
|
|
5
|
-
`pathslash` is a tiny wrapper around `node:path` that always outputs forward slashes (`/`) while keeping the correct per-platform semantics. It never reimplements path logic. Every function delegates to `node:path` and only flips the separators in the result.
|
|
6
|
-
|
|
7
|
-
## Why
|
|
8
|
-
|
|
9
|
-
- **Forward slashes everywhere.** On Windows, the `win32` functions output `/` instead of `\`, which is what bundlers, route maps, and URLs expect.
|
|
10
|
-
- **Correct semantics for free.** Drive letters, UNC paths, and case-insensitive `relative` behave exactly as in `node:path`, because they _are_ `node:path`.
|
|
11
|
-
- **POSIX-safe.** On POSIX, a backslash is a valid filename character, so it is never rewritten there.
|
|
12
|
-
- **A typed drop-in.** Same API and types as `node:path`.
|
|
13
|
-
|
|
14
|
-
## Install
|
|
15
|
-
|
|
16
|
-
```sh
|
|
17
|
-
npm i pathslash
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Usage
|
|
21
|
-
|
|
22
|
-
The default export and the top-level named exports follow the host platform, exactly like `node:path`:
|
|
23
|
-
|
|
24
|
-
```ts
|
|
25
|
-
import path, { join } from "pathslash";
|
|
26
|
-
|
|
27
|
-
join("src", "a.ts"); // 'src/a.ts'
|
|
28
|
-
path.sep; // '/'
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
To force a specific platform, use the `win32` and `posix` namespaces. They work on any host OS:
|
|
32
|
-
|
|
33
|
-
```ts
|
|
34
|
-
import { win32, posix } from "pathslash";
|
|
35
|
-
|
|
36
|
-
win32.join("C:\\a", "b"); // 'C:/a/b' (forward slashes)
|
|
37
|
-
win32.normalize("C:\\a\\..\\b"); // 'C:/b'
|
|
38
|
-
win32.relative("C:/Foo/Bar", "C:/foo/baz"); // '../baz' (case-insensitive)
|
|
39
|
-
|
|
40
|
-
posix.join("a", "b\\c"); // 'a/b\\c' (backslash kept)
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### `toSlash(path)`
|
|
44
|
-
|
|
45
|
-
Safely normalizes separators to `/`. On Windows it converts `\` to `/`. On POSIX it returns the path unchanged, because a backslash is a valid filename character there and rewriting it would corrupt the path. Use it for paths that come from outside this package, such as `process.cwd()`:
|
|
46
|
-
|
|
47
|
-
```ts
|
|
48
|
-
import { toSlash } from "pathslash";
|
|
49
|
-
|
|
50
|
-
toSlash("C:\\a\\b"); // 'C:/a/b' on Windows, unchanged on POSIX
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## Notes
|
|
54
|
-
|
|
55
|
-
- `win32.sep` is `"/"` instead of `"\\"`, and `win32.delimiter` stays `";"`.
|
|
56
|
-
- `\\?\` (extended-length) paths stay verbatim. `toSlash` and every `win32.*` function leave them untouched, because a forward slash is a literal character there, not a separator.
|
|
57
|
-
- `toNamespacedPath` always returns a native, backslash path, since `\\?\` paths are only valid with backslashes.
|
|
58
|
-
- `matchesGlob` mirrors `node:path`. It exists only on Node versions that ship it (22.5+) and is `undefined` on older ones.
|
|
59
|
-
- The types are a drop-in too: `import type { ParsedPath, FormatInputPathObject, PlatformPath } from "pathslash"`.
|
|
60
|
-
- Everything else matches `node:path`, separators aside.
|
|
61
|
-
|
|
62
|
-
## License
|
|
63
|
-
|
|
64
|
-
[MIT](./LICENSE)
|
package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/shiki/README.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<img src="https://raw.githubusercontent.com/shikijs/shiki/main/docs/public/logo.svg" width="150" alt="Shiki Logo" />
|
|
2
|
-
|
|
3
|
-
# Shiki 式
|
|
4
|
-
|
|
5
|
-
[](https://www.npmjs.com/package/shiki)
|
|
6
|
-
[](https://www.npmjs.com/package/shiki)
|
|
7
|
-
[](https://app.codecov.io/gh/shikijs/shiki)
|
|
8
|
-
|
|
9
|
-
A beautiful syntax highlighter based on TextMate grammars, accurate and powerful.
|
|
10
|
-
|
|
11
|
-
[📚 **Documentation**](https://shiki.style)
|
|
12
|
-
|
|
13
|
-
## License
|
|
14
|
-
|
|
15
|
-
[MIT](./LICENSE)
|
package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/tinyglobby/README.md
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# tinyglobby
|
|
2
|
-
|
|
3
|
-
[](https://npmjs.com/package/tinyglobby)
|
|
4
|
-
[](https://npmjs.com/package/tinyglobby)
|
|
5
|
-
|
|
6
|
-
A fast and minimal alternative to globby and fast-glob, meant to behave the same way.
|
|
7
|
-
|
|
8
|
-
Both globby and fast-glob present some behavior no other globbing lib has,
|
|
9
|
-
which makes it hard to manually replace with something smaller and better.
|
|
10
|
-
|
|
11
|
-
This library uses only two subdependencies, compared to `globby`'s [23](https://npmgraph.js.org/?q=globby@16.2.0)
|
|
12
|
-
and `fast-glob`'s [17](https://npmgraph.js.org/?q=fast-glob@3.3.3).
|
|
13
|
-
|
|
14
|
-
## Usage
|
|
15
|
-
|
|
16
|
-
```js
|
|
17
|
-
import { glob, globSync } from 'tinyglobby';
|
|
18
|
-
|
|
19
|
-
await glob(['files/*.ts', '!**/*.d.ts'], { cwd: 'src' });
|
|
20
|
-
globSync('src/**/*.ts', { ignore: '**/*.d.ts' });
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Documentation
|
|
24
|
-
|
|
25
|
-
Visit https://superchupu.dev/tinyglobby to read the full documentation.
|
package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/AGENTS.md
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!--VITE PLUS START-->
|
|
2
|
-
|
|
3
|
-
# Using Vite+, the Unified Toolchain for the Web
|
|
4
|
-
|
|
5
|
-
This project is using Vite+, a unified toolchain built on top of Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task. Vite+ wraps runtime management, package management, and frontend tooling in a single global CLI called `vp`. Vite+ is distinct from Vite, and it invokes Vite through `vp dev` and `vp build`. Run `vp help` to print a list of commands and `vp <command> --help` for information about a specific command.
|
|
6
|
-
|
|
7
|
-
Docs are local at `node_modules/vite-plus/docs` or online at https://viteplus.dev/guide/.
|
|
8
|
-
|
|
9
|
-
## Review Checklist
|
|
10
|
-
|
|
11
|
-
- [ ] Run `vp install` after pulling remote changes and before getting started.
|
|
12
|
-
- [ ] Run `vp check` and `vp test` to format, lint, type check and test changes.
|
|
13
|
-
- [ ] Check if there are `vite.config.ts` tasks or `package.json` scripts necessary for validation, run via `vp run <script>`.
|
|
14
|
-
- [ ] If setup, runtime, or package-manager behavior looks wrong, run `vp env doctor` and include its output when asking for help.
|
|
15
|
-
|
|
16
|
-
<!--VITE PLUS END-->
|
package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/README.md
DELETED
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
# VITE+(⚡︎) Local CLI
|
|
2
|
-
|
|
3
|
-
**The Unified Toolchain for the Web**
|
|
4
|
-
_runtime and package management, create, dev, check, test, build, pack, and monorepo task caching in a single dependency_
|
|
5
|
-
|
|
6
|
-
This package provides the project-local version of Vite+. The global `vp` command automatically delegates to this package for all project-specific tasks.
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
Vite+ is the unified entry point for local web development. It combines [Vite](https://vite.dev/), [Vitest](https://vitest.dev/), [Oxlint](https://oxc.rs/docs/guide/usage/linter.html), [Oxfmt](https://oxc.rs/docs/guide/usage/formatter.html), [Rolldown](https://rolldown.rs/), [tsdown](https://tsdown.dev/), and [Vite Task](https://github.com/voidzero-dev/vite-task) into one zero-config toolchain that also manages runtime and package manager workflows:
|
|
11
|
-
|
|
12
|
-
- **`vp env`:** Manage Node.js globally and per project
|
|
13
|
-
- **`vp install`:** Install dependencies with automatic package manager detection
|
|
14
|
-
- **`vp dev`:** Run Vite's fast native ESM dev server with instant HMR
|
|
15
|
-
- **`vp check`:** Run formatting, linting, and type checks in one command
|
|
16
|
-
- **`vp test`:** Run tests through bundled Vitest
|
|
17
|
-
- **`vp build`:** Build applications for production with Vite + Rolldown
|
|
18
|
-
- **`vp run`:** Execute monorepo tasks with caching and dependency-aware scheduling
|
|
19
|
-
- **`vp pack`:** Build libraries for npm publishing or standalone app binaries
|
|
20
|
-
- **`vp create` / `vp migrate`:** Scaffold new projects and migrate existing ones
|
|
21
|
-
|
|
22
|
-
All of this is configured from your project root and works across Vite's framework ecosystem.
|
|
23
|
-
Vite+ is fully open-source under the MIT license.
|
|
24
|
-
|
|
25
|
-
## Getting Started
|
|
26
|
-
|
|
27
|
-
Install Vite+ globally as `vp`:
|
|
28
|
-
|
|
29
|
-
For Linux or macOS:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
curl -fsSL https://vite.plus | bash
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
For Windows:
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
irm https://viteplus.dev/install.ps1 | iex
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
`vp` handles the full development lifecycle such as package management, development servers, linting, formatting, testing and building for production.
|
|
42
|
-
|
|
43
|
-
## Configuring Vite+
|
|
44
|
-
|
|
45
|
-
Vite+ can be configured using a single `vite.config.ts` at the root of your project:
|
|
46
|
-
|
|
47
|
-
```ts
|
|
48
|
-
import { defineConfig } from 'vite-plus';
|
|
49
|
-
|
|
50
|
-
export default defineConfig({
|
|
51
|
-
// Standard Vite configuration for dev/build/preview.
|
|
52
|
-
plugins: [],
|
|
53
|
-
|
|
54
|
-
// Vitest configuration.
|
|
55
|
-
test: {
|
|
56
|
-
include: ['src/**/*.test.ts'],
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
// Oxlint configuration.
|
|
60
|
-
lint: {
|
|
61
|
-
ignorePatterns: ['dist/**'],
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
// Oxfmt configuration.
|
|
65
|
-
fmt: {
|
|
66
|
-
semi: true,
|
|
67
|
-
singleQuote: true,
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
// Vite Task configuration.
|
|
71
|
-
run: {
|
|
72
|
-
tasks: {
|
|
73
|
-
'generate:icons': {
|
|
74
|
-
command: 'node scripts/generate-icons.js',
|
|
75
|
-
envs: ['ICON_THEME'],
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
// `vp staged` configuration.
|
|
81
|
-
staged: {
|
|
82
|
-
'*': 'vp check --fix',
|
|
83
|
-
},
|
|
84
|
-
});
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
This lets you keep the configuration for your development server, build, test, lint, format, task runner, and staged-file workflow in one place with type-safe config and shared defaults.
|
|
88
|
-
|
|
89
|
-
Use `vp migrate` to migrate to Vite+. It merges tool-specific config files such as `.oxlintrc*`, `.oxfmtrc*`, and lint-staged config into `vite.config.ts`.
|
|
90
|
-
|
|
91
|
-
### CLI Workflows (`vp help`)
|
|
92
|
-
|
|
93
|
-
#### Start
|
|
94
|
-
|
|
95
|
-
- **create** - Create a new project from a template
|
|
96
|
-
- **migrate** - Migrate an existing project to Vite+
|
|
97
|
-
- **config** - Configure hooks and agent integration
|
|
98
|
-
- **staged** - Run linters on staged files
|
|
99
|
-
- **install** (`i`) - Install dependencies
|
|
100
|
-
- **env** - Manage Node.js versions
|
|
101
|
-
|
|
102
|
-
#### Develop
|
|
103
|
-
|
|
104
|
-
- **dev** - Run the development server
|
|
105
|
-
- **check** - Run format, lint, and type checks
|
|
106
|
-
- **lint** - Lint code
|
|
107
|
-
- **fmt** - Format code
|
|
108
|
-
- **test** - Run tests
|
|
109
|
-
|
|
110
|
-
#### Execute
|
|
111
|
-
|
|
112
|
-
- **run** - Run monorepo tasks
|
|
113
|
-
- **exec** - Execute a command from local `node_modules/.bin`
|
|
114
|
-
- **node** - Run a Node.js script with the resolved Vite+ environment
|
|
115
|
-
- **dlx** - Execute a package binary without installing it as a dependency
|
|
116
|
-
- **cache** - Manage the task cache
|
|
117
|
-
|
|
118
|
-
#### Build
|
|
119
|
-
|
|
120
|
-
- **build** - Build for production
|
|
121
|
-
- **pack** - Build libraries
|
|
122
|
-
- **preview** - Preview production build
|
|
123
|
-
|
|
124
|
-
#### Manage Dependencies
|
|
125
|
-
|
|
126
|
-
Vite+ automatically wraps your package manager (pnpm, npm, Yarn, or Bun) based on `packageManager` and lockfiles:
|
|
127
|
-
|
|
128
|
-
- **add** - Add packages to dependencies
|
|
129
|
-
- **remove** (`rm`, `un`, `uninstall`) - Remove packages from dependencies
|
|
130
|
-
- **update** (`up`) - Update packages to latest versions
|
|
131
|
-
- **dedupe** - Deduplicate dependencies
|
|
132
|
-
- **outdated** - Check outdated packages
|
|
133
|
-
- **list** (`ls`) - List installed packages
|
|
134
|
-
- **why** (`explain`) - Show why a package is installed
|
|
135
|
-
- **info** (`view`, `show`) - View package metadata from the registry
|
|
136
|
-
- **link** (`ln`) / **unlink** - Manage local package links
|
|
137
|
-
- **rebuild** - Rebuild native modules
|
|
138
|
-
- **pm** - Forward a command to the package manager
|
|
139
|
-
|
|
140
|
-
#### Maintain
|
|
141
|
-
|
|
142
|
-
- **upgrade** - Update `vp` itself to the latest version
|
|
143
|
-
- **implode** - Remove `vp` and all related data
|
|
144
|
-
|
|
145
|
-
### Scaffolding your first Vite+ project
|
|
146
|
-
|
|
147
|
-
Use `vp create` to create a new project:
|
|
148
|
-
|
|
149
|
-
```bash
|
|
150
|
-
vp create
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
You can run `vp create` inside of a project to add new apps or libraries to your project.
|
|
154
|
-
|
|
155
|
-
Organizations can expose a curated set of templates under their npm scope by
|
|
156
|
-
publishing `@org/create` with a `createConfig.templates` manifest in its `package.json`.
|
|
157
|
-
Once published, `vp create @org` opens an interactive picker over those
|
|
158
|
-
templates, and setting `create: { defaultTemplate: '@org' }` in
|
|
159
|
-
`vite.config.ts` makes it the default for bare `vp create`. See the
|
|
160
|
-
[Organization Templates guide](https://viteplus.dev/guide/create#organization-templates)
|
|
161
|
-
for the authoring workflow and
|
|
162
|
-
[`create.defaultTemplate`](https://viteplus.dev/config/create) for the
|
|
163
|
-
config reference.
|
|
164
|
-
|
|
165
|
-
### Migrating an existing project
|
|
166
|
-
|
|
167
|
-
You can migrate an existing project to Vite+:
|
|
168
|
-
|
|
169
|
-
```bash
|
|
170
|
-
vp migrate
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
### GitHub Actions
|
|
174
|
-
|
|
175
|
-
Use the official [`setup-vp`](https://github.com/voidzero-dev/setup-vp) action to install Vite+ in GitHub Actions:
|
|
176
|
-
|
|
177
|
-
```yaml
|
|
178
|
-
- uses: voidzero-dev/setup-vp@v1
|
|
179
|
-
with:
|
|
180
|
-
node-version: '22'
|
|
181
|
-
cache: true
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
#### Manual Installation & Migration
|
|
185
|
-
|
|
186
|
-
If you are manually migrating a project to Vite+, install these dev dependencies first:
|
|
187
|
-
|
|
188
|
-
```bash
|
|
189
|
-
npm install -D vite-plus @voidzero-dev/vite-plus-core@latest
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
You need to add overrides to your package manager so that other packages resolve the Vite+ versions: alias `vite` to `@voidzero-dev/vite-plus-core`, and pin `vitest` to the version Vite+ bundles (run `vp --version`) so the whole project shares a single Vitest copy with `vp test`. Without the `vitest` pin, a dependency or workspace package can pull a different Vitest than the bundled runner, splitting Vitest's internals (mocks, `expect`, runner state):
|
|
193
|
-
|
|
194
|
-
```json
|
|
195
|
-
"overrides": {
|
|
196
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
|
|
197
|
-
"vitest": "4.1.9"
|
|
198
|
-
}
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
If you are using `pnpm`, add this to your `pnpm-workspace.yaml`:
|
|
202
|
-
|
|
203
|
-
```yaml
|
|
204
|
-
overrides:
|
|
205
|
-
vite: npm:@voidzero-dev/vite-plus-core@latest
|
|
206
|
-
vitest: 4.1.9
|
|
207
|
-
```
|
|
208
|
-
|
|
209
|
-
Or, if you are using Yarn:
|
|
210
|
-
|
|
211
|
-
```json
|
|
212
|
-
"resolutions": {
|
|
213
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
|
|
214
|
-
"vitest": "4.1.9"
|
|
215
|
-
}
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
## Sponsors
|
|
219
|
-
|
|
220
|
-
Thanks to [namespace.so](https://namespace.so) for powering our CI/CD pipelines with fast, free macOS and Linux runners.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Build Config
|
|
2
|
-
|
|
3
|
-
`vp dev`, `vp build`, and `vp preview` use the standard [Vite configuration](https://vite.dev/config/), including [plugins](https://vite.dev/guide/using-plugins), [aliases](https://vite.dev/config/shared-options#resolve-alias), [`server`](https://vite.dev/config/server-options), [`build`](https://vite.dev/config/build-options) and [`preview`](https://vite.dev/config/preview-options) fields.
|
|
4
|
-
|
|
5
|
-
## Example
|
|
6
|
-
|
|
7
|
-
```ts [vite.config.ts]
|
|
8
|
-
import { defineConfig } from 'vite-plus';
|
|
9
|
-
|
|
10
|
-
export default defineConfig({
|
|
11
|
-
server: {
|
|
12
|
-
port: 3000,
|
|
13
|
-
},
|
|
14
|
-
build: {
|
|
15
|
-
sourcemap: true,
|
|
16
|
-
},
|
|
17
|
-
preview: {
|
|
18
|
-
port: 4173,
|
|
19
|
-
},
|
|
20
|
-
});
|
|
21
|
-
```
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Check Config
|
|
2
|
-
|
|
3
|
-
`vp check` runs format, lint, and type checks together. The `check` block in `vite.config.ts` sets defaults for the composite command, mirroring the `--no-fmt` and `--no-lint` CLI flags.
|
|
4
|
-
|
|
5
|
-
This is useful when a project wants to keep most of the toolchain but skip one step by default. For example, a team that lints but does not format can disable `check.fmt` so a plain `vp check` (the command agents and contributors run most) only lints, without anyone needing to remember `--no-fmt`.
|
|
6
|
-
|
|
7
|
-
## Example
|
|
8
|
-
|
|
9
|
-
```ts [vite.config.ts]
|
|
10
|
-
import { defineConfig } from 'vite-plus';
|
|
11
|
-
|
|
12
|
-
export default defineConfig({
|
|
13
|
-
check: {
|
|
14
|
-
// Skip the format step in `vp check`. Defaults to true.
|
|
15
|
-
fmt: false,
|
|
16
|
-
// Skip lint rules in `vp check`. Type-check still runs when both
|
|
17
|
-
// `lint.options.typeAware` and `lint.options.typeCheck` are enabled.
|
|
18
|
-
// Defaults to true.
|
|
19
|
-
lint: true,
|
|
20
|
-
},
|
|
21
|
-
});
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
When a step is disabled here, `vp check` prints a short `note:` line so it is clear why the step did not run. With the `check.fmt: false` config above:
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
$ vp check
|
|
28
|
-
note: Format skipped (check.fmt: false in vite.config.ts)
|
|
29
|
-
pass: Found no warnings or lint errors in 1 file (12ms, 8 threads)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Scope and precedence
|
|
33
|
-
|
|
34
|
-
- These options only affect the composite `vp check`. Standalone [`vp fmt`](/config/fmt) and [`vp lint`](/config/lint) are unaffected, so you can still run a disabled tool directly when you need it once. Note that any `vp check` invocation honors these defaults, including one run from a pre-commit hook: if your [`staged`](/config/staged) tasks call `vp check`, that step is skipped there too.
|
|
35
|
-
- A step is skipped if the config disables it **or** the matching CLI flag is passed. There is no flag to re-enable a step disabled in config; run `vp fmt` or `vp lint` directly instead.
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# Create Config
|
|
2
|
-
|
|
3
|
-
`vp create` reads the `create` block in `vite.config.ts` to set per-repo defaults. See the [Creating a Project guide](/guide/create#organization-templates) for the full `@org` template workflow.
|
|
4
|
-
|
|
5
|
-
## `create.defaultTemplate`
|
|
6
|
-
|
|
7
|
-
When `vp create` is invoked with no `TEMPLATE` argument, Vite+ uses this value as if the user had typed it. Typically set to an npm scope whose `@scope/create` package publishes a `createConfig.templates` manifest — so bare `vp create` drops into the org picker.
|
|
8
|
-
|
|
9
|
-
```ts
|
|
10
|
-
import { defineConfig } from 'vite-plus';
|
|
11
|
-
|
|
12
|
-
export default defineConfig({
|
|
13
|
-
create: {
|
|
14
|
-
defaultTemplate: '@your-org',
|
|
15
|
-
},
|
|
16
|
-
});
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Any value accepted by `vp create` as a first argument works here: `@your-org` for an org picker, `@your-org:web` for a direct manifest entry, `vite:application` for a built-in, or the `name` of a local `create.templates` entry (see below).
|
|
20
|
-
|
|
21
|
-
## `create.templates`
|
|
22
|
-
|
|
23
|
-
Declare local templates available to `vp create` inside a monorepo. Each entry is listed in the `vp create` picker, and selecting it (or passing its `name` as the template argument) runs the resolved `template`.
|
|
24
|
-
|
|
25
|
-
```ts
|
|
26
|
-
import { defineConfig } from 'vite-plus';
|
|
27
|
-
|
|
28
|
-
export default defineConfig({
|
|
29
|
-
create: {
|
|
30
|
-
templates: [
|
|
31
|
-
{
|
|
32
|
-
name: 'component',
|
|
33
|
-
description: 'Internal UI component',
|
|
34
|
-
template: './tools/create-component',
|
|
35
|
-
},
|
|
36
|
-
{ name: 'service', description: 'Backend service', template: 'service-generator' },
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Each entry has:
|
|
43
|
-
|
|
44
|
-
| Field | Required | Notes |
|
|
45
|
-
| ------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
46
|
-
| `name` | yes | Identifier shown in the picker and accepted as `vp create <name>`. Must be unique within the array. The `vite:` prefix is reserved for built-in templates. |
|
|
47
|
-
| `description` | yes | One-line description shown in the picker. |
|
|
48
|
-
| `template` | yes | A workspace package name, a relative `./path` to a local package's directory (resolved against the workspace root), a `vite:*` built-in, a GitHub URL, or a full npm package name (e.g. `create-foo`). It is run as-is (not shorthand-expanded). |
|
|
49
|
-
|
|
50
|
-
`create.templates` is the source of truth for local templates: only entries listed here appear in the picker. Vite+ does not infer templates from package.json keywords. A `create.templates` entry whose `template` does not match any workspace package, or resolves to a local package without a `bin`, is reported as an error rather than falling through to an unrelated npm package.
|
|
51
|
-
|
|
52
|
-
[`vp create vite:generator`](/guide/create#code-generators) adds an entry here automatically (idempotently, preserving `defaultTemplate`); you can also edit the list by hand.
|
|
53
|
-
|
|
54
|
-
`create.defaultTemplate` can name a local entry, so bare `vp create` opens it directly.
|
|
55
|
-
|
|
56
|
-
## Precedence
|
|
57
|
-
|
|
58
|
-
CLI argument > `create.defaultTemplate` > the standard built-in picker.
|
|
59
|
-
|
|
60
|
-
Explicit specifiers always win, so scripts and CI can bypass the configured default:
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
# Uses create.defaultTemplate
|
|
64
|
-
vp create
|
|
65
|
-
|
|
66
|
-
# Explicitly ignores the default
|
|
67
|
-
vp create vite:library
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
The org picker also appends a trailing "Vite+ built-in templates" entry — selecting it routes to the `vite:monorepo` / `vite:application` / `vite:library` / `vite:generator` flow, so built-ins stay reachable interactively even when a default is configured.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Format Config
|
|
2
|
-
|
|
3
|
-
`vp fmt` and `vp check` read Oxfmt settings from the `fmt` block in `vite.config.ts`. See [Oxfmt's configuration](https://oxc.rs/docs/guide/usage/formatter/config.html) for details.
|
|
4
|
-
|
|
5
|
-
## Example
|
|
6
|
-
|
|
7
|
-
```ts [vite.config.ts]
|
|
8
|
-
import { defineConfig } from 'vite-plus';
|
|
9
|
-
|
|
10
|
-
export default defineConfig({
|
|
11
|
-
fmt: {
|
|
12
|
-
ignorePatterns: ['dist/**'],
|
|
13
|
-
singleQuote: true,
|
|
14
|
-
semi: true,
|
|
15
|
-
sortPackageJson: true,
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
For package-specific formatting settings in a workspace, use [`fmt.overrides`](/guide/monorepo#format-overrides) from the root `vite.config.ts`.
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Configuring Vite+
|
|
2
|
-
|
|
3
|
-
Vite+ keeps project configuration in one place: `vite.config.ts`, allowing you to consolidate many top-level configuration files in a single file. You can keep using your Vite configuration such as `server` or `build`, and add Vite+ blocks for the rest of your workflow:
|
|
4
|
-
|
|
5
|
-
```ts [vite.config.ts]
|
|
6
|
-
import { defineConfig } from 'vite-plus';
|
|
7
|
-
|
|
8
|
-
export default defineConfig({
|
|
9
|
-
server: {},
|
|
10
|
-
build: {},
|
|
11
|
-
preview: {},
|
|
12
|
-
|
|
13
|
-
create: {},
|
|
14
|
-
run: {},
|
|
15
|
-
fmt: {},
|
|
16
|
-
lint: {},
|
|
17
|
-
check: {},
|
|
18
|
-
test: {},
|
|
19
|
-
pack: {},
|
|
20
|
-
staged: {},
|
|
21
|
-
});
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Vite+ Specific Configuration
|
|
25
|
-
|
|
26
|
-
Vite+ extends the basic Vite configuration with these additions:
|
|
27
|
-
|
|
28
|
-
- [`create`](/config/create) for project and template scaffolding defaults
|
|
29
|
-
- [`run`](/config/run) for Vite Task
|
|
30
|
-
- [`fmt`](/config/fmt) for Oxfmt
|
|
31
|
-
- [`lint`](/config/lint) for Oxlint
|
|
32
|
-
- [`check`](/config/check) for `vp check` defaults
|
|
33
|
-
- [`test`](/config/test) for Vitest
|
|
34
|
-
- [`pack`](/config/pack) for tsdown
|
|
35
|
-
- [`staged`](/config/staged) for staged-file checks
|