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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ devices-list.json

# Scripts
scripts/multipleBundleCss.js
scripts/testRedirects.js.bak

# Source maps
*.map
Expand Down Expand Up @@ -227,3 +228,5 @@ package
/playwright-report/
/blob-report/
/playwright/.cache/

.vercel
94 changes: 63 additions & 31 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,38 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en

---

## [1.18.4] - 2025-10-04
## [1.18.5] - 2025-10-05

### Added

- Added Vercel CLI scripts to `package.json`, including `dev:vercel` and `build:vercel`.

### Changed

- Bumped project version to `v1.18.5`.
- Updated generator metadata in `app.html` to reflect `SvelteKit 2.44.0`.
- Added `scripts/testRedirects.js` to `.gitignore`.
- Cleaned up header in `jsconfig.template.jsonc`.
- Updated **Repository Structure** section in `README.md`.
- Restructured `CHANGELOG.md` such that sections are presented in alphabetical order.
- Corrected JSDoc annotations in `static/disableSw.js`.
- Updated dependencies:
- `@sveltejs/kit` `2.43.8` → `2.44.0`
- `eslint-plugin-jsdoc` `^60.8.0` → `^60.8.1`

### Documentation

- Updated **Repository Structure** to reflect current environment and files.
- Revised **Repository Structure** to accurately reflect the folders under `/tests`.

### Removed

- Removed all references to Netlify and all Netlify-specific scripts from `package.json`.
- Removed `test:redirects` script from `package.json`.
- The `testRedirects.js` script has been removed from version control, as it is no longer needed to test Netlify redirects.

---

## [1.18.4] - 2025-10-04

### Changes

Expand All @@ -53,6 +80,10 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
- `typescript` `^5.9.2` → `^5.9.3`
- `vite` `^7.1.7` → `^7.1.9`

### Documentation

- Updated **Repository Structure** to reflect current environment and files.

---

## [1.18.3] - 2025-09-27
Expand Down Expand Up @@ -164,31 +195,20 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en

## [1.17.1] - 2025-09-17

### Changed

- Bumped version to `v1.17.1`.

### Security

- Patched transitive vulnerabilities by pinning dependencies via `overrides`:
- Forced `tmp` to `>=0.2.4` (resolves CVE-2025-54798 reported via `@lhci/cli`).
- Forced `cookie` to `^1.0.0` (used by `@sveltejs/kit` and `@lhci/cli`).

### Changed

- Bumped version to `v1.17.1`.

---

## [1.17.0] - 2025-09-17

### Security

- Updated dependencies to address known vulnerabilities (notably `@sveltejs/kit`, `vite`, and related plugins).

### Documentation

- Clarified CSP reporting setup in `README.md`:
- Explained relationship with external CSP reporting endpoint (`csp-endpoint` repo).
- Documented use of both `report-uri` (legacy) and `report-to` (modern, recommended).
- Added example headers including `Report-To` definition.

### Added

- New `meta-check.yml` GitHub Actions workflow to validate `<title>` and `<meta>` descriptions using Vitest.
Expand Down Expand Up @@ -236,11 +256,22 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
- `svelte-eslint-parser` `^1.3.0` → `^1.3.2`
- `vite` `^7.0.6` → `^7.1.5`

### Documentation

- Clarified CSP reporting setup in `README.md`:
- Explained relationship with external CSP reporting endpoint (`csp-endpoint` repo).
- Documented use of both `report-uri` (legacy) and `report-to` (modern, recommended).
- Added example headers including `Report-To` definition.

### Removed

- Deleted `src/routes/example.svx`, which was unused and unneeded.
- Removed `mdsvex` from package.json, as it is unlikely to be used.

### Security

- Updated dependencies to address known vulnerabilities (notably `@sveltejs/kit`, `vite`, and related plugins).

### Notes

- Pinned `jsdom` to `26.1.0` due to build incompatibility in `27.x` (`cssstyle` parsing error with Vite/Rollup).
Expand Down Expand Up @@ -502,18 +533,18 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en

## [1.14.1] - 2025-06-16

### Added

- Introduced `.github/workflows/publish-test.yml`, a standalone workflow to safely simulate `npm publish` without publishing.
- Added commands to display Node.js and npm versions for visibility and troubleshooting in all relevant jobs.

### Changed

- Updated Node.js engine to `24` to match the specified engine constraints in `package.json`.
- Reordered `npm ci` step to follow Node.js and npm setup to prevent version mismatches during simulation steps.
- Refactored `build-and-publish.yml` to use `git archive` for artifact preparation and aligned it with a tested publishing flow.
- Removed `.npmrc` token-based authentication in favor of environment secrets to avoid credential conflicts.

### Added

- Introduced `.github/workflows/publish-test.yml`, a standalone workflow to safely simulate `npm publish` without publishing.
- Added commands to display Node.js and npm versions for visibility and troubleshooting in all relevant jobs.

---

## [1.14.0] - 2025-06-16
Expand Down Expand Up @@ -842,13 +873,7 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
- Upgraded `posthog-js` from `v1.249.4` to `v1.249.5`.
- Upgraded `vitest` from `v3.2.2` to `v3.2.3`.

### Fixed

- Updated Lighthouse CI annotation step to explicitly select only valid Lighthouse report files (e.g., `*.report.json`, `lhr-*.json`) and ignore `assertion-results.json`, which caused `jq` parsing errors during CI runs.
- Scoped Lighthouse assertions in `.lighthouserc.cjs` to `resource-summary` only, preventing unwanted failures from default performance audits.
- Resolved malformed PR comment formatting in the Lighthouse GitHub Actions workflow by replacing Markdown tables with plain-text bullet lists.

### Docs
### Documentation

- Updated `README.md` with improved context and phrasing around the CHANGELOG reference.
- Added `CHANGELOG.md` to the documented project structure with a descriptive label:
Expand All @@ -857,7 +882,13 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
├── CHANGELOG.md # Chronological record of notable project changes
```

### Misc
### Fixed

- Updated Lighthouse CI annotation step to explicitly select only valid Lighthouse report files (e.g., `*.report.json`, `lhr-*.json`) and ignore `assertion-results.json`, which caused `jq` parsing errors during CI runs.
- Scoped Lighthouse assertions in `.lighthouserc.cjs` to `resource-summary` only, preventing unwanted failures from default performance audits.
- Resolved malformed PR comment formatting in the Lighthouse GitHub Actions workflow by replacing Markdown tables with plain-text bullet lists.

### Notes

- Confirmed that `Authenticate GitHub CLI` is not needed in `build-and-publish.yml`, as only the `check-codeql` job uses the GitHub CLI and is already authenticated.
- Verified that `scripts/openReport.js` does not require unit testing, as it performs side-effect-only CLI actions. Linting and manual testing are sufficient.
Expand Down Expand Up @@ -977,7 +1008,8 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en

<!-- Link references -->

[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.18.4...HEAD
[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.18.5...HEAD
[1.18.5]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.18.5
[1.18.4]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.18.4
[1.18.3]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.18.3
[1.18.2]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.18.2
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ This project follows the principles of [Keep a Changelog](https://keepachangelog
│ └── sitemap.xml # SEO: full site map
├── tests/
│ ├── e2e/ # Playwright end-to-end tests
│ ├── meta/ # Metadata end-to-end CI tests
│ └── unit/ # Vitest unit tests
│ ├── client/ # Client-side (jsdom) unit tests
│ ├── server/ # Server-side (node) unit tests
Expand Down
6 changes: 3 additions & 3 deletions jsconfig.template.jsonc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* =========================================================================
jsconfig.template.jsonc

NOTE: This file is for reference only and is not actively used by SvelteKit or
tooling. SvelteKit uses the jsconfig.json file without comments for actual
configuration.
NOTE: This file is for reference only and is not actively used by SvelteKit
or tooling. SvelteKit uses the jsconfig.json file without comments for
actual configuration.

Copyright © 2025 Network Pro Strategies (Network Pro™)
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
Expand Down
40 changes: 20 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@networkpro/web",
"private": false,
"version": "1.18.4",
"version": "1.18.5",
"description": "Locking Down Networks, Unlocking Confidence™ | Security, Networking, Privacy — Network Pro Strategies",
"keywords": [
"advisory",
Expand Down Expand Up @@ -36,10 +36,10 @@
"scripts": {
"dev": "vite dev",
"start": "npm run dev",
"dev:netlify": "netlify dev",
"dev:vercel": "vercel dev",
"build": "vite build",
"build:vercel": "vercel build",
"preview": "vite preview",
"build:netlify": "netlify build",
"css:bundle": "node scripts/bundleCss.js",
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
Expand All @@ -60,15 +60,14 @@
"test:watch": "vitest --config vitest.config.client.js --watch",
"test:coverage": "npm run test:client -- --run --coverage && npm run test:server -- --run --coverage",
"test:e2e": "npx playwright test --retries=1",
"test:redirects": "node scripts/testRedirects.js",
"coverage:client": "node scripts/openReport.js client",
"coverage:server": "node scripts/openReport.js server",
"coverage:open": "npm run coverage:client && npm run coverage:server",
"lint": "eslint . --ext .mjs,.js,.svelte",
"lint:fix": "eslint . --ext .mjs,.js,.svelte --fix",
"lint:jsdoc": "eslint . --ext .js,.mjs,.svelte --max-warnings=0",
"lint:css": "stylelint \"**/*.{css,svelte}\" --ignore-path .stylelintignore",
"lint:md": "npx markdownlint-cli2 \"**/*.{md,markdown}\" \"#node_modules/**\" \"#build/**\" \"#.netlify/**\" \"#playwright-report/**\" \"#test-results/**\"",
"lint:md": "npx markdownlint-cli2 \"**/*.{md,markdown}\" \"#node_modules/**\" \"#build/**\" \"#playwright-report/**\" \"#test-results/**\"",
"lint:all": "npm run lint && npm run lint:md && npm run lint:css && npm run format",
"format": "prettier --check .",
"format:fix": "prettier --write .",
Expand All @@ -89,7 +88,7 @@
"@lhci/cli": "^0.15.1",
"@playwright/test": "^1.55.1",
"@sveltejs/adapter-vercel": "^5.10.3",
"@sveltejs/kit": "2.43.8",
"@sveltejs/kit": "2.44.0",
"@sveltejs/vite-plugin-svelte": "^6.2.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/svelte": "^5.2.8",
Expand All @@ -98,7 +97,7 @@
"browserslist": "^4.26.3",
"eslint": "^9.37.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsdoc": "^60.8.0",
"eslint-plugin-jsdoc": "^60.8.1",
"eslint-plugin-svelte": "^3.12.4",
"globals": "^16.4.0",
"jsdom": "26.1.0",
Expand Down
Loading
Loading