feat: Add support for MDX (#104)

This is an attempt to create our docs and blogs website
This commit is contained in:
Wanjohi
2024-08-31 21:37:45 +03:00
committed by GitHub
parent a90fe4ba7a
commit 22d43411b1
72 changed files with 1103 additions and 542 deletions

16
packages/mdx/.eslintrc.js Normal file
View File

@@ -0,0 +1,16 @@
module.exports = {
root: true,
extends: [
"@nestri/eslint-config/qwik.js",
],
parser: "@typescript-eslint/parser",
parserOptions: {
tsconfigRootDir: __dirname,
project: ["./tsconfig.json"],
ecmaVersion: 2021,
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
}
};

27
packages/mdx/package.json Normal file
View File

@@ -0,0 +1,27 @@
{
"name": "@nestri/mdx",
"version": "0.0.0",
"private": true,
"sideEffects": false,
"files": [
"tailwind.config.ts",
"postcss.config.js"
],
"scripts": {
"lint": "eslint . --max-warnings 0"
},
"devDependencies": {
"@builder.io/qwik": "^1.8.0",
"@builder.io/qwik-city": "^1.8.0",
"@builder.io/qwik-react": "0.5.0",
"@nestri/eslint-config": "workspace:*",
"@nestri/typescript-config": "workspace:*",
"@nestri/core": "workspace:*",
"@types/eslint": "^8.56.5",
"@types/node": "^20.11.24",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.0",
"tailwindcss": "^3.4.9",
"typescript": "^5.3.3"
}
}

View File

@@ -0,0 +1,13 @@
{
"extends": "@nestri/typescript-config/base.json",
"compilerOptions": {
"outDir": "tmp",
"rootDir": ".",
"allowImportingTsExtensions": true,
"paths": {
"@/*": ["./src/*"]
}
},
"files": [".eslintrc.js"],
"include": ["src", "./*.d.ts"]
}