@networkpro/web 1.17.2 → 1.18.1

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.
@@ -37,7 +37,7 @@ jobs:
37
37
  - name: Set up Node.js
38
38
  uses: actions/setup-node@v5
39
39
  with:
40
- node-version: 24
40
+ node-version: 22
41
41
  cache: npm
42
42
  cache-dependency-path: package-lock.json
43
43
 
@@ -122,7 +122,7 @@ jobs:
122
122
  - name: Set up Node.js for npmjs
123
123
  uses: actions/setup-node@v5
124
124
  with:
125
- node-version: 24
125
+ node-version: 22
126
126
  registry-url: https://registry.npmjs.org/
127
127
  cache: npm
128
128
  cache-dependency-path: package-lock.json
@@ -183,7 +183,7 @@ jobs:
183
183
  - name: Set up Node.js for GPR
184
184
  uses: actions/setup-node@v5
185
185
  with:
186
- node-version: 24
186
+ node-version: 22
187
187
  registry-url: https://npm.pkg.github.com/
188
188
  cache: npm
189
189
  cache-dependency-path: package-lock.json
@@ -44,7 +44,7 @@ jobs:
44
44
  - name: Setup Node.js
45
45
  uses: actions/setup-node@v5
46
46
  with:
47
- node-version: 24
47
+ node-version: 22
48
48
  cache: npm
49
49
  cache-dependency-path: package-lock.json
50
50
 
@@ -25,7 +25,7 @@ jobs:
25
25
  - name: Set up Node.js
26
26
  uses: actions/setup-node@v5
27
27
  with:
28
- node-version: 24
28
+ node-version: 22
29
29
 
30
30
  - name: Install dependencies
31
31
  run: npm ci
@@ -34,7 +34,7 @@ jobs:
34
34
  - name: Set up Node.js
35
35
  uses: actions/setup-node@v5
36
36
  with:
37
- node-version: 24
37
+ node-version: 22
38
38
  cache: npm
39
39
  cache-dependency-path: package-lock.json
40
40
 
@@ -35,7 +35,7 @@ jobs:
35
35
  - name: Set up Node.js
36
36
  uses: actions/setup-node@v5
37
37
  with:
38
- node-version: 24
38
+ node-version: 22
39
39
  cache: npm
40
40
  cache-dependency-path: package-lock.json
41
41
 
@@ -120,7 +120,7 @@ jobs:
120
120
  - name: Set up Node.js for npmjs
121
121
  uses: actions/setup-node@v5
122
122
  with:
123
- node-version: 24
123
+ node-version: 22
124
124
  registry-url: https://registry.npmjs.org/
125
125
  cache: npm
126
126
  cache-dependency-path: package-lock.json
@@ -181,7 +181,7 @@ jobs:
181
181
  - name: Set up Node.js for GPR
182
182
  uses: actions/setup-node@v5
183
183
  with:
184
- node-version: 24
184
+ node-version: 22
185
185
  registry-url: https://npm.pkg.github.com/
186
186
  cache: npm
187
187
  cache-dependency-path: package-lock.json
@@ -45,7 +45,7 @@ jobs:
45
45
  - name: Set up Node.js
46
46
  uses: actions/setup-node@v5
47
47
  with:
48
- node-version: 24
48
+ node-version: 22
49
49
  cache: npm
50
50
  cache-dependency-path: package-lock.json
51
51
 
@@ -130,7 +130,7 @@ jobs:
130
130
  - name: Set up Node.js for npmjs
131
131
  uses: actions/setup-node@v5
132
132
  with:
133
- node-version: 24
133
+ node-version: 22
134
134
  registry-url: https://registry.npmjs.org/
135
135
  cache: npm
136
136
  cache-dependency-path: package-lock.json
@@ -191,7 +191,7 @@ jobs:
191
191
  - name: Set up Node.js for GPR
192
192
  uses: actions/setup-node@v5
193
193
  with:
194
- node-version: 24
194
+ node-version: 22
195
195
  registry-url: https://npm.pkg.github.com/
196
196
  cache: npm
197
197
  cache-dependency-path: package-lock.json
package/.node-version CHANGED
@@ -1 +1 @@
1
- 24.9.0
1
+ 22.20.0
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 24.9.0
1
+ 22.20.0
package/CHANGELOG.md CHANGED
@@ -22,6 +22,52 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
22
22
 
23
23
  ---
24
24
 
25
+ ## [1.18.1] - 2025-09-27
26
+
27
+ ### Changed
28
+
29
+ - Bumped version to `v1.18.1`.
30
+ - Removed `www` redirect from `vercel.json`.
31
+
32
+ ### Notes
33
+
34
+ - Instead of an app redirect, the `www` subdomain is now set up with a CNAME record
35
+
36
+ ---
37
+
38
+ ## [1.18.0] - 2025-09-27
39
+
40
+ ### Changed
41
+
42
+ - Bumped version to `v1.18.0`.
43
+ - Updated Node.js version in `.node-version` and `.nvmrc` to `22.20.0` for compatibility with Vercel.
44
+ - Updated CI workflows to utilize `node-version: 22`:
45
+ - `build-and-publish.yml`
46
+ - `lighthouse.yml`
47
+ - `meta-check.yml`
48
+ - `playwright.yml`
49
+ - `publish-test.yml`
50
+ - `templates/publish.template.yml`
51
+ - Migrated hosting and serverless functions from **Netlify** to **Vercel**.
52
+ - Updated deployment configuration to use `@sveltejs/adapter-vercel` in place of
53
+ `@sveltejs/adapter-netlify`.
54
+ - Cleaned up Netlify-specific files and settings:
55
+ - Removed `netlify.toml` and Netlify plugin configuration.
56
+ - Removed unused SMTP-related environment variables (`SMTP_*`, `MAIL_ENABLED`,
57
+ `NOTIFY_EMAIL`).
58
+ - Replaced `_redirects` with Vercel-managed redirects and rewrites in
59
+ `vercel.json`.
60
+ - Updated environment configuration to define `ENV_MODE` within Vercel project
61
+ settings.
62
+ - Adjusted `engines.npm` requirement in `package.json` from `>=11.0.0 <12` to `>=10.0.0 <12` for compatibility with Vercel.
63
+
64
+ ### Removed
65
+
66
+ - Deleted `netlify.toml` and `_redirects`.
67
+ - Removed `vercel.json` from `.gitignore`.
68
+
69
+ ---
70
+
25
71
  ## [1.17.2] - 2025-09-27
26
72
 
27
73
  ### Changed
@@ -873,7 +919,9 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
873
919
 
874
920
  <!-- Link references -->
875
921
 
876
- [Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.17.2...HEAD
922
+ [Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.18.1...HEAD
923
+ [1.18.1]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.18.1
924
+ [1.18.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.18.0
877
925
  [1.17.2]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.17.2
878
926
  [1.17.1]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.17.1
879
927
  [1.17.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.17.0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@networkpro/web",
3
3
  "private": false,
4
- "version": "1.17.2",
4
+ "version": "1.18.1",
5
5
  "description": "Locking Down Networks, Unlocking Confidence™ | Security, Networking, Privacy — Network Pro Strategies",
6
6
  "keywords": [
7
7
  "advisory",
@@ -31,7 +31,7 @@
31
31
  "type": "module",
32
32
  "engines": {
33
33
  "node": ">=22.0.0 <25",
34
- "npm": ">=11.0.0 <12"
34
+ "npm": ">=10.0.0 <12"
35
35
  },
36
36
  "scripts": {
37
37
  "dev": "vite dev",
@@ -88,7 +88,7 @@
88
88
  "@eslint/js": "^9.36.0",
89
89
  "@lhci/cli": "^0.15.1",
90
90
  "@playwright/test": "^1.55.1",
91
- "@sveltejs/adapter-netlify": "^5.2.3",
91
+ "@sveltejs/adapter-vercel": "^5.10.2",
92
92
  "@sveltejs/kit": "2.43.5",
93
93
  "@sveltejs/vite-plugin-svelte": "^6.2.1",
94
94
  "@testing-library/jest-dom": "^6.8.0",
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- Sitemap last updated on July 12, 2025 -->
2
+ <!-- Sitemap last updated 2025-09-27 -->
3
3
 
4
4
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
5
5
 
@@ -7,7 +7,7 @@
7
7
 
8
8
  <loc>https://netwk.pro</loc>
9
9
 
10
- <lastmod>2025-07-20</lastmod>
10
+ <lastmod>2025-09-27</lastmod>
11
11
 
12
12
  <changefreq>weekly</changefreq>
13
13
 
package/svelte.config.js CHANGED
@@ -6,25 +6,17 @@ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
6
6
  This file is part of Network Pro.
7
7
  ========================================================================= */
8
8
 
9
- import adapter from '@sveltejs/adapter-netlify'; // Netlify adapter for deployment
9
+ import adapter from '@sveltejs/adapter-vercel'; // Vercel adapter for deployment
10
10
  import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; // Vite preprocessor for Svelte
11
11
 
12
12
  const config = {
13
- // Preprocessors for enhanced functionality (vitePreprocess + mdsvex for Markdown support + svelte-preprocess for PostCSS)
14
- preprocess: [
15
- vitePreprocess({
16
- postcss: true,
17
- mdsvex: {
18
- extensions: ['.svx', '.md'],
19
- },
20
- }),
21
- ],
13
+ // Only vitePreprocess with PostCSS
14
+ preprocess: vitePreprocess({ postcss: true }),
22
15
 
23
16
  kit: {
24
- // Netlify adapter configuration
17
+ // Vercel adapter configuration
25
18
  adapter: adapter({
26
- edge: false, // Disable edge functions (optional, enable if needed)
27
- split: false, // Disable splitting function files (optional, enable if needed)
19
+ runtime: 'nodejs22.x',
28
20
  }),
29
21
 
30
22
  // Paths configuration for deployment
@@ -49,8 +41,8 @@ const config = {
49
41
  },
50
42
  },
51
43
 
52
- // File extensions for Svelte and mdsvex
53
- extensions: ['.svelte', '.svx', '.md'], // Added .md for Markdown support
44
+ // File extensions for Svelte only
45
+ extensions: ['.svelte'],
54
46
  };
55
47
 
56
48
  export default config;
package/vercel.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "redirects": [
3
+ {
4
+ "source": "/privacy-policy",
5
+ "destination": "/privacy",
6
+ "permanent": true
7
+ },
8
+ {
9
+ "source": "/privacy-policy/:path*",
10
+ "destination": "/privacy/:path*",
11
+ "permanent": true
12
+ },
13
+ {
14
+ "source": "/legal",
15
+ "destination": "/license",
16
+ "permanent": true
17
+ },
18
+ {
19
+ "source": "/legal/:path*",
20
+ "destination": "/license/:path*",
21
+ "permanent": true
22
+ },
23
+ {
24
+ "source": "/foss",
25
+ "destination": "/foss-spotlight",
26
+ "permanent": true
27
+ },
28
+ {
29
+ "source": "/foss/:path*",
30
+ "destination": "/foss-spotlight/:path*",
31
+ "permanent": true
32
+ }
33
+ ]
34
+ }
package/_redirects DELETED
@@ -1,17 +0,0 @@
1
- # Redirect all www.netwk.pro traffic to bare domain
2
- https://www.netwk.pro/* https://netwk.pro/:splat 301
3
-
4
- # Redirect /privacy-policy (and variants) to /privacy
5
- /privacy-policy /privacy 301
6
- /privacy-policy/* /privacy/:splat 301
7
-
8
- # Redirect /legal (and variants) to /license
9
- /legal /license 301
10
- /legal/* /license/:splat 301
11
-
12
- # Redirect /foss (and variants) to /foss-spotlight
13
- /foss /foss-spotlight 301
14
- /foss/* /foss-spotlight/:splat 301
15
-
16
- # Redirect for Netlify function proxy
17
- /api/* /.netlify/functions/:splat 200
package/netlify.toml DELETED
@@ -1,19 +0,0 @@
1
- [build]
2
- command = "npm run build"
3
-
4
- [build.environment]
5
- ENV_MODE = "prod"
6
-
7
- [dev]
8
- command = "npm run dev"
9
- targetPort = 5173
10
- port = 8888
11
-
12
- [[plugins]]
13
- package = "netlify-plugin-submit-sitemap"
14
-
15
- [plugins.inputs]
16
- baseUrl = "https://netwk.pro"
17
- sitemapPath = "/sitemap.xml"
18
- ignorePeriod = 0
19
- providers = ["google", "yandex"]