@vadimcomanescu/nadicode-design-system 2.0.5 → 2.0.6
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/dist/catalog.json +2 -2
- package/package.json +2 -2
- package/scripts/ds-check.mjs +2 -2
package/dist/catalog.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vadimcomanescu/nadicode-design-system",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"test:a11y": "npx playwright test --config=playwright.a11y.config.ts",
|
|
59
59
|
"prepare": "node scripts/prepare.mjs",
|
|
60
60
|
"prepack": "npm run build:lib",
|
|
61
|
-
"prepublishOnly": "npm run
|
|
61
|
+
"prepublishOnly": "npm run ds:check && npm run docs:check",
|
|
62
62
|
"postpublish": "npm run release:verify",
|
|
63
63
|
"ds:update": "node scripts/ds-update.mjs"
|
|
64
64
|
},
|
package/scripts/ds-check.mjs
CHANGED
|
@@ -418,11 +418,11 @@ function checkSourceRepo(packageJson) {
|
|
|
418
418
|
);
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
if (packageJson.scripts?.prepublishOnly !== "npm run
|
|
421
|
+
if (packageJson.scripts?.prepublishOnly !== "npm run ds:check && npm run docs:check") {
|
|
422
422
|
addIssue(
|
|
423
423
|
"package.json",
|
|
424
424
|
"seed-package-pack-contract",
|
|
425
|
-
"package.json must define prepublishOnly as `npm run
|
|
425
|
+
"package.json must define prepublishOnly as `npm run ds:check && npm run docs:check` for fast publish-time sanity checks. The full test suite runs in pre-push.",
|
|
426
426
|
);
|
|
427
427
|
}
|
|
428
428
|
|