@networkpro/web 1.17.2 → 1.18.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.
- package/.github/workflows/build-and-publish.yml +3 -3
- package/.github/workflows/lighthouse.yml +1 -1
- package/.github/workflows/meta-check.yml +1 -1
- package/.github/workflows/playwright.yml +1 -1
- package/.github/workflows/publish-test.yml +3 -3
- package/.github/workflows/templates/publish.template.yml +3 -3
- package/.node-version +1 -1
- package/.nvmrc +1 -1
- package/CHANGELOG.md +59 -1
- package/README.md +1 -1
- package/package.json +3 -3
- package/static/sitemap.xml +2 -2
- package/svelte.config.js +7 -15
- package/vercel.json +34 -0
- package/_redirects +0 -17
- package/netlify.toml +0 -19
|
@@ -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:
|
|
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:
|
|
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:
|
|
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
|
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
-
|
|
1
|
+
22.20.0
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
22.20.0
|
package/CHANGELOG.md
CHANGED
|
@@ -22,6 +22,61 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
|
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
|
+
## [1.18.2] - 2025-09-27
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Bumped version to `v1.18.2`.
|
|
30
|
+
- Replaced Netlify badge with Vercel badge in `README.md`.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## [1.18.1] - 2025-09-27
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
|
|
38
|
+
- Bumped version to `v1.18.1`.
|
|
39
|
+
- Removed `www` redirect from `vercel.json`.
|
|
40
|
+
|
|
41
|
+
### Notes
|
|
42
|
+
|
|
43
|
+
- Instead of an app redirect, the `www` subdomain is now set up with a CNAME record
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## [1.18.0] - 2025-09-27
|
|
48
|
+
|
|
49
|
+
### Changed
|
|
50
|
+
|
|
51
|
+
- Bumped version to `v1.18.0`.
|
|
52
|
+
- Updated Node.js version in `.node-version` and `.nvmrc` to `22.20.0` for compatibility with Vercel.
|
|
53
|
+
- Updated CI workflows to utilize `node-version: 22`:
|
|
54
|
+
- `build-and-publish.yml`
|
|
55
|
+
- `lighthouse.yml`
|
|
56
|
+
- `meta-check.yml`
|
|
57
|
+
- `playwright.yml`
|
|
58
|
+
- `publish-test.yml`
|
|
59
|
+
- `templates/publish.template.yml`
|
|
60
|
+
- Migrated hosting and serverless functions from **Netlify** to **Vercel**.
|
|
61
|
+
- Updated deployment configuration to use `@sveltejs/adapter-vercel` in place of
|
|
62
|
+
`@sveltejs/adapter-netlify`.
|
|
63
|
+
- Cleaned up Netlify-specific files and settings:
|
|
64
|
+
- Removed `netlify.toml` and Netlify plugin configuration.
|
|
65
|
+
- Removed unused SMTP-related environment variables (`SMTP_*`, `MAIL_ENABLED`,
|
|
66
|
+
`NOTIFY_EMAIL`).
|
|
67
|
+
- Replaced `_redirects` with Vercel-managed redirects and rewrites in
|
|
68
|
+
`vercel.json`.
|
|
69
|
+
- Updated environment configuration to define `ENV_MODE` within Vercel project
|
|
70
|
+
settings.
|
|
71
|
+
- Adjusted `engines.npm` requirement in `package.json` from `>=11.0.0 <12` to `>=10.0.0 <12` for compatibility with Vercel.
|
|
72
|
+
|
|
73
|
+
### Removed
|
|
74
|
+
|
|
75
|
+
- Deleted `netlify.toml` and `_redirects`.
|
|
76
|
+
- Removed `vercel.json` from `.gitignore`.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
25
80
|
## [1.17.2] - 2025-09-27
|
|
26
81
|
|
|
27
82
|
### Changed
|
|
@@ -873,7 +928,10 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
|
|
|
873
928
|
|
|
874
929
|
<!-- Link references -->
|
|
875
930
|
|
|
876
|
-
[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.
|
|
931
|
+
[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.18.2...HEAD
|
|
932
|
+
[1.18.2]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.18.2
|
|
933
|
+
[1.18.1]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.18.1
|
|
934
|
+
[1.18.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.18.0
|
|
877
935
|
[1.17.2]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.17.2
|
|
878
936
|
[1.17.1]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.17.1
|
|
879
937
|
[1.17.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.17.0
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ This file is part of Network Pro.
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
[](https://vercel.com) [](https://www.npmjs.com/package/@networkpro/web) [](https://github.com/netwk-pro/netwk-pro.github.io/actions/workflows/build-and-publish.yml)
|
|
17
17
|
[](https://github.com/prettier/prettier) [](https://stylelint.io/)
|
|
18
18
|
[](https://github.com/netwk-pro/netwk-pro.github.io/blob/master/CODE_OF_CONDUCT.md)
|
|
19
19
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@networkpro/web",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.18.2",
|
|
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": ">=
|
|
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-
|
|
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",
|
package/static/sitemap.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- Sitemap last updated
|
|
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-
|
|
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-
|
|
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
|
-
//
|
|
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
|
-
//
|
|
17
|
+
// Vercel adapter configuration
|
|
25
18
|
adapter: adapter({
|
|
26
|
-
|
|
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
|
|
53
|
-
extensions: ['.svelte'
|
|
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"]
|