Observed since 20 Oct, 18:31 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
1life-strata
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
The React Compiler is enabled on this template. See this documentation for more information.
Note: This will impact Vite dev & build performances.
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Remove tseslint.configs.recommended and replace with this
tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
tseslint.configs.stylisticTypeChecked,
// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
zodEnvironment{
"local_name": "zod",
"alias": false,
"peer_metadata": null
} | ^4.3.6 | development |
viteEnvironment{
"local_name": "vite",
"alias": false,
"peer_metadata": null
} | ^7.3.1 | development |
reactEnvironment{
"local_name": "react",
"alias": false,
"peer_metadata": null
} | ^18.2.0 | development |
eslintEnvironment{
"local_name": "eslint",
"alias": false,
"peer_metadata": null
} | ^9.39.1 | development |
globalsEnvironment{
"local_name": "globals",
"alias": false,
"peer_metadata": null
} | ^16.5.0 | development |
react-domEnvironment{
"local_name": "react-dom",
"alias": false,
"peer_metadata": null
} | ^18.2.0 | development |
@eslint/jsEnvironment{
"local_name": "@eslint/js",
"alias": false,
"peer_metadata": null
} | ^9.39.1 | development |
typescriptEnvironment{
"local_name": "typescript",
"alias": false,
"peer_metadata": null
} | ^5.9.3 | development |
@types/nodeEnvironment{
"local_name": "@types/node",
"alias": false,
"peer_metadata": null
} | ^24.10.1 | development |
tailwindcssEnvironment{
"local_name": "tailwindcss",
"alias": false,
"peer_metadata": null
} | ^4.1.18 | development |
@types/reactEnvironment{
"local_name": "@types/react",
"alias": false,
"peer_metadata": null
} | ^19.2.14 | development |
@heroui/reactEnvironment{
"local_name": "@heroui/react",
"alias": false,
"peer_metadata": null
} | ^2.8.8 | development |
framer-motionEnvironment{
"local_name": "framer-motion",
"alias": false,
"peer_metadata": null
} | ^12.34.0 | development |
vite-plugin-dtsEnvironment{
"local_name": "vite-plugin-dts",
"alias": false,
"peer_metadata": null
} | ^4.5.4 | development |
@types/react-domEnvironment{
"local_name": "@types/react-dom",
"alias": false,
"peer_metadata": null
} | ^19.2.3 | development |
@tailwindcss/viteEnvironment{
"local_name": "@tailwindcss/vite",
"alias": false,
"peer_metadata": null
} | ^4.1.18 | development |
typescript-eslintEnvironment{
"local_name": "typescript-eslint",
"alias": false,
"peer_metadata": null
} | ^8.48.0 | development |
@vitejs/plugin-reactEnvironment{
"local_name": "@vitejs/plugin-react",
"alias": false,
"peer_metadata": null
} | ^5.1.4 | development |
@vitejs/plugin-react-swcEnvironment{
"local_name": "@vitejs/plugin-react-swc",
"alias": false,
"peer_metadata": null
} | ^4.2.3 | development |
eslint-plugin-react-hooksEnvironment{
"local_name": "eslint-plugin-react-hooks",
"alias": false,
"peer_metadata": null
} | ^7.0.1 | development |
babel-plugin-react-compilerEnvironment{
"local_name": "babel-plugin-react-compiler",
"alias": false,
"peer_metadata": null
} | ^1.0.0 | development |
eslint-plugin-react-refreshEnvironment{
"local_name": "eslint-plugin-react-refresh",
"alias": false,
"peer_metadata": null
} | ^0.4.24 | development |
Source distribution
{
"shasum": "332eacf72e6b2121b840e48bcc8861128c586668",
"tarball": "https://registry.npmjs.org/1life-strata/-/1life-strata-0.1.0.tgz",
"fileCount": 10,
"integrity": "sha512-w+rTXIHCFYAXLmyb5fERQ/Bm1XW559xlfET/xwR33/JSb1P/us7pv1TkT9uDrFmdVQ9Pc1xTQ5RhKpQ/4oTULQ==",
"signatures": [
{
"sig": "MEYCIQCNuOTeQKB8S0isoS2klBM3cv3YPn1YsB9CJY1nfWusWQIhAJYDGUyusLVl3UNvNQAUm55RQWmB+QmcAtAWqr8Yzodq",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
}
],
"unpackedSize": 2899336
}Observed since 20 Oct, 18:31 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:8ab1b49961fc763959ee544049440270e231dcccc255fed088a9be2dfd8c661b