move folders (#12758)
This commit is contained in:
parent
d021e1b711
commit
fde816e4ee
|
|
@ -26,7 +26,7 @@ on:
|
||||||
# Node, so any change to the daemon bundle graph or the main build must
|
# Node, so any change to the daemon bundle graph or the main build must
|
||||||
# re-run it (the v1.4.129-rc.1 daemon outage shipped with green CI).
|
# re-run it (the v1.4.129-rc.1 daemon outage shipped with green CI).
|
||||||
- 'electron.vite.config.ts'
|
- 'electron.vite.config.ts'
|
||||||
- 'build-plugins/**'
|
- 'config/build-plugins/**'
|
||||||
- 'src/main/daemon/**'
|
- 'src/main/daemon/**'
|
||||||
- 'native/computer-use-macos/**'
|
- 'native/computer-use-macos/**'
|
||||||
- 'native/computer-use-linux/**'
|
- 'native/computer-use-linux/**'
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ jobs:
|
||||||
'!config/reliability-gates.jsonc',
|
'!config/reliability-gates.jsonc',
|
||||||
'!config/max-lines-baseline.txt',
|
'!config/max-lines-baseline.txt',
|
||||||
'!config/vitest.config.ts',
|
'!config/vitest.config.ts',
|
||||||
'build-plugins/**',
|
'config/build-plugins/**',
|
||||||
'native/**',
|
'native/**',
|
||||||
'resources/**',
|
'resources/**',
|
||||||
'electron.vite.config.ts',
|
'electron.vite.config.ts',
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { BOOTSTRAP_FATAL_EXIT_GUARD_KEY } from '../src/main/startup/bootstrap-fatal-exit-guard'
|
import { BOOTSTRAP_FATAL_EXIT_GUARD_KEY } from '../../src/main/startup/bootstrap-fatal-exit-guard'
|
||||||
export const BOOTSTRAP_FATAL_LOG_ENV_VAR = 'ORCA_BOOTSTRAP_FATAL_LOG'
|
export const BOOTSTRAP_FATAL_LOG_ENV_VAR = 'ORCA_BOOTSTRAP_FATAL_LOG'
|
||||||
export const BOOTSTRAP_FATAL_LOG_FILE_NAME = 'bootstrap-fatal.log'
|
export const BOOTSTRAP_FATAL_LOG_FILE_NAME = 'bootstrap-fatal.log'
|
||||||
const BOOTSTRAP_FATAL_LOG_MAX_BYTES = 262_144
|
const BOOTSTRAP_FATAL_LOG_MAX_BYTES = 262_144
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
"src/relay/relay.ts",
|
"src/relay/relay.ts",
|
||||||
"src/relay/wsl-agent-hook-relay.ts",
|
"src/relay/wsl-agent-hook-relay.ts",
|
||||||
"config/scripts/**/*.{mjs,cjs,js,ts}",
|
"config/scripts/**/*.{mjs,cjs,js,ts}",
|
||||||
"build-plugins/**/*.ts",
|
"config/build-plugins/**/*.ts",
|
||||||
"electron.vite.config.ts",
|
"electron.vite.config.ts",
|
||||||
"vite.web.config.ts",
|
"vite.web.config.ts",
|
||||||
"config/vitest.config.ts",
|
"config/vitest.config.ts",
|
||||||
|
|
@ -34,7 +34,11 @@
|
||||||
"tests/**/*.{ts,tsx,mjs}",
|
"tests/**/*.{ts,tsx,mjs}",
|
||||||
"**/*.test.{ts,tsx}"
|
"**/*.test.{ts,tsx}"
|
||||||
],
|
],
|
||||||
"project": ["src/**/*.{ts,tsx}", "config/scripts/**/*.{mjs,cjs,js,ts}", "build-plugins/**/*.ts"],
|
"project": [
|
||||||
|
"src/**/*.{ts,tsx}",
|
||||||
|
"config/scripts/**/*.{mjs,cjs,js,ts}",
|
||||||
|
"config/build-plugins/**/*.ts"
|
||||||
|
],
|
||||||
"ignore": ["mobile/**", "out/**", "dist/**", "node_modules/**", "resources/**"],
|
"ignore": ["mobile/**", "out/**", "dist/**", "node_modules/**", "resources/**"],
|
||||||
"ignoreDependencies": ["electron", "@types/*"],
|
"ignoreDependencies": ["electron", "@types/*"],
|
||||||
"ignoreExportsUsedInFile": true,
|
"ignoreExportsUsedInFile": true,
|
||||||
|
|
|
||||||
|
|
@ -219,7 +219,7 @@ describe('computer-use e2e workflow', () => {
|
||||||
'config/scripts/daemon-boot-smoke.mjs',
|
'config/scripts/daemon-boot-smoke.mjs',
|
||||||
'config/scripts/windows-daemon-workspace-close-repro.mjs',
|
'config/scripts/windows-daemon-workspace-close-repro.mjs',
|
||||||
'electron.vite.config.ts',
|
'electron.vite.config.ts',
|
||||||
'build-plugins/**',
|
'config/build-plugins/**',
|
||||||
'src/main/daemon/**'
|
'src/main/daemon/**'
|
||||||
])
|
])
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ import {
|
||||||
BOOTSTRAP_FATAL_LOG_ENV_VAR,
|
BOOTSTRAP_FATAL_LOG_ENV_VAR,
|
||||||
BOOTSTRAP_FATAL_LOG_FILE_NAME,
|
BOOTSTRAP_FATAL_LOG_FILE_NAME,
|
||||||
createBootstrapFatalExitBanner
|
createBootstrapFatalExitBanner
|
||||||
} from '../../build-plugins/bootstrap-fatal-exit-banner'
|
} from '../build-plugins/bootstrap-fatal-exit-banner'
|
||||||
import { electronViteConfig } from '../../electron.vite.config'
|
import { electronViteConfig } from '../../electron.vite.config'
|
||||||
import { BOOTSTRAP_FATAL_EXIT_GUARD_KEY } from '../../src/main/startup/bootstrap-fatal-exit-guard'
|
import { BOOTSTRAP_FATAL_EXIT_GUARD_KEY } from '../../src/main/startup/bootstrap-fatal-exit-guard'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import { tmpdir } from 'node:os'
|
||||||
import { join } from 'node:path'
|
import { join } from 'node:path'
|
||||||
import type { Plugin, Rollup } from 'vite'
|
import type { Plugin, Rollup } from 'vite'
|
||||||
import { afterEach, describe, expect, it } from 'vitest'
|
import { afterEach, describe, expect, it } from 'vitest'
|
||||||
import { createPlainNodeEntryGuardPlugin } from '../../build-plugins/plain-node-entry-guard'
|
import { createPlainNodeEntryGuardPlugin } from '../build-plugins/plain-node-entry-guard'
|
||||||
|
|
||||||
let outputDir: string | undefined
|
let outputDir: string | undefined
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"extends": "@electron-toolkit/tsconfig/tsconfig.node.json",
|
"extends": "@electron-toolkit/tsconfig/tsconfig.node.json",
|
||||||
"include": [
|
"include": [
|
||||||
"../electron.vite.config.*",
|
"../electron.vite.config.*",
|
||||||
"../build-plugins/**/*",
|
"./build-plugins/**/*",
|
||||||
"../src/main/**/*",
|
"../src/main/**/*",
|
||||||
"../src/renderer/src/lib/skill-freshness-display-status.ts",
|
"../src/renderer/src/lib/skill-freshness-display-status.ts",
|
||||||
"../src/preload/**/*",
|
"../src/preload/**/*",
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ import { resolve } from 'node:path'
|
||||||
import { defineConfig, type UserConfig } from 'electron-vite'
|
import { defineConfig, type UserConfig } from 'electron-vite'
|
||||||
import react from '@vitejs/plugin-react'
|
import react from '@vitejs/plugin-react'
|
||||||
import tailwindcss from '@tailwindcss/vite'
|
import tailwindcss from '@tailwindcss/vite'
|
||||||
import { createBootstrapFatalExitBanner } from './build-plugins/bootstrap-fatal-exit-banner'
|
import { createBootstrapFatalExitBanner } from './config/build-plugins/bootstrap-fatal-exit-banner'
|
||||||
import { createPlainNodeEntryGuardPlugin } from './build-plugins/plain-node-entry-guard'
|
import { createPlainNodeEntryGuardPlugin } from './config/build-plugins/plain-node-entry-guard'
|
||||||
import packageJson from './package.json' with { type: 'json' }
|
import packageJson from './package.json' with { type: 'json' }
|
||||||
|
|
||||||
const BUNDLED_MAIN_DEPENDENCIES = new Set([
|
const BUNDLED_MAIN_DEPENDENCIES = new Set([
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue