@networkpro/web 1.17.1 → 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.
@@ -25,7 +25,7 @@ jobs:
25
25
 
26
26
  steps:
27
27
  - name: Checkout master branch
28
- uses: actions/checkout@v4
28
+ uses: actions/checkout@v5
29
29
  with:
30
30
  ref: master
31
31
  fetch-depth: 0 # Required to push to another branch
@@ -32,19 +32,19 @@ jobs:
32
32
 
33
33
  steps:
34
34
  - name: Checkout repository
35
- uses: actions/checkout@v4
35
+ uses: actions/checkout@v5
36
36
 
37
37
  - name: Set up Node.js
38
- uses: actions/setup-node@v4
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
 
44
- - name: Show Node.js and npm versions
45
- run: |
46
- echo "Node.js version: $(node -v)"
47
- echo "npm version: $(npm -v)"
44
+ #- name: Show Node.js and npm versions
45
+ # run: |
46
+ # echo "Node.js version: $(node -v)"
47
+ # echo "npm version: $(npm -v)"
48
48
 
49
49
  - name: Upgrade npm
50
50
  run: |
@@ -108,7 +108,7 @@ jobs:
108
108
 
109
109
  steps:
110
110
  - name: Download clean source archive
111
- uses: actions/download-artifact@v4
111
+ uses: actions/download-artifact@v5
112
112
  with:
113
113
  name: clean-source
114
114
  path: ./
@@ -120,17 +120,17 @@ jobs:
120
120
  run: rm clean-source.tar.gz
121
121
 
122
122
  - name: Set up Node.js for npmjs
123
- uses: actions/setup-node@v4
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
129
129
 
130
- - name: Show Node.js and npm versions
131
- run: |
132
- echo "Node.js version: $(node -v)"
133
- echo "npm version: $(npm -v)"
130
+ #- name: Show Node.js and npm versions
131
+ # run: |
132
+ # echo "Node.js version: $(node -v)"
133
+ # echo "npm version: $(npm -v)"
134
134
 
135
135
  - name: Upgrade npm
136
136
  run: |
@@ -169,7 +169,7 @@ jobs:
169
169
 
170
170
  steps:
171
171
  - name: Download clean source archive
172
- uses: actions/download-artifact@v4
172
+ uses: actions/download-artifact@v5
173
173
  with:
174
174
  name: clean-source
175
175
  path: ./
@@ -181,17 +181,17 @@ jobs:
181
181
  run: rm clean-source.tar.gz
182
182
 
183
183
  - name: Set up Node.js for GPR
184
- uses: actions/setup-node@v4
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
190
190
 
191
- - name: Show Node.js and npm versions
192
- run: |
193
- echo "Node.js version: $(node -v)"
194
- echo "npm version: $(npm -v)"
191
+ #- name: Show Node.js and npm versions
192
+ # run: |
193
+ # echo "Node.js version: $(node -v)"
194
+ # echo "npm version: $(npm -v)"
195
195
 
196
196
  - name: Upgrade npm
197
197
  run: |
@@ -15,7 +15,7 @@ jobs:
15
15
 
16
16
  steps:
17
17
  - name: Checkout repo
18
- uses: actions/checkout@v4
18
+ uses: actions/checkout@v5
19
19
 
20
20
  - name: Check security.txt expiration
21
21
  run: |
@@ -16,7 +16,7 @@ jobs:
16
16
 
17
17
  steps:
18
18
  - name: 'Checkout Repository'
19
- uses: actions/checkout@v4
19
+ uses: actions/checkout@v5
20
20
 
21
21
  - name: 'Dependency Review'
22
22
  uses: actions/dependency-review-action@v4
@@ -31,7 +31,7 @@ jobs:
31
31
 
32
32
  steps:
33
33
  - name: Checkout Repository
34
- uses: actions/checkout@v4
34
+ uses: actions/checkout@v5
35
35
 
36
36
  - name: Authenticate GitHub CLI
37
37
  run: gh auth status
@@ -42,9 +42,9 @@ jobs:
42
42
  run: 'echo "ENV_MODE is set to: $ENV_MODE"'
43
43
 
44
44
  - name: Setup Node.js
45
- uses: actions/setup-node@v4
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
@@ -26,15 +26,15 @@ jobs:
26
26
 
27
27
  steps:
28
28
  - name: Checkout repository
29
- uses: actions/checkout@v4
29
+ uses: actions/checkout@v5
30
30
 
31
31
  - name: Log ENV_MODE
32
32
  run: 'echo "ENV_MODE is set to: $ENV_MODE"'
33
33
 
34
34
  - name: Set up Node.js
35
- uses: actions/setup-node@v4
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
 
@@ -30,12 +30,12 @@ jobs:
30
30
 
31
31
  steps:
32
32
  - name: Checkout repository
33
- uses: actions/checkout@v4
33
+ uses: actions/checkout@v5
34
34
 
35
35
  - name: Set up Node.js
36
- uses: actions/setup-node@v4
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
 
@@ -59,25 +59,32 @@ jobs:
59
59
  id: jsdoc_lint
60
60
  continue-on-error: true
61
61
  run: |
62
- set -e
63
62
  output=$(npm run lint:jsdoc || true)
64
63
  echo "$output" | tee jsdoc-lint-output.txt
65
64
 
66
- count=$(echo "$output" | wc -l)
65
+ count=$(echo "$output" | grep -cve '^\s*$')
67
66
  echo "jsdoc_count=$count" >> "$GITHUB_OUTPUT"
68
67
 
69
- - name: ✅ Pass
70
- if: steps.jsdoc_lint.outputs.jsdoc_count == '0'
71
- run: echo "JSDoc lint passed successfully!"
68
+ - name: PASS
69
+ if: ${{ steps.jsdoc_lint.outputs.jsdoc_count == 0 }}
70
+ run: echo "JSDoc lint passed successfully!"
72
71
 
73
- - name: ⚠️ JSDoc violations detected (non-blocking)
74
- if: steps.jsdoc_lint.outputs.jsdoc_count != '0'
72
+ - name: JSDoc violations detected (non-blocking)
73
+ if: ${{ steps.jsdoc_lint.outputs.jsdoc_count != 0 }}
75
74
  run: |
76
75
  echo "⚠️ JSDoc lint check failed with ${{ steps.jsdoc_lint.outputs.jsdoc_count }} violations (non-blocking)"
77
76
  echo "--- JSDoc Violations ---"
78
77
  cat jsdoc-lint-output.txt
79
78
 
80
- # Test to ensure the package is working
79
+ - name: Upload JSDoc results
80
+ if: ${{ steps.jsdoc_lint.outputs.jsdoc_count != 0 }}
81
+ uses: actions/upload-artifact@v4
82
+ with:
83
+ name: jsdoc-lint-results
84
+ path: jsdoc-lint-output.txt
85
+ if-no-files-found: error
86
+
87
+ # Build to ensure the package is functional
81
88
  - name: Build Node.js project
82
89
  run: npm run build
83
90
 
@@ -99,7 +106,7 @@ jobs:
99
106
 
100
107
  steps:
101
108
  - name: Download clean source archive
102
- uses: actions/download-artifact@v4
109
+ uses: actions/download-artifact@v5
103
110
  with:
104
111
  name: clean-source
105
112
  path: ./
@@ -111,9 +118,9 @@ jobs:
111
118
  run: rm clean-source.tar.gz
112
119
 
113
120
  - name: Set up Node.js for npmjs
114
- uses: actions/setup-node@v4
121
+ uses: actions/setup-node@v5
115
122
  with:
116
- node-version: 24
123
+ node-version: 22
117
124
  registry-url: https://registry.npmjs.org/
118
125
  cache: npm
119
126
  cache-dependency-path: package-lock.json
@@ -160,7 +167,7 @@ jobs:
160
167
 
161
168
  steps:
162
169
  - name: Download clean source archive
163
- uses: actions/download-artifact@v4
170
+ uses: actions/download-artifact@v5
164
171
  with:
165
172
  name: clean-source
166
173
  path: ./
@@ -172,9 +179,9 @@ jobs:
172
179
  run: rm clean-source.tar.gz
173
180
 
174
181
  - name: Set up Node.js for GPR
175
- uses: actions/setup-node@v4
182
+ uses: actions/setup-node@v5
176
183
  with:
177
- node-version: 24
184
+ node-version: 22
178
185
  registry-url: https://npm.pkg.github.com/
179
186
  cache: npm
180
187
  cache-dependency-path: package-lock.json
@@ -199,7 +206,7 @@ jobs:
199
206
 
200
207
  - name: Update package name for GPR
201
208
  run: |
202
- sed -i 's/"name": ".*"/"name": "@netwk-pro\/web"/' package.json
209
+ sed -i 's/"name": "[^"]*"/"name": "@netwk-pro\/web"/' package.json
203
210
 
204
211
  - name: Verify version not already published
205
212
  run: |
@@ -3,7 +3,7 @@
3
3
  # Reusable GitHub Actions workflow to build and publish a package to npmjs and
4
4
  # GPR.
5
5
  #
6
- # Version: v1.0.0
6
+ # Version: v1.1.0
7
7
  # Maintainer: Scott Lopez <support@neteng.pro>
8
8
  # Usage: Copy to `.github/workflows/publish.yml` in your repo or reference
9
9
  # directly if shared centrally.
@@ -40,19 +40,19 @@ jobs:
40
40
 
41
41
  steps:
42
42
  - name: Checkout repository
43
- uses: actions/checkout@v4
43
+ uses: actions/checkout@v5
44
44
 
45
45
  - name: Set up Node.js
46
- uses: actions/setup-node@v4
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
 
52
- - name: Show Node.js and npm versions
53
- run: |
54
- echo "Node.js version: $(node -v)"
55
- echo "npm version: $(npm -v)"
52
+ #- name: Show Node.js and npm versions
53
+ # run: |
54
+ # echo "Node.js version: $(node -v)"
55
+ # echo "npm version: $(npm -v)"
56
56
 
57
57
  - name: Upgrade npm
58
58
  run: |
@@ -69,25 +69,32 @@ jobs:
69
69
  id: jsdoc_lint
70
70
  continue-on-error: true
71
71
  run: |
72
- set -e
73
72
  output=$(npm run lint:jsdoc || true)
74
73
  echo "$output" | tee jsdoc-lint-output.txt
75
74
 
76
- count=$(echo "$output" | wc -l)
75
+ count=$(echo "$output" | grep -cve '^\s*$')
77
76
  echo "jsdoc_count=$count" >> "$GITHUB_OUTPUT"
78
77
 
79
- - name: ✅ Pass
80
- if: steps.jsdoc_lint.outputs.jsdoc_count == '0'
81
- run: echo "JSDoc lint passed successfully!"
78
+ - name: PASS
79
+ if: ${{ steps.jsdoc_lint.outputs.jsdoc_count == 0 }}
80
+ run: echo "JSDoc lint passed successfully!"
82
81
 
83
- - name: ⚠️ JSDoc violations detected (non-blocking)
84
- if: steps.jsdoc_lint.outputs.jsdoc_count != '0'
82
+ - name: JSDoc violations detected (non-blocking)
83
+ if: ${{ steps.jsdoc_lint.outputs.jsdoc_count != 0 }}
85
84
  run: |
86
85
  echo "⚠️ JSDoc lint check failed with ${{ steps.jsdoc_lint.outputs.jsdoc_count }} violations (non-blocking)"
87
86
  echo "--- JSDoc Violations ---"
88
87
  cat jsdoc-lint-output.txt
89
88
 
90
- # Test to ensure the package is working
89
+ - name: Upload JSDoc results
90
+ if: ${{ steps.jsdoc_lint.outputs.jsdoc_count != 0 }}
91
+ uses: actions/upload-artifact@v4
92
+ with:
93
+ name: jsdoc-lint-results
94
+ path: jsdoc-lint-output.txt
95
+ if-no-files-found: error
96
+
97
+ # Build to ensure the package is functional
91
98
  - name: Build Node.js project
92
99
  run: npm run build
93
100
 
@@ -109,7 +116,7 @@ jobs:
109
116
 
110
117
  steps:
111
118
  - name: Download clean source archive
112
- uses: actions/download-artifact@v4
119
+ uses: actions/download-artifact@v5
113
120
  with:
114
121
  name: clean-source
115
122
  path: ./
@@ -121,17 +128,17 @@ jobs:
121
128
  run: rm clean-source.tar.gz
122
129
 
123
130
  - name: Set up Node.js for npmjs
124
- uses: actions/setup-node@v4
131
+ uses: actions/setup-node@v5
125
132
  with:
126
- node-version: 24
133
+ node-version: 22
127
134
  registry-url: https://registry.npmjs.org/
128
135
  cache: npm
129
136
  cache-dependency-path: package-lock.json
130
137
 
131
- - name: Show Node.js and npm versions
132
- run: |
133
- echo "Node.js version: $(node -v)"
134
- echo "npm version: $(npm -v)"
138
+ #- name: Show Node.js and npm versions
139
+ # run: |
140
+ # echo "Node.js version: $(node -v)"
141
+ # echo "npm version: $(npm -v)"
135
142
 
136
143
  - name: Upgrade npm
137
144
  run: |
@@ -170,7 +177,7 @@ jobs:
170
177
 
171
178
  steps:
172
179
  - name: Download clean source archive
173
- uses: actions/download-artifact@v4
180
+ uses: actions/download-artifact@v5
174
181
  with:
175
182
  name: clean-source
176
183
  path: ./
@@ -182,17 +189,17 @@ jobs:
182
189
  run: rm clean-source.tar.gz
183
190
 
184
191
  - name: Set up Node.js for GPR
185
- uses: actions/setup-node@v4
192
+ uses: actions/setup-node@v5
186
193
  with:
187
- node-version: 24
194
+ node-version: 22
188
195
  registry-url: https://npm.pkg.github.com/
189
196
  cache: npm
190
197
  cache-dependency-path: package-lock.json
191
198
 
192
- - name: Show Node.js and npm versions
193
- run: |
194
- echo "Node.js version: $(node -v)"
195
- echo "npm version: $(npm -v)"
199
+ #- name: Show Node.js and npm versions
200
+ # run: |
201
+ # echo "Node.js version: $(node -v)"
202
+ # echo "npm version: $(npm -v)"
196
203
 
197
204
  - name: Upgrade npm
198
205
  run: |
@@ -209,7 +216,7 @@ jobs:
209
216
 
210
217
  - name: Update package name for GPR
211
218
  run: |
212
- sed -i 's/"name": ".*"/"name": "@netwk-pro\/web"/' package.json
219
+ sed -i 's/"name": "[^"]*"/"name": "@netwk-pro\/web"/' package.json
213
220
 
214
221
  - name: Verify version not already published
215
222
  run: |
package/.node-version CHANGED
@@ -1 +1 @@
1
- 24.8.0
1
+ 22.20.0
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 24.8.0
1
+ 22.20.0
package/CHANGELOG.md CHANGED
@@ -22,6 +22,88 @@ 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
+
71
+ ## [1.17.2] - 2025-09-27
72
+
73
+ ### Changed
74
+
75
+ - Bumped version to `v1.17.2`.
76
+ - Updated generator metadata in `app.html` to reflect `SvelteKit 2.43.5`.
77
+ - Updated Node.js version in `.node-version` and `.nvmrc` to `24.9.0`.
78
+ - Updated `actions/checkout`, `actions/setup-node`, and `actions/download-artifact` in the following files in `.github/workflows`:
79
+ - `templates/publish.template.yml`
80
+ - `backup-branch.yml`
81
+ - `build-and-publish.yml`
82
+ - `check-security-txt-expiry.yml`
83
+ - `dependency-review.yml`
84
+ - `lighthouse.yml`
85
+ - `playwright.yml`
86
+ - `publish-test.yml`
87
+ - Updated JSDoc linting step and `sed` syntax in the following workflows:
88
+ - `templates/publish.template.yml`
89
+ - `publish-test.yml`
90
+ - Upgraded dependencies:
91
+ - `@eslint/compat` `^1.3.2` → `^1.4.0`
92
+ - `@eslint/js` `^9.35.0` → `^9.36.0`
93
+ - `@playwright/test` `^1.55.0` → `^1.55.1`
94
+ - `@sveltejs/kit` `2.42.1` → `2.43.5`
95
+ - `@sveltejs/vite-plugin-svelte` `^6.2.0` → `^6.2.1`
96
+ - `eslint` `^9.35.0` → `^9.36.0`
97
+ - `eslint-plugin-jsdoc` `^58.1.1` → `^60.4.1`
98
+ - `eslint-plugin-svelte` `^3.12.3` → `^3.12.4`
99
+ - `playwright` `^1.55.0` → `^1.55.1`
100
+ - `posthog-js` `^1.266.0` → `^1.268.6`
101
+ - `svelte` `5.39.1` → `5.39.6`
102
+ - `svelte-check` `^4.3.1` → `^4.3.2`
103
+ - `svelte-eslint-parser` `^1.3.2` → `^1.3.3`
104
+
105
+ ---
106
+
25
107
  ## [1.17.1] - 2025-09-17
26
108
 
27
109
  ### Security
@@ -30,6 +112,10 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
30
112
  - Forced `tmp` to `>=0.2.4` (resolves CVE-2025-54798 reported via `@lhci/cli`).
31
113
  - Forced `cookie` to `^1.0.0` (used by `@sveltejs/kit` and `@lhci/cli`).
32
114
 
115
+ ### Changed
116
+
117
+ - Bumped version to `v1.17.1`.
118
+
33
119
  ---
34
120
 
35
121
  ## [1.17.0] - 2025-09-17
@@ -55,6 +141,7 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
55
141
 
56
142
  ### Changed
57
143
 
144
+ - Bumped version to `v1.17.0`.
58
145
  - Cleaned up Playwright E2E tests:
59
146
  - Removed brittle `toHaveTitle` assertions causing CI failures.
60
147
  - Standardized footer checks to use helper function.
@@ -832,7 +919,10 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
832
919
 
833
920
  <!-- Link references -->
834
921
 
835
- [Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.17.1...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
925
+ [1.17.2]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.17.2
836
926
  [1.17.1]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.17.1
837
927
  [1.17.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.17.0
838
928
  [1.16.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.16.0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@networkpro/web",
3
3
  "private": false,
4
- "version": "1.17.1",
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",
@@ -79,33 +79,33 @@
79
79
  },
80
80
  "dependencies": {
81
81
  "dompurify": "^3.2.7",
82
- "posthog-js": "^1.266.0",
82
+ "posthog-js": "^1.268.6",
83
83
  "semver": "^7.7.2",
84
- "svelte": "5.39.1"
84
+ "svelte": "5.39.6"
85
85
  },
86
86
  "devDependencies": {
87
- "@eslint/compat": "^1.3.2",
88
- "@eslint/js": "^9.35.0",
87
+ "@eslint/compat": "^1.4.0",
88
+ "@eslint/js": "^9.36.0",
89
89
  "@lhci/cli": "^0.15.1",
90
- "@playwright/test": "^1.55.0",
91
- "@sveltejs/adapter-netlify": "^5.2.3",
92
- "@sveltejs/kit": "2.42.1",
93
- "@sveltejs/vite-plugin-svelte": "^6.2.0",
90
+ "@playwright/test": "^1.55.1",
91
+ "@sveltejs/adapter-vercel": "^5.10.2",
92
+ "@sveltejs/kit": "2.43.5",
93
+ "@sveltejs/vite-plugin-svelte": "^6.2.1",
94
94
  "@testing-library/jest-dom": "^6.8.0",
95
95
  "@testing-library/svelte": "^5.2.8",
96
96
  "@vitest/coverage-v8": "^3.2.4",
97
97
  "autoprefixer": "^10.4.21",
98
98
  "browserslist": "^4.26.2",
99
- "eslint": "^9.35.0",
99
+ "eslint": "^9.36.0",
100
100
  "eslint-config-prettier": "^10.1.8",
101
- "eslint-plugin-jsdoc": "^58.1.1",
102
- "eslint-plugin-svelte": "^3.12.3",
101
+ "eslint-plugin-jsdoc": "^60.4.1",
102
+ "eslint-plugin-svelte": "^3.12.4",
103
103
  "globals": "^16.4.0",
104
104
  "jsdom": "26.1.0",
105
105
  "lightningcss": "^1.30.1",
106
106
  "markdownlint": "^0.38.0",
107
107
  "markdownlint-cli2": "^0.18.1",
108
- "playwright": "^1.55.0",
108
+ "playwright": "^1.55.1",
109
109
  "postcss": "^8.5.6",
110
110
  "prettier": "^3.6.2",
111
111
  "prettier-plugin-svelte": "^3.4.0",
@@ -113,11 +113,11 @@
113
113
  "stylelint-config-html": "^1.1.0",
114
114
  "stylelint-config-recommended": "^17.0.0",
115
115
  "stylelint-order": "^7.0.0",
116
- "svelte-check": "^4.3.1",
117
- "svelte-eslint-parser": "^1.3.2",
116
+ "svelte-check": "^4.3.2",
117
+ "svelte-eslint-parser": "^1.3.3",
118
118
  "svelte-preprocess": "^6.0.3",
119
119
  "typescript": "^5.9.2",
120
- "vite": "^7.1.5",
120
+ "vite": "^7.1.7",
121
121
  "vite-plugin-lightningcss": "^0.0.5",
122
122
  "vite-tsconfig-paths": "^5.1.4",
123
123
  "vitest": "^3.2.4"
package/src/app.html CHANGED
@@ -63,7 +63,7 @@
63
63
  content="bx4ham0zkpvzztzu213bhpt76m9siq" />
64
64
  <!-- cspell:enable -->
65
65
 
66
- <meta name="generator" content="SvelteKit 2.42.1" />
66
+ <meta name="generator" content="SvelteKit 2.43.5" />
67
67
 
68
68
  <script src="/disableSw.js"></script>
69
69
 
@@ -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"]