mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-02 02:00:49 +08:00
refactor(infra): directory structure (#4615)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const semver = await import('semver').catch(() =>
|
||||
import('../apps/server/node_modules/semver/index.js')
|
||||
import('../packages/backend/server/node_modules/semver/index.js')
|
||||
);
|
||||
|
||||
import packageJson from '../package.json' assert { type: 'json' };
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ packages=(
|
||||
|
||||
for package in "${packages[@]}"; do
|
||||
yarn nx build $package
|
||||
cd "packages/$package"
|
||||
cd "packages/common/$package"
|
||||
|
||||
if [ "$NIGHTLY" = "true" ]; then
|
||||
yarn npm publish --no-git-checks --tag nightly
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { setupGlobal } from '@affine/env/global';
|
||||
|
||||
import { getRuntimeConfig } from '../../apps/core/.webpack/runtime-config';
|
||||
import { getRuntimeConfig } from '../../packages/frontend/core/.webpack/runtime-config';
|
||||
|
||||
globalThis.runtimeConfig = getRuntimeConfig({
|
||||
distribution: 'browser',
|
||||
|
||||
Reference in New Issue
Block a user