@networkpro/blog 1.5.8 → 1.5.9
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/publish.yml +7 -5
- package/CHANGELOG.md +22 -1
- package/cspell.json +3 -0
- package/netlify.toml +37 -0
- package/package.json +1 -1
- package/.github/workflows/build-and-deploy.yml +0 -94
|
@@ -7,10 +7,9 @@
|
|
|
7
7
|
name: Publish to Registries
|
|
8
8
|
|
|
9
9
|
on:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
- completed
|
|
10
|
+
release:
|
|
11
|
+
types: [created]
|
|
12
|
+
workflow_dispatch:
|
|
14
13
|
|
|
15
14
|
permissions:
|
|
16
15
|
actions: read
|
|
@@ -25,8 +24,11 @@ concurrency:
|
|
|
25
24
|
# cspell:ignore userconfig
|
|
26
25
|
|
|
27
26
|
jobs:
|
|
27
|
+
check-codeql:
|
|
28
|
+
uses: ./.github/workflows/check-codeql.yml
|
|
29
|
+
|
|
28
30
|
build:
|
|
29
|
-
|
|
31
|
+
needs: check-codeql
|
|
30
32
|
runs-on: ubuntu-24.04
|
|
31
33
|
env:
|
|
32
34
|
ENV_MODE: ci
|
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,26 @@ formatting may vary.
|
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
+
## [1.5.9] - 2025-11-18
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- `netlify.toml` file to configure Netlify build variables and enforce CSP and
|
|
24
|
+
headers.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- Refactored `.github/workflows/publish.yml` to check CodeQL results and then
|
|
29
|
+
proceed with publishing to npmjs and GPR.
|
|
30
|
+
- Bumped project version to `v1.5.9`.
|
|
31
|
+
|
|
32
|
+
### Removed
|
|
33
|
+
|
|
34
|
+
- Removed GitHub CI workflow at `.github/workflows/build-and-deploy.yml`, as
|
|
35
|
+
builds will now be processed automatically by Netlify.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
19
39
|
## [1.5.8] - 2025-11-16
|
|
20
40
|
|
|
21
41
|
### Changed
|
|
@@ -496,7 +516,8 @@ formatting may vary.
|
|
|
496
516
|
|
|
497
517
|
<!-- Link references -->
|
|
498
518
|
|
|
499
|
-
[Unreleased]: https://github.com/netwk-pro/blog/compare/v1.5.
|
|
519
|
+
[Unreleased]: https://github.com/netwk-pro/blog/compare/v1.5.9...HEAD
|
|
520
|
+
[1.5.9]: https://github.com/netwk-pro/blog/releases/tag/v1.5.9
|
|
500
521
|
[1.5.8]: https://github.com/netwk-pro/blog/releases/tag/v1.5.8
|
|
501
522
|
[1.5.7]: https://github.com/netwk-pro/blog/releases/tag/v1.5.7
|
|
502
523
|
[1.5.6]: https://github.com/netwk-pro/blog/releases/tag/v1.5.6
|
package/cspell.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"FOSS",
|
|
15
15
|
"gatekeeping",
|
|
16
16
|
"Gboard",
|
|
17
|
+
"geolocation",
|
|
17
18
|
"Heli",
|
|
18
19
|
"heliboard",
|
|
19
20
|
"homescreen",
|
|
@@ -26,10 +27,12 @@
|
|
|
26
27
|
"NETPRO",
|
|
27
28
|
"netwk",
|
|
28
29
|
"networkpro",
|
|
30
|
+
"nosniff",
|
|
29
31
|
"npmjs",
|
|
30
32
|
"NWPRO",
|
|
31
33
|
"otphelper",
|
|
32
34
|
"pozil",
|
|
35
|
+
"publickey",
|
|
33
36
|
"robotstxt",
|
|
34
37
|
"sideloading",
|
|
35
38
|
"sonicwall",
|
package/netlify.toml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[build]
|
|
2
|
+
command = "mkdocs build --clean --site-dir build"
|
|
3
|
+
publish = "build"
|
|
4
|
+
|
|
5
|
+
[[headers]]
|
|
6
|
+
for = "/*"
|
|
7
|
+
[headers.values]
|
|
8
|
+
Content-Security-Policy = """
|
|
9
|
+
default-src 'self';
|
|
10
|
+
script-src 'self' 'unsafe-inline';
|
|
11
|
+
style-src 'self' 'unsafe-inline';
|
|
12
|
+
img-src 'self' data:;
|
|
13
|
+
connect-src 'self' https://api.github.com;
|
|
14
|
+
font-src 'self' data: https://fonts.gstatic.com;
|
|
15
|
+
form-action 'self';
|
|
16
|
+
base-uri 'self';
|
|
17
|
+
object-src 'none';
|
|
18
|
+
frame-ancestors 'none';
|
|
19
|
+
upgrade-insecure-requests;
|
|
20
|
+
report-uri https://csp.netwk.pro/.netlify/functions/csp-report;
|
|
21
|
+
report-to csp-endpoint;
|
|
22
|
+
"""
|
|
23
|
+
Report-To = """
|
|
24
|
+
{
|
|
25
|
+
"group": "csp-endpoint",
|
|
26
|
+
"max_age": 10886400,
|
|
27
|
+
"endpoints": [
|
|
28
|
+
{ "url": "https://csp.netwk.pro/.netlify/functions/csp-report" }
|
|
29
|
+
],
|
|
30
|
+
"include_subdomains": true
|
|
31
|
+
}
|
|
32
|
+
"""
|
|
33
|
+
Permissions-Policy = "fullscreen=(self), sync-xhr=(), camera=(), microphone=(), geolocation=(), clipboard-read=(), clipboard-write=(), payment=(), usb=(), hid=(), gamepad=(), serial=(), publickey-credentials-get=(), browsing-topics=()"
|
|
34
|
+
X-Content-Type-Options = "nosniff"
|
|
35
|
+
Referrer-Policy = "strict-origin-when-cross-origin"
|
|
36
|
+
X-Frame-Options = "DENY"
|
|
37
|
+
Strict-Transport-Security = "max-age=31536000; includeSubDomains"
|
package/package.json
CHANGED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
# .github/workflows/build-and-deploy.yml
|
|
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
|
-
name: Build Site and Deploy to GH Pages
|
|
8
|
-
|
|
9
|
-
on:
|
|
10
|
-
release:
|
|
11
|
-
types: [created]
|
|
12
|
-
workflow_dispatch:
|
|
13
|
-
|
|
14
|
-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
15
|
-
permissions:
|
|
16
|
-
actions: read
|
|
17
|
-
contents: read
|
|
18
|
-
pages: write
|
|
19
|
-
id-token: write
|
|
20
|
-
|
|
21
|
-
# Allow one concurrent deployment
|
|
22
|
-
concurrency:
|
|
23
|
-
group: 'pages'
|
|
24
|
-
cancel-in-progress: true
|
|
25
|
-
|
|
26
|
-
jobs:
|
|
27
|
-
check-codeql:
|
|
28
|
-
uses: ./.github/workflows/check-codeql.yml
|
|
29
|
-
|
|
30
|
-
build:
|
|
31
|
-
needs: check-codeql
|
|
32
|
-
runs-on: ubuntu-24.04
|
|
33
|
-
env:
|
|
34
|
-
ENV_MODE: ci
|
|
35
|
-
|
|
36
|
-
steps:
|
|
37
|
-
- name: Checkout repository
|
|
38
|
-
uses: actions/checkout@v5
|
|
39
|
-
with:
|
|
40
|
-
fetch-depth: 0
|
|
41
|
-
|
|
42
|
-
- name: Set up Node.js
|
|
43
|
-
uses: actions/setup-node@v6
|
|
44
|
-
with:
|
|
45
|
-
node-version: 24
|
|
46
|
-
cache: npm
|
|
47
|
-
cache-dependency-path: package-lock.json
|
|
48
|
-
|
|
49
|
-
- name: Upgrade npm
|
|
50
|
-
run: |
|
|
51
|
-
corepack enable
|
|
52
|
-
npm install -g npm@11.6.2
|
|
53
|
-
|
|
54
|
-
- name: Set up Pages
|
|
55
|
-
uses: actions/configure-pages@v5
|
|
56
|
-
|
|
57
|
-
- name: Install Node.js dependencies
|
|
58
|
-
run: npm ci
|
|
59
|
-
|
|
60
|
-
# Begin Material for MkDocs setup
|
|
61
|
-
- name: Set up Python
|
|
62
|
-
uses: actions/setup-python@v6
|
|
63
|
-
with:
|
|
64
|
-
python-version-file: '.python-version'
|
|
65
|
-
cache: 'pip'
|
|
66
|
-
|
|
67
|
-
- name: Install Python dependencies
|
|
68
|
-
run: pip install -r requirements.txt
|
|
69
|
-
|
|
70
|
-
# Strict mode disabled for mkdocs-material
|
|
71
|
-
- name: Build MkDocs documentation
|
|
72
|
-
run: mkdocs build
|
|
73
|
-
|
|
74
|
-
- name: Copy package.json to build directory
|
|
75
|
-
run: cp package.json build/
|
|
76
|
-
|
|
77
|
-
- name: Upload artifact
|
|
78
|
-
uses: actions/upload-pages-artifact@v4
|
|
79
|
-
with:
|
|
80
|
-
path: ./build
|
|
81
|
-
|
|
82
|
-
deploy:
|
|
83
|
-
needs: [check-codeql, build]
|
|
84
|
-
environment:
|
|
85
|
-
name: github-pages
|
|
86
|
-
url: ${{ steps.deployment.outputs.page_url }}
|
|
87
|
-
runs-on: ubuntu-24.04
|
|
88
|
-
env:
|
|
89
|
-
ENV_MODE: ci
|
|
90
|
-
|
|
91
|
-
steps:
|
|
92
|
-
- name: Deploy to GitHub Pages
|
|
93
|
-
id: deployment
|
|
94
|
-
uses: actions/deploy-pages@v4
|