diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..221e98d --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,17 @@ +{ + "name": "node-template", + "image": "mcr.microsoft.com/devcontainers/javascript-node:22", + "postCreateCommand": "corepack enable && pnpm install", + "customizations": { + "vscode": { + "extensions": [ + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode" + ], + "settings": { + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode" + } + } + } +} diff --git a/README.md b/README.md index 4cde5fa..a73f30e 100755 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ pnpm install --save-dev @theholocron/node-template import { doSomething, type SomethingOptions } from "@theholocron/node-template"; function App(options: SomethingOptions) { - return doSomething(options); + return doSomething(options); } ``` diff --git a/docs/content/index.md b/docs/content/index.md index d0264e5..3debc65 100644 --- a/docs/content/index.md +++ b/docs/content/index.md @@ -21,6 +21,6 @@ A modern Node.js library starter template for `@theholocron` repos. import { doSomething, type SomethingOptions } from "@theholocron/node-template"; function App(options: SomethingOptions) { - return doSomething(options); + return doSomething(options); } ```