plccheck 2.8.0 → 2.8.1
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/README.md +2 -20
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
CLI wrapper for the Siemens PLC checker/LSP written in Go.
|
|
4
4
|
|
|
5
|
+
Documentation: [danielv123.github.io/vscode_siemens/docs](https://danielv123.github.io/vscode_siemens/docs/index.html)
|
|
6
|
+
|
|
5
7
|
## Usage
|
|
6
8
|
|
|
7
9
|
```bash
|
|
@@ -37,23 +39,3 @@ npx plccheck test ./my-plc-project --coverage-json coverage.json --coverage-lcov
|
|
|
37
39
|
```
|
|
38
40
|
|
|
39
41
|
Note: `--events-json` prints a stream of execution events to stdout, while `--coverage-json` writes a finalized coverage report to a file. Coverage artifacts include statement, function, and branch data where runtime data is available. For AI analysis, use the file artifact from `--coverage-json`.
|
|
40
|
-
|
|
41
|
-
## Telemetry
|
|
42
|
-
|
|
43
|
-
The npm wrapper marks CLI invocations so the Go binary can send minimal operational telemetry: subcommand, outcome, duration, safe option shape, aggregate `check` counts, and bounded diagnostic-code counts. It does not send file paths, PLC root names, source text, diagnostic messages, or raw command arguments.
|
|
44
|
-
|
|
45
|
-
CI invocations include a `ci` tag. Set `PLCCHECK_TELEMETRY=0` or `DO_NOT_TRACK=1` to disable this reporting. Set `PLCCHECK_TELEMETRY_ENDPOINT` to send logs to a different `/v1/logs` endpoint.
|
|
46
|
-
|
|
47
|
-
## Publishing (maintainers)
|
|
48
|
-
|
|
49
|
-
Initial publish requires npm auth once (to create the package entries in the registry). After that, releases use GitHub Actions + npm Trusted Publishing.
|
|
50
|
-
|
|
51
|
-
To release a new version:
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
cd ../.. # repo root
|
|
55
|
-
npm version patch # or minor/major
|
|
56
|
-
git push --follow-tags
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
`npm version` automatically syncs the version across all `plccheck-*` platform packages before it creates the git tag.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "plccheck",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"description": "Siemens PLC language checker + LSP CLI (SCL/ST/LAD/FBD, etc.)",
|
|
5
5
|
"license": "CC-BY-NC-4.0",
|
|
6
6
|
"bin": {
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"version": "node ../scripts/plccheck-npm-version-hook.mjs"
|
|
15
15
|
},
|
|
16
16
|
"optionalDependencies": {
|
|
17
|
-
"@danielv123/plccheck-win-x64": "2.8.
|
|
18
|
-
"@danielv123/plccheck-win-arm64": "2.8.
|
|
19
|
-
"@danielv123/plccheck-linux-x64": "2.8.
|
|
20
|
-
"@danielv123/plccheck-linux-arm64": "2.8.
|
|
21
|
-
"@danielv123/plccheck-darwin-x64": "2.8.
|
|
22
|
-
"@danielv123/plccheck-darwin-arm64": "2.8.
|
|
17
|
+
"@danielv123/plccheck-win-x64": "2.8.1",
|
|
18
|
+
"@danielv123/plccheck-win-arm64": "2.8.1",
|
|
19
|
+
"@danielv123/plccheck-linux-x64": "2.8.1",
|
|
20
|
+
"@danielv123/plccheck-linux-arm64": "2.8.1",
|
|
21
|
+
"@danielv123/plccheck-darwin-x64": "2.8.1",
|
|
22
|
+
"@danielv123/plccheck-darwin-arm64": "2.8.1"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|