Skip to content
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
1 change: 0 additions & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ export default extendConfig(
include: ['mermaid > @braintree/sanitize-url'],
},
resolve: {
tsconfigPaths: true,
alias: [
{ find: '@local-assets', replacement: resolve(__dirname, 'theme/assets') },
{ find: '@layouts', replacement: resolve(__dirname, 'theme/layouts') },
Expand Down
5 changes: 1 addition & 4 deletions docs/.vitepress/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@
"lib": ["ES2024", "DOM", "DOM.Iterable"],
"moduleResolution": "bundler",
"resolveJsonModule": true,
"noEmit": false,
"emitDeclarationOnly": true,
"outDir": "dist",
"noEmit": true,
"allowImportingTsExtensions": true,
"strict": true,
"declaration": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
Expand Down
124 changes: 62 additions & 62 deletions docs/_data/team.ts
Original file line number Diff line number Diff line change
@@ -1,119 +1,119 @@
import type { DefaultTheme } from "vitepress";
import type { DefaultTheme } from 'vitepress';

export const core: DefaultTheme.TeamMember[] = [
{
avatar: "https://github.com/fengmk2.png",
name: "MK",
avatar: 'https://github.com/fengmk2.png',
name: 'MK',
links: [
{ icon: "github", link: "https://github.com/fengmk2" },
{ icon: "x", link: "https://x.com/fengmk2" },
{ icon: 'github', link: 'https://github.com/fengmk2' },
{ icon: 'x', link: 'https://x.com/fengmk2' },
],
},
{
avatar: "https://github.com/branchseer.png",
name: "Wang Chi",
avatar: 'https://github.com/branchseer.png',
name: 'Wang Chi',
links: [
{ icon: "github", link: "https://github.com/branchseer" },
{ icon: "x", link: "https://x.com/branchseer" },
{ icon: 'github', link: 'https://github.com/branchseer' },
{ icon: 'x', link: 'https://x.com/branchseer' },
],
},
{
avatar: "https://github.com/Brooooooklyn.png",
name: "Long Yinan",
avatar: 'https://github.com/Brooooooklyn.png',
name: 'Long Yinan',
links: [
{ icon: "github", link: "https://github.com/Brooooooklyn" },
{ icon: "x", link: "https://x.com/Brooooook_lyn" },
{ icon: 'github', link: 'https://github.com/Brooooooklyn' },
{ icon: 'x', link: 'https://x.com/Brooooook_lyn' },
],
},
{
avatar: "https://github.com/cpojer.png",
name: "Christoph Nakazawa",
avatar: 'https://github.com/cpojer.png',
name: 'Christoph Nakazawa',
links: [
{ icon: "github", link: "https://github.com/cpojer" },
{ icon: "x", link: "https://x.com/cpojer" },
{ icon: "bluesky", link: "https://bsky.app/profile/christoph.nkzw.tech" },
{ icon: 'github', link: 'https://github.com/cpojer' },
{ icon: 'x', link: 'https://x.com/cpojer' },
{ icon: 'bluesky', link: 'https://bsky.app/profile/christoph.nkzw.tech' },
],
},
{
avatar: "https://github.com/TheAlexLichter.png",
name: "Alexander Lichter",
avatar: 'https://github.com/TheAlexLichter.png',
name: 'Alexander Lichter',
links: [
{ icon: "github", link: "https://github.com/TheAlexLichter" },
{ icon: "x", link: "https://x.com/TheAlexLichter" },
{ icon: "bluesky", link: "https://bsky.app/profile/thealexlichter.com" },
{ icon: 'github', link: 'https://github.com/TheAlexLichter' },
{ icon: 'x', link: 'https://x.com/TheAlexLichter' },
{ icon: 'bluesky', link: 'https://bsky.app/profile/thealexlichter.com' },
],
},
{
avatar: "https://github.com/camc314.png",
name: "Cameron Clark",
avatar: 'https://github.com/camc314.png',
name: 'Cameron Clark',
links: [
{ icon: "github", link: "https://github.com/camc314" },
{ icon: "x", link: "https://x.com/cameron_C2" },
{ icon: 'github', link: 'https://github.com/camc314' },
{ icon: 'x', link: 'https://x.com/cameron_C2' },
],
},
{
avatar: "https://github.com/leaysgur.png",
name: "Yuji Sugiura",
avatar: 'https://github.com/leaysgur.png',
name: 'Yuji Sugiura',
links: [
{ icon: "github", link: "https://github.com/leaysgur" },
{ icon: "x", link: "https://x.com/leaysgur" },
{ icon: 'github', link: 'https://github.com/leaysgur' },
{ icon: 'x', link: 'https://x.com/leaysgur' },
],
},
{
avatar: "https://github.com/mdong1909.png",
name: "Michael Dong",
avatar: 'https://github.com/mdong1909.png',
name: 'Michael Dong',
links: [
{ icon: "github", link: "https://github.com/mdong1909" },
{ icon: "x", link: "https://x.com/mdong1909" },
{ icon: "linkedin", link: "https://www.linkedin.com/in/michael-d-612b5b50/" },
{ icon: 'github', link: 'https://github.com/mdong1909' },
{ icon: 'x', link: 'https://x.com/mdong1909' },
{ icon: 'linkedin', link: 'https://www.linkedin.com/in/michael-d-612b5b50/' },
],
},
{
avatar: "https://github.com/kazupon.png",
name: "kazupon",
avatar: 'https://github.com/kazupon.png',
name: 'kazupon',
links: [
{ icon: "github", link: "https://github.com/kazupon" },
{ icon: "x", link: "https://x.com/kazupon" },
{ icon: "bluesky", link: "https://bsky.app/profile/kazupon.dev" },
{ icon: 'github', link: 'https://github.com/kazupon' },
{ icon: 'x', link: 'https://x.com/kazupon' },
{ icon: 'bluesky', link: 'https://bsky.app/profile/kazupon.dev' },
],
},
{
avatar: "https://github.com/ubugeeei.png",
name: "ubugeeei",
avatar: 'https://github.com/ubugeeei.png',
name: 'ubugeeei',
links: [
{ icon: "github", link: "https://github.com/ubugeeei" },
{ icon: "x", link: "https://x.com/ubugeeei" },
{ icon: 'github', link: 'https://github.com/ubugeeei' },
{ icon: 'x', link: 'https://x.com/ubugeeei' },
],
},
{
avatar: "https://github.com/nekomoyi.png",
name: "nekomoyi",
links: [{ icon: "github", link: "https://github.com/nekomoyi" }],
avatar: 'https://github.com/nekomoyi.png',
name: 'nekomoyi',
links: [{ icon: 'github', link: 'https://github.com/nekomoyi' }],
},
{
avatar: "https://github.com/HaasStefan.png",
name: "Stefan Haas",
avatar: 'https://github.com/HaasStefan.png',
name: 'Stefan Haas',
links: [
{ icon: "github", link: "https://github.com/HaasStefan" },
{ icon: "x", link: "https://x.com/StefanvHaas" },
{ icon: "linkedin", link: "https://www.linkedin.com/in/stefan-haas-angular" },
{ icon: 'github', link: 'https://github.com/HaasStefan' },
{ icon: 'x', link: 'https://x.com/StefanvHaas' },
{ icon: 'linkedin', link: 'https://www.linkedin.com/in/stefan-haas-angular' },
],
},
{
avatar: "https://github.com/naokihaba.png",
name: "naokihaba",
avatar: 'https://github.com/naokihaba.png',
name: 'naokihaba',
links: [
{ icon: "github", link: "https://github.com/naokihaba" },
{ icon: "x", link: "https://x.com/naokihaba" },
{ icon: "bluesky", link: "https://bsky.app/profile/naokihaba.com" },
{ icon: 'github', link: 'https://github.com/naokihaba' },
{ icon: 'x', link: 'https://x.com/naokihaba' },
{ icon: 'bluesky', link: 'https://bsky.app/profile/naokihaba.com' },
],
},
{
avatar: "https://github.com/jong-kyung.png",
name: "JongKyung Lee",
avatar: 'https://github.com/jong-kyung.png',
name: 'JongKyung Lee',
links: [
{ icon: "github", link: "https://github.com/jong-kyung" },
{ icon: "linkedin", link: "https://www.linkedin.com/in/jong-kyung" },
{ icon: 'github', link: 'https://github.com/jong-kyung' },
{ icon: 'linkedin', link: 'https://www.linkedin.com/in/jong-kyung' },
],
},
];
Expand Down
2 changes: 1 addition & 1 deletion docs/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ Vite+ extends the basic Vite configuration with these additions:
- [`test`](/config/test) for Vitest
- [`run`](/config/run) for Vite Task
- [`pack`](/config/pack) for tsdown
- [`staged`](/config/staged) for staged-file checks
- [`staged`](/config/staged) for staged-file checks
1 change: 1 addition & 0 deletions docs/config/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ tasks: {
```

The `base` field is required and controls how the glob pattern is resolved:

- `"package"`: relative to the package directory
- `"workspace"`: relative to the workspace root

Expand Down
10 changes: 5 additions & 5 deletions docs/guide/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,12 @@ The manifest lives at `createConfig.templates` in `@org/create`'s `package.json`

Each entry supports:

| Field | Required | Notes |
| ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `name` | yes | Kebab-case identifier. Used by `vp create @org:<name>` for direct selection. Must be unique within the array. |
| `description` | yes | One-line description shown in the picker. |
| Field | Required | Notes |
| ------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `name` | yes | Kebab-case identifier. Used by `vp create @org:<name>` for direct selection. Must be unique within the array. |
| `description` | yes | One-line description shown in the picker. |
| `template` | yes | An npm specifier (`@org/template-foo`, optionally `@version`), a GitHub URL (`github:user/repo`), a `vite:*` builtin, a local workspace package name, or a relative path (`./templates/foo`) that resolves against the `@org/create` root. |
| `monorepo` | no | If `true`, marks this entry as a monorepo-creating template. Hidden from the picker when `vp create` runs inside an existing monorepo, mirroring the built-in `vite:monorepo` filter. |
| `monorepo` | no | If `true`, marks this entry as a monorepo-creating template. Hidden from the picker when `vp create` runs inside an existing monorepo, mirroring the built-in `vite:monorepo` filter. |

An invalid manifest is a hard error, not a silent fall-through — a maintainer who shipped a manifest should hear about the offending field, e.g. `@your-org/create: createConfig.templates[2].template must be a non-empty string`.

Expand Down
1 change: 0 additions & 1 deletion docs/guide/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ If you are migrating an existing project and it still depends on older Vite or V

The Oxlint type checker path powered by `tsgolint` does not support `baseUrl`, so Vite+ skips `typeAware` and `typeCheck` when that setting is present.


## `vp lint` / `vp fmt` may fail to read `vite.config.ts`

`vp lint`, `vp fmt`, and the Oxc VS Code extension all read the `lint` / `fmt` blocks from `vite.config.ts`. Today that support has important limitations.
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
"vitepress": "2.0.0-alpha.15"
},
"packageManager": "pnpm@10.33.2"
}
}
3 changes: 0 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export default defineConfig({
'**/snap-tests/**',
'**/snap-tests-global/**',
'**/snap-tests-todo/**',
'docs/**',
'packages/*/binding/**',
'packages/core/rollupLicensePlugin.ts',
'packages/core/vite-rolldown.config.ts',
Expand All @@ -70,8 +69,6 @@ export default defineConfig({
'packages/cli/snap-tests/check-*/**',
'packages/cli/snap-tests/fmt-ignore-patterns/src/ignored',
'packages/cli/snap-tests-global/migration-lint-staged-ts-config',
'docs/**',
'!docs/.vitepress/**',
'ecosystem-ci/*/**',
'packages/test/**.cjs',
'packages/test/**.cts',
Expand Down
Loading