@widgetic/dev-tools 0.3.7 → 0.3.9
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/CHANGELOG.md +4 -0
- package/README.md +78 -2
- package/bin/comment-console-logs.mjs +146 -0
- package/bin/publish-package.mjs +10 -4
- package/lib/comment-console-logs.d.mts +128 -0
- package/lib/comment-console-logs.mjs +609 -0
- package/lib/frontend-layout.mjs +4 -1
- package/lib/publish-to-npm.mjs +2 -0
- package/lib/readme-contract.mjs +9 -3
- package/package.json +6 -3
- package/test/comment-console-logs.test.mjs +1104 -0
- package/test/frontend-layout.test.mjs +3 -1
- package/test/package-lists.test.mjs +89 -0
- package/test/publish-to-npm.test.mjs +2 -0
- package/test/readme-contract.test.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@widgetic/dev-tools",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Build-time checks and dev tooling shared by the published @widgetic packages, released once so the repositories that consume them cannot drift apart. Currently: check-runtime-deps (with the fixture suite that proves it fails), the Vite sibling-$lib remap, the canonical Frontend sibling layout that builds every consumer's dev-alias tables, and check-links — the link-doctor that fails when a sibling symlink dangles, a promised dist/ file is missing, or a dead checkout name lingers,
|
|
5
|
+
"description": "Build-time checks and dev tooling shared by the published @widgetic packages, released once so the repositories that consume them cannot drift apart. Currently: check-runtime-deps (with the fixture suite that proves it fails), the Vite sibling-$lib remap, the canonical Frontend sibling layout that builds every consumer's dev-alias tables, and check-links — the link-doctor that fails when a sibling symlink dangles, a promised dist/ file is missing, or a dead checkout name lingers, check-design-system-peers — which fails when the two design-system peers' lockfiles drift apart, and comment-console-logs — which comments out the debugging console calls of a codebase and keeps every one of them in the code.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://gitlab.com/widgeticai/Frontend/dev-tools.git"
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"check-readme-contracts-fixtures": "bin/check-readme-contracts-fixtures.mjs",
|
|
24
24
|
"check-layout-fixtures": "bin/check-layout-fixtures.mjs",
|
|
25
25
|
"check-design-system-peers": "bin/check-design-system-peers.mjs",
|
|
26
|
+
"comment-console-logs": "bin/comment-console-logs.mjs",
|
|
26
27
|
"publish-all-to-npm": "bin/publish-all-to-npm.mjs"
|
|
27
28
|
},
|
|
28
29
|
"files": [
|
|
@@ -44,7 +45,9 @@
|
|
|
44
45
|
"test:readme": "node --test test/readme-contract.test.mjs",
|
|
45
46
|
"test:peers": "node --test test/lockfile-peers.test.mjs",
|
|
46
47
|
"test:publish": "node --test test/publish-to-npm.test.mjs",
|
|
47
|
-
"test": "
|
|
48
|
+
"test:lists": "node --test test/package-lists.test.mjs",
|
|
49
|
+
"test:comment-logs": "node --test test/comment-console-logs.test.mjs",
|
|
50
|
+
"test": "npm run check:deps && npm run test:deps && npm run test:vite && npm run test:layout && npm run test:links && npm run test:readme && npm run test:peers && npm run test:publish && npm run test:lists && npm run test:comment-logs",
|
|
48
51
|
"publish-to-npm": "node bin/publish-package.mjs",
|
|
49
52
|
"publish-all-to-npm": "node bin/publish-all-to-npm.mjs",
|
|
50
53
|
"prepublishOnly": "npm test"
|