Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: delete unused env var files #1022

Merged
merged 1 commit into from
Oct 13, 2024
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
2 changes: 0 additions & 2 deletions .env.development

This file was deleted.

2 changes: 0 additions & 2 deletions .env.production

This file was deleted.

1 change: 0 additions & 1 deletion .env.test

This file was deleted.

45 changes: 45 additions & 0 deletions src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/// <reference types="vite-envs/client" />


type ImportMetaEnv = {
// Auto-generated by `npx vite-envs update-types` and hot-reloaded by the `vite-env` plugin
// You probably want to add `/src/vite-env.d.ts` to your .prettierignore
VITE_API_MODE: string
VITE_API_BASE_HOST: string
VITE_VALIDATION_OPERATION_SERIES_EXTRA_MANDATORY_FIELDS: string
VITE_OIDC_ISSUER: string
VITE_OIDC_CLIENT_ID: string
VITE_CONCEPTS_DOCUMENTATION: string
VITE_OPERATIONS_DOCUMENTATION: string
VITE_DEV_TOOLS_ENABLED: string
VITE_NAME: string
VITE_VERSION: string
BASE_URL: string
MODE: string
DEV: boolean
PROD: boolean
SKIP_PREFLIGHT_CHECK: string
// @user-defined-start
/*
* You can use this section to explicitly extend the type definition of `import.meta.env`
* This is useful if you're using Vite plugins that define specific `import.meta.env` properties.
* If you're not using such plugins, this section should remain as is.
*/
SSR: boolean;
// @user-defined-end
}



interface ImportMeta {
// Auto-generated by `npx vite-envs update-types`

url: string

readonly hot?: import('vite-envs/types/hot').ViteHotContext

readonly env: ImportMetaEnv

glob: import('vite-envs/types/importGlob').ImportGlobFunction
}