refactor(infra): directory structure (#4615)

This commit is contained in:
Joooye_34 authored and GitHub committed 2023-10-18 15:30:08 +00:00
1 parent 814d552be8
commit bed9310519
1150 files changed
+539 -584

No files matched your search

+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',