feat: listed versioning for beta builds (#192)
This commit is contained in:
13
@types/css-imports.d.ts
vendored
13
@types/css-imports.d.ts
vendored
@@ -1,13 +0,0 @@
|
||||
declare module '*.module.css' {
|
||||
const classes: { [key: string]: string };
|
||||
export default classes;
|
||||
}
|
||||
|
||||
declare module '*.module.scss' {
|
||||
const classes: { [key: string]: string };
|
||||
export default classes;
|
||||
}
|
||||
declare module '*.mp3' {
|
||||
const src: string;
|
||||
export default src;
|
||||
}
|
||||
22
@types/environment.d.ts
vendored
22
@types/environment.d.ts
vendored
@@ -1,22 +0,0 @@
|
||||
declare global {
|
||||
namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
NODE_ENV: 'development' | 'production';
|
||||
CI?: string;
|
||||
/** set this to make sure the extension id is the same for unpacked extensions
|
||||
* @see https://developer.chrome.com/docs/apps/app_identity/#copy_key */
|
||||
MANIFEST_KEY?: string;
|
||||
/**
|
||||
* The Node semantic versioning-compatible version of the extension. For preview-style releases, this variable
|
||||
* converts versions like 1.0.0.100 to 1.0.0-beta.1.
|
||||
*/
|
||||
SEMANTIC_VERSION?: string;
|
||||
}
|
||||
}
|
||||
|
||||
type Environment = typeof process.env.NODE_ENV;
|
||||
}
|
||||
|
||||
// If this file has no import/export statements (i.e. is a script)
|
||||
// convert it into a module by adding an empty export statement.
|
||||
export {};
|
||||
6
@types/svg-import.d.ts
vendored
6
@types/svg-import.d.ts
vendored
@@ -1,6 +0,0 @@
|
||||
declare module "*.svg" {
|
||||
import { ReactElement, SVGProps } from "react";
|
||||
|
||||
const ReactComponent: (props: SVGProps<SVGElement>) => ReactElement;
|
||||
export default ReactComponent;
|
||||
}
|
||||
10
@types/vite-env.d.ts
vendored
Normal file
10
@types/vite-env.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
interface ImportMetaEnv {
|
||||
readonly VITE_PACKAGE_VERSION: string;
|
||||
readonly VITE_BETA_BUILD?: 'true';
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv;
|
||||
}
|
||||
Reference in New Issue
Block a user