Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
# .github/workflows/auto-assign.yml
#
# Copyright © 2025 Network Pro Strategies (Network Pro™)
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
# This file is part of Network Pro
#
# This workflow will auto-assign an issue or PR to a specific user
# when a new issue or PR is opened.

name: Auto Assign
# cspell:ignore pozil

name: 'Auto Assign'

permissions:
issues: write
contents: read
pull-requests: write

on:
issues:
Expand All @@ -18,15 +26,11 @@ jobs:
auto-assign:
runs-on: ubuntu-24.04

permissions:
issues: write
pull-requests: write

steps:
- name: "Auto-assign issue or PR"
uses: pozil/auto-assign-issue@v2.2.0
- name: 'Auto-assign issue or PR'
uses: pozil/auto-assign-issue@v2
with:
repo-token: ${{ secrets.SD311 }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: SunDevil311
numOfAssignee: 1
allowSelfAssign: true
18 changes: 9 additions & 9 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4.3.0
uses: actions/setup-node@v4
with:
node-version: lts/*
check-latest: true

- name: Cache Node.js modules
uses: actions/cache@v4.2.3
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-lts-build-${{ hashFiles('package-lock.json') }}
Expand Down Expand Up @@ -105,17 +105,17 @@ jobs:
run: npm login --registry=https://registry.npmjs.org/ --scope=@sundevil311 --always-auth --auth-type=legacy --username "sundevil311" --authToken ${{ secrets.NPM_SD311 }}

- name: Checkout repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4.3.0
uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
check-latest: true

- name: Cache Node.js modules
uses: actions/cache@v4.2.3
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-lts-publish-${{ hashFiles('package-lock.json') }}
Expand Down Expand Up @@ -157,17 +157,17 @@ jobs:
run: npm login --registry=https://npm.pkg.github.com/ --scope=@sundevil311 --always-auth --auth-type=legacy --username "sundevil311" --authToken ${{ secrets.GITHUB_TOKEN }}

- name: Checkout repository
uses: actions/checkout@v4.2.2
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4.3.0
uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: https://npm.pkg.github.com/
check-latest: true

- name: Cache Node.js modules
uses: actions/cache@v4.2.3
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-lts-publish-${{ hashFiles('package-lock.json') }}
Expand Down
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

32 changes: 0 additions & 32 deletions .husky/pre-commit

This file was deleted.

40 changes: 40 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# .stylelintignore
#
# Copyright © 2025 Network Pro Strategies (Network Pro™)
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
# This file is part of Network Pro.

# Node.js dependencies
node_modules

# Build artifacts
dist
build
.vite
.cache
coverage

# Temporary files
*.lock
*.tmp
*.swp
*.bak

# Static assets
**/*.png
**/*.jpg
**/*.jpeg
**/*.gif
**/*.svg
**/*.woff
**/*.woff2
**/*.ttf
**/*.eot

# Generated files
**/*.d.ts
**/generated/*

# Configuration files
package.json
package-lock.json
21 changes: 21 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "0.2",
"language": "en",
"words": ["globalthis", "npmjs", "sundevil", "vite"],
"ignorePaths": [
".gitignore",
".gitattributes",
"sitemap.xml",
"robots.txt",
"css/**",
"**/node_modules/**",
"**/dist/**",
"**/.svelte-kit/**",
"**/.vite/**",
"**/coverage/**",
"**/playwright-report/**"
],
"ignoreWords": [],
"enableFiletypes": ["javascript", "typescript", "json", "markdown", "html"],
"useGitignore": true
}
2 changes: 1 addition & 1 deletion css/normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
This file is part of Network Pro.
========================================================================== */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/*! Modified from normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
========================================================================== */
Expand Down
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

<meta http-equiv="Referrer-Policy" content="no-referrer"/>
<meta http-equiv="Permissions-Policy" content="interest-cohort=()"/>
<script defer="defer" src="js/runtime.a04baafc95a2a3756606.js"></script><script defer="defer" src="js/app.78120631d37de71c80bc.js"></script></head>
<script defer="defer" src="js/runtime.d557f18acedee244833a.js"></script><script defer="defer" src="js/app.78120631d37de71c80bc.js"></script></head>

<body>
<div class="container">
Expand Down
Binary file added dist/js/app.78120631d37de71c80bc.js.gz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
if (!n) {
var i = 1 / 0;
for (f = 0; f < r.length; f++) {
for (var [n, t, s] = r[f], a = !0, l = 0; l < n.length; l++) (!1 & s || i >= s) && Object.keys(o.O).every((r => o.O[r](n[l]))) ? n.splice(l--, 1) : (a = !1,
for (var [n, t, s] = r[f], a = !0, l = 0; l < n.length; l++) (!1 & s || i >= s) && Object.keys(o.O).every(r => o.O[r](n[l])) ? n.splice(l--, 1) : (a = !1,
s < i && (i = s));
if (a) {
r.splice(f--, 1);
Expand All @@ -33,7 +33,7 @@
o.O.j = e => 0 === r[e];
var e = (e, n) => {
var t, s, [i, a, l] = n, v = 0;
if (i.some((e => 0 !== r[e]))) {
if (i.some(e => 0 !== r[e])) {
for (t in a) o.o(a, t) && (o.m[t] = a[t]);
if (l) var f = l(o);
}
Expand Down
72 changes: 36 additions & 36 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,51 +7,51 @@ This file is part of Network Pro.

import js from "@eslint/js";
import eslintConfigPrettier from "eslint-config-prettier";
import mocha from "eslint-plugin-mocha";
import mochaPlugin from "eslint-plugin-mocha";
import globals from "globals";

const IGNORED_FILES = [
".*", // Ignores all dotfiles (.prettierrc, .babelrc, etc.)
"**/*.xml", // Exclude non-JS files like bimi-svg-tiny-ps.xml
"**/.vscode/**",
"**/dist/**",
"**/node_modules/**",
"**/assets/license/**",
"**/coverage/**",
"**/babel.config.json",
"**/package.json",
"**/package-lock.json",
"**/stylelint.config.js",
];

const GLOBALS = {
...globals.browser,
...globals.node, // Include Node.js globals
...globals.mocha,
};

const ESLINT_RULES = {
...eslintConfigPrettier.rules,
"mocha/no-exclusive-tests": "error",
"mocha/no-skipped-tests": "warn",
"mocha/no-hooks-for-single-case": "warn",
"indent": "off", // Turn off the 'indent' rule
"quotes": "off", // Turn off the 'quotes' rule
"semi": "off", // Turn off the 'semi' rule
};

export default [
{
ignores: [
"dist/**",
"**/node_modules/**",
"**/.vscode/**",
"**/coverage/**",
"**/assets/license/**",
"**/*.xml",
"**/babel.config.json",
"**/package.json",
"**/package-lock.json",
"**/stylelint.config.js",
".*",
],
},
js.configs.recommended,

{
files: ["**/*.js", "**/*.mjs", "**/*.cjs"],
ignores: IGNORED_FILES,
plugins: { mocha },
languageOptions: {
globals: GLOBALS,
ecmaVersion: "latest", // Auto-upgrade ECMAScript version
globals: {
...globals.browser,
...globals.node,
...globals.mocha,
},
ecmaVersion: "latest",
sourceType: "module",
},
rules: ESLINT_RULES,
plugins: {
mocha: mochaPlugin,
},
rules: {
...eslintConfigPrettier.rules,
"mocha/no-exclusive-tests": "error",
"mocha/no-hooks-for-single-case": "warn",
"indent": "off", // Turn off the 'indent' rule
"quotes": "off", // Turn off the 'quotes' rule
"semi": "off", // Turn off the 'semi' rule
},
},

// Optional: Use plugin's recommended config
eslintConfigPrettier,
];
Loading
Loading