@networkpro/blog 1.0.5 → 1.0.8

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 (154) hide show
  1. package/2015/01/04/secure-secure-shell/index.html +1552 -0
  2. package/2025/04/30/were-live/index.html +1220 -0
  3. package/2025/05/11/the-network-pro-blog-has-moved/index.html +1202 -0
  4. package/2025/05/15/building-a-better-web-experience/index.html +1200 -0
  5. package/2025/05/16/progressive-web-app-is-live/index.html +1234 -0
  6. package/2025/05/26/welcome-to-the-future-of-network-pro/index.html +1202 -0
  7. package/404.html +970 -0
  8. package/archive/2015/index.html +1141 -0
  9. package/archive/2025/index.html +1379 -0
  10. package/assets/external/avatars.githubusercontent.com/u/170266279.png +0 -0
  11. package/assets/external/unpkg.com/mermaid@11/dist/mermaid.min.js +2607 -0
  12. package/assets/images/favicon.png +0 -0
  13. package/assets/javascripts/bundle.13a4f30d.min.js +16 -0
  14. package/assets/javascripts/bundle.13a4f30d.min.js.map +7 -0
  15. package/assets/javascripts/lunr/min/lunr.ar.min.js +1 -0
  16. package/assets/javascripts/lunr/min/lunr.da.min.js +18 -0
  17. package/assets/javascripts/lunr/min/lunr.de.min.js +18 -0
  18. package/assets/javascripts/lunr/min/lunr.du.min.js +18 -0
  19. package/assets/javascripts/lunr/min/lunr.el.min.js +1 -0
  20. package/assets/javascripts/lunr/min/lunr.es.min.js +18 -0
  21. package/assets/javascripts/lunr/min/lunr.fi.min.js +18 -0
  22. package/assets/javascripts/lunr/min/lunr.fr.min.js +18 -0
  23. package/assets/javascripts/lunr/min/lunr.he.min.js +1 -0
  24. package/assets/javascripts/lunr/min/lunr.hi.min.js +1 -0
  25. package/assets/javascripts/lunr/min/lunr.hu.min.js +18 -0
  26. package/assets/javascripts/lunr/min/lunr.hy.min.js +1 -0
  27. package/assets/javascripts/lunr/min/lunr.it.min.js +18 -0
  28. package/assets/javascripts/lunr/min/lunr.ja.min.js +1 -0
  29. package/assets/javascripts/lunr/min/lunr.jp.min.js +1 -0
  30. package/assets/javascripts/lunr/min/lunr.kn.min.js +1 -0
  31. package/assets/javascripts/lunr/min/lunr.ko.min.js +1 -0
  32. package/assets/javascripts/lunr/min/lunr.multi.min.js +1 -0
  33. package/assets/javascripts/lunr/min/lunr.nl.min.js +18 -0
  34. package/assets/javascripts/lunr/min/lunr.no.min.js +18 -0
  35. package/assets/javascripts/lunr/min/lunr.pt.min.js +18 -0
  36. package/assets/javascripts/lunr/min/lunr.ro.min.js +18 -0
  37. package/assets/javascripts/lunr/min/lunr.ru.min.js +18 -0
  38. package/assets/javascripts/lunr/min/lunr.sa.min.js +1 -0
  39. package/assets/javascripts/lunr/min/lunr.stemmer.support.min.js +1 -0
  40. package/assets/javascripts/lunr/min/lunr.sv.min.js +18 -0
  41. package/assets/javascripts/lunr/min/lunr.ta.min.js +1 -0
  42. package/assets/javascripts/lunr/min/lunr.te.min.js +1 -0
  43. package/assets/javascripts/lunr/min/lunr.th.min.js +1 -0
  44. package/assets/javascripts/lunr/min/lunr.tr.min.js +18 -0
  45. package/assets/javascripts/lunr/min/lunr.vi.min.js +1 -0
  46. package/assets/javascripts/lunr/min/lunr.zh.min.js +1 -0
  47. package/assets/javascripts/lunr/tinyseg.js +206 -0
  48. package/assets/javascripts/lunr/wordcut.js +6708 -0
  49. package/assets/javascripts/workers/search.d50fe291.min.js +42 -0
  50. package/assets/javascripts/workers/search.d50fe291.min.js.map +7 -0
  51. package/assets/stylesheets/main.342714a4.min.css +1 -0
  52. package/assets/stylesheets/main.342714a4.min.css.map +1 -0
  53. package/assets/stylesheets/palette.06af60db.min.css +1 -0
  54. package/assets/stylesheets/palette.06af60db.min.css.map +1 -0
  55. package/category/security/index.html +1141 -0
  56. package/contributing/index.html +1306 -0
  57. package/feed_json_created.json +1 -0
  58. package/feed_json_updated.json +1 -0
  59. package/feed_rss_created.xml +1 -0
  60. package/feed_rss_updated.xml +1 -0
  61. package/index.html +1461 -0
  62. package/package.json +1 -1
  63. package/search/search_index.json +1 -0
  64. package/sitemap.xml +51 -0
  65. package/sitemap.xml.gz +0 -0
  66. package/tags/index.html +1450 -0
  67. package/.browserslistrc +0 -12
  68. package/.editorconfig +0 -60
  69. package/.gitattributes +0 -199
  70. package/.github/workflows/auto-assign.yml +0 -32
  71. package/.github/workflows/build-and-deploy.yml +0 -117
  72. package/.github/workflows/dependency-review.yml +0 -20
  73. package/.github/workflows/publish.yml +0 -143
  74. package/.markdownlint.jsonc +0 -19
  75. package/.prettierignore +0 -38
  76. package/.prettierrc +0 -20
  77. package/.stylelintignore +0 -34
  78. package/.vscode/settings.json +0 -81
  79. package/CNAME +0 -1
  80. package/LICENSE.md +0 -265
  81. package/MKDOCS.md +0 -20
  82. package/assets/.gitkeep +0 -0
  83. package/assets/consulting-terms.pdf +0 -0
  84. package/assets/license/CC-BY-4.0-rdfa.xml +0 -741
  85. package/assets/license/CC-BY-4.0.xml +0 -25
  86. package/assets/license/COPYING-rdfa.xml +0 -1187
  87. package/assets/license/COPYING.odt +0 -0
  88. package/assets/linksheet.json +0 -8
  89. package/assets/pgp/contact.vcf +0 -13
  90. package/assets/pgp/contact@s.neteng.pro.aexpk +0 -17
  91. package/assets/pgp/contact@s.neteng.pro.asc +0 -17
  92. package/assets/pgp/github@sl.neteng.cc.aexpk +0 -29
  93. package/assets/pgp/github@sl.neteng.cc.asc +0 -29
  94. package/assets/pgp/support@neteng.pro.aexpk +0 -47
  95. package/assets/pgp/support@neteng.pro.asc +0 -47
  96. package/docs/LICENSE.md +0 -296
  97. package/docs/PRIVACY.md +0 -212
  98. package/docs/README.md +0 -115
  99. package/docs/TERMS-COND.md +0 -277
  100. package/docs/TERMS-USE.md +0 -212
  101. package/docs/license/CC-BY-4.0.html +0 -1235
  102. package/docs/license/CC-BY-4.0.md +0 -367
  103. package/docs/license/CC-BY-4.0.txt +0 -156
  104. package/docs/license/COPYING.html +0 -1413
  105. package/docs/license/COPYING.md +0 -611
  106. package/docs/license/COPYING.txt +0 -232
  107. package/docs_raw/.authors.yml +0 -11
  108. package/docs_raw/contributing.md +0 -166
  109. package/docs_raw/index.md +0 -28
  110. package/docs_raw/posts/betterweb.md +0 -59
  111. package/docs_raw/posts/drafts/.meta.yml +0 -1
  112. package/docs_raw/posts/live.md +0 -83
  113. package/docs_raw/posts/moved.md +0 -74
  114. package/docs_raw/posts/pwa.md +0 -65
  115. package/docs_raw/posts/secure-secure-shell.md +0 -561
  116. package/docs_raw/sitemap.xml +0 -83
  117. package/docs_raw/tags.md +0 -12
  118. package/eslint.config.mjs +0 -80
  119. package/mkdocs.yml +0 -115
  120. package/postcss.config.mjs +0 -5
  121. package/ref/README.md +0 -56
  122. package/ref/help.md +0 -17
  123. package/stylelint.config.js +0 -109
  124. /package/assets/{nsa-happy-dance.png → external/raw.githubusercontent.com/netwk-pro/netwk-pro.github.io/refs/heads/master/assets/nsa-happy-dance.png} +0 -0
  125. /package/{docs_raw/ext → ext}/__init__.py +0 -0
  126. /package/{docs_raw/ext → ext}/slugs.py +0 -0
  127. /package/{docs_raw/favicon.ico → favicon.ico} +0 -0
  128. /package/{docs_raw/favicon.svg → favicon.svg} +0 -0
  129. /package/{docs_raw/fontawesome → fontawesome}/LICENSE.txt +0 -0
  130. /package/{docs_raw/fontawesome → fontawesome}/brands/facebook.svg +0 -0
  131. /package/{docs_raw/fontawesome → fontawesome}/brands/instagram.svg +0 -0
  132. /package/{docs_raw/fontawesome → fontawesome}/brands/linkedin.svg +0 -0
  133. /package/{docs_raw/fontawesome → fontawesome}/brands/mastodon.svg +0 -0
  134. /package/{docs_raw/fontawesome → fontawesome}/solid/at.svg +0 -0
  135. /package/{docs_raw/hooks → hooks}/socialmedia.py +0 -0
  136. /package/{docs_raw/icon-180x180.png → icon-180x180.png} +0 -0
  137. /package/{docs_raw/icon-192x192.png → icon-192x192.png} +0 -0
  138. /package/{docs_raw/icon-512x512-maskable.png → icon-512x512-maskable.png} +0 -0
  139. /package/{docs_raw/icon-512x512.png → icon-512x512.png} +0 -0
  140. /package/{docs_raw/icon-splash.png → icon-splash.png} +0 -0
  141. /package/{docs_raw/img → img}/acode.png +0 -0
  142. /package/{docs_raw/img → img}/blog-move.png +0 -0
  143. /package/{docs_raw/img → img}/favicon.png +0 -0
  144. /package/{docs_raw/img → img}/linksheet.png +0 -0
  145. /package/{docs_raw/img → img}/logo.png +0 -0
  146. /package/{docs_raw/img → img}/pmx.png +0 -0
  147. /package/{docs_raw/img → img}/tosdr.png +0 -0
  148. /package/{docs_raw/img → img}/urlcheck.png +0 -0
  149. /package/{docs_raw/manifest.json → manifest.json} +0 -0
  150. /package/{docs_raw/robots.txt → robots.txt} +0 -0
  151. /package/{docs_raw/styles → styles}/default.css +0 -0
  152. /package/{docs_raw/styles → styles}/global.css +0 -0
  153. /package/{docs_raw/styles → styles}/normalize.css +0 -0
  154. /package/{docs_raw/styles → styles}/style.css +0 -0
package/.browserslistrc DELETED
@@ -1,12 +0,0 @@
1
- # .browserslistrc
2
- #
3
- # SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
4
- # This file is part of Network Pro.
5
- #
6
- # Supported browsers
7
-
8
- defaults and fully supports es6-module
9
- maintained node versions
10
- last 2 node major versions
11
- last 2 versions
12
- not dead
package/.editorconfig DELETED
@@ -1,60 +0,0 @@
1
- # .editorconfig
2
- #
3
- # SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
4
- # This file is part of Network Pro.
5
- #
6
- # EditorConfig helps developers define and maintain consistent
7
- # coding styles between different editors and IDEs
8
- # See http://editorconfig.org/ for full details
9
-
10
- ; top-most EditorConfig file
11
- root = true
12
-
13
- ; define basic and global for any file
14
- [*]
15
- charset = utf-8
16
- end_of_line = lf
17
- indent_size = 2
18
- indent_style = space
19
- max_line_length = 80
20
- insert_final_newline = true
21
- trim_trailing_whitespace = true
22
-
23
- ; DOS/Windows batch scripts -
24
- [*.{bat,cmd}]
25
- end_of_line = crlf
26
-
27
- ; Cascading Stylesheets -
28
- [*.css]
29
- indent_size = 2
30
-
31
- ; HTML files -
32
- [*.{html,htm}]
33
- indent_size = 2
34
-
35
- ; JavaScript files -
36
- [*.{mjs,js,ts}]
37
- curly_bracket_next_line = true
38
- quote_type = single
39
-
40
- ; JSON files (normal and commented version) -
41
- [*.{json,jsonc}]
42
- indent_size = 2
43
- quote_type = double
44
-
45
- ; Make - match it own default syntax
46
- [Makefile]
47
- indent_style = tab
48
-
49
- ; Markdown files - preserve trail spaces that means break line
50
- [*.{md,markdown}]
51
- trim_trailing_whitespace = false
52
-
53
- ; PowerShell - match defaults for New-ModuleManifest and PSScriptAnalyzer Invoke-Formatter
54
- [*.{ps1,psd1,psm1}]
55
- charset = utf-8-bom
56
- end_of_line = crlf
57
-
58
- ; YML config files - match it own default syntax
59
- [*.{yaml,yml}]
60
- indent_size = 2
package/.gitattributes DELETED
@@ -1,199 +0,0 @@
1
- # .gitattributes
2
- #
3
- # SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
4
- # This file is part of Network Pro.
5
- #
6
- ## GITATTRIBUTES FOR WEB PROJECTS
7
- #
8
- # These settings are for any web project.
9
- #
10
- # Details per file setting:
11
- # text These files should be normalized (i.e. convert CRLF to LF).
12
- # binary These files are binary and should be left untouched.
13
- #
14
- # Note that binary is a macro for -text -diff.
15
- ######################################################################
16
-
17
- ## AUTO-DETECT
18
- ## Handle line endings automatically for files detected as
19
- ## text and leave all files detected as binary untouched.
20
- ## This will handle all files NOT defined below.
21
- * text=auto
22
-
23
- ## SOURCE CODE
24
- *.bat text eol=crlf
25
- *.coffee text
26
- *.css text
27
- *.htm text
28
- *.html text
29
- *.inc text
30
- *.ini text
31
- *.js text
32
- *.json text
33
- *.jsx text
34
- *.less text
35
- *.od text
36
- *.onlydata text
37
- *.php text
38
- *.pl text
39
- *.py text
40
- *.rb text
41
- *.sass text
42
- *.scm text
43
- *.scss text
44
- *.sh text eol=lf
45
- *.sql text
46
- *.styl text
47
- *.tag text
48
- *.ts text
49
- *.tsx text
50
- *.xml text
51
- *.xhtml text
52
-
53
- ## DOCKER
54
- *.dockerignore text
55
- Dockerfile text
56
-
57
- ## DOCUMENTATION
58
- *.markdown text
59
- *.md text
60
- *.mdwn text
61
- *.mdown text
62
- *.mkd text
63
- *.mkdn text
64
- *.mdtxt text
65
- *.mdtext text
66
- *.txt text
67
- AUTHORS text
68
- CHANGELOG text
69
- CHANGES text
70
- CONTRIBUTING text
71
- COPYING text
72
- copyright text
73
- *COPYRIGHT* text
74
- INSTALL text
75
- license text
76
- LICENSE text
77
- NEWS text
78
- readme text
79
- *README* text
80
- TODO text
81
-
82
- ## TEMPLATES
83
- *.dot text
84
- *.ejs text
85
- *.haml text
86
- *.handlebars text
87
- *.hbs text
88
- *.hbt text
89
- *.jade text
90
- *.latte text
91
- *.mustache text
92
- *.njk text
93
- *.phtml text
94
- *.tmpl text
95
- *.tpl text
96
- *.twig text
97
-
98
- ## LINTERS
99
- .babelrc text
100
- .csslintrc text
101
- .eslintrc text
102
- .htmlhintrc text
103
- .jscsrc text
104
- .jshintrc text
105
- .jshintignore text
106
- .prettierrc text
107
- .stylelintrc text
108
-
109
- ## CONFIGS
110
- *.bowerrc text
111
- *.cnf text
112
- *.conf text
113
- *.config text
114
- .browserslistrc text
115
- .editorconfig text
116
- .gitattributes text
117
- .gitconfig text
118
- .gitignore text
119
- .htaccess text
120
- *.npmignore text
121
- *.yaml text
122
- *.yml text
123
- browserslist text
124
- Makefile text
125
- makefile text
126
-
127
- ## HEROKU
128
- Procfile text
129
- .slugignore text
130
-
131
- ## GRAPHICS
132
- *.ai binary
133
- *.bmp binary
134
- *.eps binary
135
- *.gif binary
136
- *.ico binary
137
- *.jng binary
138
- *.jp2 binary
139
- *.jpg binary
140
- *.jpeg binary
141
- *.jpx binary
142
- *.jxr binary
143
- *.pdf binary
144
- *.png binary
145
- *.psb binary
146
- *.psd binary
147
- *.svg text
148
- *.svgz binary
149
- *.tif binary
150
- *.tiff binary
151
- *.wbmp binary
152
- *.webp binary
153
-
154
- ## AUDIO
155
- *.kar binary
156
- *.m4a binary
157
- *.mid binary
158
- *.midi binary
159
- *.mp3 binary
160
- *.ogg binary
161
- *.ra binary
162
-
163
- ## VIDEO
164
- *.3gpp binary
165
- *.3gp binary
166
- *.as binary
167
- *.asf binary
168
- *.asx binary
169
- *.fla binary
170
- *.flv binary
171
- *.m4v binary
172
- *.mng binary
173
- *.mov binary
174
- *.mp4 binary
175
- *.mpeg binary
176
- *.mpg binary
177
- *.ogv binary
178
- *.swc binary
179
- *.swf binary
180
- *.webm binary
181
-
182
- ## ARCHIVES
183
- *.7z binary
184
- *.gz binary
185
- *.jar binary
186
- *.rar binary
187
- *.tar binary
188
- *.zip binary
189
-
190
- ## FONTS
191
- *.ttf binary
192
- *.eot binary
193
- *.otf binary
194
- *.woff binary
195
- *.woff2 binary
196
-
197
- ## EXECUTABLES
198
- *.exe binary
199
- *.pyc binary
@@ -1,32 +0,0 @@
1
- # .github/workflows/auto-assign.yml
2
- #
3
- # SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
4
- # This file is part of Network Pro
5
- #
6
- # This workflow will auto-assign an issue or PR to a specific user
7
- # when a new issue or PR is opened.
8
-
9
- name: Auto Assign
10
-
11
- on:
12
- issues:
13
- types: [opened]
14
- pull_request:
15
- types: [opened, edited, synchronize, reopened]
16
-
17
- jobs:
18
- auto-assign:
19
- runs-on: ubuntu-24.04
20
-
21
- permissions:
22
- issues: write
23
- pull-requests: write
24
-
25
- steps:
26
- - name: "Auto-assign issue or PR"
27
- uses: pozil/auto-assign-issue@v2
28
- with:
29
- repo-token: ${{ secrets.SD311 }}
30
- assignees: SunDevil311
31
- numOfAssignee: 1
32
- allowSelfAssign: true
@@ -1,117 +0,0 @@
1
- # .github/workflows/build-and-deploy.yml
2
- #
3
- # SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
4
- # This file is part of Network Pro
5
-
6
- name: Build Site and Deploy to GH Pages
7
-
8
- on:
9
- release:
10
- types: [created]
11
- workflow_dispatch:
12
-
13
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
14
- permissions:
15
- contents: read
16
- pages: write
17
- id-token: write
18
-
19
- # Allow one concurrent deployment
20
- concurrency:
21
- group: "pages"
22
- cancel-in-progress: true
23
-
24
- jobs:
25
- check-codeql:
26
- name: Check CodeQL Analysis
27
- runs-on: ubuntu-24.04
28
- # Continue workflow even if this job fails due to inability to find and/or check CodeQL workflow
29
- continue-on-error: true
30
- steps:
31
- - name: Checkout repository
32
- uses: actions/checkout@v4
33
-
34
- - name: Set up GitHub CLI
35
- run: sudo apt-get install gh
36
-
37
- - name: Authenticate GitHub CLI
38
- env:
39
- GH_PAT: ${{ secrets.GH_PAT }}
40
- run: echo "${{ secrets.GH_PAT }}" | gh auth login --with-token
41
-
42
- - name: Check CodeQL Workflow
43
- env:
44
- GH_PAT: ${{ secrets.GH_PAT }}
45
- run: |
46
- gh run list --workflow "CodeQL" --json conclusion --jq '.[0].conclusion' > codeql_status.txt
47
- CODEQL_STATUS=$(cat codeql_status.txt)
48
- if [[ "$CODEQL_STATUS" != "success" ]]; then
49
- echo "CodeQL Analysis did not succeed. Exiting..."
50
- exit 1
51
- fi
52
- rm codeql_status.txt
53
-
54
- build:
55
- needs: check-codeql
56
- runs-on: ubuntu-24.04
57
- steps:
58
- - name: Checkout repository
59
- uses: actions/checkout@v4
60
-
61
- - name: Set up Node.js
62
- uses: actions/setup-node@v4
63
- with:
64
- node-version: lts/*
65
- check-latest: true
66
- cache: npm
67
-
68
- - name: Setup Pages
69
- uses: actions/configure-pages@v5
70
-
71
- - name: Cache Node.js modules
72
- uses: actions/cache@v4
73
- with:
74
- path: ~/.npm
75
- key: ${{ runner.os }}-node-lts-${{ hashFiles('package-lock.json', 'package.json', '.npmrc') }}
76
- restore-keys: |
77
- ${{ runner.os }}-node-lts-build-
78
- ${{ runner.os }}-node-lts-
79
- ${{ runner.os }}-
80
-
81
- - name: Install Node.js dependencies
82
- run: npm ci
83
-
84
- # MkDocs Integration Begins
85
- - name: Set up Python
86
- uses: actions/setup-python@v5
87
- with:
88
- python-version: "3.13"
89
-
90
- - name: Install MkDocs and plugins
91
- run: |
92
- pip install mkdocs mkdocs-material mkdocs-material-extensions mkdocs-get-deps mkdocs-rss-plugin
93
-
94
- # Strict mode temporarily disabled as workaround for mkdocs-material
95
- - name: Build MkDocs documentation
96
- run: mkdocs build
97
- # MkDocs Integration Ends
98
-
99
- - name: Copy package.json to build directory
100
- run: cp package.json build/
101
-
102
- - name: Upload artifact
103
- uses: actions/upload-pages-artifact@v3
104
- with:
105
- path: ./build
106
-
107
- deploy:
108
- needs: [check-codeql, build]
109
- environment:
110
- name: github-pages
111
- url: ${{ steps.deployment.outputs.page_url }}
112
- runs-on: ubuntu-24.04
113
-
114
- steps:
115
- - name: Deploy to GitHub Pages
116
- id: deployment
117
- uses: actions/deploy-pages@v4
@@ -1,20 +0,0 @@
1
- # .github/workflows/dependency-review.yml
2
- #
3
- # SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
4
- # This file is part of Network Pro
5
-
6
- name: Dependency Review
7
- on: [pull_request]
8
-
9
- permissions:
10
- contents: read
11
-
12
- jobs:
13
- dependency-review:
14
- runs-on: ubuntu-24.04
15
- steps:
16
- - name: "Checkout Repository"
17
- uses: actions/checkout@v4
18
-
19
- - name: "Dependency Review"
20
- uses: actions/dependency-review-action@v4
@@ -1,143 +0,0 @@
1
- # .github/workflows/publish.yml
2
- #
3
- # SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
4
- # This file is part of Network Pro
5
-
6
- name: Publish to Registries
7
-
8
- on:
9
- workflow_run:
10
- workflows: ["Build Site and Deploy to GH Pages"]
11
- types:
12
- - completed
13
-
14
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15
- permissions:
16
- contents: read
17
- pages: write
18
- id-token: write
19
-
20
- # Allow one concurrent deployment
21
- concurrency:
22
- group: "pages"
23
- cancel-in-progress: true
24
-
25
- jobs:
26
- build:
27
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
28
- runs-on: ubuntu-24.04
29
- steps:
30
- - name: Checkout repository
31
- uses: actions/checkout@v4
32
-
33
- - name: Set up Node.js
34
- uses: actions/setup-node@v4
35
- with:
36
- node-version: lts/*
37
- check-latest: true
38
- cache: npm
39
-
40
- - name: Cache Node.js modules
41
- uses: actions/cache@v4
42
- with:
43
- path: ~/.npm
44
- key: ${{ runner.os }}-node-lts-${{ hashFiles('package-lock.json', 'package.json', '.npmrc') }}
45
- restore-keys: |
46
- ${{ runner.os }}-node-lts-build-
47
- ${{ runner.os }}-node-lts-
48
- ${{ runner.os }}-
49
-
50
- - name: Install Node.js dependencies
51
- run: npm ci
52
-
53
- # MkDocs Integration Begins
54
- - name: Set up Python
55
- uses: actions/setup-python@v5
56
- with:
57
- python-version: "3.13"
58
-
59
- - name: Install MkDocs and plugins
60
- run: |
61
- pip install mkdocs mkdocs-material mkdocs-material-extensions mkdocs-get-deps mkdocs-rss-plugin
62
-
63
- # Strict mode temporarily disabled as workaround for mkdocs-material
64
- - name: Build MkDocs documentation
65
- run: mkdocs build
66
- # MkDocs Integration Ends
67
-
68
- - name: Copy package.json and README.md to build directory
69
- run: cp package.json README.md build/
70
-
71
- - name: Upload build artifacts
72
- uses: actions/upload-artifact@v4
73
- with:
74
- name: build-artifacts
75
- path: build/
76
-
77
- publish-npm:
78
- needs: build
79
- runs-on: ubuntu-24.04
80
- steps:
81
- - name: Download build artifacts
82
- uses: actions/download-artifact@v4
83
- with:
84
- name: build-artifacts
85
- path: build/
86
-
87
- - name: Set up Node.js for npmjs
88
- uses: actions/setup-node@v4
89
- with:
90
- node-version: lts/*
91
- check-latest: true
92
- registry-url: https://registry.npmjs.org/
93
- cache: npm
94
-
95
- - name: Set up Git user
96
- run: |
97
- git config --global user.email "github@sl.neteng.cc"
98
- git config --global user.name "SunDevil311"
99
-
100
- - name: Copy package.json and README.md to build directory
101
- run: cp package.json README.md build/
102
-
103
- - name: Publish package to npmjs
104
- working-directory: ./build
105
- run: npm publish --access public
106
- env:
107
- NODE_AUTH_TOKEN: ${{ secrets.NPM_NETPRO }}
108
-
109
- publish-gpr:
110
- needs: build
111
- runs-on: ubuntu-24.04
112
- steps:
113
- - name: Download build artifacts
114
- uses: actions/download-artifact@v4
115
- with:
116
- name: build-artifacts
117
- path: build/
118
-
119
- - name: Set up Node.js for GPR
120
- uses: actions/setup-node@v4
121
- with:
122
- node-version: lts/*
123
- check-latest: true
124
- registry-url: https://npm.pkg.github.com/
125
- cache: npm
126
-
127
- - name: Set up Git user
128
- run: |
129
- git config --global user.email "github@sl.neteng.cc"
130
- git config --global user.name "SunDevil311"
131
-
132
- - name: Update package name for GPR
133
- run: |
134
- sed -i 's/"name": ".*"/"name": "@netwk-pro\/blog"/' build/package.json
135
-
136
- - name: Copy package.json and README.md to build directory
137
- run: cp package.json README.md build/
138
-
139
- - name: Publish package to GPR
140
- working-directory: ./build
141
- run: npm publish
142
- env:
143
- NODE_AUTH_TOKEN: ${{ secrets.GH_PAT }}
@@ -1,19 +0,0 @@
1
- /* ==========================================================================
2
- markdownlint.jsonc
3
-
4
- SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
- This file is part of Network Pro.
6
- ========================================================================== */
7
-
8
- {
9
- "default": true,
10
- "MD041": false, // First line in file should be a top level header
11
- "MD033": false, // Inline HTML
12
- "MD013": false, // Line length
13
- "MD025": false, // Multiple top level headers in the same document
14
- "options": {
15
- "frontMatter": "^---\\n[\\s\\S]*?\\n---" // YAML front matter regex
16
- },
17
- "MD007": { "indent": 2 }, // Set consistent unordered list indentation (e.g., 2 spaces)
18
- "MD029": { "style": "ordered" } // Enforce consistent ordered list numbering
19
- }
package/.prettierignore DELETED
@@ -1,38 +0,0 @@
1
- # .prettierignore
2
- #
3
- # SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
4
- # This file is part of Network Pro.
5
-
6
- # Custom ignores
7
- .markdownlint.jsonc
8
-
9
-
10
- # Node.js dependencies
11
- node_modules
12
-
13
- # Build artifacts
14
- dist
15
- .vite
16
- .cache
17
- coverage
18
-
19
- # Temporary files
20
- *.lock
21
- *.tmp
22
- *.swp
23
- *.bak
24
-
25
- # Static assets
26
- **/*.png
27
- **/*.jpg
28
- **/*.jpeg
29
- **/*.gif
30
- **/*.svg
31
- **/*.woff
32
- **/*.woff2
33
- **/*.ttf
34
- **/*.eot
35
-
36
- # Configuration files
37
- package.json
38
- package-lock.json
package/.prettierrc DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "printWidth": 80,
3
- "tabWidth": 2,
4
- "useTabs": false,
5
- "semi": true,
6
- "singleQuote": false,
7
- "quoteProps": "as-needed",
8
- "jsxSingleQuote": true,
9
- "trailingComma": "es5",
10
- "bracketSpacing": true,
11
- "objectWrap": "preserve",
12
- "bracketSameLine": true,
13
- "arrowParens": "always",
14
- "requirePragma": false,
15
- "insertPragma": false,
16
- "proseWrap": "preserve",
17
- "htmlWhitespaceSensitivity": "strict",
18
- "endOfLine": "lf",
19
- "singleAttributePerLine": false
20
- }
package/.stylelintignore DELETED
@@ -1,34 +0,0 @@
1
- # .stylelintignore
2
- #
3
- # SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
4
- # This file is part of Network Pro.
5
-
6
- # Node.js dependencies
7
- node_modules
8
-
9
- # Build artifacts
10
- build
11
- .vite
12
- .cache
13
- coverage
14
-
15
- # Temporary files
16
- *.lock
17
- *.tmp
18
- *.swp
19
- *.bak
20
-
21
- # Static assets
22
- **/*.png
23
- **/*.jpg
24
- **/*.jpeg
25
- **/*.gif
26
- **/*.svg
27
- **/*.woff
28
- **/*.woff2
29
- **/*.ttf
30
- **/*.eot
31
-
32
- # Configuration files
33
- package.json
34
- package-lock.json