diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 16f511f..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,25 +0,0 @@ -// For format details, see https://aka.ms/devcontainer.json. For config options, see the -// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node -{ - "name": "Node.js & TypeScript", - // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye", - "features": { - "ghcr.io/devcontainers-contrib/features/vue-cli:2": {} - } - - // Features to add to the dev container. More info: https://containers.dev/features. - // "features": {}, - - // Use 'forwardPorts' to make a list of ports inside the container available locally. - // "forwardPorts": [], - - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "yarn install", - - // Configure tool-specific properties. - // "customizations": {}, - - // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. - // "remoteUser": "root" -} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..e5797ce --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + "configurations": [ + { + "name": "Launch localhost", + "type": "firefox", + "request": "launch", + "reAttach": true, + "url": "http://localhost:4000", + "profile": "dev", + "keepProfileChanges": true, + "webRoot": "${workspaceFolder}" + }, + { + "name": "Attach", + "type": "firefox", + "request": "attach" + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md index b16cf98..005f0c9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Todo Application -[![pages-build-deployment](https://github.com/brandonbeckwith-ccm/vue-crud-practice/actions/workflows/pages/pages-build-deployment/badge.svg?branch=gh-pages)](https://github.com/brandonbeckwith-ccm/vue-crud-practice/actions/workflows/pages/pages-build-deployment) +[![pages-build-deployment](https://github.com/brandonbeckwith-ccm/vue-crud-practice/actions/workflows/pages/pages-build-deployment/badge.svg?branch=gh-pages)](https://github.com/brandonbeckwith-ccm/vue-crud-practice/actions/workflows/pages/pages-build-deployment) [![Test](https://github.com/brandonbeckwith-ccm/vue-crud-practice/actions/workflows/pull_test.yml/badge.svg)](https://github.com/brandonbeckwith-ccm/vue-crud-practice/actions/workflows/pull_test.yml) You can visit a deployed [GitHub Pages](https://brandonbeckwith-ccm.github.io/vue-crud-practice/) version. diff --git a/package.json b/package.json index 6014a7d..41f2d46 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", + "local": "vite", "build": "vue-tsc && vite build", "deploy": "git subtree push --prefix dist origin gh-pages", "test": "yarn vitest --dom run src", @@ -29,7 +29,7 @@ "unplugin-vue-components": "^0.26.0", "unplugin-vue-router": "^0.7.0", "vite": "^5.0.8", - "vitest": "^1.2.1", + "vitest": "^1.4.0", "vue-tsc": "^1.8.25" } } diff --git a/src/components/AddTodoBar.vue b/src/components/AddTodoBar.vue index 23f8891..cf0456b 100644 --- a/src/components/AddTodoBar.vue +++ b/src/components/AddTodoBar.vue @@ -1,11 +1,11 @@