mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-05 00:54:56 +00:00
Compare commits
71 Commits
v0.11.0-de
...
v0.11.0-be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9012adda7a | ||
|
|
9fbd9b39d6 | ||
|
|
fb442e9055 | ||
|
|
aeec68b0d7 | ||
|
|
fb1ed90ecc | ||
|
|
cc73124259 | ||
|
|
c2db8b356c | ||
|
|
eaa62df2dd | ||
|
|
332a5c6685 | ||
|
|
a231474dd2 | ||
|
|
34c1d2a674 | ||
|
|
4dc41fcd09 | ||
|
|
bfbdde212f | ||
|
|
833b42000b | ||
|
|
7690c48710 | ||
|
|
579828a700 | ||
|
|
746db2ccfc | ||
|
|
eff344a9c1 | ||
|
|
c89ebab596 | ||
|
|
62f4421b7c | ||
|
|
42383dbd29 | ||
|
|
120e7397ba | ||
|
|
24123ad01c | ||
|
|
ad50320391 | ||
|
|
eb21a60dda | ||
|
|
c0e3be2d40 | ||
|
|
09d3b72358 | ||
|
|
246e16c6c0 | ||
|
|
dc279d062b | ||
|
|
47d5f9e1c2 | ||
|
|
a226eb8d5f | ||
|
|
908c4e1a6f | ||
|
|
1d0bcc80a0 | ||
|
|
50010bd824 | ||
|
|
c0ede1326d | ||
|
|
89197bacef | ||
|
|
f97d323ab5 | ||
|
|
2acb219dcc | ||
|
|
992ed89a89 | ||
|
|
d272d7922d | ||
|
|
c1cd1713b9 | ||
|
|
b20e91bee0 | ||
|
|
9a4e5ec8c3 | ||
|
|
2019838ae7 | ||
|
|
30ff25f400 | ||
|
|
e766208c18 | ||
|
|
8742f28148 | ||
|
|
cd291bb60e | ||
|
|
62c0efcfd1 | ||
|
|
87248b3337 | ||
|
|
00c940f7df | ||
|
|
931b459fbd | ||
|
|
51e71f4a0a | ||
|
|
9b631f2328 | ||
|
|
01f481a9b6 | ||
|
|
0177ab5c87 | ||
|
|
4db35d341c | ||
|
|
3c4a803c97 | ||
|
|
05154dc7ca | ||
|
|
c90b477f60 | ||
|
|
6f18ddbe85 | ||
|
|
dde779a71d | ||
|
|
bd9f66fbc7 | ||
|
|
92f1f40bfa | ||
|
|
48dc1049b3 | ||
|
|
9add530370 | ||
|
|
b77460d871 | ||
|
|
42db41776b | ||
|
|
075439c74f | ||
|
|
fc6c553ece | ||
|
|
59cb3d5df1 |
24
.github/actions/setup-version/action.yml
vendored
Normal file
24
.github/actions/setup-version/action.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Setup Version
|
||||
description: 'Setup Version'
|
||||
outputs:
|
||||
APP_VERSION:
|
||||
description: 'App Version'
|
||||
value: ${{ steps.version.outputs.APP_VERSION }}
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: 'Write Version'
|
||||
id: version
|
||||
shell: bash
|
||||
run: |
|
||||
if [ "${{ github.ref_type }}" == "tag" ]; then
|
||||
APP_VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
|
||||
else
|
||||
PACKAGE_VERSION=$(node -p "require('./package.json').version")
|
||||
TIME_VERSION=$(date +%Y%m%d%H%M)
|
||||
GIT_SHORT_HASH=$(git rev-parse --short HEAD)
|
||||
APP_VERSION=$PACKAGE_VERSION-nightly-$TIME_VERSION-$GIT_SHORT_HASH
|
||||
fi
|
||||
echo $APP_VERSION
|
||||
echo "APP_VERSION=$APP_VERSION" >> "$GITHUB_OUTPUT"
|
||||
./scripts/set-version.sh $APP_VERSION
|
||||
27
.github/workflows/deploy-automatically.yml
vendored
Normal file
27
.github/workflows/deploy-automatically.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Deploy Automatically
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v[0-9]+.[0-9]+.[0-9]+-canary.[0-9]+'
|
||||
schedule:
|
||||
- cron: '0 9 * * *'
|
||||
|
||||
jobs:
|
||||
dispatch-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
name: Setup Deploy
|
||||
steps:
|
||||
- name: dispatch deploy by tag
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
uses: benc-uk/workflow-dispatch@v1
|
||||
with:
|
||||
workflow: deploy.yml
|
||||
inputs: '{ "flavor": "canary" }'
|
||||
- name: dispatch deploy by schedule
|
||||
if: ${{ github.event_name == 'schedule' }}
|
||||
uses: benc-uk/workflow-dispatch@v1
|
||||
with:
|
||||
workflow: deploy.yml
|
||||
inputs: '{ "flavor": "canary" }'
|
||||
ref: canary
|
||||
29
.github/workflows/deploy.yml
vendored
29
.github/workflows/deploy.yml
vendored
@@ -4,10 +4,14 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
flavor:
|
||||
description: 'Build type (canary, beta, or stable or internal)'
|
||||
type: string
|
||||
description: 'Select what enverionment to deploy to'
|
||||
type: choice
|
||||
default: canary
|
||||
|
||||
options:
|
||||
- canary
|
||||
- beta
|
||||
- stable
|
||||
- internal
|
||||
env:
|
||||
APP_NAME: affine
|
||||
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
|
||||
@@ -18,6 +22,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Version
|
||||
id: version
|
||||
uses: ./.github/actions/setup-version
|
||||
- name: Setup Node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
with:
|
||||
@@ -36,6 +43,9 @@ jobs:
|
||||
environment: ${{ github.event.inputs.flavor }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Version
|
||||
id: version
|
||||
uses: ./.github/actions/setup-version
|
||||
- name: Setup Node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
- name: Build Plugins
|
||||
@@ -67,6 +77,9 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Version
|
||||
id: version
|
||||
uses: ./.github/actions/setup-version
|
||||
- name: Setup Node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
- name: Build Rust
|
||||
@@ -88,6 +101,9 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Version
|
||||
id: version
|
||||
uses: ./.github/actions/setup-version
|
||||
- name: Setup Node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
- name: Build Rust
|
||||
@@ -207,12 +223,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: setup deploy version
|
||||
- name: Setup Version
|
||||
id: version
|
||||
run: |
|
||||
export APP_VERSION=`node -e "console.log(require('./package.json').version)"`
|
||||
echo $APP_VERSION
|
||||
echo "APP_VERSION=$APP_VERSION" >> "$GITHUB_OUTPUT"
|
||||
uses: ./.github/actions/setup-version
|
||||
- name: Deploy to ${{ github.event.inputs.flavor }}
|
||||
uses: ./.github/actions/deploy
|
||||
with:
|
||||
|
||||
30
.github/workflows/dispatch-deploy.yml
vendored
30
.github/workflows/dispatch-deploy.yml
vendored
@@ -1,30 +0,0 @@
|
||||
name: Dispatch Deploy by tag
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v[0-9]+.[0-9]+.[0-9]+-canary.[0-9]+'
|
||||
|
||||
jobs:
|
||||
dispatch-deploy-by-tag:
|
||||
runs-on: ubuntu-latest
|
||||
name: Setup deploy environment
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
with:
|
||||
extra-flags: 'workspaces focus @affine/monorepo'
|
||||
hard-link-nm: false
|
||||
electron-install: false
|
||||
build-infra: false
|
||||
build-plugins: false
|
||||
- name: Setup output value
|
||||
id: flavor
|
||||
run: |
|
||||
node -e "const env = require('semver').parse('${{ github.ref_name }}').prerelease[0] ?? 'stable'; console.log(`flavor=${env}`)" >> "$GITHUB_OUTPUT"
|
||||
- name: dispatch deploy
|
||||
uses: benc-uk/workflow-dispatch@v1
|
||||
with:
|
||||
workflow: deploy.yml
|
||||
inputs: '{ "flavor": "${{ steps.flavor.outputs.flavor }}" }'
|
||||
258
.github/workflows/nightly-build.yml
vendored
258
.github/workflows/nightly-build.yml
vendored
@@ -1,258 +0,0 @@
|
||||
name: Build Canary Desktop App on Staging Branch
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
channel_override:
|
||||
description: 'channel type (canary, beta, or stable)'
|
||||
type: choice
|
||||
default: beta
|
||||
options:
|
||||
- canary
|
||||
- beta
|
||||
- stable
|
||||
push:
|
||||
branches:
|
||||
# 0.6.x-staging
|
||||
- v[0-9]+.[0-9]+.x-staging
|
||||
# 0.6.1-staging
|
||||
- v[0-9]+.[0-9]+.[0-9]+-staging
|
||||
paths-ignore:
|
||||
- README.md
|
||||
- .github/**
|
||||
- '!.github/workflows/nightly-build.yml'
|
||||
- '!.github/actions/build-rust/action.yml'
|
||||
- '!.github/actions/setup-node/action.yml'
|
||||
|
||||
permissions:
|
||||
actions: write
|
||||
contents: write
|
||||
security-events: write
|
||||
|
||||
concurrency:
|
||||
# The concurrency group contains the workflow name and the branch name for
|
||||
# pull requests or the commit hash for any other events.
|
||||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
# BUILD_TYPE => app icon, app name, etc
|
||||
BUILD_TYPE: internal
|
||||
# BUILD_TYPE_OVERRIDE => channel type (canary, beta, or stable) - get the channel type (the api configs)
|
||||
BUILD_TYPE_OVERRIDE: ${{ github.event.inputs.channel_override || 'beta' }}
|
||||
|
||||
jobs:
|
||||
set-build-version:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
version: 0.0.0-internal.${{ steps.version.outputs.version }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: toeverything/set-build-version@latest
|
||||
- id: version
|
||||
run: echo ::set-output name=version::${{ env.BUILD_VERSION }}
|
||||
|
||||
before-make:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- set-build-version
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
- name: Setup @sentry/cli
|
||||
uses: ./.github/actions/setup-sentry
|
||||
- name: Replace Version
|
||||
run: ./scripts/set-version.sh ${{ needs.set-build-version.outputs.version }}
|
||||
- name: generate-assets
|
||||
run: yarn workspace @affine/electron generate-assets
|
||||
env:
|
||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||
RELEASE_VERSION: ${{ needs.set-build-version.outputs.version }}
|
||||
SKIP_PLUGIN_BUILD: 'true'
|
||||
SKIP_NX_CACHE: 'true'
|
||||
|
||||
- name: Upload core artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: core
|
||||
path: packages/frontend/electron/resources/web-static
|
||||
|
||||
make-distribution:
|
||||
strategy:
|
||||
# all combinations: macos-latest x64, macos-latest arm64, ubuntu-latest x64
|
||||
# For windows, we need a separate approach
|
||||
matrix:
|
||||
spec:
|
||||
- runner: macos-latest
|
||||
platform: darwin
|
||||
arch: x64
|
||||
target: x86_64-apple-darwin
|
||||
- runner: macos-latest
|
||||
platform: darwin
|
||||
arch: arm64
|
||||
target: aarch64-apple-darwin
|
||||
- runner: ubuntu-latest
|
||||
platform: linux
|
||||
arch: x64
|
||||
target: x86_64-unknown-linux-gnu
|
||||
- runner: windows-latest
|
||||
platform: win32
|
||||
arch: x64
|
||||
target: x86_64-pc-windows-msvc
|
||||
runs-on: ${{ matrix.spec.runner }}
|
||||
needs:
|
||||
- before-make
|
||||
- set-build-version
|
||||
env:
|
||||
APPLE_ID: ${{ secrets.APPLE_ID }}
|
||||
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
||||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
||||
SKIP_GENERATE_ASSETS: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Node.js
|
||||
timeout-minutes: 10
|
||||
if: ${{ matrix.spec.platform == 'darwin' }}
|
||||
uses: ./.github/actions/setup-node
|
||||
with:
|
||||
extra-flags: workspaces focus @affine/electron @affine/monorepo
|
||||
hard-link-nm: false
|
||||
build-plugins: false
|
||||
nmHoistingLimits: workspaces
|
||||
enableScripts: false
|
||||
- name: Setup Node.js
|
||||
timeout-minutes: 10
|
||||
if: ${{ matrix.spec.platform != 'darwin' }}
|
||||
uses: ./.github/actions/setup-node
|
||||
with:
|
||||
extra-flags: workspaces focus @affine/electron @affine/monorepo
|
||||
hard-link-nm: false
|
||||
build-plugins: false
|
||||
nmHoistingLimits: workspaces
|
||||
- name: Build AFFiNE native
|
||||
uses: ./.github/actions/build-rust
|
||||
with:
|
||||
target: ${{ matrix.spec.target }}
|
||||
package: '@affine/native'
|
||||
nx_token: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
|
||||
- name: Replace Version
|
||||
run: ./scripts/set-version.sh ${{ needs.set-build-version.outputs.version }}
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: core
|
||||
path: packages/frontend/electron/resources/web-static
|
||||
|
||||
- name: Build Plugins
|
||||
run: yarn run build:plugins
|
||||
|
||||
- name: Build Desktop Layers
|
||||
run: yarn workspace @affine/electron build
|
||||
|
||||
- name: Signing By Apple Developer ID
|
||||
if: ${{ matrix.spec.platform == 'darwin' }}
|
||||
uses: apple-actions/import-codesign-certs@v2
|
||||
with:
|
||||
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
|
||||
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
|
||||
|
||||
- name: make
|
||||
run: yarn workspace @affine/electron make --platform=${{ matrix.spec.platform }} --arch=${{ matrix.spec.arch }}
|
||||
env:
|
||||
SKIP_PLUGIN_BUILD: 1
|
||||
SKIP_WEB_BUILD: 1
|
||||
HOIST_NODE_MODULES: 1
|
||||
|
||||
- name: Save artifacts (mac)
|
||||
if: ${{ matrix.spec.platform == 'darwin' }}
|
||||
run: |
|
||||
mkdir -p builds
|
||||
mv packages/frontend/electron/out/*/make/*.dmg ./builds/affine-${{ env.BUILD_TYPE }}-macos-${{ matrix.spec.arch }}.dmg
|
||||
mv packages/frontend/electron/out/*/make/zip/darwin/${{ matrix.spec.arch }}/*.zip ./builds/affine-${{ env.BUILD_TYPE }}-macos-${{ matrix.spec.arch }}.zip
|
||||
- name: Save artifacts (windows)
|
||||
if: ${{ matrix.spec.platform == 'win32' }}
|
||||
run: |
|
||||
mkdir -p builds
|
||||
mv packages/frontend/electron/out/*/make/zip/win32/x64/AFFiNE*-win32-x64-*.zip ./builds/affine-${{ env.BUILD_TYPE }}-windows-x64.zip
|
||||
mv packages/frontend/electron/out/*/make/squirrel.windows/x64/*.exe ./builds/affine-${{ env.BUILD_TYPE }}-windows-x64.exe
|
||||
mv packages/frontend/electron/out/*/make/squirrel.windows/x64/*.msi ./builds/affine-${{ env.BUILD_TYPE }}-windows-x64.msi
|
||||
mv packages/frontend/electron/out/*/make/squirrel.windows/x64/*.nupkg ./builds/affine-${{ env.BUILD_TYPE }}-windows-x64.nupkg
|
||||
|
||||
- name: Save artifacts (linux)
|
||||
if: ${{ matrix.spec.platform == 'linux' }}
|
||||
run: |
|
||||
mkdir -p builds
|
||||
mv packages/frontend/electron/out/*/make/zip/linux/x64/*.zip ./builds/affine-${{ env.BUILD_TYPE }}-linux-x64.zip
|
||||
mv packages/frontend/electron/out/*/make/AppImage/x64/*.AppImage ./builds/affine-${{ env.BUILD_TYPE }}-linux-x64.AppImage
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: affine-${{ matrix.spec.platform }}-${{ matrix.spec.arch }}-builds
|
||||
path: builds
|
||||
|
||||
release:
|
||||
needs:
|
||||
- make-distribution
|
||||
- set-build-version
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Download Artifacts (macos-x64)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: affine-darwin-x64-builds
|
||||
path: ./
|
||||
- name: Download Artifacts (macos-arm64)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: affine-darwin-arm64-builds
|
||||
path: ./
|
||||
- name: Download Artifacts (windows-x64)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: affine-win32-x64-builds
|
||||
path: ./
|
||||
- name: Download Artifacts (linux-x64)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: affine-linux-x64-builds
|
||||
path: ./
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
- name: Generate Release yml
|
||||
run: |
|
||||
node ./packages/frontend/electron/scripts/generate-yml.js
|
||||
env:
|
||||
RELEASE_VERSION: ${{ needs.set-build-version.outputs.version }}
|
||||
- name: Generate SHA512 checksums
|
||||
run: |
|
||||
sha512sum *-linux-* > SHA512SUMS.txt
|
||||
sha512sum *-macos-* >> SHA512SUMS.txt
|
||||
sha512sum *-windows-* >> SHA512SUMS.txt
|
||||
- name: Create Release Draft
|
||||
uses: softprops/action-gh-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
with:
|
||||
repository: 'toeverything/AFFiNE-Releases'
|
||||
name: ${{ needs.set-build-version.outputs.version }}
|
||||
tag_name: ${{ needs.set-build-version.outputs.version }}
|
||||
prerelease: true
|
||||
files: |
|
||||
./SHA512SUMS.txt
|
||||
./VERSION
|
||||
./*.zip
|
||||
./*.dmg
|
||||
./*.exe
|
||||
./*.nupkg
|
||||
./RELEASES
|
||||
./*.AppImage
|
||||
./*.apk
|
||||
./*.yml
|
||||
27
.github/workflows/release-desktop-automatically.yml
vendored
Normal file
27
.github/workflows/release-desktop-automatically.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Release Desktop Automatically
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v[0-9]+.[0-9]+.[0-9]+-canary.[0-9]+'
|
||||
schedule:
|
||||
- cron: '0 9 * * *'
|
||||
|
||||
jobs:
|
||||
dispatch-release-desktop:
|
||||
runs-on: ubuntu-latest
|
||||
name: Setup Release Desktop
|
||||
steps:
|
||||
- name: dispatch desktop release by tag
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
uses: benc-uk/workflow-dispatch@v1
|
||||
with:
|
||||
workflow: release-desktop.yml
|
||||
inputs: '{ "build-type": "canary", "is-draft": false, "is-pre-release": true }'
|
||||
- name: dispatch desktop release by schedule
|
||||
if: ${{ github.event_name == 'schedule' }}
|
||||
uses: benc-uk/workflow-dispatch@v1
|
||||
with:
|
||||
workflow: release-desktop.yml
|
||||
inputs: '{ "build-type": "canary", "is-draft": false, "is-pre-release": true }'
|
||||
ref: canary
|
||||
@@ -1,15 +1,17 @@
|
||||
name: Release Desktop App
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v[0-9]+.[0-9]+.[0-9]+-canary.[0-9]+'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: App Version
|
||||
build-type:
|
||||
description: 'Build Type'
|
||||
type: choice
|
||||
required: true
|
||||
default: 0.0.0
|
||||
default: canary
|
||||
options:
|
||||
- canary
|
||||
- beta
|
||||
- stable
|
||||
is-draft:
|
||||
description: 'Draft Release?'
|
||||
type: boolean
|
||||
@@ -20,11 +22,6 @@ on:
|
||||
type: boolean
|
||||
required: true
|
||||
default: true
|
||||
build-type:
|
||||
description: 'Build Type (canary, beta or stable)'
|
||||
type: string
|
||||
required: true
|
||||
default: canary
|
||||
|
||||
permissions:
|
||||
actions: write
|
||||
@@ -32,7 +29,7 @@ permissions:
|
||||
security-events: write
|
||||
|
||||
env:
|
||||
BUILD_TYPE: ${{ github.event.inputs.build-type || (github.ref_type == 'tag' && contains(github.ref, 'canary') && 'canary') }}
|
||||
BUILD_TYPE: ${{ github.event.inputs.build-type }}
|
||||
DEBUG: napi:*
|
||||
APP_NAME: affine
|
||||
MACOSX_DEPLOYMENT_TARGET: '10.13'
|
||||
@@ -40,26 +37,18 @@ env:
|
||||
jobs:
|
||||
before-make:
|
||||
runs-on: ubuntu-latest
|
||||
environment: ${{ github.event.inputs.build-type || (github.ref_type == 'tag' && contains(github.ref, 'canary') && 'canary') }}
|
||||
environment: ${{ github.event.inputs.build-type }}
|
||||
outputs:
|
||||
RELEASE_VERSION: ${{ steps.get-canary-version.outputs.RELEASE_VERSION }}
|
||||
RELEASE_VERSION: ${{ steps.version.outputs.APP_VERSION }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Version
|
||||
id: version
|
||||
uses: ./.github/actions/setup-version
|
||||
- name: Setup Node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
- name: Setup @sentry/cli
|
||||
uses: ./.github/actions/setup-sentry
|
||||
- name: Get canary version
|
||||
id: get-canary-version
|
||||
if: ${{ github.ref_type == 'tag' }}
|
||||
run: |
|
||||
TAG_VERSION=${GITHUB_REF#refs/tags/v}
|
||||
PACKAGE_VERSION=$(node -p "require('./packages/frontend/electron/package.json').version")
|
||||
if [ "$TAG_VERSION" != "$PACKAGE_VERSION" ]; then
|
||||
echo "Tag version ($TAG_VERSION) does not match package.json version ($PACKAGE_VERSION)"
|
||||
exit 1
|
||||
fi
|
||||
echo "RELEASE_VERSION=$(node -p "require('./packages/frontend/electron/package.json').version")" >> $GITHUB_OUTPUT
|
||||
- name: generate-assets
|
||||
run: yarn workspace @affine/electron generate-assets
|
||||
env:
|
||||
@@ -67,7 +56,7 @@ jobs:
|
||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||
RELEASE_VERSION: ${{ github.event.inputs.version || steps.get-canary-version.outputs.RELEASE_VERSION }}
|
||||
RELEASE_VERSION: ${{ steps.version.outputs.APP_VERSION }}
|
||||
SKIP_PLUGIN_BUILD: 'true'
|
||||
SKIP_NX_CACHE: 'true'
|
||||
|
||||
@@ -361,14 +350,14 @@ jobs:
|
||||
run: |
|
||||
node ./packages/frontend/electron/scripts/generate-yml.js
|
||||
env:
|
||||
RELEASE_VERSION: ${{ github.event.inputs.version || needs.before-make.outputs.RELEASE_VERSION }}
|
||||
RELEASE_VERSION: ${{ needs.before-make.outputs.RELEASE_VERSION }}
|
||||
- name: Create Release Draft
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
name: ${{ github.event.inputs.version || needs.before-make.outputs.RELEASE_VERSION }}
|
||||
name: ${{ needs.before-make.outputs.RELEASE_VERSION }}
|
||||
body: ''
|
||||
draft: ${{ github.event.inputs.is-draft || true }}
|
||||
prerelease: ${{ github.event.inputs.is-pre-release || needs.before-make.outputs.version }}
|
||||
draft: ${{ github.event.inputs.is-draft }}
|
||||
prerelease: ${{ github.event.inputs.is-pre-release }}
|
||||
files: |
|
||||
./VERSION
|
||||
./*.zip
|
||||
@@ -88,7 +88,7 @@
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-simple-import-sort": "^10.0.0",
|
||||
"eslint-plugin-sonarjs": "^0.23.0",
|
||||
"eslint-plugin-unicorn": "^49.0.0",
|
||||
"eslint-plugin-unicorn": "^50.0.0",
|
||||
"eslint-plugin-unused-imports": "^3.0.0",
|
||||
"eslint-plugin-vue": "^9.18.1",
|
||||
"fake-indexeddb": "5.0.1",
|
||||
|
||||
4
packages/common/env/package.json
vendored
4
packages/common/env/package.json
vendored
@@ -3,8 +3,8 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"vitest": "1.0.4",
|
||||
|
||||
@@ -62,9 +62,9 @@
|
||||
"@affine/debug": "workspace:*",
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/sdk": "workspace:*",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"jotai": "^2.5.1",
|
||||
"jotai-effect": "^0.2.3",
|
||||
"tinykeys": "^2.1.0",
|
||||
@@ -73,8 +73,8 @@
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine/templates": "workspace:*",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@testing-library/react": "^14.0.0",
|
||||
"async-call-rpc": "^6.3.1",
|
||||
"electron": "link:../../frontend/electron/node_modules/electron",
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"jotai": "^2.5.1",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
"y-provider": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"fake-indexeddb": "^5.0.0",
|
||||
"vite": "^5.0.6",
|
||||
"vite-plugin-dts": "3.6.0",
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"build": "vite build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"vite": "^5.0.6",
|
||||
"vite-plugin-dts": "3.6.0",
|
||||
"vitest": "1.0.4",
|
||||
|
||||
@@ -72,12 +72,12 @@
|
||||
"uuid": "^9.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/icons": "2.1.36",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@storybook/addon-actions": "^7.5.3",
|
||||
"@storybook/addon-essentials": "^7.5.3",
|
||||
"@storybook/addon-interactions": "^7.5.3",
|
||||
|
||||
@@ -21,6 +21,7 @@ interface ExportMenuItemProps<T> {
|
||||
|
||||
interface ExportProps {
|
||||
exportHandler: (type: 'pdf' | 'html' | 'png' | 'markdown') => Promise<void>;
|
||||
pageMode?: 'page' | 'edgeless';
|
||||
className?: string;
|
||||
}
|
||||
|
||||
@@ -47,6 +48,7 @@ export function ExportMenuItem<T>({
|
||||
export const ExportMenuItems = ({
|
||||
exportHandler,
|
||||
className = transitionStyle,
|
||||
pageMode = 'page',
|
||||
}: ExportProps) => {
|
||||
const t = useAFFiNEI18N();
|
||||
const itemMap = useMemo(
|
||||
@@ -94,16 +96,23 @@ export const ExportMenuItems = ({
|
||||
],
|
||||
[className, exportHandler, t]
|
||||
);
|
||||
const items = itemMap.map(({ component: Component, props }) => (
|
||||
<Component key={props.label} {...props} />
|
||||
));
|
||||
const items = itemMap.map(({ component: Component, props }) =>
|
||||
pageMode === 'edgeless' &&
|
||||
(props.type === 'pdf' || props.type === 'png') ? null : (
|
||||
<Component key={props.label} {...props} />
|
||||
)
|
||||
);
|
||||
return items;
|
||||
};
|
||||
|
||||
export const Export = ({ exportHandler, className }: ExportProps) => {
|
||||
export const Export = ({ exportHandler, className, pageMode }: ExportProps) => {
|
||||
const t = useAFFiNEI18N();
|
||||
const items = (
|
||||
<ExportMenuItems exportHandler={exportHandler} className={className} />
|
||||
<ExportMenuItems
|
||||
exportHandler={exportHandler}
|
||||
className={className}
|
||||
pageMode={pageMode}
|
||||
/>
|
||||
);
|
||||
return (
|
||||
<MenuSub
|
||||
|
||||
@@ -25,14 +25,14 @@
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@affine/templates": "workspace:*",
|
||||
"@affine/workspace": "workspace:*",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/icons": "2.1.36",
|
||||
"@blocksuite/inline": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/inline": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@dnd-kit/core": "^6.0.8",
|
||||
"@dnd-kit/sortable": "^8.0.0",
|
||||
"@emotion/cache": "^11.11.0",
|
||||
@@ -44,7 +44,7 @@
|
||||
"@radix-ui/react-dialog": "^1.0.4",
|
||||
"@radix-ui/react-scroll-area": "^1.0.5",
|
||||
"@radix-ui/react-select": "^2.0.0",
|
||||
"@react-hookz/web": "^23.1.0",
|
||||
"@react-hookz/web": "^24.0.0",
|
||||
"@sentry/integrations": "^7.83.0",
|
||||
"@sentry/react": "^7.83.0",
|
||||
"@toeverything/theme": "^0.7.20",
|
||||
|
||||
@@ -2,7 +2,15 @@ import { Button } from '@affine/component';
|
||||
|
||||
import * as styles from './animate-in-tooltip.css';
|
||||
|
||||
export const AnimateInTooltip = ({ onNext }: { onNext: () => void }) => {
|
||||
interface AnimateInTooltipProps {
|
||||
onNext: () => void;
|
||||
visible?: boolean;
|
||||
}
|
||||
|
||||
export const AnimateInTooltip = ({
|
||||
onNext,
|
||||
visible,
|
||||
}: AnimateInTooltipProps) => {
|
||||
return (
|
||||
<>
|
||||
<div className={styles.tooltip}>
|
||||
@@ -10,9 +18,11 @@ export const AnimateInTooltip = ({ onNext }: { onNext: () => void }) => {
|
||||
whiteboards and databases
|
||||
</div>
|
||||
<div className={styles.next}>
|
||||
<Button type="primary" size="extraLarge" onClick={onNext}>
|
||||
Next
|
||||
</Button>
|
||||
{visible ? (
|
||||
<Button type="primary" size="extraLarge" onClick={onNext}>
|
||||
Next
|
||||
</Button>
|
||||
) : null}
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -34,6 +34,11 @@ export const Onboarding = ({ onOpenApp }: OnboardingProps) => {
|
||||
});
|
||||
}, []);
|
||||
|
||||
const onTooltipNext = useCallback(() => {
|
||||
if (status.activeId) return;
|
||||
setStatus({ activeId: null, unfoldingId: '4' });
|
||||
}, [status.activeId]);
|
||||
|
||||
return (
|
||||
<div
|
||||
className={styles.onboarding}
|
||||
@@ -80,9 +85,7 @@ export const Onboarding = ({ onOpenApp }: OnboardingProps) => {
|
||||
)}
|
||||
|
||||
<div className={styles.tipsWrapper} data-visible={!status.activeId}>
|
||||
<AnimateInTooltip
|
||||
onNext={() => setStatus({ activeId: null, unfoldingId: '4' })}
|
||||
/>
|
||||
<AnimateInTooltip onNext={onTooltipNext} visible={!status.activeId} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14,6 +14,9 @@ export const edgelessSwitchWindow = style({
|
||||
fontFamily: 'var(--affine-font-family)',
|
||||
color: onboardingVars.paper.textColor,
|
||||
|
||||
maxWidth: 'calc(100vw - 48px)',
|
||||
maxHeight: 'calc(100vh - 48px)',
|
||||
|
||||
selectors: {
|
||||
'&[data-mode="edgeless"]': {
|
||||
width: onboardingVars.edgeless.w,
|
||||
|
||||
@@ -224,7 +224,15 @@ export const EdgelessSwitch = ({
|
||||
|
||||
<div data-no-drag className={styles.noDragWrapper}>
|
||||
<header className={styles.header}>
|
||||
<Button size="extraLarge" onClick={onBack}>
|
||||
<Button
|
||||
style={{
|
||||
background: 'white',
|
||||
borderColor: '#E3E2E4',
|
||||
color: '#424149',
|
||||
}}
|
||||
size="extraLarge"
|
||||
onClick={onBack}
|
||||
>
|
||||
Back
|
||||
</Button>
|
||||
<EdgelessSwitchButtons
|
||||
|
||||
@@ -100,8 +100,7 @@ export const onboarding = style([
|
||||
animation: `${fadeIn} 0.8s linear`,
|
||||
// content: 'unset',
|
||||
background:
|
||||
// 'linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 99.58%)',
|
||||
'linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 80%)',
|
||||
'linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 99.58%)',
|
||||
},
|
||||
'&[data-is-window="true"][data-is-desktop="true"]::after': {
|
||||
opacity: 0,
|
||||
@@ -133,16 +132,25 @@ export const paperLocation = style({
|
||||
export const tipsWrapper = style({
|
||||
position: 'absolute',
|
||||
width: `calc(${onboardingVars.article.w} - 48px)`,
|
||||
top: `calc(-${onboardingVars.article.h} / 2 + 24px)`,
|
||||
maxWidth: 'calc(100vw - 96px)',
|
||||
bottom: 0,
|
||||
height: `calc(${onboardingVars.article.h} / 2 - 24px)`,
|
||||
maxHeight: 'calc(50vh - 48px)',
|
||||
pointerEvents: 'none',
|
||||
display: 'flex',
|
||||
justifyContent: 'center',
|
||||
opacity: 0,
|
||||
transition: '0.3s ease 1s',
|
||||
transition: '0.3s ease',
|
||||
selectors: {
|
||||
'&[data-visible="true"]': {
|
||||
pointerEvents: 'auto',
|
||||
opacity: 1,
|
||||
},
|
||||
},
|
||||
});
|
||||
globalStyle(`${tipsWrapper} > *`, {
|
||||
display: 'inline-block',
|
||||
height: 'fit-content',
|
||||
});
|
||||
globalStyle(`${tipsWrapper}[data-visible="true"] > *`, {
|
||||
pointerEvents: 'auto',
|
||||
});
|
||||
|
||||
@@ -4,7 +4,9 @@ import { Divider } from '@affine/component/ui/divider';
|
||||
import { WorkspaceFlavour } from '@affine/env/workspace';
|
||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||
import { LinkIcon } from '@blocksuite/icons';
|
||||
import { useAtomValue } from 'jotai';
|
||||
|
||||
import { currentModeAtom } from '../../../../atoms/mode';
|
||||
import { useExportPage } from '../../../../hooks/affine/use-export-page';
|
||||
import * as styles from './index.css';
|
||||
import type { ShareMenuProps } from './share-menu';
|
||||
@@ -23,6 +25,7 @@ export const ShareExport = ({
|
||||
urlType: 'workspace',
|
||||
});
|
||||
const exportHandler = useExportPage(currentPage);
|
||||
const currentMode = useAtomValue(currentModeAtom);
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -36,6 +39,7 @@ export const ShareExport = ({
|
||||
<ExportMenuItems
|
||||
exportHandler={exportHandler}
|
||||
className={styles.menuItemStyle}
|
||||
pageMode={currentMode}
|
||||
/>
|
||||
</div>
|
||||
{workspace.flavour !== WorkspaceFlavour.LOCAL ? (
|
||||
|
||||
@@ -182,7 +182,7 @@ export const PageHeaderMenuButton = ({ rename, pageId }: PageMenuProps) => {
|
||||
>
|
||||
{t['Import']()}
|
||||
</MenuItem>
|
||||
<Export exportHandler={exportHandler} />
|
||||
<Export exportHandler={exportHandler} pageMode={currentMode} />
|
||||
|
||||
{workspace.flavour === WorkspaceFlavour.AFFINE_CLOUD &&
|
||||
runtimeConfig.enablePageHistory ? (
|
||||
|
||||
@@ -141,7 +141,7 @@ export function useRegisterBlocksuiteEditorCommands(
|
||||
unsubs.push(
|
||||
registerAffineCommand({
|
||||
id: `editor:${mode}-export-to-pdf`,
|
||||
preconditionStrategy,
|
||||
preconditionStrategy: () => mode === 'page' && !trash,
|
||||
category: `editor:${mode}`,
|
||||
icon: mode === 'page' ? <PageIcon /> : <EdgelessIcon />,
|
||||
label: t['Export to PDF'](),
|
||||
@@ -167,7 +167,7 @@ export function useRegisterBlocksuiteEditorCommands(
|
||||
unsubs.push(
|
||||
registerAffineCommand({
|
||||
id: `editor:${mode}-export-to-png`,
|
||||
preconditionStrategy,
|
||||
preconditionStrategy: () => mode === 'page' && !trash,
|
||||
category: `editor:${mode}`,
|
||||
icon: mode === 'page' ? <PageIcon /> : <EdgelessIcon />,
|
||||
label: t['Export to PNG'](),
|
||||
|
||||
@@ -32,10 +32,10 @@
|
||||
"@affine/sdk": "workspace:*",
|
||||
"@affine/templates": "workspace:*",
|
||||
"@affine/vue-hello-world-plugin": "workspace:*",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@electron-forge/cli": "^7.2.0",
|
||||
"@electron-forge/core": "^7.2.0",
|
||||
"@electron-forge/core-utils": "^7.2.0",
|
||||
|
||||
@@ -17,13 +17,14 @@ const affineCoreOutDir = path.join(affineCoreDir, 'dist');
|
||||
const publicAffineOutDir = path.join(publicDistDir, `web-static`);
|
||||
const releaseVersionEnv = process.env.RELEASE_VERSION || '';
|
||||
|
||||
console.log('build with following dir', {
|
||||
console.log('build with following variables', {
|
||||
repoRootDir,
|
||||
electronRootDir,
|
||||
publicDistDir,
|
||||
affineSrcDir: affineCoreDir,
|
||||
affineSrcOutDir: affineCoreOutDir,
|
||||
publicAffineOutDir,
|
||||
releaseVersionEnv,
|
||||
});
|
||||
|
||||
// step 0: check version match
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
import { BrowserWindow, screen } from 'electron';
|
||||
import { BrowserWindow, type Display, screen } from 'electron';
|
||||
import { join } from 'path';
|
||||
|
||||
import { isMacOS } from '../shared/utils';
|
||||
import { mainWindowOrigin } from './constants';
|
||||
// import { getExposedMeta } from './exposed';
|
||||
import { logger } from './logger';
|
||||
|
||||
const getScreenSize = (display: Display) => {
|
||||
const { width, height } = isMacOS() ? display.bounds : display.workArea;
|
||||
return { width, height };
|
||||
};
|
||||
|
||||
// todo: not all window need all of the exposed meta
|
||||
const getWindowAdditionalArguments = async () => {
|
||||
const { getExposedMeta } = await import('./exposed');
|
||||
@@ -15,11 +21,24 @@ const getWindowAdditionalArguments = async () => {
|
||||
];
|
||||
};
|
||||
|
||||
function fullscreenAndCenter(browserWindow: BrowserWindow) {
|
||||
const position = browserWindow.getPosition();
|
||||
const size = browserWindow.getSize();
|
||||
const currentDisplay = screen.getDisplayNearestPoint({
|
||||
x: position[0] + size[0] / 2,
|
||||
y: position[1] + size[1] / 2,
|
||||
});
|
||||
if (!currentDisplay) return;
|
||||
const { width, height } = getScreenSize(currentDisplay);
|
||||
browserWindow.setSize(width, height);
|
||||
browserWindow.center();
|
||||
}
|
||||
|
||||
async function createOnboardingWindow(additionalArguments: string[]) {
|
||||
logger.info('creating onboarding window');
|
||||
|
||||
// get user's screen size
|
||||
const { width, height } = screen.getPrimaryDisplay().workAreaSize;
|
||||
const { width, height } = getScreenSize(screen.getPrimaryDisplay());
|
||||
|
||||
const browserWindow = new BrowserWindow({
|
||||
width,
|
||||
@@ -36,6 +55,7 @@ async function createOnboardingWindow(additionalArguments: string[]) {
|
||||
// skipTaskbar: true,
|
||||
transparent: true,
|
||||
hasShadow: false,
|
||||
roundedCorners: false,
|
||||
webPreferences: {
|
||||
webgl: true,
|
||||
preload: join(__dirname, './preload.js'),
|
||||
@@ -56,12 +76,18 @@ async function createOnboardingWindow(additionalArguments: string[]) {
|
||||
browserWindow.on('ready-to-show', () => {
|
||||
// forcing zoom factor to 1 to avoid onboarding display issues
|
||||
browserWindow.webContents.setZoomFactor(1);
|
||||
fullscreenAndCenter(browserWindow);
|
||||
// TODO: add a timeout to avoid flickering, window is ready, but dom is not ready
|
||||
setTimeout(() => {
|
||||
browserWindow.show();
|
||||
}, 300);
|
||||
});
|
||||
|
||||
// When moved to another screen, resize to fit the screen
|
||||
browserWindow.on('moved', () => {
|
||||
fullscreenAndCenter(browserWindow);
|
||||
});
|
||||
|
||||
await browserWindow.loadURL(
|
||||
`${mainWindowOrigin}${mainWindowOrigin.endsWith('/') ? '' : '/'}onboarding`
|
||||
);
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
"@affine/debug": "workspace:*",
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/workspace": "workspace:*",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@testing-library/react": "^14.0.0",
|
||||
"@toeverything/infra": "workspace:*",
|
||||
"@types/image-blob-reduce": "^4.1.3",
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@playwright/test": "^1.39.0",
|
||||
"express": "^4.18.2",
|
||||
"http-proxy-middleware": "^3.0.0-beta.1",
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@playwright/test": "^1.39.0",
|
||||
"express": "^4.18.2",
|
||||
"http-proxy-middleware": "^3.0.0-beta.1",
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@playwright/test": "^1.39.0",
|
||||
"express": "^4.18.2",
|
||||
"http-proxy-middleware": "^3.0.0-beta.1",
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@playwright/test": "^1.39.0",
|
||||
"express": "^4.18.2",
|
||||
"http-proxy-middleware": "^3.0.0-beta.1",
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@playwright/test": "^1.39.0"
|
||||
},
|
||||
"version": "0.11.0"
|
||||
|
||||
@@ -107,6 +107,13 @@ const ThemeChange = () => {
|
||||
};
|
||||
|
||||
localStorage.clear();
|
||||
|
||||
// do not show onboarding for storybook
|
||||
window.localStorage.setItem(
|
||||
'app_config',
|
||||
'{"onBoarding":false, "dismissWorkspaceGuideModal":true}'
|
||||
);
|
||||
|
||||
const store = createStore();
|
||||
_setCurrentStore(store);
|
||||
setup();
|
||||
|
||||
@@ -31,14 +31,14 @@
|
||||
"wait-on": "^7.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/icons": "2.1.36",
|
||||
"@blocksuite/inline": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312200102-8254dc9",
|
||||
"@blocksuite/inline": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312210105-edfa58e",
|
||||
"@dnd-kit/sortable": "^8.0.0",
|
||||
"@tomfreudenberg/next-auth-mock": "^0.5.6",
|
||||
"chromatic": "^9.1.0",
|
||||
|
||||
311
yarn.lock
311
yarn.lock
@@ -25,10 +25,10 @@ __metadata:
|
||||
dependencies:
|
||||
"@affine-test/fixtures": "workspace:*"
|
||||
"@affine-test/kit": "workspace:*"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@playwright/test": "npm:^1.39.0"
|
||||
express: "npm:^4.18.2"
|
||||
http-proxy-middleware: "npm:^3.0.0-beta.1"
|
||||
@@ -42,10 +42,10 @@ __metadata:
|
||||
dependencies:
|
||||
"@affine-test/fixtures": "workspace:*"
|
||||
"@affine-test/kit": "workspace:*"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@playwright/test": "npm:^1.39.0"
|
||||
express: "npm:^4.18.2"
|
||||
http-proxy-middleware: "npm:^3.0.0-beta.1"
|
||||
@@ -59,10 +59,10 @@ __metadata:
|
||||
dependencies:
|
||||
"@affine-test/fixtures": "workspace:*"
|
||||
"@affine-test/kit": "workspace:*"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@playwright/test": "npm:^1.39.0"
|
||||
express: "npm:^4.18.2"
|
||||
http-proxy-middleware: "npm:^3.0.0-beta.1"
|
||||
@@ -76,10 +76,10 @@ __metadata:
|
||||
dependencies:
|
||||
"@affine-test/fixtures": "workspace:*"
|
||||
"@affine-test/kit": "workspace:*"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@playwright/test": "npm:^1.39.0"
|
||||
express: "npm:^4.18.2"
|
||||
http-proxy-middleware: "npm:^3.0.0-beta.1"
|
||||
@@ -138,10 +138,10 @@ __metadata:
|
||||
dependencies:
|
||||
"@affine-test/fixtures": "workspace:*"
|
||||
"@affine-test/kit": "workspace:*"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@playwright/test": "npm:^1.39.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -222,12 +222,12 @@ __metadata:
|
||||
"@affine/graphql": "workspace:*"
|
||||
"@affine/i18n": "workspace:*"
|
||||
"@affine/workspace": "workspace:*"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/icons": "npm:2.1.36"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@dnd-kit/core": "npm:^6.0.8"
|
||||
"@dnd-kit/modifiers": "npm:^7.0.0"
|
||||
"@dnd-kit/sortable": "npm:^8.0.0"
|
||||
@@ -351,14 +351,14 @@ __metadata:
|
||||
"@affine/templates": "workspace:*"
|
||||
"@affine/workspace": "workspace:*"
|
||||
"@aws-sdk/client-s3": "npm:3.433.0"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/icons": "npm:2.1.36"
|
||||
"@blocksuite/inline": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/inline": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@dnd-kit/core": "npm:^6.0.8"
|
||||
"@dnd-kit/sortable": "npm:^8.0.0"
|
||||
"@emotion/cache": "npm:^11.11.0"
|
||||
@@ -372,7 +372,7 @@ __metadata:
|
||||
"@radix-ui/react-dialog": "npm:^1.0.4"
|
||||
"@radix-ui/react-scroll-area": "npm:^1.0.5"
|
||||
"@radix-ui/react-select": "npm:^2.0.0"
|
||||
"@react-hookz/web": "npm:^23.1.0"
|
||||
"@react-hookz/web": "npm:^24.0.0"
|
||||
"@sentry/integrations": "npm:^7.83.0"
|
||||
"@sentry/react": "npm:^7.83.0"
|
||||
"@sentry/webpack-plugin": "npm:^2.8.0"
|
||||
@@ -468,10 +468,10 @@ __metadata:
|
||||
"@affine/sdk": "workspace:*"
|
||||
"@affine/templates": "workspace:*"
|
||||
"@affine/vue-hello-world-plugin": "workspace:*"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@electron-forge/cli": "npm:^7.2.0"
|
||||
"@electron-forge/core": "npm:^7.2.0"
|
||||
"@electron-forge/core-utils": "npm:^7.2.0"
|
||||
@@ -520,8 +520,8 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@affine/env@workspace:packages/common/env"
|
||||
dependencies:
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
lit: "npm:^3.0.2"
|
||||
react: "npm:18.2.0"
|
||||
react-dom: "npm:18.2.0"
|
||||
@@ -628,7 +628,7 @@ __metadata:
|
||||
eslint-plugin-react-hooks: "npm:^4.6.0"
|
||||
eslint-plugin-simple-import-sort: "npm:^10.0.0"
|
||||
eslint-plugin-sonarjs: "npm:^0.23.0"
|
||||
eslint-plugin-unicorn: "npm:^49.0.0"
|
||||
eslint-plugin-unicorn: "npm:^50.0.0"
|
||||
eslint-plugin-unused-imports: "npm:^3.0.0"
|
||||
eslint-plugin-vue: "npm:^9.18.1"
|
||||
fake-indexeddb: "npm:5.0.1"
|
||||
@@ -711,11 +711,11 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@affine/sdk@workspace:packages/common/sdk"
|
||||
dependencies:
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
jotai: "npm:^2.5.1"
|
||||
vite: "npm:^5.0.6"
|
||||
vite-plugin-dts: "npm:3.6.0"
|
||||
@@ -840,14 +840,14 @@ __metadata:
|
||||
dependencies:
|
||||
"@affine/component": "workspace:*"
|
||||
"@affine/i18n": "workspace:*"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/icons": "npm:2.1.36"
|
||||
"@blocksuite/inline": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/inline": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@dnd-kit/sortable": "npm:^8.0.0"
|
||||
"@storybook/addon-actions": "npm:^7.5.3"
|
||||
"@storybook/addon-essentials": "npm:^7.5.3"
|
||||
@@ -4077,29 +4077,29 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@blocksuite/block-std@npm:0.11.0-nightly-202312200102-8254dc9":
|
||||
version: 0.11.0-nightly-202312200102-8254dc9
|
||||
resolution: "@blocksuite/block-std@npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/block-std@npm:0.11.0-nightly-202312210105-edfa58e":
|
||||
version: 0.11.0-nightly-202312210105-edfa58e
|
||||
resolution: "@blocksuite/block-std@npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
dependencies:
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
lz-string: "npm:^1.5.0"
|
||||
w3c-keyname: "npm:^2.2.8"
|
||||
zod: "npm:^3.22.4"
|
||||
peerDependencies:
|
||||
"@blocksuite/store": 0.11.0-nightly-202312200102-8254dc9
|
||||
checksum: 223f704ad15e5473be1c2c617964e665dd05c278a3100e79618d5e194c7670fff20daf9652372fa8d6f9145b7f535862674d13bd443cad87dbe8f30da414c850
|
||||
"@blocksuite/store": 0.11.0-nightly-202312210105-edfa58e
|
||||
checksum: eb20c1b8a497562676c3d91b9470add50fdb01e4ec68243dc2349fa7cb943cd77f013b2d38db8d61de03caba8ca04de21ce84bb7d56cb6991d9e8b7901a05d41
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@blocksuite/blocks@npm:0.11.0-nightly-202312200102-8254dc9":
|
||||
version: 0.11.0-nightly-202312200102-8254dc9
|
||||
resolution: "@blocksuite/blocks@npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks@npm:0.11.0-nightly-202312210105-edfa58e":
|
||||
version: 0.11.0-nightly-202312210105-edfa58e
|
||||
resolution: "@blocksuite/blocks@npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
dependencies:
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/inline": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/inline": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@floating-ui/dom": "npm:^1.5.3"
|
||||
"@toeverything/theme": "npm:^0.7.27"
|
||||
"@types/hast": "npm:^3.0.3"
|
||||
@@ -4133,16 +4133,16 @@ __metadata:
|
||||
unified: "npm:^11.0.4"
|
||||
webfontloader: "npm:^1.6.28"
|
||||
zod: "npm:^3.22.4"
|
||||
checksum: dcefc3b3309fc743b78a248acd4dc3cbe60a666ea747c4fadc370a60597ed35156d42310e5232c6ec806c7c4cffad6e130917e4051c14fd14b7a7ca9866775a0
|
||||
checksum: fc4fecfb2dd3bfdf0e91fd91bda40d7ba9c02533f6e5f2de17b32265288d0b44dbb64402c6f6a1b8adb469046df14d89beb15d1ba24e0724b9145495c2f0174d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@blocksuite/global@npm:0.11.0-nightly-202312200102-8254dc9":
|
||||
version: 0.11.0-nightly-202312200102-8254dc9
|
||||
resolution: "@blocksuite/global@npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global@npm:0.11.0-nightly-202312210105-edfa58e":
|
||||
version: 0.11.0-nightly-202312210105-edfa58e
|
||||
resolution: "@blocksuite/global@npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
dependencies:
|
||||
zod: "npm:^3.22.4"
|
||||
checksum: a871324674b5b7b50753e66a95baefa2c4054f79a5dddcbea4572a780551ba75be93b44d0efde6c83662463acf9fdd860f20f7340dd0c5f3dd3abc8ef36d6e45
|
||||
checksum: f1943b1e456197d7e90775cdeda8bab01361f81c665cdcf025efe39c7d1e3f8e370873c80d5fcb02427410b4457a92deb3334d9e7401a47b276bd46714fbcf1a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -4156,55 +4156,55 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@blocksuite/inline@npm:0.11.0-nightly-202312200102-8254dc9":
|
||||
version: 0.11.0-nightly-202312200102-8254dc9
|
||||
resolution: "@blocksuite/inline@npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/inline@npm:0.11.0-nightly-202312210105-edfa58e":
|
||||
version: 0.11.0-nightly-202312210105-edfa58e
|
||||
resolution: "@blocksuite/inline@npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
dependencies:
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
zod: "npm:^3.22.4"
|
||||
peerDependencies:
|
||||
lit: ^3.0.2
|
||||
yjs: ^13
|
||||
checksum: 9cc1e7b7b965928362294962b97f5517259a01a8bed29fa8a51c837d35a9b6330cc1d0fcb372815e68945b12950e9230d452941065eed5cb1e332a60651e2844
|
||||
checksum: 066a2141351acbcb0d8a73244057e6d6d900681572cd9cc65226b7e4fba8ad5e4b0ff25aa9a9eade04c2a003d7d9794ce21fd55fade6eac7356c9e4b3fd8be4d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@blocksuite/lit@npm:0.11.0-nightly-202312200102-8254dc9":
|
||||
version: 0.11.0-nightly-202312200102-8254dc9
|
||||
resolution: "@blocksuite/lit@npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/lit@npm:0.11.0-nightly-202312210105-edfa58e":
|
||||
version: 0.11.0-nightly-202312210105-edfa58e
|
||||
resolution: "@blocksuite/lit@npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
dependencies:
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/inline": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/inline": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
lit: "npm:^3.1.0"
|
||||
peerDependencies:
|
||||
"@blocksuite/block-std": 0.11.0-nightly-202312200102-8254dc9
|
||||
"@blocksuite/store": 0.11.0-nightly-202312200102-8254dc9
|
||||
checksum: e9cfbdebd24c20f69b6b9c9295a3da32a3b56f1b7ed535f72246cb17d9644794f097c134a409c1b21c055aed1468331ec99f4f85ebd373d0ab4a947210a9cc9c
|
||||
"@blocksuite/block-std": 0.11.0-nightly-202312210105-edfa58e
|
||||
"@blocksuite/store": 0.11.0-nightly-202312210105-edfa58e
|
||||
checksum: a736fbd9b8bcbb9e0341943c4a033a526ee6270049db4ba1eef3bfe937283f786b397cc6e086123b1b9d8f6b3f4d94d442722864a2f0ca3f1c6bcdfe9ad08db9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@blocksuite/presets@npm:0.11.0-nightly-202312200102-8254dc9":
|
||||
version: 0.11.0-nightly-202312200102-8254dc9
|
||||
resolution: "@blocksuite/presets@npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/presets@npm:0.11.0-nightly-202312210105-edfa58e":
|
||||
version: 0.11.0-nightly-202312210105-edfa58e
|
||||
resolution: "@blocksuite/presets@npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
dependencies:
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@toeverything/theme": "npm:^0.7.27"
|
||||
lit: "npm:^3.1.0"
|
||||
openai: "npm:^4.20.1"
|
||||
checksum: 19f45cdaaa68551be4682d76cf696726d18faa9892b20e79d616a83c6f1a259732446c70e5b221a7dcf70cd1a1f71ab63a1b2f546f460c767174cd3d4776df4d
|
||||
checksum: 471e5f4748dc695cff7bdba939e3cc9f8d9e302442d7b366b03c8a207280c2c2532c3abdd767f041a47a644e23faa7a2860c8a0b28b4530e0b194f076562acbe
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@blocksuite/store@npm:0.11.0-nightly-202312200102-8254dc9":
|
||||
version: 0.11.0-nightly-202312200102-8254dc9
|
||||
resolution: "@blocksuite/store@npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store@npm:0.11.0-nightly-202312210105-edfa58e":
|
||||
version: 0.11.0-nightly-202312210105-edfa58e
|
||||
resolution: "@blocksuite/store@npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
dependencies:
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/inline": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/inline": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@types/flexsearch": "npm:^0.7.3"
|
||||
flexsearch: "npm:0.7.21"
|
||||
idb-keyval: "npm:^6.2.1"
|
||||
@@ -4217,7 +4217,7 @@ __metadata:
|
||||
peerDependencies:
|
||||
async-call-rpc: ^6
|
||||
yjs: ^13
|
||||
checksum: 0d64da33b8dd916638c10661fc1ed80812cb6dd5ff57c4866f34599164e94f2aa53a1a26a4d8fc5b2ad69984d846bc3c63e1024d2d90990b24d5512516ce6db5
|
||||
checksum: afd08bbb37060102de1cf5d0ce6f14a7197cd7b9f8e8cd306246de61e11122dabe01713e570ee7d4f38c8deed5090a0077bb628ed3421552d7c583da58ca5670
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -5863,6 +5863,23 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@eslint/eslintrc@npm:^2.1.4":
|
||||
version: 2.1.4
|
||||
resolution: "@eslint/eslintrc@npm:2.1.4"
|
||||
dependencies:
|
||||
ajv: "npm:^6.12.4"
|
||||
debug: "npm:^4.3.2"
|
||||
espree: "npm:^9.6.0"
|
||||
globals: "npm:^13.19.0"
|
||||
ignore: "npm:^5.2.0"
|
||||
import-fresh: "npm:^3.2.1"
|
||||
js-yaml: "npm:^4.1.0"
|
||||
minimatch: "npm:^3.1.2"
|
||||
strip-json-comments: "npm:^3.1.1"
|
||||
checksum: 7a3b14f4b40fc1a22624c3f84d9f467a3d9ea1ca6e9a372116cb92507e485260359465b58e25bcb6c9981b155416b98c9973ad9b796053fd7b3f776a6946bce8
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@eslint/js@npm:8.54.0":
|
||||
version: 8.54.0
|
||||
resolution: "@eslint/js@npm:8.54.0"
|
||||
@@ -11221,9 +11238,9 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@react-hookz/web@npm:^23.1.0":
|
||||
version: 23.1.0
|
||||
resolution: "@react-hookz/web@npm:23.1.0"
|
||||
"@react-hookz/web@npm:^24.0.0":
|
||||
version: 24.0.0
|
||||
resolution: "@react-hookz/web@npm:24.0.0"
|
||||
dependencies:
|
||||
"@react-hookz/deep-equal": "npm:^1.0.4"
|
||||
peerDependencies:
|
||||
@@ -11233,7 +11250,7 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
js-cookie:
|
||||
optional: true
|
||||
checksum: 7f345fc286ee3bae74b76b909898213a589250856783805d0356d8ef9ca0e3d1638e7499d8b77ae1dff6350dec230fda468e0e4c8fc05a9997902569d3d81b49
|
||||
checksum: 85ec7ebecf3a69f098fecb89c1515ffd8c119f29a74521277df34af637059320669cf8ff6273063cec6a4c86cee4849e24fa8772191d08f81b2b88de69749670
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -13726,12 +13743,12 @@ __metadata:
|
||||
"@affine/debug": "workspace:*"
|
||||
"@affine/env": "workspace:*"
|
||||
"@affine/workspace": "workspace:*"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/block-std": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@testing-library/react": "npm:^14.0.0"
|
||||
"@toeverything/infra": "workspace:*"
|
||||
"@types/image-blob-reduce": "npm:^4.1.3"
|
||||
@@ -13782,11 +13799,11 @@ __metadata:
|
||||
"@affine/env": "workspace:*"
|
||||
"@affine/sdk": "workspace:*"
|
||||
"@affine/templates": "workspace:*"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/global": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/lit": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/presets": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@testing-library/react": "npm:^14.0.0"
|
||||
async-call-rpc: "npm:^6.3.1"
|
||||
electron: "link:../../frontend/electron/node_modules/electron"
|
||||
@@ -13835,8 +13852,8 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@toeverything/y-indexeddb@workspace:packages/common/y-indexeddb"
|
||||
dependencies:
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/blocks": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
fake-indexeddb: "npm:^5.0.0"
|
||||
idb: "npm:^8.0.0"
|
||||
nanoid: "npm:^5.0.3"
|
||||
@@ -17329,6 +17346,20 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"browserslist@npm:^4.22.2":
|
||||
version: 4.22.2
|
||||
resolution: "browserslist@npm:4.22.2"
|
||||
dependencies:
|
||||
caniuse-lite: "npm:^1.0.30001565"
|
||||
electron-to-chromium: "npm:^1.4.601"
|
||||
node-releases: "npm:^2.0.14"
|
||||
update-browserslist-db: "npm:^1.0.13"
|
||||
bin:
|
||||
browserslist: cli.js
|
||||
checksum: e3590793db7f66ad3a50817e7b7f195ce61e029bd7187200244db664bfbe0ac832f784e4f6b9c958aef8ea4abe001ae7880b7522682df521f4bc0a5b67660b5e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"bser@npm:2.1.1":
|
||||
version: 2.1.1
|
||||
resolution: "bser@npm:2.1.1"
|
||||
@@ -17646,6 +17677,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"caniuse-lite@npm:^1.0.30001565":
|
||||
version: 1.0.30001570
|
||||
resolution: "caniuse-lite@npm:1.0.30001570"
|
||||
checksum: a9b939e003dd70580cc18bce54627af84f298af7c774415c8d6c99871e7cee13bd8278b67955a979cd338369c73e8821a10b37e607d1fff2fbc8ff92fc489653
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"capital-case@npm:^1.0.4":
|
||||
version: 1.0.4
|
||||
resolution: "capital-case@npm:1.0.4"
|
||||
@@ -17971,7 +18009,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ci-info@npm:^3.2.0, ci-info@npm:^3.8.0":
|
||||
"ci-info@npm:^3.2.0":
|
||||
version: 3.9.0
|
||||
resolution: "ci-info@npm:3.9.0"
|
||||
checksum: 75bc67902b4d1c7b435497adeb91598f6d52a3389398e44294f6601b20cfef32cf2176f7be0eb961d9e085bb333a8a5cae121cb22f81cf238ae7f58eb80e9397
|
||||
@@ -18787,6 +18825,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"core-js-compat@npm:^3.34.0":
|
||||
version: 3.34.0
|
||||
resolution: "core-js-compat@npm:3.34.0"
|
||||
dependencies:
|
||||
browserslist: "npm:^4.22.2"
|
||||
checksum: e29571cc524b4966e331b5876567f13c2b82ed48ac9b02784f3156b29ee1cd82fe3e60052d78b017c429eb61969fd238c22684bb29180908d335266179a29155
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"core-js-pure@npm:^3.23.3":
|
||||
version: 3.33.3
|
||||
resolution: "core-js-pure@npm:3.33.3"
|
||||
@@ -20095,6 +20142,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"electron-to-chromium@npm:^1.4.601":
|
||||
version: 1.4.615
|
||||
resolution: "electron-to-chromium@npm:1.4.615"
|
||||
checksum: dbf9deb234cbd381a91f41f6c6729cc8b4bed9b1580d6aea589d689d5f2a8aadf88837ef6887e761c143a1e1015f5eb3ae1bd2728a3068fa6a235c16c0fd76ae
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"electron-updater@npm:^6.1.5":
|
||||
version: 6.1.7
|
||||
resolution: "electron-updater@npm:6.1.7"
|
||||
@@ -20916,14 +20970,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-plugin-unicorn@npm:^49.0.0":
|
||||
version: 49.0.0
|
||||
resolution: "eslint-plugin-unicorn@npm:49.0.0"
|
||||
"eslint-plugin-unicorn@npm:^50.0.0":
|
||||
version: 50.0.0
|
||||
resolution: "eslint-plugin-unicorn@npm:50.0.0"
|
||||
dependencies:
|
||||
"@babel/helper-validator-identifier": "npm:^7.22.20"
|
||||
"@eslint-community/eslint-utils": "npm:^4.4.0"
|
||||
ci-info: "npm:^3.8.0"
|
||||
"@eslint/eslintrc": "npm:^2.1.4"
|
||||
ci-info: "npm:^4.0.0"
|
||||
clean-regexp: "npm:^1.0.0"
|
||||
core-js-compat: "npm:^3.34.0"
|
||||
esquery: "npm:^1.5.0"
|
||||
indent-string: "npm:^4.0.0"
|
||||
is-builtin-module: "npm:^3.2.1"
|
||||
@@ -20935,8 +20991,8 @@ __metadata:
|
||||
semver: "npm:^7.5.4"
|
||||
strip-indent: "npm:^3.0.0"
|
||||
peerDependencies:
|
||||
eslint: ">=8.52.0"
|
||||
checksum: 7f73f41356cdf720675998c558ab13872d76302dde3a49661df0b5219fd328627e3d7e418aaa3e94cf8764d1ef8b606f7ea01f019eccc0bf0522def8e6769caa
|
||||
eslint: ">=8.56.0"
|
||||
checksum: 09d069bac3d4c7d3d3d4ddf8a9992718cd1acc6bbba99cfcb0fb581d9dd0d64378c55d6cc5579aadf23d199c53b539a4351446e0855b363c95e8926be15c95e6
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -29033,6 +29089,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"node-releases@npm:^2.0.14":
|
||||
version: 2.0.14
|
||||
resolution: "node-releases@npm:2.0.14"
|
||||
checksum: 0f7607ec7db5ef1dc616899a5f24ae90c869b6a54c2d4f36ff6d84a282ab9343c7ff3ca3670fe4669171bb1e8a9b3e286e1ef1c131f09a83d70554f855d54f24
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"nodemailer@npm:^6.9.7":
|
||||
version: 6.9.7
|
||||
resolution: "nodemailer@npm:6.9.7"
|
||||
@@ -36954,7 +37017,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "y-provider@workspace:packages/common/y-provider"
|
||||
dependencies:
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312200102-8254dc9"
|
||||
"@blocksuite/store": "npm:0.11.0-nightly-202312210105-edfa58e"
|
||||
vite: "npm:^5.0.6"
|
||||
vite-plugin-dts: "npm:3.6.0"
|
||||
vitest: "npm:1.0.4"
|
||||
|
||||
Reference in New Issue
Block a user