@codepress/design-kit 0.4.0 → 0.4.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 +1 -1
- package/package.json +4 -4
- package/src/init.mjs +5 -0
package/README.md
CHANGED
|
@@ -445,6 +445,6 @@ remove from markup, such as a mock API's) and a `session` object whose
|
|
|
445
445
|
## Contributing and license
|
|
446
446
|
|
|
447
447
|
The source is on GitHub at
|
|
448
|
-
[
|
|
448
|
+
[codepressdev/design-kit](https://github.com/codepressdev/design-kit), where issues
|
|
449
449
|
and pull requests are welcome; see its `CONTRIBUTING.md`. MIT licensed: see
|
|
450
450
|
[`LICENSE`](./LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codepress/design-kit",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Capture your Storybook and real app pages as a static design kit, and compose self-contained mockups from it",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"license": "MIT",
|
|
64
64
|
"repository": {
|
|
65
65
|
"type": "git",
|
|
66
|
-
"url": "git+https://github.com/
|
|
66
|
+
"url": "git+https://github.com/codepressdev/design-kit.git"
|
|
67
67
|
},
|
|
68
|
-
"homepage": "https://github.com/
|
|
68
|
+
"homepage": "https://github.com/codepressdev/design-kit#readme",
|
|
69
69
|
"bugs": {
|
|
70
|
-
"url": "https://github.com/
|
|
70
|
+
"url": "https://github.com/codepressdev/design-kit/issues"
|
|
71
71
|
},
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
package/src/init.mjs
CHANGED
|
@@ -36,6 +36,10 @@ export const WORKFLOW_PATH = ".github/workflows/design-kit.yml";
|
|
|
36
36
|
export const SKILL_DIR = ".claude/skills/design-kit";
|
|
37
37
|
export const AGENTS_SKILL_DIR = ".agents/skills/design-kit";
|
|
38
38
|
const TODO = "TODO";
|
|
39
|
+
// The one line a finished (not dry-run) init ends with. Printed only; init
|
|
40
|
+
// makes no network call.
|
|
41
|
+
export const CALL_TO_ACTION =
|
|
42
|
+
"Want every screen on one canvas, shareable with your team, and agents that build it? → https://codepress.dev";
|
|
39
43
|
/** How long a kit artifact is kept: the most a public repository allows. */
|
|
40
44
|
export const RETENTION_DAYS = 90;
|
|
41
45
|
|
|
@@ -1196,5 +1200,6 @@ export function init({
|
|
|
1196
1200
|
if (write.kind !== "unchanged") apply(write);
|
|
1197
1201
|
}
|
|
1198
1202
|
log(summary(found, plan, { dryRun }));
|
|
1203
|
+
if (!dryRun) log(`\n${CALL_TO_ACTION}`);
|
|
1199
1204
|
return 0;
|
|
1200
1205
|
}
|