From 39acac09e7b24c261608f4b688fbc67eade989ba Mon Sep 17 00:00:00 2001 From: alikia2x Date: Sun, 30 Mar 2025 19:10:23 +0800 Subject: [PATCH] version: frontend/1.2.6 --- packages/frontend/README.md | 50 ------------------------------------- packages/frontend/deno.json | 3 ++- packages/frontend/main.ts | 8 +----- 3 files changed, 3 insertions(+), 58 deletions(-) delete mode 100644 packages/frontend/README.md diff --git a/packages/frontend/README.md b/packages/frontend/README.md deleted file mode 100644 index 0eb9af9..0000000 --- a/packages/frontend/README.md +++ /dev/null @@ -1,50 +0,0 @@ -# Astro Starter Kit: Basics - -```sh -deno create astro@latest -- --template basics -``` - -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics) -[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics) -[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json) - -> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun! - -![just-the-basics](https://github.com/withastro/astro/assets/2244813/a0a5533c-a856-4198-8470-2d67b1d7c554) - -## 🚀 Project Structure - -Inside of your Astro project, you'll see the following folders and files: - -```text -/ -├── public/ -│ └── favicon.svg -├── src/ -│ ├── layouts/ -│ │ └── Layout.astro -│ └── pages/ -│ └── index.astro -└── package.json -``` - -To learn more about the folder structure of an Astro project, refer to -[our guide on project structure](https://docs.astro.build/en/basics/project-structure/). - -## 🧞 Commands - -All commands are run from the root of the project, from a terminal: - -| Command | Action | -| :--------------------- | :----------------------------------------------- | -| `deno install` | Installs dependencies | -| `deno dev` | Starts local dev server at `localhost:4321` | -| `deno build` | Build your production site to `./dist/` | -| `deno preview` | Preview your build locally, before deploying | -| `deno astro ...` | Run CLI commands like `astro add`, `astro check` | -| `deno astro -- --help` | Get help using the Astro CLI | - -## 👀 Want to learn more? - -Feel free to check [our documentation](https://docs.astro.build) or jump into our -[Discord server](https://astro.build/chat). diff --git a/packages/frontend/deno.json b/packages/frontend/deno.json index acc30c9..675c374 100644 --- a/packages/frontend/deno.json +++ b/packages/frontend/deno.json @@ -1,7 +1,8 @@ { "name": "@cvsa/frontend", "tasks": { - "preview": "bun run astro preview" + "preview": "bun run astro preview", + "build": "bun run astro build" }, "exports": "./main.ts" } diff --git a/packages/frontend/main.ts b/packages/frontend/main.ts index f31ba12..f6ef10d 100644 --- a/packages/frontend/main.ts +++ b/packages/frontend/main.ts @@ -1,7 +1 @@ -// DENO ASK ME TO EXPORT SOMETHING WHEN 'name' IS SPECIFIED -// AND IF I DON'T SPECIFY 'name', THE --filter FLAG IN `deno task` WON'T WORK. -// I DONT'T KNOW WHY -// SO HERE'S A PLACHOLDER EXPORT FOR DENO: -export const DENO = "FUCK YOU DENO"; -// Oh, maybe export the version is a good idea -export const VERSION = "1.0.13"; +export const VERSION = "1.2.6"; \ No newline at end of file