cwd: path.resolve(import.meta.dirname, '..'),
stdio: 'inherit',
}
- const BuildOptions = devBuild ? '-df' : '-pf'
+ const buildOptions = devBuild ? '-df' : '-pf'
const [{ ok }, { ok: ok2 }, { ok: ok3 }, { ok: ok4 }] = await Promise.all([
exec(
'pnpm',
- `run --silent build shared compiler-core compiler-dom compiler-vapor ${BuildOptions} cjs`.split(
+ `run --silent build shared compiler-core compiler-dom compiler-vapor ${buildOptions} cjs`.split(
' ',
),
options,
),
exec(
'pnpm',
- `run --silent build vue-vapor ${BuildOptions} esm-browser`.split(' '),
+ `run --silent build vue-vapor ${buildOptions} esm-browser`.split(' '),
options,
),
exec(
'pnpm',
- `run --silent build vue ${BuildOptions} esm-browser-runtime`.split(' '),
+ `run --silent build vue ${buildOptions} esm-browser-runtime`.split(' '),
options,
),
])
"start": "node index.js"
},
"dependencies": {
- "@vitejs/plugin-vue": "npm:@vue-vapor/vite-plugin-vue@0.0.0-alpha.6",
+ "@vitejs/plugin-vue": "https://pkg.pr.new/@vitejs/plugin-vue@vapor",
"connect": "^3.7.0",
"sirv": "^2.0.4",
"vite": "^5.0.12"
parent: ParentNode,
anchor: Node | null = null,
): void {
- normalizeBlock(block).forEach(node => parent.insertBefore(node, anchor))
+ const nodes = normalizeBlock(block)
+ for (let i = 0; i < nodes.length; i++) {
+ parent.insertBefore(nodes[i], anchor)
+ }
}
export function prepend(parent: ParentNode, ...blocks: Block[]): void {
}
export function remove(block: Block, parent: ParentNode): void {
- normalizeBlock(block).forEach(node => parent.removeChild(node))
+ const nodes = normalizeBlock(block)
+ for (let i = 0; i < nodes.length; i++) {
+ parent.removeChild(nodes[i])
+ }
}
export function createTextNode(values?: any[] | (() => any[])): Text {
benchmark:
dependencies:
'@vitejs/plugin-vue':
- specifier: npm:@vue-vapor/vite-plugin-vue@0.0.0-alpha.6
- version: '@vue-vapor/vite-plugin-vue@0.0.0-alpha.6(vite@5.3.3(@types/node@20.16.5)(sass@1.78.0)(terser@5.31.6))(vue@3.5.6(typescript@5.6.2))'
+ specifier: https://pkg.pr.new/@vitejs/plugin-vue@vapor
+ version: https://pkg.pr.new/@vitejs/plugin-vue@vapor(vite@5.3.3(@types/node@20.16.5)(sass@1.78.0)(terser@5.31.6))(vue@3.5.6(typescript@5.6.2))
connect:
specifier: ^3.7.0
version: 3.7.0
vite: ^5.0.0
vue: ^3.2.25
+ '@vitejs/plugin-vue@https://pkg.pr.new/@vitejs/plugin-vue@vapor':
+ resolution: {tarball: https://pkg.pr.new/@vitejs/plugin-vue@vapor}
+ version: 5.1.3
+ engines: {node: ^18.0.0 || >=20.0.0}
+ peerDependencies:
+ vite: ^5.0.0
+ vue: ^3.2.25
+
'@vitest/coverage-v8@2.1.1':
resolution: {integrity: sha512-md/A7A3c42oTT8JUHSqjP5uKTWJejzUW4jalpvs+rZ27gsURsMU8DEb+8Jf8C6Kj2gwfSHJqobDNBuoqlm0cFw==}
peerDependencies:
vite: ^5.0.0
vue: '*'
- '@vue-vapor/vite-plugin-vue@0.0.0-alpha.6':
- resolution: {integrity: sha512-V2aTQ7bkDXsoPvYIkTA54m3ypUXDIVpTFspn+ycuYcMfIY37cZ0ny6jm/afNY6k1DiaQ9JfAMBXAKzTBpu2B9A==}
- engines: {node: ^18.0.0 || >=20.0.0}
- peerDependencies:
- vite: ^5.0.0
- vue: '*'
-
'@vue/compiler-core@3.5.6':
resolution: {integrity: sha512-r+gNu6K4lrvaQLQGmf+1gc41p3FO2OUJyWmNqaIITaJU6YFiV5PtQSFZt8jfztYyARwqhoCayjprC7KMvT3nRA==}
vite: 5.4.0(@types/node@20.16.5)(sass@1.78.0)(terser@5.31.6)
vue: link:packages/vue
+ '@vitejs/plugin-vue@https://pkg.pr.new/@vitejs/plugin-vue@vapor(vite@5.3.3(@types/node@20.16.5)(sass@1.78.0)(terser@5.31.6))(vue@3.5.6(typescript@5.6.2))':
+ dependencies:
+ vite: 5.3.3(@types/node@20.16.5)(sass@1.78.0)(terser@5.31.6)
+ vue: 3.5.6(typescript@5.6.2)
+
'@vitest/coverage-v8@2.1.1(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0)(sass@1.78.0)(terser@5.31.6))':
dependencies:
'@ampproject/remapping': 2.3.0
vite: 5.2.9(@types/node@20.16.5)(sass@1.78.0)(terser@5.31.6)
vue: link:packages/vue
- '@vue-vapor/vite-plugin-vue@0.0.0-alpha.6(vite@5.3.3(@types/node@20.16.5)(sass@1.78.0)(terser@5.31.6))(vue@3.5.6(typescript@5.6.2))':
- dependencies:
- vite: 5.3.3(@types/node@20.16.5)(sass@1.78.0)(terser@5.31.6)
- vue: 3.5.6(typescript@5.6.2)
-
'@vue/compiler-core@3.5.6':
dependencies:
'@babel/parser': 7.25.3