feat: move electron a single package

This commit is contained in:
himself65
2023-03-27 22:30:03 -05:00
parent bdc29fc5f8
commit bf85db1952
6 changed files with 17123 additions and 4129 deletions
+11
View File
@@ -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
+8
View 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__'
+5 -5
View File
@@ -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
}
}
} }
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -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"
], ],
+93 -4123
View File
File diff suppressed because it is too large Load Diff