https://github.com/pho9ubenaa/my-deno-template
Generally, devcontainers are not used.
https://github.com/pho9ubenaa/my-deno-template
deno devcontainer github-template
Last synced: 6 months ago
JSON representation
Generally, devcontainers are not used.
- Host: GitHub
- URL: https://github.com/pho9ubenaa/my-deno-template
- Owner: pHo9UBenaA
- License: mit
- Created: 2025-01-09T02:40:20.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-18T01:16:36.000Z (over 1 year ago)
- Last Synced: 2025-01-18T02:27:13.719Z (over 1 year ago)
- Topics: deno, devcontainer, github-template
- Language: Dockerfile
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My Deno Template
A template repository for projects using Deno.
## Overview
This template provides basic settings and a recommended directory structure to
help you quickly start your Deno project.
## Features
- **Development Environment Setup**: Includes configuration files for VSCode
(`.vscode`) and DevContainer (`.devcontainer`) to support a smooth development
environment setup.
- **Deno Configuration**: Comes with a `deno.json` file to easily manage your
Deno settings.
- **GitHub Template**: This repository is set as a GitHub template, making it
easy to use as a base for new projects.
## Usage
1. **Create a Repository**:
- Use this template to create a new repository.
2. **Install Dependencies**:
- Since Deno directly imports external modules, no special installation steps
are required.
3. **Run Scripts**:
- Use the following command to run Deno scripts:
```bash
deno run -A your_script.ts
```
## Development Environment Setup
- **Deprecation of DevContainer**:
- While this repository includes a DevContainer configuration to quickly set
up a development environment, it is considered **deprecated** for the
following reasons:
- **Overhead from Virtual Layers**: Using DevContainer adds extra resource
requirements, which can result in slower performance.
- **Limited Benefits**: Deno is lightweight and easy to configure, making it
unnecessary to rely on DevContainer for most use cases. A direct local
development setup is recommended for a simpler and more efficient
experience.
- You can safely remove the DevContainer configuration if it is not needed for
your workflow.
## Contribution
Contributions are welcome! Please follow these steps:
1. Fork this repository.
2. Create a new branch.
3. Commit your changes.
4. Submit a pull request.
## License
This project is licensed under the MIT License. See the [LICENSE](./LICENSE)
file for details.