@platformos/platformos-check-node 0.0.2 → 0.0.4
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 +3 -3
- package/dist/backfill-docs/doc-updater.js +1 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# `@platformos/
|
|
1
|
+
# `@platformos/platformos-check-node`
|
|
2
2
|
|
|
3
|
-
This is the Node.js wrapper of the runtime-agnostic [`@platformos/
|
|
3
|
+
This is the Node.js wrapper of the runtime-agnostic [`@platformos/platformos-check-common`](https://npm.im/@platformos/platformos-check-common) package. It comes with batteries included.
|
|
4
4
|
|
|
5
|
-
See the [@platformos/
|
|
5
|
+
See the [@platformos/platformos-check-common README](../platformos-check-common) for more details.
|
|
6
6
|
|
|
7
7
|
## License
|
|
8
8
|
|
|
@@ -140,9 +140,7 @@ async function updateDocInSource(source, paramsToAdd) {
|
|
|
140
140
|
// Reconstruct the doc tag
|
|
141
141
|
const newDocTag = `{% doc %}${newDocContent}{% enddoc %}`;
|
|
142
142
|
// Replace the old doc tag with the new one
|
|
143
|
-
return
|
|
144
|
-
newDocTag +
|
|
145
|
-
source.slice(docInfo.endIndex));
|
|
143
|
+
return source.slice(0, docInfo.startIndex) + newDocTag + source.slice(docInfo.endIndex);
|
|
146
144
|
}
|
|
147
145
|
/**
|
|
148
146
|
* Get the list of existing parameter names from a file.
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformos/platformos-check-node",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"author": "platformOS",
|
|
7
|
-
"homepage": "https://github.com/Platform-OS/platformos-tools/tree/
|
|
7
|
+
"homepage": "https://github.com/Platform-OS/platformos-tools/tree/master/packages/platformos-check-node#readme",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "https://github.com/Platform-OS/platformos-tools.git",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"type-check": "tsc --noEmit"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@platformos/platformos-check-common": "0.0.
|
|
37
|
-
"@platformos/platformos-check-docs-updater": "0.0.
|
|
36
|
+
"@platformos/platformos-check-common": "0.0.4",
|
|
37
|
+
"@platformos/platformos-check-docs-updater": "0.0.4",
|
|
38
38
|
"glob": "^8.0.3",
|
|
39
39
|
"vscode-uri": "^3.0.7",
|
|
40
40
|
"yaml": "^2.3.0"
|