@networkpro/web 1.14.0 → 1.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/.browserslistrc +5 -0
  2. package/.editorconfig +65 -0
  3. package/.env.template +18 -0
  4. package/.gitattributes +212 -0
  5. package/.github/COMMIT_GUIDE.md +31 -0
  6. package/.github/ISSUE_TEMPLATE/bug_report.yml +74 -0
  7. package/.github/ISSUE_TEMPLATE/config.yml +32 -0
  8. package/.github/ISSUE_TEMPLATE/feature_request.yml +35 -0
  9. package/.github/ISSUE_TEMPLATE/legal_review.yml +53 -0
  10. package/.github/workflows/auto-assign.yml +36 -0
  11. package/.github/workflows/backup-branch.yml +40 -0
  12. package/.github/workflows/build-and-publish.yml +220 -0
  13. package/.github/workflows/check-codeql.yml +42 -0
  14. package/.github/workflows/check-security-txt-expiry.yml +46 -0
  15. package/.github/workflows/dependency-review.yml +22 -0
  16. package/.github/workflows/lighthouse.yml +162 -0
  17. package/.github/workflows/playwright.yml +65 -0
  18. package/.github/workflows/publish-test.yml +218 -0
  19. package/.github/workflows/templates/check-codeql.template.yml +47 -0
  20. package/.github/workflows/templates/publish.template.yml +228 -0
  21. package/.lighthouserc.cjs +37 -0
  22. package/.markdownlint.mjs +31 -0
  23. package/.md-smart-quotes.js +31 -0
  24. package/.node-version +1 -0
  25. package/.nvmrc +1 -0
  26. package/.prettierignore +55 -0
  27. package/.prettierrc +35 -0
  28. package/.stylelintignore +43 -0
  29. package/.svelte-kit/tsconfig.json +49 -0
  30. package/.vscode/customData.json +73 -0
  31. package/.vscode/extensions.json +13 -0
  32. package/.vscode/extensions.jsonc +24 -0
  33. package/.vscode/settings.json +80 -0
  34. package/CHANGELOG.md +60 -1
  35. package/package.json +19 -19
  36. package/src/lib/components/ui/.gitkeep +0 -0
  37. package/src/routes/...404/+page.svelte +26 -0
  38. package/static/.well-known/dnt-policy.txt +218 -0
  39. package/static/.well-known/gpc.json +4 -0
  40. package/static/.well-known/humans.txt +21 -0
  41. package/static/.well-known/security.txt +12 -0
  42. package/static/.well-known/security.txt.sig +7 -0
@@ -0,0 +1,43 @@
1
+ # .stylelintignore
2
+ #
3
+ # Copyright © 2025 Network Pro Strategies (Network Pro™)
4
+ # SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ # This file is part of Network Pro.
6
+
7
+ # Report files and test results
8
+ playwright-report
9
+ test-results
10
+
11
+ # Node.js dependencies
12
+ node_modules
13
+
14
+ # Build artifacts
15
+ build
16
+ .vite
17
+ .cache
18
+ coverage
19
+
20
+ # Temporary files
21
+ *.lock
22
+ *.tmp
23
+ *.swp
24
+ *.bak
25
+
26
+ # Static assets
27
+ **/*.png
28
+ **/*.jpg
29
+ **/*.jpeg
30
+ **/*.gif
31
+ **/*.svg
32
+ **/*.woff
33
+ **/*.woff2
34
+ **/*.ttf
35
+ **/*.eot
36
+
37
+ # Generated files
38
+ **/*.d.ts
39
+ **/generated/*
40
+
41
+ # Configuration files
42
+ package.json
43
+ package-lock.json
@@ -0,0 +1,49 @@
1
+ {
2
+ "compilerOptions": {
3
+ "paths": {
4
+ "$lib": [
5
+ "../src/lib"
6
+ ],
7
+ "$lib/*": [
8
+ "../src/lib/*"
9
+ ]
10
+ },
11
+ "rootDirs": [
12
+ "..",
13
+ "./types"
14
+ ],
15
+ "verbatimModuleSyntax": true,
16
+ "isolatedModules": true,
17
+ "lib": [
18
+ "esnext",
19
+ "DOM",
20
+ "DOM.Iterable"
21
+ ],
22
+ "moduleResolution": "bundler",
23
+ "module": "esnext",
24
+ "noEmit": true,
25
+ "target": "esnext"
26
+ },
27
+ "include": [
28
+ "ambient.d.ts",
29
+ "non-ambient.d.ts",
30
+ "./types/**/$types.d.ts",
31
+ "../vite.config.js",
32
+ "../vite.config.ts",
33
+ "../src/**/*.js",
34
+ "../src/**/*.ts",
35
+ "../src/**/*.svelte",
36
+ "../tests/**/*.js",
37
+ "../tests/**/*.ts",
38
+ "../tests/**/*.svelte"
39
+ ],
40
+ "exclude": [
41
+ "../node_modules/**",
42
+ "../src/service-worker.js",
43
+ "../src/service-worker/**/*.js",
44
+ "../src/service-worker.ts",
45
+ "../src/service-worker/**/*.ts",
46
+ "../src/service-worker.d.ts",
47
+ "../src/service-worker/**/*.d.ts"
48
+ ]
49
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "version": 1,
3
+ "selectors": [
4
+ {
5
+ "name": ".fas",
6
+ "description": "FontAwesome v6 solid icon class"
7
+ },
8
+ {
9
+ "name": ".fa-solid",
10
+ "description": "FontAwesome old solid icon class"
11
+ },
12
+ {
13
+ "name": ".fab",
14
+ "description": "FontAwesome v6 brand icon class"
15
+ },
16
+ {
17
+ "name": ".fa-brands",
18
+ "description": "FontAwsome old brand icon class"
19
+ },
20
+ {
21
+ "name": ".fa-square-instagram",
22
+ "description": "FontAwesome brands Instagram icon class"
23
+ },
24
+ {
25
+ "name": ".fa-square-github",
26
+ "description": "FontAwesome brands GitHub icon class"
27
+ },
28
+ {
29
+ "name": ".fa-linkedin",
30
+ "description": "FontAwesome brands LinkedIn icon class"
31
+ },
32
+ {
33
+ "name": ".fa-square-facebook",
34
+ "description": "FontAwesome brands Facebook icon class"
35
+ },
36
+ {
37
+ "name": ".fa-mastodon",
38
+ "description": "FontAwesome brands Pinterest icon class"
39
+ },
40
+ {
41
+ "name": ".fa-arrow-up-right",
42
+ "description": "FontAwesome arrow up right icon class"
43
+ },
44
+ {
45
+ "name": ".fa-arrow-up-right-from-square",
46
+ "description": "FontAwesome arrow up right from square icon class"
47
+ },
48
+ {
49
+ "name": ".fa-file-arrow-down",
50
+ "description": "FontAwesome download file icon class"
51
+ },
52
+ {
53
+ "name": ".fa-2x",
54
+ "description": "FontAwesome 2x extra large icon size class"
55
+ },
56
+ {
57
+ "name": ".fa-lg",
58
+ "description": "FontAwesome large icon size class"
59
+ },
60
+ {
61
+ "name": ".fa-sm",
62
+ "description": "FontAwesome small icon size class"
63
+ },
64
+ {
65
+ "name": ".fa-xs",
66
+ "description": "FontAwesome extra small icon size class"
67
+ },
68
+ {
69
+ "name": ".fa-2xs",
70
+ "description": "FontAwesome 2x extra small icon size class"
71
+ }
72
+ ]
73
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "recommendations": [
3
+ "svelte.svelte-vscode",
4
+ "esbenp.prettier-vscode",
5
+ "dbaeumer.vscode-eslint",
6
+ "stylelint.vscode-stylelint",
7
+ "DavidAnson.vscode-markdownlint",
8
+ "editorconfig.editorconfig",
9
+ "ms-playwright.playwright",
10
+ "vitest.explorer",
11
+ "streetsidesoftware.code-spell-checker"
12
+ ]
13
+ }
@@ -0,0 +1,24 @@
1
+ /* ==========================================================================
2
+ extensions.jsonc
3
+
4
+ NOTE: This file is for reference only and is not actively used by VS Code.
5
+ VS Code uses the extensions.json file without comments for actual configuration.
6
+
7
+ Copyright © 2025 Network Pro Strategies (Network Pro™)
8
+ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
9
+ This file is part of Network Pro.
10
+ ========================================================================== */
11
+
12
+ {
13
+ "recommendations": [
14
+ "svelte.svelte-vscode", // Svelte language support
15
+ "esbenp.prettier-vscode", // Prettier formatting
16
+ "dbaeumer.vscode-eslint", // JavaScript/TypeScript linting
17
+ "stylelint.vscode-stylelint", // CSS/SASS/Svelte linting
18
+ "DavidAnson.vscode-markdownlint", // Markdown linting
19
+ "editorconfig.editorconfig", // Respect .editorconfig rules
20
+ "ms-playwright.playwright", // E2E testing with Playwright
21
+ "vitest.explorer", // Vitest test explorer panel
22
+ "streetsidesoftware.code-spell-checker" // Inline spell checking (comments, Markdown, etc.)
23
+ ]
24
+ }
@@ -0,0 +1,80 @@
1
+ {
2
+ // Editor settings
3
+ "editor.defaultFoldingRangeProvider": "esbenp.prettier-vscode",
4
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
5
+ "[markdown]": {
6
+ "editor.defaultFoldingRangeProvider": "esbenp.prettier-vscode",
7
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
8
+ },
9
+ "[svelte]": {
10
+ "editor.defaultFormatter": "svelte.svelte-vscode",
11
+ "editor.tabSize": 2
12
+ },
13
+ "[json]": {
14
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
15
+ },
16
+ "[jsonc]": {
17
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
18
+ },
19
+ // ESLint configuration
20
+ "eslint.workingDirectories": ["D:\\Netwk-Pro\\git\\netwk-pro.github.io"],
21
+ "eslint.validate": ["svelte", "javascript", "javascriptreact"],
22
+ "eslint.lintTask.enable": true,
23
+ "eslint.lintTask.options": ". --ext .mjs,.js,.svelte --config eslint.config.mjs",
24
+ "eslint.useESLintClass": true,
25
+ "eslint.useFlatConfig": true,
26
+ "eslint.codeActionsOnSave.mode": "problems",
27
+ "eslint.probe": [
28
+ "javascript",
29
+ "javascriptreact",
30
+ "html",
31
+ "markdown",
32
+ "json",
33
+ "jsonc",
34
+ "svelte"
35
+ ],
36
+ // Stylelint configuration
37
+ "stylelint.configBasedir": "D:\\Netwk-Pro\\git\\netwk-pro.github.io",
38
+ "stylelint.configFile": "stylelint.config.js",
39
+ "stylelint.validate": ["css", "postcss", "html", "svelte"],
40
+ // Custom CSS data for FontAwesome classes
41
+ "css.customData": [
42
+ ".vscode/customData.json" // Path to your custom data file
43
+ ],
44
+ "markdown.validate.enabled": false,
45
+ "markdown.validate.ignoredLinks": [
46
+ "#bugs",
47
+ "#features",
48
+ "#top",
49
+ "#ownership",
50
+ "#trademark",
51
+ "#branding",
52
+ "#licensed-material",
53
+ "#licenses",
54
+ "#dlnotes",
55
+ "#cc-by",
56
+ "#gnu-gpl",
57
+ "#third-party",
58
+ "#prohibited-uses",
59
+ "#disclaimer",
60
+ "#contact",
61
+ "#revisions",
62
+ "#pledge",
63
+ "#standards",
64
+ "#response",
65
+ "#enforce",
66
+ "#attribute",
67
+ "#version",
68
+ "#structure",
69
+ "#getting-started",
70
+ "#configuration",
71
+ "#sw-utilities",
72
+ "#cspreport",
73
+ "#testing",
74
+ "#toolchain",
75
+ "#toolconfig",
76
+ "#scripts",
77
+ "#license",
78
+ "#questions"
79
+ ]
80
+ }
package/CHANGELOG.md CHANGED
@@ -22,6 +22,62 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
22
22
 
23
23
  ---
24
24
 
25
+ ## [1.14.2] - 2025-06-30
26
+
27
+ ### Added
28
+
29
+ - Added Node.js and npm environment checks to `build-and-publish.yml`.
30
+ - Added `.github/workflows/templates/publish.template.yml` for reuse in other org repos.
31
+ - JSDoc linting now outputs violation details for better visibility during CI checks
32
+
33
+ ### Changed
34
+
35
+ - Version bumped to **v1.14.2**
36
+ - Corrected naming of `check-security-txt-expiry.yml`
37
+ - Updated Node version reference in `.node-version` and `.nvmrc` to `24.3.0`
38
+ - Aligned environment context (`ENV_MODE: ci`) in `check-codeql` workflow to match `build-and-publish.yml` standardization
39
+ - Updated Node to `24` and npm to `11.4.2` across multiple workflows (`build-and-publish.yml`, `lighthouse.yml`, `playwright.yml`, and `publish-test.yml`) for version alignment
40
+ - Upgraded dependencies:
41
+ - `@eslint/compat` ^1.3.0 → ^1.3.1
42
+ - `@eslint/js` ^9.29.0 → ^9.30.0
43
+ - `@lhci/cli` ^0.15.0 → ^0.15.1
44
+ - `@playwright/test` ^1.53.0 → ^1.53.2
45
+ - `@sveltejs/kit` 2.21.5 → 2.22.2
46
+ - `@vitest/coverage-v8` ^3.2.3 → ^3.2.4
47
+ - `browserslist` ^4.25.0 → ^4.25.1
48
+ - `eslint` ^9.29.0 → ^9.30.0
49
+ - `eslint-plugin-jsdoc` ^51.0.1 → ^51.3.1
50
+ - `eslint-plugin-svelte` ^3.9.2 → ^3.10.1
51
+ - `playwright` ^1.53.0 → ^1.53.2
52
+ - `posthog-js` ^1.253.4 → ^1.256.0
53
+ - `prettier` ^3.5.3 → ^3.6.2
54
+ - `stylelint` ^16.20.0 → ^16.21.0
55
+ - `svelte` 5.34.3 → 5.34.9
56
+ - `svelte-check` ^4.2.1 → ^4.2.2
57
+ - `vitest` ^3.2.3 → ^3.2.4
58
+
59
+ ### Fixed
60
+
61
+ - Updated `check-security-txt-expiry.yml` to use correct path for `security.txt` (now looks in `static/.well-known/`)
62
+
63
+ ---
64
+
65
+ ## [1.14.1] - 2025-06-16
66
+
67
+ ### Changed
68
+
69
+ - Updated Node.js engine to `24` to match the specified engine constraints in `package.json`.
70
+ - Reordered `npm ci` step to follow Node.js and npm setup to prevent version mismatches during simulation steps.
71
+ - Refactored `build-and-publish.yml` to use `git archive` for artifact preparation and aligned it with a tested publishing flow.
72
+ - Removed `.npmrc` token-based authentication in favor of environment secrets to avoid credential conflicts.
73
+
74
+ ### Added
75
+
76
+ - Introduced `.github/workflows/publish-test.yml`, a standalone workflow to safely simulate `npm publish` without publishing.
77
+ - Added commands to display Node.js and npm versions for visibility and troubleshooting in all relevant jobs.
78
+
79
+ ---
80
+
25
81
  ## [1.14.0] - 2025-06-16
26
82
 
27
83
  ### Changed
@@ -483,7 +539,10 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
483
539
 
484
540
  <!-- Link references -->
485
541
 
486
- [Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.13.8...HEAD
542
+ [Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.14.2...HEAD
543
+ [1.14.2]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.14.2
544
+ [1.14.1]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.14.1
545
+ [1.14.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.14.0
487
546
  [1.13.8]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.13.8
488
547
  [1.13.7]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.13.7
489
548
  [1.13.6]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.13.6
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@networkpro/web",
3
3
  "private": false,
4
- "version": "1.14.0",
4
+ "version": "1.14.2",
5
5
  "description": "Locking Down Networks, Unlocking Confidence™ | Security, Networking, Privacy — Network Pro Strategies",
6
6
  "keywords": [
7
7
  "advisory",
@@ -80,49 +80,49 @@
80
80
  },
81
81
  "dependencies": {
82
82
  "dompurify": "^3.2.6",
83
- "posthog-js": "^1.253.4",
83
+ "posthog-js": "^1.256.0",
84
84
  "semver": "^7.7.2",
85
- "svelte": "5.34.3"
85
+ "svelte": "5.34.9"
86
86
  },
87
87
  "devDependencies": {
88
- "@eslint/compat": "^1.3.0",
89
- "@eslint/js": "^9.29.0",
90
- "@lhci/cli": "^0.15.0",
91
- "@playwright/test": "^1.53.0",
88
+ "@eslint/compat": "^1.3.1",
89
+ "@eslint/js": "^9.30.0",
90
+ "@lhci/cli": "^0.15.1",
91
+ "@playwright/test": "^1.53.2",
92
92
  "@sveltejs/adapter-netlify": "^5.0.2",
93
- "@sveltejs/kit": "2.21.5",
93
+ "@sveltejs/kit": "2.22.2",
94
94
  "@sveltejs/vite-plugin-svelte": "5.1.0",
95
95
  "@testing-library/jest-dom": "^6.6.3",
96
96
  "@testing-library/svelte": "^5.2.8",
97
- "@vitest/coverage-v8": "^3.2.3",
97
+ "@vitest/coverage-v8": "^3.2.4",
98
98
  "autoprefixer": "^10.4.21",
99
- "browserslist": "^4.25.0",
100
- "eslint": "^9.29.0",
99
+ "browserslist": "^4.25.1",
100
+ "eslint": "^9.30.0",
101
101
  "eslint-config-prettier": "^10.1.5",
102
- "eslint-plugin-jsdoc": "^51.0.1",
103
- "eslint-plugin-svelte": "^3.9.2",
102
+ "eslint-plugin-jsdoc": "^51.3.1",
103
+ "eslint-plugin-svelte": "^3.10.1",
104
104
  "globals": "^16.2.0",
105
105
  "jsdom": "^26.1.0",
106
106
  "lightningcss": "^1.30.1",
107
107
  "markdownlint": "^0.38.0",
108
108
  "markdownlint-cli2": "^0.18.1",
109
109
  "mdsvex": "^0.12.6",
110
- "playwright": "^1.53.0",
110
+ "playwright": "^1.53.2",
111
111
  "postcss": "^8.5.6",
112
- "prettier": "^3.5.3",
112
+ "prettier": "^3.6.2",
113
113
  "prettier-plugin-svelte": "^3.4.0",
114
- "stylelint": "^16.20.0",
114
+ "stylelint": "^16.21.0",
115
115
  "stylelint-config-html": "^1.1.0",
116
116
  "stylelint-config-recommended": "^16.0.0",
117
117
  "stylelint-order": "^7.0.0",
118
- "svelte-check": "^4.2.1",
118
+ "svelte-check": "^4.2.2",
119
119
  "svelte-eslint-parser": "^1.2.0",
120
120
  "svelte-preprocess": "^6.0.3",
121
121
  "typescript": "^5.8.3",
122
- "vite": "^6.3.5",
122
+ "vite": "6.3.5",
123
123
  "vite-plugin-lightningcss": "^0.0.5",
124
124
  "vite-tsconfig-paths": "^5.1.4",
125
- "vitest": "^3.2.3"
125
+ "vitest": "^3.2.4"
126
126
  },
127
127
  "overrides": {
128
128
  "@sveltejs/kit": {
File without changes
@@ -0,0 +1,26 @@
1
+ <!-- ==========================================================================
2
+ src/routes/...404/+page.svelte
3
+
4
+ Copyright © 2025 Network Pro Strategies (Network Pro™)
5
+ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
6
+ This file is part of Network Pro.
7
+ ========================================================================== -->
8
+
9
+ <script>
10
+ /**
11
+ * @type {string}
12
+ * Style class for the h1 and p elements.
13
+ */
14
+ const centerText = 'center-text';
15
+
16
+ /** @type {{ pathname: string } | undefined} */
17
+ export let url;
18
+
19
+ // Use a fallback pathname if `url` is undefined
20
+ const pathname = url?.pathname ?? '/';
21
+ </script>
22
+
23
+ <main>
24
+ <h1 class={centerText}>404 - Page Not Found</h1>
25
+ <p class={centerText}>The page "{pathname}" does not exist.</p>
26
+ </main>