mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-08 18:43:46 +00:00
feat: move electron a single package
This commit is contained in:
11
.github/actions/setup-node/action.yml
vendored
11
.github/actions/setup-node/action.yml
vendored
@@ -72,6 +72,17 @@ runs:
|
||||
YARN_INSTALL_STATE_PATH: .yarn/ci-cache/install-state.gz
|
||||
HUSKY: '0'
|
||||
|
||||
- name: yarn install (electron)
|
||||
if: ${{ inputs.package-install == 'true' }}
|
||||
shell: bash
|
||||
run: yarn install ${{ inputs.extra-flags }}
|
||||
working-directory: packages/electron
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}
|
||||
YARN_ENABLE_GLOBAL_CACHE: 'false'
|
||||
YARN_INSTALL_STATE_PATH: .yarn/ci-cache/install-state.gz
|
||||
HUSKY: '0'
|
||||
|
||||
- name: Get installed Playwright version
|
||||
id: playwright-version
|
||||
shell: bash
|
||||
|
||||
8
apps/electron/.yarn.yml
Normal file
8
apps/electron/.yarn.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
cacheFolder: '../../.yarn/cache'
|
||||
deferredVersionFolder: '../../.yarn/versions'
|
||||
globalFolder: '../../.yarn/global'
|
||||
installStatePath: '../../.yarn/install-state.gz'
|
||||
patchFolder: '../../.yarn/patches'
|
||||
pnpUnpluggedFolder: '../../.yarn/unplugged'
|
||||
yarnPath: '../../.yarn/releases/yarn-3.5.0.cjs'
|
||||
virtualFolder: '../../.yarn/__virtual__'
|
||||
@@ -6,6 +6,10 @@
|
||||
"author": "affine",
|
||||
"description": "AFFiNE App",
|
||||
"homepage": "https://github.com/toeverything/AFFiNE",
|
||||
"workspaces": [
|
||||
"../../packages/*",
|
||||
"../../tests/fixtures"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "cross-env NODE_ENV=development node scripts/dev.mjs",
|
||||
"prod": "cross-env NODE_ENV=production node scripts/dev.mjs",
|
||||
@@ -42,9 +46,5 @@
|
||||
"electron-window-state": "^5.0.3",
|
||||
"fs-extra": "^11.1.1"
|
||||
},
|
||||
"dependenciesMeta": {
|
||||
"electron": {
|
||||
"built": false
|
||||
}
|
||||
}
|
||||
"packageManager": "yarn@3.5.0"
|
||||
}
|
||||
|
||||
17005
apps/electron/yarn.lock
Normal file
17005
apps/electron/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@
|
||||
"author": "toeverything",
|
||||
"license": "MPL-2.0",
|
||||
"workspaces": [
|
||||
"apps/*",
|
||||
"apps/(!electron)",
|
||||
"packages/*",
|
||||
"tests/fixtures"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user