feat: init @affine/docs (#2849)

This commit is contained in:
Alex Yang 2023-06-25 21:18:23 +08:00 committed by GitHub
parent d8bb51a222
commit d525bd9113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 729 additions and 12 deletions

2
.github/labeler.yml vendored
View File

@ -48,3 +48,5 @@ app:web: 'apps/web/**/*'
app:electron: 'apps/electron/**/*'
app:server: 'apps/server/**/*'
app:docs: 'apps/docs/**/*'

View File

@ -48,6 +48,19 @@ jobs:
yarn lint --max-warnings=0
yarn circular
build-docs:
name: Build Docs
runs-on: ubuntu-latest
environment: development
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- run: yarn nx build @affine/docs
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
build-storybook:
name: Build Storybook
runs-on: ubuntu-latest

1
.gitignore vendored
View File

@ -55,6 +55,7 @@ Thumbs.db
.history
.next
.vercel
out/
storybook-static
i18n-generated.ts

21
apps/docs/entries.ts Normal file
View File

@ -0,0 +1,21 @@
import { defineEntries } from 'waku/server';
export default defineEntries(
// getEntry
async id => {
switch (id) {
case 'App':
return import('./src/app.js') as any;
default:
return null;
}
},
// getBuildConfig
async () => {
return {
'/': {
elements: [['App', {}]],
},
};
}
);

36
apps/docs/index.html Normal file
View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>AFFiNE Developer Documentation</title>
<style>
@keyframes spinner {
to {
transform: rotate(360deg);
}
}
.spinner {
width: 36px;
height: 36px;
margin: auto;
border: 2px solid #ddd;
border-top-color: #222;
border-radius: 50%;
animation: spinner 1s linear infinite;
}
#root > .spinner {
margin-top: calc(50% - 18px);
}
</style>
</head>
<body>
<!--placeholder1-->
<div id="root">
<div class="spinner"></div>
</div>
<!--/placeholder1-->
<script src="./src/index.tsx" async type="module"></script>
<!--placeholder2-->
<!--/placeholder2-->
</body>
</html>

34
apps/docs/package.json Normal file
View File

@ -0,0 +1,34 @@
{
"name": "@affine/docs",
"version": "0.1.0",
"type": "module",
"private": true,
"scripts": {
"dev": "waku dev",
"build": "waku build",
"build:vercel": "waku build && cp -Lr ./dist/.vercel/output ./.vercel/"
},
"dependencies": {
"@affine/component": "workspace:*",
"@blocksuite/block-std": "0.0.0-20230624163241-751f7170-nightly",
"@blocksuite/blocks": "0.0.0-20230624163241-751f7170-nightly",
"@blocksuite/editor": "0.0.0-20230624163241-751f7170-nightly",
"@blocksuite/global": "0.0.0-20230624163241-751f7170-nightly",
"@blocksuite/lit": "0.0.0-20230624163241-751f7170-nightly",
"@blocksuite/store": "0.0.0-20230624163241-751f7170-nightly",
"express": "^4.18.2",
"react": "18.3.0-canary-16d053d59-20230506",
"react-dom": "18.3.0-canary-16d053d59-20230506",
"react-server-dom-webpack": "18.3.0-canary-16d053d59-20230506",
"waku": "0.12.1"
},
"devDependencies": {
"@types/react": "^18.2.12",
"@types/react-dom": "^18.2.5",
"@vanilla-extract/css": "^1.11.1",
"@vanilla-extract/vite-plugin": "^3.8.2",
"autoprefixer": "^10.4.14",
"tailwindcss": "^3.3.2",
"typescript": "^5.1.3"
}
}

View File

@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};

26
apps/docs/src/app.tsx Normal file
View File

@ -0,0 +1,26 @@
'use server';
import fs from 'node:fs/promises';
import path from 'node:path';
import type { ReactElement } from 'react';
import { lazy } from 'react';
const Editor = lazy(() =>
import('./components/editor.js').then(({ Editor }) => ({ default: Editor }))
);
const markdown = await fs.readFile(path.join('./src/pages/index.md'), {
encoding: 'utf-8',
});
const App = (): ReactElement => {
return (
<div>
<div className="mt-5">
<Editor text={markdown} />
</div>
</div>
);
};
export default App;

View File

@ -0,0 +1,54 @@
'use client';
import '@blocksuite/editor/themes/affine.css';
import { BlockSuiteEditor } from '@affine/component/block-suite-editor';
import { ContentParser } from '@blocksuite/blocks/content-parser';
import { __unstableSchemas, AffineSchemas } from '@blocksuite/blocks/models';
import { assertExists, Workspace } from '@blocksuite/store';
import type { ReactElement } from 'react';
import { useCallback } from 'react';
const workspace = new Workspace({
id: 'local-workspace',
})
.register(AffineSchemas)
.register(__unstableSchemas);
const page = workspace.createPage({
id: 'example-page',
});
export type EditorProps = {
text: string;
};
export const Editor = (props: EditorProps): ReactElement => {
return (
<BlockSuiteEditor
page={page}
mode="page"
onInit={useCallback(
async page => {
const text = props.text;
await page.waitForLoaded();
const metadata = text.split('---\n')[1];
assertExists(metadata);
// find title
const title = metadata.split('title: ')[1]?.split('\n')[0];
const pageBlockId = page.addBlock('affine:page', {
title: new page.Text(title),
});
page.addBlock('affine:surface', {}, pageBlockId);
const noteBlockId = page.addBlock('affine:note', {}, pageBlockId);
const contentParser = new ContentParser(page);
const content = text.split('---\n')[2];
assertExists(content);
console.log('metadata', title, content);
await contentParser.importMarkdown(content, noteBlockId);
},
[props.text]
)}
/>
);
};

3
apps/docs/src/index.css Normal file
View File

@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

14
apps/docs/src/index.tsx Normal file
View File

@ -0,0 +1,14 @@
import './index.css';
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { serve } from 'waku/client';
const App = serve('App');
const rootElement = (
<StrictMode>
<App />
</StrictMode>
);
createRoot(document.getElementById('root') as HTMLElement).render(rootElement);

View File

@ -0,0 +1,9 @@
---
title: AFFiNE Developer Documentation
---
```shell
corepack enable
yarn install
nx dev @affine/docs
```

View File

@ -0,0 +1,8 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{ts,tsx}'],
theme: {
extend: {},
},
plugins: [],
};

24
apps/docs/tsconfig.json Normal file
View File

@ -0,0 +1,24 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"moduleResolution": "Node16",
"strict": true,
"target": "esnext",
"downlevelIteration": true,
"esModuleInterop": true,
"module": "NodeNext",
"skipLibCheck": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"jsx": "react-jsx"
},
"include": ["src", "entries.ts"],
"references": [
{
"path": "./tsconfig.node.json"
},
{
"path": "../../packages/component"
}
]
}

View File

@ -0,0 +1,14 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"composite": true,
"target": "ESNext",
"module": "ESNext",
"resolveJsonModule": true,
"moduleResolution": "Node16",
"allowSyntheticDefaultImports": true,
"outDir": "dist/scripts",
"rootDir": "."
},
"include": ["vite.config.ts", "vite.prod.config.ts"]
}

13
apps/docs/vite.config.ts Normal file
View File

@ -0,0 +1,13 @@
import path from 'node:path';
import url from 'node:url';
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
import { defineConfig } from 'waku/config';
export default defineConfig({
root: path.dirname(url.fileURLToPath(import.meta.url)),
plugins: [vanillaExtractPlugin()],
build: {
target: 'esnext',
},
});

View File

@ -1,4 +1,3 @@
import { config } from '@affine/env';
import { editorContainerModuleAtom } from '@affine/jotai';
import type { BlockHub } from '@blocksuite/blocks';
import type { EditorContainer } from '@blocksuite/editor';
@ -195,7 +194,7 @@ export const BlockSuiteEditor = memo(function BlockSuiteEditor(
<Suspense fallback={<BlockSuiteFallback />}>
<BlockSuiteEditorImpl {...props} />
</Suspense>
{config.enableImagePreviewModal && props.page && (
{props.page && (
<Suspense fallback={null}>
{createPortal(
<ImagePreviewModal

460
yarn.lock
View File

@ -152,6 +152,32 @@ __metadata:
languageName: unknown
linkType: soft
"@affine/docs@workspace:apps/docs":
version: 0.0.0-use.local
resolution: "@affine/docs@workspace:apps/docs"
dependencies:
"@affine/component": "workspace:*"
"@blocksuite/block-std": 0.0.0-20230624163241-751f7170-nightly
"@blocksuite/blocks": 0.0.0-20230624163241-751f7170-nightly
"@blocksuite/editor": 0.0.0-20230624163241-751f7170-nightly
"@blocksuite/global": 0.0.0-20230624163241-751f7170-nightly
"@blocksuite/lit": 0.0.0-20230624163241-751f7170-nightly
"@blocksuite/store": 0.0.0-20230624163241-751f7170-nightly
"@types/react": ^18.2.12
"@types/react-dom": ^18.2.5
"@vanilla-extract/css": ^1.11.1
"@vanilla-extract/vite-plugin": ^3.8.2
autoprefixer: ^10.4.14
express: ^4.18.2
react: 18.3.0-canary-16d053d59-20230506
react-dom: 18.3.0-canary-16d053d59-20230506
react-server-dom-webpack: 18.3.0-canary-16d053d59-20230506
tailwindcss: ^3.3.2
typescript: ^5.1.3
waku: 0.12.1
languageName: unknown
linkType: soft
"@affine/electron@workspace:apps/electron":
version: 0.0.0-use.local
resolution: "@affine/electron@workspace:apps/electron"
@ -546,6 +572,13 @@ __metadata:
languageName: unknown
linkType: soft
"@alloc/quick-lru@npm:^5.2.0":
version: 5.2.0
resolution: "@alloc/quick-lru@npm:5.2.0"
checksum: bdc35758b552bcf045733ac047fb7f9a07c4678b944c641adfbd41f798b4b91fffd0fdc0df2578d9b0afc7b4d636aa6e110ead5d6281a2adc1ab90efd7f057f8
languageName: node
linkType: hard
"@ampproject/remapping@npm:^2.2.0":
version: 2.2.1
resolution: "@ampproject/remapping@npm:2.2.1"
@ -11081,6 +11114,13 @@ __metadata:
languageName: node
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.66":
version: 1.3.66
resolution: "@swc/core-darwin-arm64@npm:1.3.66"
@ -11088,6 +11128,13 @@ __metadata:
languageName: node
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.66":
version: 1.3.66
resolution: "@swc/core-darwin-x64@npm:1.3.66"
@ -11095,6 +11142,13 @@ __metadata:
languageName: node
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.66":
version: 1.3.66
resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.66"
@ -11102,6 +11156,13 @@ __metadata:
languageName: node
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.66":
version: 1.3.66
resolution: "@swc/core-linux-arm64-gnu@npm:1.3.66"
@ -11109,6 +11170,13 @@ __metadata:
languageName: node
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.66":
version: 1.3.66
resolution: "@swc/core-linux-arm64-musl@npm:1.3.66"
@ -11116,6 +11184,13 @@ __metadata:
languageName: node
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.66":
version: 1.3.66
resolution: "@swc/core-linux-x64-gnu@npm:1.3.66"
@ -11123,6 +11198,13 @@ __metadata:
languageName: node
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.66":
version: 1.3.66
resolution: "@swc/core-linux-x64-musl@npm:1.3.66"
@ -11130,6 +11212,13 @@ __metadata:
languageName: node
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.66":
version: 1.3.66
resolution: "@swc/core-win32-arm64-msvc@npm:1.3.66"
@ -11137,6 +11226,13 @@ __metadata:
languageName: node
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.66":
version: 1.3.66
resolution: "@swc/core-win32-ia32-msvc@npm:1.3.66"
@ -11144,6 +11240,13 @@ __metadata:
languageName: node
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.66":
version: 1.3.66
resolution: "@swc/core-win32-x64-msvc@npm:1.3.66"
@ -11151,6 +11254,50 @@ __metadata:
languageName: node
linkType: hard
"@swc/core@npm:1.3.64":
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":
version: 1.3.66
resolution: "@swc/core@npm:1.3.66"
@ -12977,6 +13124,15 @@ __metadata:
languageName: node
linkType: hard
"acorn-loose@npm:^8.3.0":
version: 8.3.0
resolution: "acorn-loose@npm:8.3.0"
dependencies:
acorn: ^8.5.0
checksum: 3418a20bded1e74a20950dee8289fb87808c21a50d4065e4ec48230668ea77f4238be1dd1ee30b2116f469e496bcdaf937ccb86d469482e028052f8eec804c07
languageName: node
linkType: hard
"acorn-walk@npm:^7.2.0":
version: 7.2.0
resolution: "acorn-walk@npm:7.2.0"
@ -13000,7 +13156,7 @@ __metadata:
languageName: node
linkType: hard
"acorn@npm:^8.4.1, acorn@npm:^8.7.1, acorn@npm:^8.8.0, acorn@npm:^8.8.2":
"acorn@npm:^8.4.1, acorn@npm:^8.5.0, acorn@npm:^8.7.1, acorn@npm:^8.8.0, acorn@npm:^8.8.2":
version: 8.9.0
resolution: "acorn@npm:8.9.0"
bin:
@ -13201,7 +13357,7 @@ __metadata:
languageName: node
linkType: hard
"any-promise@npm:^1.1.0":
"any-promise@npm:^1.0.0, any-promise@npm:^1.1.0":
version: 1.3.0
resolution: "any-promise@npm:1.3.0"
checksum: 0ee8a9bdbe882c90464d75d1f55cf027f5458650c4bd1f0467e65aec38ccccda07ca5844969ee77ed46d04e7dded3eaceb027e8d32f385688523fe305fa7e1de
@ -13310,7 +13466,7 @@ __metadata:
languageName: node
linkType: hard
"arg@npm:5.0.2":
"arg@npm:5.0.2, arg@npm:^5.0.2":
version: 5.0.2
resolution: "arg@npm:5.0.2"
checksum: 6c69ada1a9943d332d9e5382393e897c500908d91d5cb735a01120d5f71daf1b339b7b8980cbeaba8fd1afc68e658a739746179e4315a26e8a28951ff9930078
@ -13655,6 +13811,24 @@ __metadata:
languageName: node
linkType: hard
"autoprefixer@npm:^10.4.14":
version: 10.4.14
resolution: "autoprefixer@npm:10.4.14"
dependencies:
browserslist: ^4.21.5
caniuse-lite: ^1.0.30001464
fraction.js: ^4.2.0
normalize-range: ^0.1.2
picocolors: ^1.0.0
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.1.0
bin:
autoprefixer: bin/autoprefixer
checksum: e9f18e664a4e4a54a8f4ec5f6b49ed228ec45afaa76efcae361c93721795dc5ab644f36d2fdfc0dea446b02a8067b9372f91542ea431994399e972781ed46d95
languageName: node
linkType: hard
"available-typed-arrays@npm:^1.0.5":
version: 1.0.5
resolution: "available-typed-arrays@npm:1.0.5"
@ -14469,6 +14643,13 @@ __metadata:
languageName: node
linkType: hard
"camelcase-css@npm:^2.0.1":
version: 2.0.1
resolution: "camelcase-css@npm:2.0.1"
checksum: 1cec2b3b3dcb5026688a470b00299a8db7d904c4802845c353dbd12d9d248d3346949a814d83bfd988d4d2e5b9904c07efe76fecd195a1d4f05b543e7c0b56b1
languageName: node
linkType: hard
"camelcase-keys@npm:^6.2.2":
version: 6.2.2
resolution: "camelcase-keys@npm:6.2.2"
@ -14517,6 +14698,13 @@ __metadata:
languageName: node
linkType: hard
"caniuse-lite@npm:^1.0.30001464":
version: 1.0.30001507
resolution: "caniuse-lite@npm:1.0.30001507"
checksum: 7044172bdf65140c927cdaaff50368a97676f06a9fd8b515c046613bdf52cb769e9efb832ee491b8f8cc21f82c15f154a896efbab690f431bb064c95f3a2b7a8
languageName: node
linkType: hard
"canvg@npm:^3.0.6":
version: 3.0.10
resolution: "canvg@npm:3.0.10"
@ -15164,7 +15352,7 @@ __metadata:
languageName: node
linkType: hard
"commander@npm:^4.1.1":
"commander@npm:^4.0.0, commander@npm:^4.1.1":
version: 4.1.1
resolution: "commander@npm:4.1.1"
checksum: d7b9913ff92cae20cb577a4ac6fcc121bd6223319e54a40f51a14740a681ad5c574fd29a57da478a5f234a6fa6c52cbf0b7c641353e03c648b1ae85ba670b977
@ -16303,6 +16491,13 @@ __metadata:
languageName: node
linkType: hard
"didyoumean@npm:^1.2.2":
version: 1.2.2
resolution: "didyoumean@npm:1.2.2"
checksum: d5d98719d58b3c2fa59663c4c42ba9716f1fd01245c31d5fce31915bd3aa26e6aac149788e007358f778ebbd68a2256eb5973e8ca6f221df221ba060115acf2e
languageName: node
linkType: hard
"diff-sequences@npm:^28.1.1":
version: 28.1.1
resolution: "diff-sequences@npm:28.1.1"
@ -16352,6 +16547,13 @@ __metadata:
languageName: node
linkType: hard
"dlv@npm:^1.1.3":
version: 1.1.3
resolution: "dlv@npm:1.1.3"
checksum: d7381bca22ed11933a1ccf376db7a94bee2c57aa61e490f680124fa2d1cd27e94eba641d9f45be57caab4f9a6579de0983466f620a2cd6230d7ec93312105ae7
languageName: node
linkType: hard
"dnd-core@npm:^16.0.1":
version: 16.0.1
resolution: "dnd-core@npm:16.0.1"
@ -18638,6 +18840,13 @@ __metadata:
languageName: node
linkType: hard
"fraction.js@npm:^4.2.0":
version: 4.2.0
resolution: "fraction.js@npm:4.2.0"
checksum: 8c76a6e21dedea87109d6171a0ac77afa14205794a565d71cb10d2925f629a3922da61bf45ea52dbc30bce4d8636dc0a27213a88cbd600eab047d82f9a3a94c5
languageName: node
linkType: hard
"fractional-indexing@npm:^3.2.0":
version: 3.2.0
resolution: "fractional-indexing@npm:3.2.0"
@ -19202,6 +19411,20 @@ __metadata:
languageName: node
linkType: hard
"glob@npm:7.1.6":
version: 7.1.6
resolution: "glob@npm:7.1.6"
dependencies:
fs.realpath: ^1.0.0
inflight: ^1.0.4
inherits: 2
minimatch: ^3.0.4
once: ^1.3.0
path-is-absolute: ^1.0.0
checksum: 351d549dd90553b87c2d3f90ce11aed9e1093c74130440e7ae0592e11bbcd2ce7f0ebb8ba6bfe63aaf9b62166a7f4c80cb84490ae5d78408bb2572bf7d4ee0a6
languageName: node
linkType: hard
"glob@npm:7.1.7":
version: 7.1.7
resolution: "glob@npm:7.1.7"
@ -22417,7 +22640,7 @@ __metadata:
languageName: node
linkType: hard
"lilconfig@npm:2.1.0, lilconfig@npm:^2.0.5":
"lilconfig@npm:2.1.0, lilconfig@npm:^2.0.5, lilconfig@npm:^2.1.0":
version: 2.1.0
resolution: "lilconfig@npm:2.1.0"
checksum: 8549bb352b8192375fed4a74694cd61ad293904eee33f9d4866c2192865c44c4eb35d10782966242634e0cbc1e91fe62b1247f148dc5514918e3a966da7ea117
@ -23818,6 +24041,17 @@ __metadata:
languageName: node
linkType: hard
"mz@npm:^2.7.0":
version: 2.7.0
resolution: "mz@npm:2.7.0"
dependencies:
any-promise: ^1.0.0
object-assign: ^4.0.1
thenify-all: ^1.0.0
checksum: 8427de0ece99a07e9faed3c0c6778820d7543e3776f9a84d22cf0ec0a8eb65f6e9aee9c9d353ff9a105ff62d33a9463c6ca638974cc652ee8140cd1e35951c87
languageName: node
linkType: hard
"nan@npm:^2.4.0":
version: 2.17.0
resolution: "nan@npm:2.17.0"
@ -24262,6 +24496,13 @@ __metadata:
languageName: node
linkType: hard
"normalize-range@npm:^0.1.2":
version: 0.1.2
resolution: "normalize-range@npm:0.1.2"
checksum: 9b2f14f093593f367a7a0834267c24f3cb3e887a2d9809c77d8a7e5fd08738bcd15af46f0ab01cc3a3d660386f015816b5c922cea8bf2ee79777f40874063184
languageName: node
linkType: hard
"normalize-url@npm:^6.0.1":
version: 6.1.0
resolution: "normalize-url@npm:6.1.0"
@ -24497,7 +24738,7 @@ __metadata:
languageName: node
linkType: hard
"object-assign@npm:^4, object-assign@npm:^4.1.0, object-assign@npm:^4.1.1":
"object-assign@npm:^4, object-assign@npm:^4.0.1, object-assign@npm:^4.1.0, object-assign@npm:^4.1.1":
version: 4.1.1
resolution: "object-assign@npm:4.1.1"
checksum: fcc6e4ea8c7fe48abfbb552578b1c53e0d194086e2e6bbbf59e0a536381a292f39943c6e9628af05b5528aa5e3318bb30d6b2e53cadaf5b8fe9e12c4b69af23f
@ -25337,7 +25578,7 @@ __metadata:
languageName: node
linkType: hard
"pify@npm:^2.0.0":
"pify@npm:^2.0.0, pify@npm:^2.3.0":
version: 2.3.0
resolution: "pify@npm:2.3.0"
checksum: 9503aaeaf4577acc58642ad1d25c45c6d90288596238fb68f82811c08104c800e5a7870398e9f015d82b44ecbcbef3dc3d4251a1cbb582f6e5959fe09884b2ba
@ -25351,6 +25592,13 @@ __metadata:
languageName: node
linkType: hard
"pirates@npm:^4.0.1":
version: 4.0.6
resolution: "pirates@npm:4.0.6"
checksum: 46a65fefaf19c6f57460388a5af9ab81e3d7fd0e7bc44ca59d753cb5c4d0df97c6c6e583674869762101836d68675f027d60f841c105d72734df9dfca97cbcc6
languageName: node
linkType: hard
"pirates@npm:^4.0.4, pirates@npm:^4.0.5":
version: 4.0.5
resolution: "pirates@npm:4.0.5"
@ -25479,6 +25727,30 @@ __metadata:
languageName: node
linkType: hard
"postcss-import@npm:^15.1.0":
version: 15.1.0
resolution: "postcss-import@npm:15.1.0"
dependencies:
postcss-value-parser: ^4.0.0
read-cache: ^1.0.0
resolve: ^1.1.7
peerDependencies:
postcss: ^8.0.0
checksum: 7bd04bd8f0235429009d0022cbf00faebc885de1d017f6d12ccb1b021265882efc9302006ba700af6cab24c46bfa2f3bc590be3f9aee89d064944f171b04e2a3
languageName: node
linkType: hard
"postcss-js@npm:^4.0.1":
version: 4.0.1
resolution: "postcss-js@npm:4.0.1"
dependencies:
camelcase-css: ^2.0.1
peerDependencies:
postcss: ^8.4.21
checksum: 5c1e83efeabeb5a42676193f4357aa9c88f4dc1b3c4a0332c132fe88932b33ea58848186db117cf473049fc233a980356f67db490bd0a7832ccba9d0b3fd3491
languageName: node
linkType: hard
"postcss-load-config@npm:^3.1.0":
version: 3.1.4
resolution: "postcss-load-config@npm:3.1.4"
@ -25497,6 +25769,52 @@ __metadata:
languageName: node
linkType: hard
"postcss-load-config@npm:^4.0.1":
version: 4.0.1
resolution: "postcss-load-config@npm:4.0.1"
dependencies:
lilconfig: ^2.0.5
yaml: ^2.1.1
peerDependencies:
postcss: ">=8.0.9"
ts-node: ">=9.0.0"
peerDependenciesMeta:
postcss:
optional: true
ts-node:
optional: true
checksum: b61f890499ed7dcda1e36c20a9582b17d745bad5e2b2c7bc96942465e406bc43ae03f270c08e60d1e29dab1ee50cb26970b5eb20c9aae30e066e20bd607ae4e4
languageName: node
linkType: hard
"postcss-nested@npm:^6.0.1":
version: 6.0.1
resolution: "postcss-nested@npm:6.0.1"
dependencies:
postcss-selector-parser: ^6.0.11
peerDependencies:
postcss: ^8.2.14
checksum: 7ddb0364cd797de01e38f644879189e0caeb7ea3f78628c933d91cc24f327c56d31269384454fc02ecaf503b44bfa8e08870a7c4cc56b23bc15640e1894523fa
languageName: node
linkType: hard
"postcss-selector-parser@npm:^6.0.11":
version: 6.0.13
resolution: "postcss-selector-parser@npm:6.0.13"
dependencies:
cssesc: ^3.0.0
util-deprecate: ^1.0.2
checksum: f89163338a1ce3b8ece8e9055cd5a3165e79a15e1c408e18de5ad8f87796b61ec2d48a2902d179ae0c4b5de10fccd3a325a4e660596549b040bc5ad1b465f096
languageName: node
linkType: hard
"postcss-value-parser@npm:^4.0.0, postcss-value-parser@npm:^4.2.0":
version: 4.2.0
resolution: "postcss-value-parser@npm:4.2.0"
checksum: 819ffab0c9d51cf0acbabf8996dffbfafbafa57afc0e4c98db88b67f2094cb44488758f06e5da95d7036f19556a4a732525e84289a425f4f6fd8e412a9d7442f
languageName: node
linkType: hard
"postcss-values-parser@npm:^2.0.1":
version: 2.0.1
resolution: "postcss-values-parser@npm:2.0.1"
@ -26504,6 +26822,21 @@ __metadata:
languageName: node
linkType: hard
"react-server-dom-webpack@npm:18.3.0-canary-16d053d59-20230506":
version: 18.3.0-canary-16d053d59-20230506
resolution: "react-server-dom-webpack@npm:18.3.0-canary-16d053d59-20230506"
dependencies:
acorn-loose: ^8.3.0
loose-envify: ^1.1.0
neo-async: ^2.6.1
peerDependencies:
react: 18.3.0-canary-16d053d59-20230506
react-dom: 18.3.0-canary-16d053d59-20230506
webpack: ^5.59.0
checksum: 3d12d8e1f777adf77da23dc5ae6955226af60fe64ea94c068b1401314102ea72bb59fdaf6b41902190fba75b7070c3669f2fe4ab107ad855510723d126feb3cb
languageName: node
linkType: hard
"react-style-singleton@npm:^2.2.1":
version: 2.2.1
resolution: "react-style-singleton@npm:2.2.1"
@ -26573,6 +26906,15 @@ __metadata:
languageName: node
linkType: hard
"read-cache@npm:^1.0.0":
version: 1.0.0
resolution: "read-cache@npm:1.0.0"
dependencies:
pify: ^2.3.0
checksum: cffc728b9ede1e0667399903f9ecaf3789888b041c46ca53382fa3a06303e5132774dc0a96d0c16aa702dbac1ea0833d5a868d414f5ab2af1e1438e19e6657c6
languageName: node
linkType: hard
"read-pkg-up@npm:^2.0.0":
version: 2.0.0
resolution: "read-pkg-up@npm:2.0.0"
@ -27071,7 +27413,7 @@ __metadata:
languageName: node
linkType: hard
"resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.21.0, resolve@npm:^1.22.1, resolve@npm:~1.22.1":
"resolve@npm:^1.1.6, resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.21.0, resolve@npm:^1.22.1, resolve@npm:^1.22.2, resolve@npm:~1.22.1":
version: 1.22.3
resolution: "resolve@npm:1.22.3"
dependencies:
@ -27107,7 +27449,7 @@ __metadata:
languageName: node
linkType: hard
"resolve@patch:resolve@^1.1.6#~builtin<compat/resolve>, resolve@patch:resolve@^1.10.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.14.2#~builtin<compat/resolve>, resolve@patch:resolve@^1.17.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.19.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.20.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.21.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.1#~builtin<compat/resolve>, resolve@patch:resolve@~1.22.1#~builtin<compat/resolve>":
"resolve@patch:resolve@^1.1.6#~builtin<compat/resolve>, resolve@patch:resolve@^1.1.7#~builtin<compat/resolve>, resolve@patch:resolve@^1.10.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.14.2#~builtin<compat/resolve>, resolve@patch:resolve@^1.17.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.19.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.20.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.21.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.1#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.2#~builtin<compat/resolve>, resolve@patch:resolve@~1.22.1#~builtin<compat/resolve>":
version: 1.22.3
resolution: "resolve@patch:resolve@npm%3A1.22.3#~builtin<compat/resolve>::version=1.22.3&hash=c3c19d"
dependencies:
@ -28542,6 +28884,24 @@ __metadata:
languageName: node
linkType: hard
"sucrase@npm:^3.32.0":
version: 3.32.0
resolution: "sucrase@npm:3.32.0"
dependencies:
"@jridgewell/gen-mapping": ^0.3.2
commander: ^4.0.0
glob: 7.1.6
lines-and-columns: ^1.1.6
mz: ^2.7.0
pirates: ^4.0.1
ts-interface-checker: ^0.1.9
bin:
sucrase: bin/sucrase
sucrase-node: bin/sucrase-node
checksum: 79f760aef513adcf22b882d43100296a8afa7f307acef3e8803304b763484cf138a3e2cebc498a6791110ab20c7b8deba097f6ce82f812ca8f1723e3440e5c95
languageName: node
linkType: hard
"sudo-prompt@npm:^9.1.1":
version: 9.2.1
resolution: "sudo-prompt@npm:9.2.1"
@ -28708,6 +29068,40 @@ __metadata:
languageName: node
linkType: hard
"tailwindcss@npm:^3.3.2":
version: 3.3.2
resolution: "tailwindcss@npm:3.3.2"
dependencies:
"@alloc/quick-lru": ^5.2.0
arg: ^5.0.2
chokidar: ^3.5.3
didyoumean: ^1.2.2
dlv: ^1.1.3
fast-glob: ^3.2.12
glob-parent: ^6.0.2
is-glob: ^4.0.3
jiti: ^1.18.2
lilconfig: ^2.1.0
micromatch: ^4.0.5
normalize-path: ^3.0.0
object-hash: ^3.0.0
picocolors: ^1.0.0
postcss: ^8.4.23
postcss-import: ^15.1.0
postcss-js: ^4.0.1
postcss-load-config: ^4.0.1
postcss-nested: ^6.0.1
postcss-selector-parser: ^6.0.11
postcss-value-parser: ^4.2.0
resolve: ^1.22.2
sucrase: ^3.32.0
bin:
tailwind: lib/cli.js
tailwindcss: lib/cli.js
checksum: 4897c70e671c885e151f57434d87ccb806f468a11900f028245b351ffbca5245ff0c10ca5dbb6eb4c7c4df3de8a15a05fe08c2aea4b152cb07bee9bb1d8a14a8
languageName: node
linkType: hard
"tapable@npm:^2.1.1, tapable@npm:^2.2.0":
version: 2.2.1
resolution: "tapable@npm:2.2.1"
@ -28896,6 +29290,24 @@ __metadata:
languageName: node
linkType: hard
"thenify-all@npm:^1.0.0":
version: 1.6.0
resolution: "thenify-all@npm:1.6.0"
dependencies:
thenify: ">= 3.1.0 < 4"
checksum: dba7cc8a23a154cdcb6acb7f51d61511c37a6b077ec5ab5da6e8b874272015937788402fd271fdfc5f187f8cb0948e38d0a42dcc89d554d731652ab458f5343e
languageName: node
linkType: hard
"thenify@npm:>= 3.1.0 < 4":
version: 3.3.1
resolution: "thenify@npm:3.3.1"
dependencies:
any-promise: ^1.0.0
checksum: 84e1b804bfec49f3531215f17b4a6e50fd4397b5f7c1bccc427b9c656e1ecfb13ea79d899930184f78bc2f57285c54d9a50a590c8868f4f0cef5c1d9f898b05e
languageName: node
linkType: hard
"through2@npm:^2.0.3":
version: 2.0.5
resolution: "through2@npm:2.0.5"
@ -29145,6 +29557,13 @@ __metadata:
languageName: node
linkType: hard
"ts-interface-checker@npm:^0.1.9":
version: 0.1.13
resolution: "ts-interface-checker@npm:0.1.13"
checksum: 20c29189c2dd6067a8775e07823ddf8d59a33e2ffc47a1bd59a5cb28bb0121a2969a816d5e77eda2ed85b18171aa5d1c4005a6b88ae8499ec7cc49f78571cb5e
languageName: node
linkType: hard
"ts-log@npm:^2.2.3":
version: 2.2.5
resolution: "ts-log@npm:2.2.5"
@ -30301,6 +30720,27 @@ __metadata:
languageName: node
linkType: hard
"waku@npm:0.12.1":
version: 0.12.1
resolution: "waku@npm:0.12.1"
dependencies:
"@swc/core": 1.3.64
"@vitejs/plugin-react": ^4.0.0
busboy: ^1.6.0
vite: ^4.3.9
peerDependencies:
express: ^4.18.2
react: 18.3.0-canary-613e6f5fc-20230616
react-server-dom-webpack: 18.3.0-canary-613e6f5fc-20230616
peerDependenciesMeta:
express:
optional: true
bin:
waku: dist/cli.js
checksum: c0df6ac35e79eb3216be287db3d5a4507982a50334d7a474cabd70171754adba742f60fef8ae32f512cc82cd207b591158079d798d208db407308c6cd835d77d
languageName: node
linkType: hard
"walkdir@npm:^0.4.1":
version: 0.4.1
resolution: "walkdir@npm:0.4.1"
@ -30876,7 +31316,7 @@ __metadata:
languageName: node
linkType: hard
"yaml@npm:^2.2.1, yaml@npm:^2.2.2":
"yaml@npm:^2.1.1, yaml@npm:^2.2.1, yaml@npm:^2.2.2":
version: 2.3.1
resolution: "yaml@npm:2.3.1"
checksum: 2c7bc9a7cd4c9f40d3b0b0a98e370781b68b8b7c4515720869aced2b00d92f5da1762b4ffa947f9e795d6cd6b19f410bd4d15fdd38aca7bd96df59bd9486fb54