chore: format all frontend files (#430)
This commit is contained in:
@@ -82,7 +82,10 @@ const updateDTS = ({
|
||||
*/
|
||||
/* eslint-disable */
|
||||
/* prettier-ignore */
|
||||
// Automatically generated based on ${path.relative(baseDir, inputFileName)}, do not modify manually `,
|
||||
// Automatically generated based on ${path.relative(
|
||||
baseDir,
|
||||
inputFileName,
|
||||
)}, do not modify manually `,
|
||||
{
|
||||
overwrite: true,
|
||||
},
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { build } from './build';
|
||||
|
||||
build();
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { getCurrentBranch } from './utils/current-branch';
|
||||
|
||||
const processEnvs = {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { extractEnvValue } from '../utils/config-helper';
|
||||
|
||||
const VOLCANO_PLATFORM_ID = extractEnvValue<number | null>({
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { base } from './base';
|
||||
const { IS_RELEASE_VERSION, IS_OVERSEA, IS_BOE } = base;
|
||||
export const features = {
|
||||
@@ -68,7 +68,7 @@ export const features = {
|
||||
|
||||
/**
|
||||
* Add UG clue return parameters to the data reported by Tea, which is only required for cn release.
|
||||
*
|
||||
*
|
||||
*/
|
||||
FEATURE_ENABLE_TEA_UG: IS_RELEASE_VERSION && !IS_OVERSEA,
|
||||
};
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { features } from './features';
|
||||
import { configs } from './configs';
|
||||
import { base } from './base';
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
class Env {
|
||||
get isPPE() {
|
||||
return IS_PROD;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
/* eslint-disable */
|
||||
/* prettier-ignore */
|
||||
// Automatically generated based on src/index.ts, do not modify manually
|
||||
// Automatically generated based on src/index.ts, do not modify manually
|
||||
declare const APP_ID: number;
|
||||
declare const APP_KEY: string;
|
||||
declare const AWEME_ORIGIN: string;
|
||||
@@ -24,7 +24,15 @@ declare const AWEME_PLATFORM_ID: number;
|
||||
declare const BOT_BRAND_NAME: string;
|
||||
declare const BUILD_BRANCH: string;
|
||||
declare const BUILD_TYPE: 'local' | 'online' | 'offline' | 'test';
|
||||
declare const BYTE_UPLOADER_REGION: 'cn-north-1' | 'us-east-1' | 'ap-singapore-1' | 'us-east-red' | 'boe' | 'boei18n' | 'US-TTP' | 'gcp';
|
||||
declare const BYTE_UPLOADER_REGION:
|
||||
| 'cn-north-1'
|
||||
| 'us-east-1'
|
||||
| 'ap-singapore-1'
|
||||
| 'us-east-red'
|
||||
| 'boe'
|
||||
| 'boei18n'
|
||||
| 'US-TTP'
|
||||
| 'gcp';
|
||||
declare const CARD_BUILDER_ENV_STR: string;
|
||||
declare const CDN: string | undefined;
|
||||
declare const CDN_PATH_PREFIX: string;
|
||||
@@ -108,4 +116,3 @@ declare const VOLCANO_PLATFORM_APP_KEY: string | null;
|
||||
declare const VOLCANO_PLATFORM_ID: number | null;
|
||||
declare const VOLC_PRIVATE_POLICY: string;
|
||||
declare const VOLC_TERMS_OF_SERVICE: string;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { execSync } from 'child_process';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user