From 452f7bb35b956aa65649b5edde0620a1972cbc07 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Thu, 3 Jul 2025 20:08:30 -0700 Subject: [PATCH] feat: scaffold application --- .gitea/workflows/ci.yml | 38 + .gitignore | 3 + .vscode/settings.json | 6 + README.md | 19 +- client/.editorconfig | 17 + client/.gitignore | 42 + client/.vscode/extensions.json | 4 + client/.vscode/launch.json | 20 + client/.vscode/tasks.json | 42 + client/README.md | 59 + client/angular.json | 76 + client/eslint.config.js | 22 + client/package.json | 48 + client/public/favicon.ico | Bin 0 -> 15086 bytes client/src/app/app.config.ts | 21 + client/src/app/app.css | 0 client/src/app/app.html | 3 + client/src/app/app.routes.ts | 12 + client/src/app/app.ts | 18 + client/src/app/home/home.css | 0 client/src/app/home/home.html | 8 + client/src/app/home/home.ts | 17 + client/src/index.html | 15 + client/src/main.ts | 15 + client/src/styles.css | 1 + client/tsconfig.json | 27 + package.json | 23 + pnpm-lock.yaml | 11839 +++++++++++++++++++++++++++++++ pnpm-workspace.yaml | 3 + server/.gitignore | 1 + server/eslint.config.js | 5 + server/package.json | 24 + server/prod.env | 1 + server/src/index.ts | 28 + server/src/utils/logger.ts | 12 + server/tsconfig.json | 7 + turbo.json | 19 + 37 files changed, 12484 insertions(+), 11 deletions(-) create mode 100644 .gitea/workflows/ci.yml create mode 100644 .gitignore create mode 100644 .vscode/settings.json create mode 100644 client/.editorconfig create mode 100644 client/.gitignore create mode 100644 client/.vscode/extensions.json create mode 100644 client/.vscode/launch.json create mode 100644 client/.vscode/tasks.json create mode 100644 client/README.md create mode 100644 client/angular.json create mode 100644 client/eslint.config.js create mode 100644 client/package.json create mode 100644 client/public/favicon.ico create mode 100644 client/src/app/app.config.ts create mode 100644 client/src/app/app.css create mode 100644 client/src/app/app.html create mode 100644 client/src/app/app.routes.ts create mode 100644 client/src/app/app.ts create mode 100644 client/src/app/home/home.css create mode 100644 client/src/app/home/home.html create mode 100644 client/src/app/home/home.ts create mode 100644 client/src/index.html create mode 100644 client/src/main.ts create mode 100644 client/src/styles.css create mode 100644 client/tsconfig.json create mode 100644 package.json create mode 100644 pnpm-lock.yaml create mode 100644 pnpm-workspace.yaml create mode 100644 server/.gitignore create mode 100644 server/eslint.config.js create mode 100644 server/package.json create mode 100644 server/prod.env create mode 100644 server/src/index.ts create mode 100644 server/src/utils/logger.ts create mode 100644 server/tsconfig.json create mode 100644 turbo.json diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..7d965a9 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,38 @@ +name: Node.js CI +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + lint: + name: Lint and Test + + steps: + - name: Checkout Source Files + uses: actions/checkout@v4 + + - name: Use Node.js v24 + uses: actions/setup-node@v4 + with: + node-version: 24 + + - name: Setup pnpm + uses: pnpm/action-setup@v2 + with: + version: 9 + + - name: Install Dependencies + run: pnpm install + + - name: Lint Source Files + run: pnpm run lint + + - name: Verify Build + run: pnpm run build + + - name: Run Tests + run: pnpm run test diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5999010 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +**/node_modules +/node_modules +.turbo \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..874773d --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit" + }, + "eslint.validate": ["typescript"], +} diff --git a/README.md b/README.md index 47a840e..09f70e6 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,17 @@ -# New Repository Template +# Hikari -This template contains all of our basic files for a new GitHub repository. There is also a handy workflow that will create an issue on a new repository made from this template, with a checklist for the steps we usually take in setting up a new repository. +Hikari is our centralised platform for managing things like: -If you're starting a Node.JS project with TypeScript, we have a [specific template](https://github.com/naomi-lgbt/nodejs-typescript-template) for that purpose. +- Your user account and information +- Your subscriptions to our products +- Your licenses for our products +- Configurations for some of our products (such as our Discord bots) -## Readme - -Delete all of the above text (including this line), and uncomment the below text to use our standard readme template. - -