@starci/gallery 0.1.0 → 0.1.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/CHANGELOG.md +4 -0
- package/dist/explain.js +8 -0
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.1 - 2026-11-18
|
|
4
|
+
|
|
5
|
+
- Changed (`explain`): the explain reader skips the section `## Phương án đã cân nhắc` (the record of the options weighed, PROJECT-GALLERY-7) instead of reading it as a region, as `starci app check` does.
|
|
6
|
+
|
|
3
7
|
## 0.1.0 - 2026-11-18
|
|
4
8
|
|
|
5
9
|
The screenshot gallery of a StarCi app as one Vite config, built with the StarCi Grammar.
|
package/dist/explain.js
CHANGED
|
@@ -24,14 +24,22 @@ export function parseExplain(markdown) {
|
|
|
24
24
|
const intro = [];
|
|
25
25
|
let current = null;
|
|
26
26
|
let last = null;
|
|
27
|
+
let skipping = false;
|
|
27
28
|
for (const line of body.split("\n")) {
|
|
28
29
|
const heading = /^##\s+(.+?)\s*$/u.exec(line);
|
|
29
30
|
if (heading?.[1] !== undefined) {
|
|
31
|
+
skipping = /^Phương án đã cân nhắc$/iu.test(heading[1]);
|
|
32
|
+
if (skipping) {
|
|
33
|
+
current = null;
|
|
34
|
+
continue;
|
|
35
|
+
}
|
|
30
36
|
current = { name: heading[1], fields: {}, problems: [] };
|
|
31
37
|
regions.push(current);
|
|
32
38
|
last = null;
|
|
33
39
|
continue;
|
|
34
40
|
}
|
|
41
|
+
if (skipping)
|
|
42
|
+
continue;
|
|
35
43
|
if (!current) {
|
|
36
44
|
intro.push(line);
|
|
37
45
|
continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@starci/gallery",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "The screenshot gallery of a StarCi app as one Vite config: the screens of gallery/pages with their explanations, the approved design frames of the canvas beside the real shots (side by side, a slider, shot only), each screen's status from design.json, its states, the flow map. Built with the StarCi Grammar.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"starci",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@heroui/react": "3.2.6",
|
|
62
62
|
"@heroui/styles": "3.2.6",
|
|
63
|
-
"@starci/grammar": "0.
|
|
63
|
+
"@starci/grammar": "0.47.1",
|
|
64
64
|
"@tailwindcss/postcss": "4.3.3",
|
|
65
65
|
"@xyflow/react": "12.11.6",
|
|
66
66
|
"react": "19.2.3",
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@eslint/js": "10.0.1",
|
|
76
|
+
"@starci/grammar": "file:../grammar",
|
|
76
77
|
"@types/node": "22.20.4",
|
|
77
78
|
"@types/react": "19.3.0",
|
|
78
79
|
"@types/react-dom": "19.3.0",
|
|
@@ -86,6 +87,6 @@
|
|
|
86
87
|
"access": "public",
|
|
87
88
|
"provenance": true
|
|
88
89
|
},
|
|
89
|
-
"gitHead": "
|
|
90
|
-
"starciSource": "
|
|
90
|
+
"gitHead": "b43747ac35ad38bd14838c5e11707f7e226239d5",
|
|
91
|
+
"starciSource": "e0cd3593352d2d5bdb7ba95d6cfd15db13b812bcec47cc7013a4a5dff1f6d8b6"
|
|
91
92
|
}
|