diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..d79db62e --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,31 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README for image at: https://github.com/devcontainers/templates/tree/main/src/javascript-node +{ + "name": "Measter", + "image": "mcr.microsoft.com/devcontainers/javascript-node:1-18-bullseye", + "features": { + "ghcr.io/devcontainers/features/powershell:1": { + "modules": "Microsoft.Graph.Authentication, Pester, PSFramework, PSModuleDevelopment, PSScriptAnalyzer" + } + }, + "forwardPorts": [3000, 5173], + "postCreateCommand": "cd ./website && npm i && cd ../report && npm i", + "customizations": { + "vscode": { + "settings": { + "terminal.integrated.defaultProfile.linux": "pwsh" + }, + "extensions": [ + "ms-vscode.powershell", + "github.vscode-github-actions", + "dbaeumer.vscode-eslint", + "streetsidesoftware.code-spell-checker" + ] + }, + "codespaces": { + "openFiles": [ + "website/docs/contributing.md" + ] + } + } +} diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..f33a02cd --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for more information: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +# https://containers.dev/guide/dependabot + +version: 2 +updates: + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/website/docs/contributing.md b/website/docs/contributing.md index bbe2be52..1ad62c28 100644 --- a/website/docs/contributing.md +++ b/website/docs/contributing.md @@ -54,7 +54,7 @@ Follow this guide if you want to run the documentation locally and view changes #### Installation -When running the documentation for the first time, you will need to install the dependencies. This can be done by running the following command in ./docs folder. +When running the documentation for the first time, you will need to install the dependencies. This can be done by running the following command in ./website folder. ``` npm install @@ -62,7 +62,7 @@ npm install #### Starting the site -While in the ./docs folder run the following command to start the site locally. This will start a local server and open the site in your default browser to http://localhost:3000/ +While in the ./website folder run the following command to start the site locally. This will start a local server and open the site in your default browser to http://localhost:3000/ ``` npm start