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
} | ^3.23.8 | 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 |
terserEnvironment{
"local_name": "terser",
"alias": false,
"peer_metadata": null
} | ^5.46.0 | 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.7.8 | development |
framer-motionEnvironment{
"local_name": "framer-motion",
"alias": false,
"peer_metadata": null
} | ^11.2.9 | development |
react-hook-formEnvironment{
"local_name": "react-hook-form",
"alias": false,
"peer_metadata": null
} | ^7.71.1 | 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 |
@internationalized/dateEnvironment{
"local_name": "@internationalized/date",
"alias": false,
"peer_metadata": null
} | ^3.11.0 | 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": "a1ee6aeec5d37362adb0473dcfdf66e1f18cd6e0",
"tarball": "https://registry.npmjs.org/1life-strata/-/1life-strata-0.1.10.tgz",
"fileCount": 9,
"integrity": "sha512-LmhUUDUYmOSrtMFBJDi7F+WJ2lzw9LagUQZrZO09f/q0/niIXszynk/XJtCuDuhnO8ryxND6dLBw7UssOStoeA==",
"signatures": [
{
"sig": "MEUCIQCd/WId/tK0Qj/KCkPVBs5ZaKVCwmuIEyCCfX9EFj/YCgIgEjEoeAEBMi0vmk8j0AzhBPuuuUEy2etmytyNEJgNXHM=",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
}
],
"unpackedSize": 2166634
}Observed since 20 Oct, 18:31 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:6f65d5945c1f59c8bd5f3ca84a98500daba057c41d47ac9e27c0f124ec415c40