create-vite
Advanced tools
Comparing version 4.2.0 to 4.3.0-beta.0
{ | ||
"name": "create-vite", | ||
"version": "4.2.0", | ||
"version": "4.3.0-beta.0", | ||
"type": "module", | ||
@@ -16,3 +16,2 @@ "license": "MIT", | ||
], | ||
"main": "index.js", | ||
"scripts": { | ||
@@ -37,2 +36,4 @@ "dev": "unbuild --stub", | ||
"devDependencies": { | ||
"@types/minimist": "^1.2.2", | ||
"@types/prompts": "^2.4.4", | ||
"cross-spawn": "^7.0.3", | ||
@@ -39,0 +40,0 @@ "kolorist": "^1.7.0", |
@@ -6,14 +6,6 @@ { | ||
"type": "module", | ||
"main": "dist/my-element.es.js", | ||
"exports": { | ||
".": "./dist/my-element.es.js" | ||
}, | ||
"types": "types/my-element.d.ts", | ||
"files": [ | ||
"dist", | ||
"types" | ||
], | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "tsc && vite build" | ||
"build": "tsc && vite build", | ||
"preview": "vite preview" | ||
}, | ||
@@ -24,5 +16,5 @@ "dependencies": { | ||
"devDependencies": { | ||
"typescript": "^4.9.3", | ||
"vite": "^4.2.0" | ||
"typescript": "^5.0.2", | ||
"vite": "^4.3.0-beta.2" | ||
} | ||
} |
{ | ||
"compilerOptions": { | ||
"target": "ES2020", | ||
"useDefineForClassFields": true, | ||
"module": "ESNext", | ||
"lib": ["ES2020", "DOM", "DOM.Iterable"], | ||
"declaration": true, | ||
"emitDeclarationOnly": true, | ||
"outDir": "./types", | ||
"skipLibCheck": true, | ||
/* Bundler mode */ | ||
"moduleResolution": "bundler", | ||
"allowImportingTsExtensions": true, | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"noEmit": true, | ||
/* Linting */ | ||
"strict": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"moduleResolution": "Node", | ||
"isolatedModules": true, | ||
"allowSyntheticDefaultImports": true, | ||
"experimentalDecorators": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"useDefineForClassFields": false, | ||
"skipLibCheck": true | ||
"noFallthroughCasesInSwitch": true | ||
}, | ||
"include": ["src/**/*.ts"], | ||
"references": [{ "path": "./tsconfig.node.json" }] | ||
"include": ["src"] | ||
} |
@@ -6,12 +6,6 @@ { | ||
"type": "module", | ||
"main": "dist/my-element.es.js", | ||
"exports": { | ||
".": "./dist/my-element.es.js" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build" | ||
"build": "vite build", | ||
"preview": "vite preview" | ||
}, | ||
@@ -22,4 +16,4 @@ "dependencies": { | ||
"devDependencies": { | ||
"vite": "^4.2.0" | ||
"vite": "^4.3.0-beta.2" | ||
} | ||
} |
@@ -12,9 +12,9 @@ { | ||
"dependencies": { | ||
"preact": "^10.13.0" | ||
"preact": "^10.13.1" | ||
}, | ||
"devDependencies": { | ||
"@preact/preset-vite": "^2.5.0", | ||
"typescript": "^4.9.3", | ||
"vite": "^4.2.0" | ||
"typescript": "^5.0.2", | ||
"vite": "^4.3.0-beta.2" | ||
} | ||
} |
{ | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"target": "ES2020", | ||
"useDefineForClassFields": true, | ||
"lib": ["DOM", "DOM.Iterable", "ESNext"], | ||
"allowJs": false, | ||
"module": "ESNext", | ||
"lib": ["ES2020", "DOM", "DOM.Iterable"], | ||
"skipLibCheck": true, | ||
"esModuleInterop": false, | ||
"allowSyntheticDefaultImports": true, | ||
"strict": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"module": "ESNext", | ||
"moduleResolution": "Node", | ||
/* Bundler mode */ | ||
"moduleResolution": "bundler", | ||
"allowImportingTsExtensions": true, | ||
"resolveJsonModule": true, | ||
@@ -18,3 +16,9 @@ "isolatedModules": true, | ||
"jsx": "react-jsx", | ||
"jsxImportSource": "preact" | ||
"jsxImportSource": "preact", | ||
/* Linting */ | ||
"strict": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noFallthroughCasesInSwitch": true | ||
}, | ||
@@ -21,0 +25,0 @@ "include": ["src"], |
{ | ||
"compilerOptions": { | ||
"composite": true, | ||
"skipLibCheck": true, | ||
"module": "ESNext", | ||
"moduleResolution": "Node", | ||
"moduleResolution": "bundler", | ||
"allowSyntheticDefaultImports": true | ||
@@ -7,0 +8,0 @@ }, |
@@ -12,8 +12,8 @@ { | ||
"dependencies": { | ||
"preact": "^10.13.0" | ||
"preact": "^10.13.1" | ||
}, | ||
"devDependencies": { | ||
"@preact/preset-vite": "^2.5.0", | ||
"vite": "^4.2.0" | ||
"vite": "^4.3.0-beta.2" | ||
} | ||
} |
import { render } from 'preact' | ||
import { App } from './app' | ||
import { App } from './app.jsx' | ||
import './index.css' | ||
render(<App />, document.getElementById('app')) |
@@ -18,6 +18,6 @@ { | ||
"@types/react-dom": "^18.0.11", | ||
"@vitejs/plugin-react": "^3.1.0", | ||
"typescript": "^4.9.3", | ||
"vite": "^4.2.0" | ||
"@vitejs/plugin-react": "^4.0.0-beta.0", | ||
"typescript": "^5.0.2", | ||
"vite": "^4.3.0-beta.2" | ||
} | ||
} |
{ | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"useDefineForClassFields": true, | ||
"lib": ["DOM", "DOM.Iterable", "ESNext"], | ||
"allowJs": false, | ||
"module": "ESNext", | ||
"skipLibCheck": true, | ||
"esModuleInterop": false, | ||
"allowSyntheticDefaultImports": true, | ||
"strict": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"module": "ESNext", | ||
"moduleResolution": "Node", | ||
/* Bundler mode */ | ||
"moduleResolution": "bundler", | ||
"allowImportingTsExtensions": true, | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"noEmit": true, | ||
"jsx": "react-jsx" | ||
"jsx": "react-jsx", | ||
/* Linting */ | ||
"strict": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noFallthroughCasesInSwitch": true | ||
}, | ||
@@ -19,0 +22,0 @@ "include": ["src"], |
{ | ||
"compilerOptions": { | ||
"composite": true, | ||
"skipLibCheck": true, | ||
"module": "ESNext", | ||
"moduleResolution": "Node", | ||
"moduleResolution": "bundler", | ||
"allowSyntheticDefaultImports": true | ||
@@ -7,0 +8,0 @@ }, |
@@ -18,5 +18,5 @@ { | ||
"@types/react-dom": "^18.0.11", | ||
"@vitejs/plugin-react": "^3.1.0", | ||
"vite": "^4.2.0" | ||
"@vitejs/plugin-react": "^4.0.0-beta.0", | ||
"vite": "^4.3.0-beta.2" | ||
} | ||
} |
@@ -15,3 +15,3 @@ import { useState } from 'react' | ||
</a> | ||
<a href="https://reactjs.org" target="_blank"> | ||
<a href="https://react.dev" target="_blank"> | ||
<img src={reactLogo} className="logo react" alt="React logo" /> | ||
@@ -18,0 +18,0 @@ </a> |
import React from 'react' | ||
import ReactDOM from 'react-dom/client' | ||
import App from './App' | ||
import App from './App.jsx' | ||
import './index.css' | ||
@@ -5,0 +5,0 @@ |
@@ -15,8 +15,8 @@ { | ||
"@tsconfig/svelte": "^3.0.0", | ||
"svelte": "^3.55.1", | ||
"svelte": "^3.57.0", | ||
"svelte-check": "^2.10.3", | ||
"tslib": "^2.5.0", | ||
"typescript": "^4.9.3", | ||
"vite": "^4.2.0" | ||
"typescript": "^5.0.2", | ||
"vite": "^4.3.0-beta.2" | ||
} | ||
} |
{ | ||
"compilerOptions": { | ||
"composite": true, | ||
"skipLibCheck": true, | ||
"module": "ESNext", | ||
"moduleResolution": "Node" | ||
"moduleResolution": "bundler" | ||
}, | ||
"include": ["vite.config.ts"] | ||
} |
{ | ||
"compilerOptions": { | ||
"moduleResolution": "Node", | ||
"moduleResolution": "bundler", | ||
"target": "ESNext", | ||
@@ -11,3 +11,3 @@ "module": "ESNext", | ||
*/ | ||
"importsNotUsedAsValues": "error", | ||
"verbatimModuleSyntax": true, | ||
"isolatedModules": true, | ||
@@ -22,3 +22,2 @@ "resolveJsonModule": true, | ||
"skipLibCheck": true, | ||
"forceConsistentCasingInFileNames": true, | ||
/** | ||
@@ -25,0 +24,0 @@ * Typecheck JS in `.svelte` and `.js` files by default. |
@@ -13,5 +13,5 @@ { | ||
"@sveltejs/vite-plugin-svelte": "^2.0.3", | ||
"svelte": "^3.55.1", | ||
"vite": "^4.2.0" | ||
"svelte": "^3.57.0", | ||
"vite": "^4.3.0-beta.2" | ||
} | ||
} |
@@ -12,5 +12,5 @@ { | ||
"devDependencies": { | ||
"typescript": "^4.9.3", | ||
"vite": "^4.2.0" | ||
"typescript": "^5.0.2", | ||
"vite": "^4.3.0-beta.2" | ||
} | ||
} |
import './style.css' | ||
import typescriptLogo from './typescript.svg' | ||
import viteLogo from '/vite.svg' | ||
import { setupCounter } from './counter' | ||
import { setupCounter } from './counter.ts' | ||
@@ -6,0 +6,0 @@ document.querySelector<HTMLDivElement>('#app')!.innerHTML = ` |
{ | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"target": "ES2020", | ||
"useDefineForClassFields": true, | ||
"module": "ESNext", | ||
"lib": ["ESNext", "DOM"], | ||
"moduleResolution": "Node", | ||
"strict": true, | ||
"lib": ["ES2020", "DOM", "DOM.Iterable"], | ||
"skipLibCheck": true, | ||
/* Bundler mode */ | ||
"moduleResolution": "bundler", | ||
"allowImportingTsExtensions": true, | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"esModuleInterop": true, | ||
"noEmit": true, | ||
/* Linting */ | ||
"strict": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"skipLibCheck": true | ||
"noFallthroughCasesInSwitch": true | ||
}, | ||
"include": ["src"] | ||
} |
@@ -12,4 +12,4 @@ { | ||
"devDependencies": { | ||
"vite": "^4.2.0" | ||
"vite": "^4.3.0-beta.2" | ||
} | ||
} |
@@ -16,6 +16,6 @@ { | ||
"@vitejs/plugin-vue": "^4.1.0", | ||
"typescript": "^4.9.3", | ||
"vite": "^4.2.0", | ||
"typescript": "^5.0.2", | ||
"vite": "^4.3.0-beta.2", | ||
"vue-tsc": "^1.2.0" | ||
} | ||
} |
{ | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"target": "ES2020", | ||
"useDefineForClassFields": true, | ||
"module": "ESNext", | ||
"moduleResolution": "Node", | ||
"strict": true, | ||
"jsx": "preserve", | ||
"lib": ["ES2020", "DOM", "DOM.Iterable"], | ||
"skipLibCheck": true, | ||
/* Bundler mode */ | ||
"moduleResolution": "bundler", | ||
"allowImportingTsExtensions": true, | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"esModuleInterop": true, | ||
"lib": ["ESNext", "DOM"], | ||
"skipLibCheck": true, | ||
"noEmit": true | ||
"noEmit": true, | ||
"jsx": "preserve", | ||
/* Linting */ | ||
"strict": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noFallthroughCasesInSwitch": true | ||
}, | ||
@@ -16,0 +23,0 @@ "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], |
{ | ||
"compilerOptions": { | ||
"composite": true, | ||
"skipLibCheck": true, | ||
"module": "ESNext", | ||
"moduleResolution": "Node", | ||
"moduleResolution": "bundler", | ||
"allowSyntheticDefaultImports": true | ||
@@ -7,0 +8,0 @@ }, |
@@ -16,4 +16,4 @@ { | ||
"@vitejs/plugin-vue": "^4.1.0", | ||
"vite": "^4.2.0" | ||
"vite": "^4.3.0-beta.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
171966
6
143
1886
1