Skip to content

Commit 82c71bf

Browse files
Phil Varnerm-mohr
andauthored
update github ci and npm package versions (#26)
* update github ci and npm package versions * add gfm remark plugin --------- Co-authored-by: Matthias Mohr <[email protected]>
1 parent 12f9873 commit 82c71bf

File tree

6 files changed

+32
-27
lines changed

6 files changed

+32
-27
lines changed

.github/remark.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
plugins:
2+
# GitHub Flavored Markdown
3+
- remark-gfm
24
# Check links
35
- validate-links
46
# Apply some recommended defaults for consistency
@@ -8,6 +10,7 @@ plugins:
810
# General formatting
911
- - remark-lint-emphasis-marker
1012
- '*'
13+
- remark-lint-no-undefined-references
1114
- remark-lint-hard-break-spaces
1215
- remark-lint-blockquote-indentation
1316
- remark-lint-no-consecutive-blank-lines

.github/workflows/publish.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Inject env variables
10-
uses: rlespinasse/github-slug-action@v3.x
11-
- uses: actions/checkout@v2
10+
uses: rlespinasse/github-slug-action@v4.4.1
11+
- uses: actions/checkout@v4
1212
- name: deploy JSON Schema for version ${{ env.GITHUB_REF_SLUG }}
13-
uses: peaceiris/actions-gh-pages@v3
13+
uses: peaceiris/actions-gh-pages@v3.9.3
1414
with:
1515
github_token: ${{ secrets.GITHUB_TOKEN }}
1616
publish_dir: json-schema

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ jobs:
44
deploy:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/setup-node@v2
7+
- uses: actions/setup-node@v3
88
with:
99
node-version: 'lts/*'
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
- run: |
1212
npm install
1313
npm test

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Thumbs.db
99
# Node / npm
1010
.npm
1111
/node_modules/
12-
/package-lock.json
12+
package-lock.json

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,18 @@ This is the place to add a short introduction.
1919
## Fields
2020

2121
The fields in the table below can be used in these parts of STAC documents:
22+
2223
- [ ] Catalogs
2324
- [x] Collections
2425
- [x] Item Properties (incl. Summaries in Collections)
2526
- [x] Assets (for both Collections and Items, incl. Item Asset Definitions in Collections)
2627
- [ ] Links
2728

28-
| Field Name | Type | Description |
29-
| -------------------- | ------------------------- | ----------- |
29+
| Field Name | Type | Description |
30+
| -------------------- | ------------------------- | -------------------------------------------- |
3031
| template:new_field | string | **REQUIRED**. Describe the required field... |
31-
| template:xyz | [XYZ Object](#xyz-object) | Describe the field... |
32-
| template:another_one | \[number] | Describe the field... |
32+
| template:xyz | [XYZ Object](#xyz-object) | Describe the field... |
33+
| template:another_one | \[number] | Describe the field... |
3334

3435
### Additional Field Information
3536

@@ -41,20 +42,20 @@ This is a much more detailed description of the field `template:new_field`...
4142

4243
This is the introduction for the purpose and the content of the XYZ Object...
4344

44-
| Field Name | Type | Description |
45-
| ----------- | ------ | ----------- |
46-
| x | number | **REQUIRED**. Describe the required field... |
47-
| y | number | **REQUIRED**. Describe the required field... |
48-
| z | number | **REQUIRED**. Describe the required field... |
45+
| Field Name | Type | Description |
46+
| ---------- | ------ | -------------------------------------------- |
47+
| x | number | **REQUIRED**. Describe the required field... |
48+
| y | number | **REQUIRED**. Describe the required field... |
49+
| z | number | **REQUIRED**. Describe the required field... |
4950

5051
## Relation types
5152

5253
The following types should be used as applicable `rel` types in the
5354
[Link Object](https://github.com/radiantearth/stac-spec/tree/master/item-spec/item-spec.md#link-object).
5455

55-
| Type | Description |
56-
| ------------------- | ----------- |
57-
| fancy-rel-type | This link points to a fancy resource. |
56+
| Type | Description |
57+
| -------------- | ------------------------------------- |
58+
| fancy-rel-type | This link points to a fancy resource. |
5859

5960
## Contributing
6061

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "stac-extensions",
2+
"name": "stac-extension-template",
33
"version": "1.0.0",
44
"scripts": {
55
"test": "npm run check-markdown && npm run check-examples",
@@ -8,13 +8,14 @@
88
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/template/v1.0.0/schema.json=./json-schema/schema.json"
99
},
1010
"dependencies": {
11-
"remark-cli": "^8.0.0",
12-
"remark-lint": "^7.0.0",
13-
"remark-lint-no-html": "^2.0.0",
14-
"remark-preset-lint-consistent": "^3.0.0",
15-
"remark-preset-lint-markdown-style-guide": "^3.0.0",
16-
"remark-preset-lint-recommended": "^4.0.0",
17-
"remark-validate-links": "^10.0.0",
18-
"stac-node-validator": "^1.0.0"
11+
"remark-cli": "^12.0.0",
12+
"remark-gfm": "^4.0.0",
13+
"remark-lint": "^9.1.2",
14+
"remark-lint-no-html": "^3.1.2",
15+
"remark-preset-lint-consistent": "^5.1.2",
16+
"remark-preset-lint-markdown-style-guide": "^5.1.3",
17+
"remark-preset-lint-recommended": "^6.1.3",
18+
"remark-validate-links": "^13.0.0",
19+
"stac-node-validator": "^1.3.0"
1920
}
2021
}

0 commit comments

Comments
 (0)