Skip to content

Commit

Permalink
remove telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenni009 committed Aug 4, 2024
1 parent d7a2465 commit d8c6f10
Show file tree
Hide file tree
Showing 29 changed files with 1,811 additions and 285 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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 all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: 'npm' # See documentation for possible values
directory: '/' # Location of package manifests
target-branch: 'dev'
schedule:
interval: 'weekly'

- package-ecosystem: 'github-actions'
directory: '/'
target-branch: 'dev'
schedule:
interval: 'weekly'
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build

run-name: Build Code

on:
push:
branches: ['main']

permissions:
contents: write

concurrency:
group: "build"
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Build App
run: |
npm ci
npm run build
cd dist
touch .nojekyll
- name: Minify Code
uses: Lenni009/minify-js@main
with:
directory: dist
overwrite: true

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist # The folder the action should deploy.
15 changes: 0 additions & 15 deletions .github/workflows/deploy.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test Build
run-name: Test Build

on:
pull_request:
types: [opened, synchronize]

jobs:
Build:
runs-on: ubuntu-latest

permissions:
pull-requests: write
contents: write

steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Test Build
uses: Lenni009/test-build-vite-action@main
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ pnpm-debug.log*
lerna-debug.log*

node_modules
dev-dist
.DS_Store
dist
dist-ssr
coverage
*.local

/cypress/videos/
/cypress/screenshots/

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
.vercel
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dist
14 changes: 14 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"singleQuote": true,
"semi": true,
"trailingComma": "es5",
"tabWidth": 2,
"printWidth": 120,
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "css",
"useTabs": false,
"vueIndentScriptAndStyle": false,
"singleAttributePerLine": true
}
1 change: 0 additions & 1 deletion assets/github.svg

This file was deleted.

Binary file removed bun.lockb
Binary file not shown.
22 changes: 0 additions & 22 deletions functions/bugs-tunnel.js

This file was deleted.

32 changes: 17 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>NMS Frigate Calc v%VITE_APP_VERSION%</title>
<meta name="description" content="NMS Frigate Calc"/>
<meta name="theme-color" content="#ffffff"/>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
<head>
<meta charset="UTF-8" />
<meta
content="width=device-width, initial-scale=1"
name="viewport"
/>
<title>NMS Frigate Calc</title>
<script
src="./src/main.ts"
type="module"
></script>
</head>

<body>
<div id="app"></div>
</body>
</html>
Loading

0 comments on commit d8c6f10

Please sign in to comment.