mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 13:29:02 +08:00
feat: move electron a single package
This commit is contained in:
@@ -72,6 +72,17 @@ runs:
|
|||||||
YARN_INSTALL_STATE_PATH: .yarn/ci-cache/install-state.gz
|
YARN_INSTALL_STATE_PATH: .yarn/ci-cache/install-state.gz
|
||||||
HUSKY: '0'
|
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
|
- name: Get installed Playwright version
|
||||||
id: playwright-version
|
id: playwright-version
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -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",
|
"author": "affine",
|
||||||
"description": "AFFiNE App",
|
"description": "AFFiNE App",
|
||||||
"homepage": "https://github.com/toeverything/AFFiNE",
|
"homepage": "https://github.com/toeverything/AFFiNE",
|
||||||
|
"workspaces": [
|
||||||
|
"../../packages/*",
|
||||||
|
"../../tests/fixtures"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "cross-env NODE_ENV=development node scripts/dev.mjs",
|
"dev": "cross-env NODE_ENV=development node scripts/dev.mjs",
|
||||||
"prod": "cross-env NODE_ENV=production node scripts/dev.mjs",
|
"prod": "cross-env NODE_ENV=production node scripts/dev.mjs",
|
||||||
@@ -42,9 +46,5 @@
|
|||||||
"electron-window-state": "^5.0.3",
|
"electron-window-state": "^5.0.3",
|
||||||
"fs-extra": "^11.1.1"
|
"fs-extra": "^11.1.1"
|
||||||
},
|
},
|
||||||
"dependenciesMeta": {
|
"packageManager": "yarn@3.5.0"
|
||||||
"electron": {
|
|
||||||
"built": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
+17005
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
"author": "toeverything",
|
"author": "toeverything",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"apps/*",
|
"apps/(!electron)",
|
||||||
"packages/*",
|
"packages/*",
|
||||||
"tests/fixtures"
|
"tests/fixtures"
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user