修复分支上的格式与导入排序门禁问题
- 用 rustfmt 修正 AGC Tauri 导出包测试的断言排版 - 按 simple-import-sort 修正 AGC App.tsx 导入顺序与 packages/shared 导出顺序
This commit is contained in:
@@ -3927,10 +3927,7 @@ fn local_project_export_package_publish_payload_contains_bytes_and_file_digests(
|
||||
payload.package_bytes.len() as u64
|
||||
);
|
||||
assert_eq!(payload.files.len(), 2);
|
||||
assert!(payload
|
||||
.files
|
||||
.iter()
|
||||
.any(|file| file.path == "index.html"));
|
||||
assert!(payload.files.iter().any(|file| file.path == "index.html"));
|
||||
assert!(payload
|
||||
.files
|
||||
.iter()
|
||||
|
||||
@@ -40,7 +40,6 @@ import {
|
||||
} from './app/constants';
|
||||
import { useEscapeToClose } from './app/dialogs';
|
||||
import { resolveTauriInvoke } from './app/tauri';
|
||||
import { GameDistributionPublishPanel } from './components/game-distribution/GameDistributionPublishPanel';
|
||||
import type {
|
||||
AgentBackgroundSubmitMode,
|
||||
AgentProgressEvent,
|
||||
@@ -98,6 +97,7 @@ import type {
|
||||
TauriInvoke,
|
||||
UploadLocalAssetResult,
|
||||
} from './app/types';
|
||||
import { GameDistributionPublishPanel } from './components/game-distribution/GameDistributionPublishPanel';
|
||||
import { useWindowChrome } from './components/windowChromeContext';
|
||||
import {
|
||||
agentConversationId,
|
||||
|
||||
@@ -2,10 +2,10 @@ export * from './components';
|
||||
export * from './contracts/auth';
|
||||
export type * from './contracts/clientDownload';
|
||||
export * from './contracts/common';
|
||||
export * from './contracts/gameDistribution';
|
||||
export type * from './contracts/editorAudio';
|
||||
export * from './contracts/editorScene';
|
||||
export * from './contracts/externalGeneration';
|
||||
export * from './contracts/gameDistribution';
|
||||
export type * from './contracts/hyper3d';
|
||||
export * from './contracts/runtime';
|
||||
export * from './http';
|
||||
|
||||
Reference in New Issue
Block a user