@tak-ps/node-cot 3.5.0 → 3.5.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/doc.yml +46 -0
- package/CHANGELOG.md +8 -0
- package/package.json +6 -4
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
name: Documentation
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: ["main"]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
pages: write
|
|
12
|
+
id-token: write
|
|
13
|
+
|
|
14
|
+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
|
15
|
+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
|
16
|
+
concurrency:
|
|
17
|
+
group: "pages"
|
|
18
|
+
cancel-in-progress: false
|
|
19
|
+
|
|
20
|
+
jobs:
|
|
21
|
+
deploy:
|
|
22
|
+
environment:
|
|
23
|
+
name: github-pages
|
|
24
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
25
|
+
runs-on: ubuntu-latest
|
|
26
|
+
steps:
|
|
27
|
+
- name: Checkout
|
|
28
|
+
uses: actions/checkout@v3
|
|
29
|
+
- name: Setup Pages
|
|
30
|
+
uses: actions/configure-pages@v3
|
|
31
|
+
- uses: actions/setup-node@v3
|
|
32
|
+
with:
|
|
33
|
+
node-version: 18
|
|
34
|
+
registry-url: https://registry.npmjs.org/
|
|
35
|
+
- name: npm install
|
|
36
|
+
run: npm install
|
|
37
|
+
- name: npm run doc
|
|
38
|
+
run: npm run doc
|
|
39
|
+
- name: Upload artifact
|
|
40
|
+
uses: actions/upload-pages-artifact@v1
|
|
41
|
+
with:
|
|
42
|
+
path: './docs/'
|
|
43
|
+
- name: Deploy to GitHub Pages
|
|
44
|
+
id: deployment
|
|
45
|
+
uses: actions/deploy-pages@v2
|
|
46
|
+
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tak-ps/node-cot",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.5.
|
|
4
|
+
"version": "3.5.2",
|
|
5
5
|
"description": "Lightweight JavaScript library for parsing and manipulating TAK messages",
|
|
6
|
+
"author": "Nick Ingalls <nick@ingalls.ca>",
|
|
6
7
|
"main": "dist/index.js",
|
|
7
8
|
"types": "index.ts",
|
|
8
9
|
"scripts": {
|
|
9
10
|
"test": "ts-node-test test/",
|
|
10
11
|
"lint": "eslint *.ts lib/*.ts",
|
|
12
|
+
"doc": "typedoc index.ts",
|
|
11
13
|
"build": "tsc --build",
|
|
12
14
|
"pretest": "npm run lint"
|
|
13
15
|
},
|
|
@@ -22,8 +24,8 @@
|
|
|
22
24
|
"xml-js": "^1.6.11"
|
|
23
25
|
},
|
|
24
26
|
"devDependencies": {
|
|
25
|
-
"@types/node": "^
|
|
26
|
-
"@types/tape": "^
|
|
27
|
+
"@types/node": "^20.0.0",
|
|
28
|
+
"@types/tape": "^5.6.0",
|
|
27
29
|
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
|
28
30
|
"@typescript-eslint/parser": "^5.54.0",
|
|
29
31
|
"eslint": "^8.35.0",
|
|
@@ -31,6 +33,7 @@
|
|
|
31
33
|
"tape": "^5.6.1",
|
|
32
34
|
"ts-node": "^10.9.1",
|
|
33
35
|
"ts-node-test": "^0.4.0",
|
|
36
|
+
"typedoc": "^0.24.7",
|
|
34
37
|
"typescript": "^5.0.0"
|
|
35
38
|
},
|
|
36
39
|
"repository": {
|
|
@@ -46,7 +49,6 @@
|
|
|
46
49
|
"target",
|
|
47
50
|
"tactical"
|
|
48
51
|
],
|
|
49
|
-
"author": "Vidterra LLC",
|
|
50
52
|
"license": "MIT",
|
|
51
53
|
"bugs": {
|
|
52
54
|
"url": "https://github.com/tak-ps/node-cot/issues"
|