mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-10 04:22:18 +00:00
fix: appwrite/appwrite module name
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
"@types/markdown-it": "^13.0.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
||||
"@typescript-eslint/parser": "^5.62.0",
|
||||
"appwrite": "github:appwrite/appwrite",
|
||||
"eslint": "^8.49.0",
|
||||
"eslint-config-prettier": "^8.10.0",
|
||||
"eslint-plugin-svelte": "^2.33.1",
|
||||
@@ -48,6 +47,7 @@
|
||||
"dependencies": {
|
||||
"@apidevtools/swagger-parser": "^10.1.0",
|
||||
"@appwrite.io/pink": "0.0.7-sl10.0",
|
||||
"@appwrite.io/repo": "github:appwrite/appwrite",
|
||||
"@fontsource/inter": "^5.0.8",
|
||||
"highlight.js": "^11.8.0",
|
||||
"markdown-it": "^13.0.1",
|
||||
|
||||
12
pnpm-lock.yaml
generated
12
pnpm-lock.yaml
generated
@@ -11,6 +11,9 @@ dependencies:
|
||||
'@appwrite.io/pink':
|
||||
specifier: 0.0.7-sl10.0
|
||||
version: 0.0.7-sl10.0
|
||||
'@appwrite.io/repo':
|
||||
specifier: github:appwrite/appwrite
|
||||
version: github.com/appwrite/appwrite/549e0b476abda81e382f27994ef0b22504f650c1
|
||||
'@fontsource/inter':
|
||||
specifier: ^5.0.8
|
||||
version: 5.0.8
|
||||
@@ -52,9 +55,6 @@ devDependencies:
|
||||
'@typescript-eslint/parser':
|
||||
specifier: ^5.62.0
|
||||
version: 5.62.0(eslint@8.49.0)(typescript@5.2.2)
|
||||
appwrite:
|
||||
specifier: github:appwrite/appwrite
|
||||
version: github.com/appwrite/appwrite/5717fbe28243a7616434d908554db51d28c4f35d
|
||||
eslint:
|
||||
specifier: ^8.49.0
|
||||
version: 8.49.0
|
||||
@@ -5513,8 +5513,8 @@ packages:
|
||||
engines: {node: '>=12.20'}
|
||||
dev: true
|
||||
|
||||
github.com/appwrite/appwrite/5717fbe28243a7616434d908554db51d28c4f35d:
|
||||
resolution: {tarball: https://codeload.github.com/appwrite/appwrite/tar.gz/5717fbe28243a7616434d908554db51d28c4f35d}
|
||||
github.com/appwrite/appwrite/549e0b476abda81e382f27994ef0b22504f650c1:
|
||||
resolution: {tarball: https://codeload.github.com/appwrite/appwrite/tar.gz/549e0b476abda81e382f27994ef0b22504f650c1}
|
||||
name: appwrite
|
||||
version: 0.0.0
|
||||
dev: true
|
||||
dev: false
|
||||
|
||||
@@ -139,7 +139,7 @@ function getSchema(id: string, api: OpenAPIV3.Document): OpenAPIV3.SchemaObject
|
||||
const specs = import.meta.glob('$appwrite/app/config/specs/open-api3*-(client|server).json');
|
||||
async function getSpec(version: string, platform: string) {
|
||||
const isServer = platform.startsWith('server-');
|
||||
const target = `/node_modules/appwrite/app/config/specs/open-api3-${version}-${
|
||||
const target = `/node_modules/@appwrite.io/repo/app/config/specs/open-api3-${version}-${
|
||||
isServer ? 'server' : 'client'
|
||||
}.json`;
|
||||
return specs[target]();
|
||||
@@ -211,7 +211,7 @@ export async function getService(
|
||||
}
|
||||
);
|
||||
|
||||
const path = `/node_modules/appwrite/docs/examples/${version}/${platform}/examples/${operation['x-appwrite'].demo}`;
|
||||
const path = `/node_modules/@appwrite.io/repo/docs/examples/${version}/${platform}/examples/${operation['x-appwrite'].demo}`;
|
||||
if (!(path in examples)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ const config = {
|
||||
alias: {
|
||||
$routes: './src/routes',
|
||||
$scss: './src/scss',
|
||||
$appwrite: './node_modules/appwrite',
|
||||
$appwrite: './node_modules/@appwrite.io/repo',
|
||||
$markdoc: './src/markdoc'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ export default defineConfig({
|
||||
sveltekit(),
|
||||
dynamicImport({
|
||||
filter(id) {
|
||||
if (id.includes('/node_modules/appwrite/docs')) {
|
||||
if (id.includes('/node_modules/@appwrite.io/repo/docs')) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user