From 9fe31c1a1c05a69d8e1cbc3cc4a381546cd3b352 Mon Sep 17 00:00:00 2001 From: slhmy <1484836413@qq.com> Date: Sat, 27 Jan 2024 07:53:19 +0000 Subject: [PATCH] Perf dev experience --- .devcontainer/devcontainer.json | 12 ++++++++++++ .vscode/extensions.json | 1 - KNOWN_ISSUES.md | 4 ++-- README.md | 8 ++++---- 4 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..bdf3683c3 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,12 @@ +{ + "postCreateCommand": "npm install", + "customizations": { + "vscode": { + "extensions": [ + "esbenp.prettier-vscode", + "dbaeumer.vscode-eslint", + "bradlc.vscode-tailwindcss" + ] + } + } +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 2d7c23e63..13d40395d 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,7 +2,6 @@ "recommendations": [ "esbenp.prettier-vscode", "dbaeumer.vscode-eslint", - "pkief.material-icon-theme", "bradlc.vscode-tailwindcss" ] } diff --git a/KNOWN_ISSUES.md b/KNOWN_ISSUES.md index f34511150..2044cad74 100644 --- a/KNOWN_ISSUES.md +++ b/KNOWN_ISSUES.md @@ -4,6 +4,6 @@ Need to lock `"graphql": "16.6.0"` in `package.json`. -Solution source: https://github.com/mswjs/msw/issues/1645 +Solution source: mswjs/msw#1645 -Watch this PR for FIX: https://github.com/graphql/graphql-js/pull/3927 +Watch this PR for FIX: graphql/graphql-js#3927 diff --git a/README.md b/README.md index 4a09ae490..b228d03e7 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,13 @@ Suggest using VSCode or other VSCode based cloud editor. ### Project setup -``` +```sh npm install ``` ### Compiles and hot-reloads for development -``` +```sh npm run start ``` @@ -22,10 +22,10 @@ npm run start Please run the following before commit: -``` +```sh npm run prettier:check ``` -``` +```sh npm run lint ```