mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 23:07:02 +08:00
build: use tsconfig bundler (#3581)
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
|
import type { PrimitiveAtom } from 'jotai';
|
||||||
import { atom } from 'jotai';
|
import { atom } from 'jotai';
|
||||||
import { atomFamily, atomWithStorage } from 'jotai/utils';
|
import { atomFamily, atomWithStorage } from 'jotai/utils';
|
||||||
|
import type { AtomFamily } from 'jotai/vanilla/utils/atomFamily';
|
||||||
|
|
||||||
import type { CreateWorkspaceMode } from '../components/affine/create-workspace-modal';
|
import type { CreateWorkspaceMode } from '../components/affine/create-workspace-modal';
|
||||||
import type { SettingProps } from '../components/affine/setting-modal';
|
import type { SettingProps } from '../components/affine/setting-modal';
|
||||||
@@ -59,19 +61,16 @@ const defaultPageSetting = {
|
|||||||
mode: 'page',
|
mode: 'page',
|
||||||
} satisfies PageLocalSetting;
|
} satisfies PageLocalSetting;
|
||||||
|
|
||||||
export const pageSettingFamily = atomFamily((pageId: string) =>
|
export const pageSettingFamily: AtomFamily<
|
||||||
|
string,
|
||||||
|
PrimitiveAtom<PageLocalSetting>
|
||||||
|
> = atomFamily((pageId: string) =>
|
||||||
atom(
|
atom(
|
||||||
get =>
|
get =>
|
||||||
get(pageSettingsBaseAtom)[pageId] ?? {
|
get(pageSettingsBaseAtom)[pageId] ?? {
|
||||||
...defaultPageSetting,
|
...defaultPageSetting,
|
||||||
},
|
},
|
||||||
(
|
(get, set, patch) => {
|
||||||
get,
|
|
||||||
set,
|
|
||||||
patch:
|
|
||||||
| Partial<PageLocalSetting>
|
|
||||||
| ((prevSetting: PageLocalSetting | undefined) => void)
|
|
||||||
) => {
|
|
||||||
set(recentPageSettingsBaseAtom, ids => {
|
set(recentPageSettingsBaseAtom, ids => {
|
||||||
// pick 3 recent page ids
|
// pick 3 recent page ids
|
||||||
return [...new Set([pageId, ...ids]).values()].slice(0, 3);
|
return [...new Set([pageId, ...ids]).values()].slice(0, 3);
|
||||||
|
|||||||
@@ -1,23 +1,9 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ESNext",
|
"outDir": "lib",
|
||||||
"allowJs": true,
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"strict": true,
|
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
"noEmit": true,
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"module": "ESNext",
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"isolatedModules": true,
|
|
||||||
"moduleResolution": "bundler",
|
|
||||||
"jsx": "preserve",
|
|
||||||
"jsxImportSource": "@emotion/react",
|
|
||||||
"incremental": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"typeRoots": ["../../node_modules", "../../node_modules/@types"],
|
"typeRoots": ["../../node_modules", "../../node_modules/@types"],
|
||||||
"types": ["webpack-env", "ses"]
|
"types": ["webpack-env", "ses", "affine__env"]
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.ts", "src/**/*.tsx"],
|
"include": ["src/**/*.ts", "src/**/*.tsx"],
|
||||||
"exclude": ["node_modules"],
|
"exclude": ["node_modules"],
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
"react": "18.3.0-canary-1fdacbefd-20230630",
|
"react": "18.3.0-canary-1fdacbefd-20230630",
|
||||||
"react-dom": "18.3.0-canary-1fdacbefd-20230630",
|
"react-dom": "18.3.0-canary-1fdacbefd-20230630",
|
||||||
"react-server-dom-webpack": "18.3.0-canary-1fdacbefd-20230630",
|
"react-server-dom-webpack": "18.3.0-canary-1fdacbefd-20230630",
|
||||||
"waku": "0.12.1"
|
"waku": "0.14.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react": "^18.2.17",
|
"@types/react": "^18.2.17",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export default defineRouter(
|
|||||||
async id => {
|
async id => {
|
||||||
switch (id) {
|
switch (id) {
|
||||||
case 'index': {
|
case 'index': {
|
||||||
const { default: AppCreator } = await import('./src/app.js');
|
const { default: AppCreator } = await import('./app.js');
|
||||||
return AppCreator(id);
|
return AppCreator(id);
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
<div class="spinner"></div>
|
<div class="spinner"></div>
|
||||||
</div>
|
</div>
|
||||||
<!--/placeholder1-->
|
<!--/placeholder1-->
|
||||||
<script src="./src/index.tsx" defer type="module"></script>
|
<script src="./index.tsx" defer type="module"></script>
|
||||||
<!--placeholder2-->
|
<!--placeholder2-->
|
||||||
<!--/placeholder2-->
|
<!--/placeholder2-->
|
||||||
</body>
|
</body>
|
||||||
Binary file not shown.
@@ -10,7 +10,8 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"noUncheckedIndexedAccess": true,
|
"noUncheckedIndexedAccess": true,
|
||||||
"exactOptionalPropertyTypes": true,
|
"exactOptionalPropertyTypes": true,
|
||||||
"jsx": "react-jsx"
|
"jsx": "react-jsx",
|
||||||
|
"jsxImportSource": "react"
|
||||||
},
|
},
|
||||||
"include": ["src", "entries.ts"],
|
"include": ["src", "entries.ts"],
|
||||||
"references": [
|
"references": [
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ test.skip('move workspace db file', async ({ page, appInfo, workspace }) => {
|
|||||||
|
|
||||||
// move db file to tmp folder
|
// move db file to tmp folder
|
||||||
await page.evaluate(tmpPath => {
|
await page.evaluate(tmpPath => {
|
||||||
// @ts-expect-error
|
|
||||||
window.apis?.dialog.setFakeDialogResult({
|
window.apis?.dialog.setFakeDialogResult({
|
||||||
filePath: tmpPath,
|
filePath: tmpPath,
|
||||||
});
|
});
|
||||||
@@ -72,7 +71,6 @@ test('export then add', async ({ page, appInfo, workspace }) => {
|
|||||||
|
|
||||||
// export db file to tmp folder
|
// export db file to tmp folder
|
||||||
await page.evaluate(tmpPath => {
|
await page.evaluate(tmpPath => {
|
||||||
// @ts-expect-error
|
|
||||||
window.apis?.dialog.setFakeDialogResult({
|
window.apis?.dialog.setFakeDialogResult({
|
||||||
filePath: tmpPath,
|
filePath: tmpPath,
|
||||||
});
|
});
|
||||||
@@ -92,7 +90,6 @@ test('export then add', async ({ page, appInfo, workspace }) => {
|
|||||||
await page.getByTestId('add-or-new-workspace').click();
|
await page.getByTestId('add-or-new-workspace').click();
|
||||||
|
|
||||||
await page.evaluate(tmpPath => {
|
await page.evaluate(tmpPath => {
|
||||||
// @ts-expect-error
|
|
||||||
window.apis?.dialog.setFakeDialogResult({
|
window.apis?.dialog.setFakeDialogResult({
|
||||||
filePath: tmpPath,
|
filePath: tmpPath,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
"apps/*",
|
"apps/*",
|
||||||
"plugins/*",
|
"plugins/*",
|
||||||
"packages/*",
|
"packages/*",
|
||||||
|
"packages/@types/*",
|
||||||
"tests/fixtures",
|
"tests/fixtures",
|
||||||
"tests/kit",
|
"tests/kit",
|
||||||
"tests/affine-legacy/*",
|
"tests/affine-legacy/*",
|
||||||
|
|||||||
54
packages/@types/env/__all.d.ts
vendored
Normal file
54
packages/@types/env/__all.d.ts
vendored
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
import type { Environment, Platform, RuntimeConfig } from '@affine/env/global';
|
||||||
|
import type {
|
||||||
|
DBHandlerManager,
|
||||||
|
DebugHandlerManager,
|
||||||
|
DialogHandlerManager,
|
||||||
|
ExportHandlerManager,
|
||||||
|
UIHandlerManager,
|
||||||
|
UnwrapManagerHandlerToClientSide,
|
||||||
|
UpdaterHandlerManager,
|
||||||
|
WorkspaceHandlerManager,
|
||||||
|
} from '@toeverything/infra';
|
||||||
|
|
||||||
|
declare global {
|
||||||
|
interface Window {
|
||||||
|
appInfo: {
|
||||||
|
electron: boolean;
|
||||||
|
};
|
||||||
|
apis: {
|
||||||
|
db: UnwrapManagerHandlerToClientSide<DBHandlerManager>;
|
||||||
|
debug: UnwrapManagerHandlerToClientSide<DebugHandlerManager>;
|
||||||
|
dialog: UnwrapManagerHandlerToClientSide<DialogHandlerManager>;
|
||||||
|
export: UnwrapManagerHandlerToClientSide<ExportHandlerManager>;
|
||||||
|
ui: UnwrapManagerHandlerToClientSide<UIHandlerManager>;
|
||||||
|
updater: UnwrapManagerHandlerToClientSide<UpdaterHandlerManager>;
|
||||||
|
workspace: UnwrapManagerHandlerToClientSide<WorkspaceHandlerManager>;
|
||||||
|
};
|
||||||
|
events: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface WindowEventMap {
|
||||||
|
'migration-done': CustomEvent;
|
||||||
|
}
|
||||||
|
|
||||||
|
// eslint-disable-next-line no-var
|
||||||
|
var process: {
|
||||||
|
env: Record<string, string>;
|
||||||
|
};
|
||||||
|
// eslint-disable-next-line no-var
|
||||||
|
var $migrationDone: boolean;
|
||||||
|
// eslint-disable-next-line no-var
|
||||||
|
var platform: Platform | undefined;
|
||||||
|
// eslint-disable-next-line no-var
|
||||||
|
var environment: Environment;
|
||||||
|
// eslint-disable-next-line no-var
|
||||||
|
var runtimeConfig: RuntimeConfig;
|
||||||
|
// eslint-disable-next-line no-var
|
||||||
|
var $AFFINE_SETUP: boolean | undefined;
|
||||||
|
// eslint-disable-next-line no-var
|
||||||
|
var editorVersion: string | undefined;
|
||||||
|
// eslint-disable-next-line no-var
|
||||||
|
var prefixUrl: string;
|
||||||
|
// eslint-disable-next-line no-var
|
||||||
|
var websocketPrefixUrl: string;
|
||||||
|
}
|
||||||
10
packages/@types/env/package.json
vendored
Normal file
10
packages/@types/env/package.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"name": "@types/affine__env",
|
||||||
|
"private": true,
|
||||||
|
"types": "./__all.d.ts",
|
||||||
|
"type": "module",
|
||||||
|
"dependencies": {
|
||||||
|
"@affine/env": "workspace:*",
|
||||||
|
"@toeverything/infra": "workspace:*"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { Collection, Filter, VariableMap } from '@affine/env/filter';
|
import type { Collection, Filter, VariableMap } from '@affine/env/filter';
|
||||||
import type { DBSchema } from 'idb';
|
import type { DBSchema } from 'idb';
|
||||||
|
import type { IDBPDatabase } from 'idb';
|
||||||
import { openDB } from 'idb';
|
import { openDB } from 'idb';
|
||||||
import type { IDBPDatabase } from 'idb/build/entry';
|
|
||||||
import { useAtom } from 'jotai';
|
import { useAtom } from 'jotai';
|
||||||
import { atomWithReset, RESET } from 'jotai/utils';
|
import { atomWithReset, RESET } from 'jotai/utils';
|
||||||
import { useCallback } from 'react';
|
import { useCallback } from 'react';
|
||||||
|
|||||||
@@ -5,8 +5,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"composite": true,
|
"composite": true,
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"outDir": "lib",
|
"outDir": "lib"
|
||||||
"types": ["@affine/env"]
|
|
||||||
},
|
},
|
||||||
"references": [
|
"references": [
|
||||||
{
|
{
|
||||||
|
|||||||
1
packages/env/package.json
vendored
1
packages/env/package.json
vendored
@@ -4,7 +4,6 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./src/index.ts",
|
"main": "./src/index.ts",
|
||||||
"module": "./src/index.ts",
|
"module": "./src/index.ts",
|
||||||
"types": "./src/global.ts",
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@blocksuite/global": "0.0.0-20230804190636-37f66904-nightly",
|
"@blocksuite/global": "0.0.0-20230804190636-37f66904-nightly",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
|
|||||||
50
packages/env/src/global.ts
vendored
50
packages/env/src/global.ts
vendored
@@ -1,60 +1,10 @@
|
|||||||
/// <reference types="@blocksuite/global" />
|
/// <reference types="@blocksuite/global" />
|
||||||
import { assertEquals } from '@blocksuite/global/utils';
|
import { assertEquals } from '@blocksuite/global/utils';
|
||||||
import type {
|
|
||||||
DBHandlerManager,
|
|
||||||
DebugHandlerManager,
|
|
||||||
DialogHandlerManager,
|
|
||||||
ExportHandlerManager,
|
|
||||||
UIHandlerManager,
|
|
||||||
UnwrapManagerHandlerToClientSide,
|
|
||||||
UpdaterHandlerManager,
|
|
||||||
WorkspaceHandlerManager,
|
|
||||||
} from '@toeverything/infra';
|
|
||||||
import { z } from 'zod';
|
import { z } from 'zod';
|
||||||
|
|
||||||
import { isBrowser, isDesktop, isServer } from './constant.js';
|
import { isBrowser, isDesktop, isServer } from './constant.js';
|
||||||
import { isValidIPAddress } from './is-valid-ip-address.js';
|
import { isValidIPAddress } from './is-valid-ip-address.js';
|
||||||
import { UaHelper } from './ua-helper.js';
|
import { UaHelper } from './ua-helper.js';
|
||||||
|
|
||||||
declare global {
|
|
||||||
interface Window {
|
|
||||||
appInfo: {
|
|
||||||
electron: boolean;
|
|
||||||
};
|
|
||||||
apis: {
|
|
||||||
db: UnwrapManagerHandlerToClientSide<DBHandlerManager>;
|
|
||||||
debug: UnwrapManagerHandlerToClientSide<DebugHandlerManager>;
|
|
||||||
dialog: UnwrapManagerHandlerToClientSide<DialogHandlerManager>;
|
|
||||||
export: UnwrapManagerHandlerToClientSide<ExportHandlerManager>;
|
|
||||||
ui: UnwrapManagerHandlerToClientSide<UIHandlerManager>;
|
|
||||||
updater: UnwrapManagerHandlerToClientSide<UpdaterHandlerManager>;
|
|
||||||
workspace: UnwrapManagerHandlerToClientSide<WorkspaceHandlerManager>;
|
|
||||||
};
|
|
||||||
events: any;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface WindowEventMap {
|
|
||||||
'migration-done': CustomEvent;
|
|
||||||
}
|
|
||||||
|
|
||||||
// eslint-disable-next-line no-var
|
|
||||||
var $migrationDone: boolean;
|
|
||||||
// eslint-disable-next-line no-var
|
|
||||||
var platform: Platform | undefined;
|
|
||||||
// eslint-disable-next-line no-var
|
|
||||||
var environment: Environment;
|
|
||||||
// eslint-disable-next-line no-var
|
|
||||||
var runtimeConfig: RuntimeConfig;
|
|
||||||
// eslint-disable-next-line no-var
|
|
||||||
var $AFFINE_SETUP: boolean | undefined;
|
|
||||||
// eslint-disable-next-line no-var
|
|
||||||
var editorVersion: string | undefined;
|
|
||||||
// eslint-disable-next-line no-var
|
|
||||||
var prefixUrl: string;
|
|
||||||
// eslint-disable-next-line no-var
|
|
||||||
var websocketPrefixUrl: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export const blockSuiteFeatureFlags = z.object({
|
export const blockSuiteFeatureFlags = z.object({
|
||||||
enable_database: z.boolean(),
|
enable_database: z.boolean(),
|
||||||
enable_drag_handle: z.boolean(),
|
enable_drag_handle: z.boolean(),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { DBSchema, IDBPDatabase } from 'idb/build/entry';
|
import type { DBSchema, IDBPDatabase } from 'idb';
|
||||||
|
|
||||||
export const dbVersion = 1;
|
export const dbVersion = 1;
|
||||||
export const DEFAULT_DB_NAME = 'affine-local';
|
export const DEFAULT_DB_NAME = 'affine-local';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
import type { IDBPDatabase } from 'idb';
|
||||||
import { openDB } from 'idb';
|
import { openDB } from 'idb';
|
||||||
import type { IDBPDatabase } from 'idb/build/entry';
|
|
||||||
import { mergeUpdates } from 'yjs';
|
import { mergeUpdates } from 'yjs';
|
||||||
|
|
||||||
import type { BlockSuiteBinaryDB, OldYjsDB, UpdateMessage } from './shared';
|
import type { BlockSuiteBinaryDB, OldYjsDB, UpdateMessage } from './shared';
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import { IndexedDBChatMessageHistory } from './langchain/message-history';
|
|||||||
import { chatPrompt, followupQuestionPrompt } from './prompts';
|
import { chatPrompt, followupQuestionPrompt } from './prompts';
|
||||||
import { followupQuestionParser } from './prompts/output-parser';
|
import { followupQuestionParser } from './prompts/output-parser';
|
||||||
|
|
||||||
type ChatAI = {
|
export type ChatAI = {
|
||||||
// Core chat AI
|
// Core chat AI
|
||||||
conversationChain: ConversationChain;
|
conversationChain: ConversationChain;
|
||||||
// Followup AI, used to generate followup questions
|
// Followup AI, used to generate followup questions
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import type { BaseMessage } from 'langchain/schema';
|
|||||||
import { AIMessage } from 'langchain/schema';
|
import { AIMessage } from 'langchain/schema';
|
||||||
import { HumanMessage } from 'langchain/schema';
|
import { HumanMessage } from 'langchain/schema';
|
||||||
|
|
||||||
import type { ChatAIConfig } from '../chat';
|
import type { ChatAI, ChatAIConfig } from '../chat';
|
||||||
import { createChatAI } from '../chat';
|
import { createChatAI } from '../chat';
|
||||||
import type { IndexedDBChatMessageHistory } from '../langchain/message-history';
|
import type { IndexedDBChatMessageHistory } from '../langchain/message-history';
|
||||||
import { followupQuestionParser } from '../prompts/output-parser';
|
import { followupQuestionParser } from '../prompts/output-parser';
|
||||||
@@ -28,7 +28,7 @@ const conversationWeakMap = new WeakMap<
|
|||||||
WritableAtom<BaseMessage[], [string], Promise<void>>
|
WritableAtom<BaseMessage[], [string], Promise<void>>
|
||||||
>();
|
>();
|
||||||
|
|
||||||
export const chatAtom = atom(async get => {
|
export const chatAtom = atom<Promise<ChatAI>>(async get => {
|
||||||
const openAIApiKey = get(openAIApiKeyAtom);
|
const openAIApiKey = get(openAIApiKeyAtom);
|
||||||
if (!openAIApiKey) {
|
if (!openAIApiKey) {
|
||||||
throw new Error('OpenAI API key not set, chat will not work');
|
throw new Error('OpenAI API key not set, chat will not work');
|
||||||
|
|||||||
@@ -18,9 +18,11 @@
|
|||||||
"useUnknownInCatchVariables": true,
|
"useUnknownInCatchVariables": true,
|
||||||
|
|
||||||
// Modules
|
// Modules
|
||||||
"module": "ES2022",
|
"module": "ESNext",
|
||||||
"moduleResolution": "Node",
|
"moduleResolution": "bundler",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
|
"types": ["affine__env"],
|
||||||
|
"typeRoots": ["./node_modules/@types"],
|
||||||
|
|
||||||
// Emit
|
// Emit
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
@@ -36,10 +38,12 @@
|
|||||||
// Interop Constraints
|
// Interop Constraints
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"isolatedModules": true,
|
||||||
|
|
||||||
// Language and Environment
|
// Language and Environment
|
||||||
"jsx": "react-jsx",
|
"jsx": "preserve",
|
||||||
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
"jsxImportSource": "@emotion/react",
|
||||||
|
"lib": ["ESNext", "DOM"],
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"useDefineForClassFields": false,
|
"useDefineForClassFields": false,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
|
|||||||
149
yarn.lock
149
yarn.lock
@@ -310,7 +310,7 @@ __metadata:
|
|||||||
react-server-dom-webpack: 18.3.0-canary-1fdacbefd-20230630
|
react-server-dom-webpack: 18.3.0-canary-1fdacbefd-20230630
|
||||||
tailwindcss: ^3.3.3
|
tailwindcss: ^3.3.3
|
||||||
typescript: ^5.1.6
|
typescript: ^5.1.6
|
||||||
waku: 0.12.1
|
waku: 0.14.0
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
@@ -10895,13 +10895,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@swc/core-darwin-arm64@npm:1.3.64":
|
|
||||||
version: 1.3.64
|
|
||||||
resolution: "@swc/core-darwin-arm64@npm:1.3.64"
|
|
||||||
conditions: os=darwin & cpu=arm64
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@swc/core-darwin-arm64@npm:1.3.71":
|
"@swc/core-darwin-arm64@npm:1.3.71":
|
||||||
version: 1.3.71
|
version: 1.3.71
|
||||||
resolution: "@swc/core-darwin-arm64@npm:1.3.71"
|
resolution: "@swc/core-darwin-arm64@npm:1.3.71"
|
||||||
@@ -10916,13 +10909,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@swc/core-darwin-x64@npm:1.3.64":
|
|
||||||
version: 1.3.64
|
|
||||||
resolution: "@swc/core-darwin-x64@npm:1.3.64"
|
|
||||||
conditions: os=darwin & cpu=x64
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@swc/core-darwin-x64@npm:1.3.71":
|
"@swc/core-darwin-x64@npm:1.3.71":
|
||||||
version: 1.3.71
|
version: 1.3.71
|
||||||
resolution: "@swc/core-darwin-x64@npm:1.3.71"
|
resolution: "@swc/core-darwin-x64@npm:1.3.71"
|
||||||
@@ -10937,13 +10923,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@swc/core-linux-arm-gnueabihf@npm:1.3.64":
|
|
||||||
version: 1.3.64
|
|
||||||
resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.64"
|
|
||||||
conditions: os=linux & cpu=arm
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@swc/core-linux-arm-gnueabihf@npm:1.3.71":
|
"@swc/core-linux-arm-gnueabihf@npm:1.3.71":
|
||||||
version: 1.3.71
|
version: 1.3.71
|
||||||
resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.71"
|
resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.71"
|
||||||
@@ -10958,13 +10937,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@swc/core-linux-arm64-gnu@npm:1.3.64":
|
|
||||||
version: 1.3.64
|
|
||||||
resolution: "@swc/core-linux-arm64-gnu@npm:1.3.64"
|
|
||||||
conditions: os=linux & cpu=arm64 & libc=glibc
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@swc/core-linux-arm64-gnu@npm:1.3.71":
|
"@swc/core-linux-arm64-gnu@npm:1.3.71":
|
||||||
version: 1.3.71
|
version: 1.3.71
|
||||||
resolution: "@swc/core-linux-arm64-gnu@npm:1.3.71"
|
resolution: "@swc/core-linux-arm64-gnu@npm:1.3.71"
|
||||||
@@ -10979,13 +10951,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@swc/core-linux-arm64-musl@npm:1.3.64":
|
|
||||||
version: 1.3.64
|
|
||||||
resolution: "@swc/core-linux-arm64-musl@npm:1.3.64"
|
|
||||||
conditions: os=linux & cpu=arm64 & libc=musl
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@swc/core-linux-arm64-musl@npm:1.3.71":
|
"@swc/core-linux-arm64-musl@npm:1.3.71":
|
||||||
version: 1.3.71
|
version: 1.3.71
|
||||||
resolution: "@swc/core-linux-arm64-musl@npm:1.3.71"
|
resolution: "@swc/core-linux-arm64-musl@npm:1.3.71"
|
||||||
@@ -11000,13 +10965,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@swc/core-linux-x64-gnu@npm:1.3.64":
|
|
||||||
version: 1.3.64
|
|
||||||
resolution: "@swc/core-linux-x64-gnu@npm:1.3.64"
|
|
||||||
conditions: os=linux & cpu=x64 & libc=glibc
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@swc/core-linux-x64-gnu@npm:1.3.71":
|
"@swc/core-linux-x64-gnu@npm:1.3.71":
|
||||||
version: 1.3.71
|
version: 1.3.71
|
||||||
resolution: "@swc/core-linux-x64-gnu@npm:1.3.71"
|
resolution: "@swc/core-linux-x64-gnu@npm:1.3.71"
|
||||||
@@ -11021,13 +10979,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@swc/core-linux-x64-musl@npm:1.3.64":
|
|
||||||
version: 1.3.64
|
|
||||||
resolution: "@swc/core-linux-x64-musl@npm:1.3.64"
|
|
||||||
conditions: os=linux & cpu=x64 & libc=musl
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@swc/core-linux-x64-musl@npm:1.3.71":
|
"@swc/core-linux-x64-musl@npm:1.3.71":
|
||||||
version: 1.3.71
|
version: 1.3.71
|
||||||
resolution: "@swc/core-linux-x64-musl@npm:1.3.71"
|
resolution: "@swc/core-linux-x64-musl@npm:1.3.71"
|
||||||
@@ -11042,13 +10993,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@swc/core-win32-arm64-msvc@npm:1.3.64":
|
|
||||||
version: 1.3.64
|
|
||||||
resolution: "@swc/core-win32-arm64-msvc@npm:1.3.64"
|
|
||||||
conditions: os=win32 & cpu=arm64
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@swc/core-win32-arm64-msvc@npm:1.3.71":
|
"@swc/core-win32-arm64-msvc@npm:1.3.71":
|
||||||
version: 1.3.71
|
version: 1.3.71
|
||||||
resolution: "@swc/core-win32-arm64-msvc@npm:1.3.71"
|
resolution: "@swc/core-win32-arm64-msvc@npm:1.3.71"
|
||||||
@@ -11063,13 +11007,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@swc/core-win32-ia32-msvc@npm:1.3.64":
|
|
||||||
version: 1.3.64
|
|
||||||
resolution: "@swc/core-win32-ia32-msvc@npm:1.3.64"
|
|
||||||
conditions: os=win32 & cpu=ia32
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@swc/core-win32-ia32-msvc@npm:1.3.71":
|
"@swc/core-win32-ia32-msvc@npm:1.3.71":
|
||||||
version: 1.3.71
|
version: 1.3.71
|
||||||
resolution: "@swc/core-win32-ia32-msvc@npm:1.3.71"
|
resolution: "@swc/core-win32-ia32-msvc@npm:1.3.71"
|
||||||
@@ -11084,13 +11021,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@swc/core-win32-x64-msvc@npm:1.3.64":
|
|
||||||
version: 1.3.64
|
|
||||||
resolution: "@swc/core-win32-x64-msvc@npm:1.3.64"
|
|
||||||
conditions: os=win32 & cpu=x64
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@swc/core-win32-x64-msvc@npm:1.3.71":
|
"@swc/core-win32-x64-msvc@npm:1.3.71":
|
||||||
version: 1.3.71
|
version: 1.3.71
|
||||||
resolution: "@swc/core-win32-x64-msvc@npm:1.3.71"
|
resolution: "@swc/core-win32-x64-msvc@npm:1.3.71"
|
||||||
@@ -11105,51 +11035,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@swc/core@npm:1.3.64":
|
"@swc/core@npm:1.3.71, @swc/core@npm:^1.3.18, @swc/core@npm:^1.3.61, @swc/core@npm:^1.3.71":
|
||||||
version: 1.3.64
|
|
||||||
resolution: "@swc/core@npm:1.3.64"
|
|
||||||
dependencies:
|
|
||||||
"@swc/core-darwin-arm64": 1.3.64
|
|
||||||
"@swc/core-darwin-x64": 1.3.64
|
|
||||||
"@swc/core-linux-arm-gnueabihf": 1.3.64
|
|
||||||
"@swc/core-linux-arm64-gnu": 1.3.64
|
|
||||||
"@swc/core-linux-arm64-musl": 1.3.64
|
|
||||||
"@swc/core-linux-x64-gnu": 1.3.64
|
|
||||||
"@swc/core-linux-x64-musl": 1.3.64
|
|
||||||
"@swc/core-win32-arm64-msvc": 1.3.64
|
|
||||||
"@swc/core-win32-ia32-msvc": 1.3.64
|
|
||||||
"@swc/core-win32-x64-msvc": 1.3.64
|
|
||||||
peerDependencies:
|
|
||||||
"@swc/helpers": ^0.5.0
|
|
||||||
dependenciesMeta:
|
|
||||||
"@swc/core-darwin-arm64":
|
|
||||||
optional: true
|
|
||||||
"@swc/core-darwin-x64":
|
|
||||||
optional: true
|
|
||||||
"@swc/core-linux-arm-gnueabihf":
|
|
||||||
optional: true
|
|
||||||
"@swc/core-linux-arm64-gnu":
|
|
||||||
optional: true
|
|
||||||
"@swc/core-linux-arm64-musl":
|
|
||||||
optional: true
|
|
||||||
"@swc/core-linux-x64-gnu":
|
|
||||||
optional: true
|
|
||||||
"@swc/core-linux-x64-musl":
|
|
||||||
optional: true
|
|
||||||
"@swc/core-win32-arm64-msvc":
|
|
||||||
optional: true
|
|
||||||
"@swc/core-win32-ia32-msvc":
|
|
||||||
optional: true
|
|
||||||
"@swc/core-win32-x64-msvc":
|
|
||||||
optional: true
|
|
||||||
peerDependenciesMeta:
|
|
||||||
"@swc/helpers":
|
|
||||||
optional: true
|
|
||||||
checksum: ea77168089a34dcec088ab81aef99301eba003b5ed3dca4039803050ba9344e754687f7d4fb4b3e40d22509658bdbdbac2f94f99c6f94051970566c857774371
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@swc/core@npm:^1.3.18, @swc/core@npm:^1.3.61, @swc/core@npm:^1.3.71":
|
|
||||||
version: 1.3.71
|
version: 1.3.71
|
||||||
resolution: "@swc/core@npm:1.3.71"
|
resolution: "@swc/core@npm:1.3.71"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -11494,6 +11380,15 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@types/affine__env@workspace:packages/@types/env":
|
||||||
|
version: 0.0.0-use.local
|
||||||
|
resolution: "@types/affine__env@workspace:packages/@types/env"
|
||||||
|
dependencies:
|
||||||
|
"@affine/env": "workspace:*"
|
||||||
|
"@toeverything/infra": "workspace:*"
|
||||||
|
languageName: unknown
|
||||||
|
linkType: soft
|
||||||
|
|
||||||
"@types/argparse@npm:1.0.38":
|
"@types/argparse@npm:1.0.38":
|
||||||
version: 1.0.38
|
version: 1.0.38
|
||||||
resolution: "@types/argparse@npm:1.0.38"
|
resolution: "@types/argparse@npm:1.0.38"
|
||||||
@@ -12708,7 +12603,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@vitejs/plugin-react@npm:^4.0.0, @vitejs/plugin-react@npm:^4.0.3":
|
"@vitejs/plugin-react@npm:^4.0.3":
|
||||||
version: 4.0.3
|
version: 4.0.3
|
||||||
resolution: "@vitejs/plugin-react@npm:4.0.3"
|
resolution: "@vitejs/plugin-react@npm:4.0.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -31658,7 +31553,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"vite@npm:^3.0.0 || ^4.0.0, vite@npm:^4.1.4, vite@npm:^4.3.9, vite@npm:^4.4.7":
|
"vite@npm:^3.0.0 || ^4.0.0, vite@npm:^4.1.4, vite@npm:^4.4.7":
|
||||||
version: 4.4.7
|
version: 4.4.7
|
||||||
resolution: "vite@npm:4.4.7"
|
resolution: "vite@npm:4.4.7"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -31884,24 +31779,24 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"waku@npm:0.12.1":
|
"waku@npm:0.14.0":
|
||||||
version: 0.12.1
|
version: 0.14.0
|
||||||
resolution: "waku@npm:0.12.1"
|
resolution: "waku@npm:0.14.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@swc/core": 1.3.64
|
"@swc/core": 1.3.71
|
||||||
"@vitejs/plugin-react": ^4.0.0
|
"@vitejs/plugin-react": ^4.0.3
|
||||||
busboy: ^1.6.0
|
busboy: ^1.6.0
|
||||||
vite: ^4.3.9
|
vite: ^4.4.7
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
express: ^4.18.2
|
express: ^4.18.2
|
||||||
react: 18.3.0-canary-613e6f5fc-20230616
|
react: 18.3.0-canary-7118f5dd7-20230705
|
||||||
react-server-dom-webpack: 18.3.0-canary-613e6f5fc-20230616
|
react-server-dom-webpack: 18.3.0-canary-7118f5dd7-20230705
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
express:
|
express:
|
||||||
optional: true
|
optional: true
|
||||||
bin:
|
bin:
|
||||||
waku: dist/cli.js
|
waku: dist/cli.js
|
||||||
checksum: c0df6ac35e79eb3216be287db3d5a4507982a50334d7a474cabd70171754adba742f60fef8ae32f512cc82cd207b591158079d798d208db407308c6cd835d77d
|
checksum: 6637272a74a4ca179c1a5d24083cf8fbb47f711314bbadf62776e773869d3f1af67e55f838e71b774e3db71fc648ed3d2916aff15ddce5cf813dc22b94919288
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user