dot-language-support 2.0.9 → 2.0.11
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/CD.yml +8 -5
- package/.github/workflows/CI.yml +3 -4
- package/CITATION.cff +14 -0
- package/package.json +5 -5
- package/jest.config.mjs +0 -19
package/.github/workflows/CD.yml
CHANGED
|
@@ -11,21 +11,24 @@ jobs:
|
|
|
11
11
|
build:
|
|
12
12
|
runs-on: ubuntu-latest
|
|
13
13
|
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
id-token: write
|
|
17
|
+
|
|
14
18
|
steps:
|
|
15
19
|
- uses: actions/checkout@v3
|
|
16
20
|
|
|
17
|
-
-
|
|
18
|
-
uses: actions/setup-node@v3
|
|
21
|
+
- uses: actions/setup-node@v3
|
|
19
22
|
with:
|
|
20
|
-
node-version:
|
|
23
|
+
node-version: 20
|
|
21
24
|
cache: npm
|
|
22
25
|
registry-url: https://registry.npmjs.org
|
|
23
26
|
|
|
24
|
-
- run: npm ci
|
|
27
|
+
- run: npm ci
|
|
25
28
|
- run: npm run compile
|
|
26
29
|
- run: npm test
|
|
27
30
|
env:
|
|
28
31
|
CI: true
|
|
29
|
-
- run: npm publish
|
|
32
|
+
- run: npm publish --provenance --access public
|
|
30
33
|
env:
|
|
31
34
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/.github/workflows/CI.yml
CHANGED
|
@@ -8,18 +8,17 @@ jobs:
|
|
|
8
8
|
|
|
9
9
|
strategy:
|
|
10
10
|
matrix:
|
|
11
|
-
node-version: [16.x, 18.x, 19.x]
|
|
11
|
+
node-version: [16.x, 18.x, 19.x, 20.x]
|
|
12
12
|
|
|
13
13
|
steps:
|
|
14
14
|
- uses: actions/checkout@v3
|
|
15
15
|
|
|
16
|
-
-
|
|
17
|
-
uses: actions/setup-node@v3
|
|
16
|
+
- uses: actions/setup-node@v3
|
|
18
17
|
with:
|
|
19
18
|
node-version: ${{ matrix.node-version }}
|
|
20
19
|
cache: npm
|
|
21
20
|
|
|
22
|
-
- run: npm ci
|
|
21
|
+
- run: npm ci
|
|
23
22
|
- run: npm run compile
|
|
24
23
|
- run: npm test
|
|
25
24
|
env:
|
package/CITATION.cff
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
title: DOT Language Support
|
|
3
|
+
message: If you use this software, please cite it using the metadata from this file.
|
|
4
|
+
type: software
|
|
5
|
+
authors:
|
|
6
|
+
- given-names: Niklas
|
|
7
|
+
family-names: Mollenhauer
|
|
8
|
+
repository-code: 'https://github.com/nikeee/dot-language-support'
|
|
9
|
+
abstract: A language service library for the DOT language (graphviz). Used by dot-language-server and edotor.net.
|
|
10
|
+
keywords:
|
|
11
|
+
- dot
|
|
12
|
+
- graphviz
|
|
13
|
+
- language-server-protocol
|
|
14
|
+
license: MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dot-language-support",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.11",
|
|
4
4
|
"description": "Parser and language service for graphviz (dot) files",
|
|
5
5
|
"author": "Niklas Mollenhauer",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"vscode-languageserver-types": "^3.17.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@vitest/coverage-c8": "^0.
|
|
37
|
-
"rimraf": "^
|
|
38
|
-
"typescript": "^5.0.
|
|
39
|
-
"vitest": "^0.
|
|
36
|
+
"@vitest/coverage-c8": "^0.31.1",
|
|
37
|
+
"rimraf": "^5.0.1",
|
|
38
|
+
"typescript": "^5.0.4",
|
|
39
|
+
"vitest": "^0.31.1"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=18"
|
package/jest.config.mjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/** @type {import("@jest/types").Config.ProjectConfig} */
|
|
2
|
-
const config = {
|
|
3
|
-
preset: "ts-jest",
|
|
4
|
-
testEnvironment: "node",
|
|
5
|
-
transform: {
|
|
6
|
-
"\\.[jt]sx?$": "ts-jest",
|
|
7
|
-
},
|
|
8
|
-
globals: {
|
|
9
|
-
"ts-jest": {
|
|
10
|
-
"useESM": true,
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
moduleNameMapper: {
|
|
14
|
-
"(.+)\\.js": "$1",
|
|
15
|
-
},
|
|
16
|
-
extensionsToTreatAsEsm: [".ts"],
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export default config;
|