refactor(infra): directory structure (#4615)

This commit is contained in:
Joooye_34
2023-10-18 23:30:08 +08:00
committed by GitHub
parent 814d552be8
commit bed9310519
1150 changed files with 539 additions and 584 deletions
+1 -1
View File
@@ -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
View File
@@ -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 -1
View File
@@ -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',