Skip to content

Commit

Permalink
feat: init docusaurus + vanilla-extract + monaco
Browse files Browse the repository at this point in the history
  • Loading branch information
astahmer committed Nov 11, 2022
1 parent f16cd48 commit f7e09a5
Show file tree
Hide file tree
Showing 24 changed files with 3,106 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.build.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { defineConfig } = require("eslint-define-config");
module.exports = defineConfig({
parserOptions: {
files: ["*.ts"],
project: ["./tsconfig.json"],
project: ["./tsconfig.json", "./playground/tsconfig.json"],
},
ignorePatterns: ["**/*.test.ts"],
extends: "@astahmer/eslint-config-ts",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"dev": "preconstruct watch",
"build": "preconstruct build",
"test": "vitest",
"lint": "eslint -c .eslintrc.build.js './src/**/*.ts' --cache --format=pretty",
"lint:fix": "eslint -c .eslintrc.build.js './src/**/*.ts' --cache --format=pretty --fix",
"lint": "eslint -c .eslintrc.build.js './{src,playground/src}/**/*.ts' --cache --format=pretty",
"lint:fix": "eslint -c .eslintrc.build.js './{src,playground/src}/**/*.ts' --cache --format=pretty --fix",
"lint:ts": "tsc --noEmit",
"release": "pnpm test && pnpm build && pnpm publish && git push"
},
Expand Down
31 changes: 31 additions & 0 deletions playground/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "openapi-zod-client-playground",
"type": "module",
"private": true,
"scripts": {
"dev": "rakkas",
"build": "rakkas build",
"start": "node dist/server",
"test": "pnpm test:typecheck",
"test:typecheck": "tsc -p tsconfig.json --noEmit"
},
"devDependencies": {
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"@vanilla-extract/vite-plugin": "^3.6.1",
"rakkasjs": "0.6.1",
"ts-toolbelt": "^9.6.0",
"typescript": "^4.8.2",
"vite": "^3.1.0"
},
"dependencies": {
"@dessert-box/react": "^0.4.0",
"@monaco-editor/react": "^4.4.6",
"@vanilla-extract/css": "^1.9.1",
"@vanilla-extract/recipes": "^0.2.5",
"@vanilla-extract/sprinkles": "^1.5.0",
"monaco-editor": "^0.34.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}
Loading

0 comments on commit f7e09a5

Please sign in to comment.