@nowline/cli 0.0.0-dev.20261009042000.g52d5946 → 0.0.0-dev.20261012061520.ge3b2479
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/generated/version.d.ts +1 -1
- package/dist/generated/version.js +2 -2
- package/man/fr/nowline.5 +194 -9
- package/man/nowline.5 +178 -6
- package/package.json +14 -14
- package/src/generated/version.ts +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.0.0-dev.
|
|
1
|
+
export declare const CLI_VERSION = "0.0.0-dev.20261012061520.ge3b2479";
|
|
2
2
|
export interface CliBuild {
|
|
3
3
|
/** Short git SHA at build time, or empty when not in a git checkout. */
|
|
4
4
|
readonly sha: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Auto-generated by scripts/bundle-templates.mjs. Do not edit by hand.
|
|
2
|
-
export const CLI_VERSION = "0.0.0-dev.
|
|
2
|
+
export const CLI_VERSION = "0.0.0-dev.20261012061520.ge3b2479";
|
|
3
3
|
export const CLI_BUILD = {
|
|
4
|
-
"sha": "
|
|
4
|
+
"sha": "e3b2479",
|
|
5
5
|
"isRelease": false,
|
|
6
6
|
"isDirty": true
|
|
7
7
|
};
|
package/man/fr/nowline.5
CHANGED
|
@@ -5,11 +5,12 @@
|
|
|
5
5
|
.\" Empreinte de la page anglaise relue pour cette traduction. Après avoir
|
|
6
6
|
.\" reporté une modification de la page anglaise, remplacez-la par la ligne
|
|
7
7
|
.\" qu'affiche packages/cli/test/man/translation-parity.test.ts.
|
|
8
|
-
.\" translated-from: nowline.5 sha256:
|
|
8
|
+
.\" translated-from: nowline.5 sha256:44c29a7f1eb3af4ff2f36ea2a2466e99b5115f5e590ffa84418e547c49983fd0
|
|
9
9
|
.\"
|
|
10
10
|
.\" Les mots-clés du DSL (nowline, config, roadmap, swimlane, item, parallel,
|
|
11
11
|
.\" group, person, team, anchor, label, size, status, wave, milestone, footnote,
|
|
12
|
-
.\" include, style, symbol, default, scale, calendar
|
|
12
|
+
.\" include, style, symbol, default, scale, calendar, non-working, working)
|
|
13
|
+
.\" ainsi que les noms de
|
|
13
14
|
.\" propriétés (size:, duration:, after:, before:, on:, owner:, capacity:,
|
|
14
15
|
.\" labels:, link:, style:, status:, etc.) et les valeurs intégrées
|
|
15
16
|
.\" (planned, in-progress, active, done, completed, at-risk, blocked,
|
|
@@ -65,7 +66,7 @@ Section
|
|
|
65
66
|
.Sy config
|
|
66
67
|
(facultative).
|
|
67
68
|
Configuration de production\ : styles, valeurs par défaut, échelle,
|
|
68
|
-
calendrier, symboles.
|
|
69
|
+
calendrier, symboles, jours non ouvrés et ouvrés.
|
|
69
70
|
.It
|
|
70
71
|
Section
|
|
71
72
|
.Sy roadmap
|
|
@@ -193,9 +194,11 @@ Les déclarations
|
|
|
193
194
|
.Sy scale ,
|
|
194
195
|
.Sy style ,
|
|
195
196
|
.Sy symbol ,
|
|
196
|
-
.Sy default
|
|
197
|
+
.Sy default ,
|
|
198
|
+
.Sy calendar ,
|
|
199
|
+
.Sy non-working
|
|
197
200
|
et
|
|
198
|
-
.Sy
|
|
201
|
+
.Sy working
|
|
199
202
|
du fichier inclus.
|
|
200
203
|
.It Sy Roadmap
|
|
201
204
|
La déclaration
|
|
@@ -215,6 +218,13 @@ En cas de collision, le
|
|
|
215
218
|
.Em parent l'emporte
|
|
216
219
|
et l'analyseur émet un avertissement identifiant la définition
|
|
217
220
|
masquée et son fichier source.
|
|
221
|
+
Une déclaration
|
|
222
|
+
.Sy non-working
|
|
223
|
+
ou
|
|
224
|
+
.Sy working
|
|
225
|
+
n'entre en collision qu'avec une déclaration du parent portant le même
|
|
226
|
+
mot-clé et le même nom\ ; une déclaration sans nom n'entre jamais en
|
|
227
|
+
collision et est toujours fusionnée.
|
|
218
228
|
.It Sy ignore
|
|
219
229
|
La configuration de l'enfant est entièrement abandonnée.
|
|
220
230
|
Si le contenu roadmap de l'enfant est fusionné, il résout les
|
|
@@ -345,14 +355,16 @@ apparaît avant
|
|
|
345
355
|
Les mots-clés de configuration se trouvent au plus haut niveau (et
|
|
346
356
|
non indentés sous le marqueur) et définissent vocabulaire de
|
|
347
357
|
production, valeurs par défaut, paramètres d'axe, arithmétique des
|
|
348
|
-
jours et symboles personnalisés.
|
|
358
|
+
jours, jours non ouvrés et symboles personnalisés.
|
|
349
359
|
.Pp
|
|
350
|
-
|
|
360
|
+
Sept mots-clés de configuration\ :
|
|
351
361
|
.Sy scale ,
|
|
352
362
|
.Sy style ,
|
|
353
363
|
.Sy symbol ,
|
|
354
364
|
.Sy default ,
|
|
355
|
-
.Sy calendar
|
|
365
|
+
.Sy calendar ,
|
|
366
|
+
.Sy non-working ,
|
|
367
|
+
.Sy working .
|
|
356
368
|
Toute entrée de configuration est facultative\ ; si
|
|
357
369
|
.Sy config
|
|
358
370
|
est omise, toutes les valeurs intégrées par défaut s'appliquent.
|
|
@@ -591,7 +603,111 @@ C'est pourquoi le mode business donne
|
|
|
591
603
|
.Sy 1y = 260d
|
|
592
604
|
et non
|
|
593
605
|
.Sy 12 \(mu 22d = 264d .
|
|
594
|
-
.Ss non-working \(em
|
|
606
|
+
.Ss non-working et working \(em déclarations
|
|
607
|
+
Une déclaration
|
|
608
|
+
.Sy non-working
|
|
609
|
+
retire des jours du calendrier d'exécution\ : week-ends, jours fériés,
|
|
610
|
+
fermetures.
|
|
611
|
+
Une déclaration
|
|
612
|
+
.Sy working
|
|
613
|
+
en remet\ : un samedi de rattrapage ou un jour de récupération.
|
|
614
|
+
Les deux sont des mots-clés de configuration et partagent une même
|
|
615
|
+
forme\ :
|
|
616
|
+
.Bd -literal -offset indent
|
|
617
|
+
config
|
|
618
|
+
|
|
619
|
+
non-working weekend "Weekend" every:[fri, sat]
|
|
620
|
+
non-working new-year "New Year's Day" date:2027-01-01
|
|
621
|
+
non-working summit "Company summit" start:2026-09-14 end:2026-09-16
|
|
622
|
+
non-working fridays every:fri start:2026-07-01 end:2026-08-31
|
|
623
|
+
working crunch "Crunch Saturday" date:2026-01-10
|
|
624
|
+
.Ed
|
|
625
|
+
.Pp
|
|
626
|
+
L'identifiant et le titre sont tous deux facultatifs.
|
|
627
|
+
Les durées ne comptent que les jours ouvrés\ : un élément qui traverse
|
|
628
|
+
un jour non ouvré se termine plus tard, et un élément qui traverse une
|
|
629
|
+
exception ouvrée se termine plus tôt.
|
|
630
|
+
Le titre est porté par le modèle\ ; son étiquette n'est pas encore
|
|
631
|
+
dessinée.
|
|
632
|
+
Une déclaration accepte ces propriétés\ :
|
|
633
|
+
.Bl -tag -width "every:"
|
|
634
|
+
.It Sy date:
|
|
635
|
+
Une date ISO ou une liste de dates.
|
|
636
|
+
.It Sy start:
|
|
637
|
+
Une date ISO, incluse\ : le premier jour d'une plage, ou le jour où une
|
|
638
|
+
récurrence commence.
|
|
639
|
+
.It Sy end:
|
|
640
|
+
Une date ISO, incluse\ : le dernier jour d'une plage, ou le jour où une
|
|
641
|
+
récurrence s'arrête.
|
|
642
|
+
Elle ne doit pas précéder
|
|
643
|
+
.Sy start: .
|
|
644
|
+
.It Sy every:
|
|
645
|
+
Un jour de semaine ou une liste de
|
|
646
|
+
.Sy sun , mon , tue , wed , thu , fri , sat .
|
|
647
|
+
Une récurrence hebdomadaire.
|
|
648
|
+
.El
|
|
649
|
+
.Pp
|
|
650
|
+
Une déclaration a exactement l'une de ces trois formes\ :
|
|
651
|
+
.Sy date:
|
|
652
|
+
seul\ ; une plage
|
|
653
|
+
.Sy start:
|
|
654
|
+
et
|
|
655
|
+
.Sy end:
|
|
656
|
+
sans
|
|
657
|
+
.Sy every: \ ;
|
|
658
|
+
ou
|
|
659
|
+
.Sy every:
|
|
660
|
+
avec des bornes
|
|
661
|
+
.Sy start:
|
|
662
|
+
et
|
|
663
|
+
.Sy end:
|
|
664
|
+
facultatives.
|
|
665
|
+
Sans borne, une récurrence est sans fin et vaut chaque semaine.
|
|
666
|
+
.Pp
|
|
667
|
+
Un jour donné, la déclaration la plus précise l'emporte, et
|
|
668
|
+
.Sy working
|
|
669
|
+
l'emporte à égalité\ :
|
|
670
|
+
.Bl -enum -offset indent -compact
|
|
671
|
+
.It
|
|
672
|
+
une déclaration datée, soit une liste
|
|
673
|
+
.Sy date:
|
|
674
|
+
soit une plage\ ;
|
|
675
|
+
.It
|
|
676
|
+
une récurrence bornée\ ;
|
|
677
|
+
.It
|
|
678
|
+
la semaine sans fin.
|
|
679
|
+
.El
|
|
680
|
+
.Pp
|
|
681
|
+
L'ordre n'a jamais d'importance\ : les mêmes déclarations dans un ordre
|
|
682
|
+
quelconque, dans le fichier ou dans des inclusions, donnent le même
|
|
683
|
+
calendrier.
|
|
684
|
+
.Sy calendar:business
|
|
685
|
+
fournit une déclaration
|
|
686
|
+
.Sy non-working weekend
|
|
687
|
+
pour le samedi et le dimanche.
|
|
688
|
+
Une déclaration
|
|
689
|
+
.Sy non-working
|
|
690
|
+
nommée
|
|
691
|
+
.Sy weekend
|
|
692
|
+
la remplace, quel que soit le préréglage, de sorte qu'une semaine
|
|
693
|
+
vendredi-samedi n'exige pas de calendrier personnalisé\ ; tout autre nom
|
|
694
|
+
s'ajoute au préréglage.
|
|
695
|
+
.Pp
|
|
696
|
+
La semaine sans fin doit garder un jour ouvré, et
|
|
697
|
+
.Sy days-per-week
|
|
698
|
+
doit concorder avec les jours de semaine qu'elle laisse ouvrés
|
|
699
|
+
.Pq voir Sx VALIDATION .
|
|
700
|
+
Une déclaration dont une valeur ou la forme est malformée est ignorée
|
|
701
|
+
lors de la construction du calendrier.
|
|
702
|
+
Avec
|
|
703
|
+
.Sy config:isolate ,
|
|
704
|
+
les déclarations de l'enfant restent dans sa région et n'ont pas encore
|
|
705
|
+
d'effet sur le graphique\ : la région est tracée sur le calendrier de
|
|
706
|
+
l'hôte.
|
|
707
|
+
Le validateur ne lit que son propre fichier\ : une déclaration d'une
|
|
708
|
+
inclusion n'est donc pas prise en compte par les vérifications de la
|
|
709
|
+
semaine sans fin.
|
|
710
|
+
.Ss non-working: \(em affichage des jours
|
|
595
711
|
Avec
|
|
596
712
|
.Sy calendar:business ,
|
|
597
713
|
le week-end est non ouvré\ : les durées ne comptent que les jours ouvrés,
|
|
@@ -1961,6 +2077,65 @@ Lorsque
|
|
|
1961
2077
|
les quatre entrées
|
|
1962
2078
|
.Sy days-per-*
|
|
1963
2079
|
sont obligatoires et doivent être des entiers positifs.
|
|
2080
|
+
.It
|
|
2081
|
+
Une déclaration
|
|
2082
|
+
.Sy non-working
|
|
2083
|
+
ou
|
|
2084
|
+
.Sy working
|
|
2085
|
+
a l'une de trois formes\ : un
|
|
2086
|
+
.Sy date:
|
|
2087
|
+
seul\ ;
|
|
2088
|
+
.Sy start:
|
|
2089
|
+
et
|
|
2090
|
+
.Sy end:
|
|
2091
|
+
sans
|
|
2092
|
+
.Sy every: \ ;
|
|
2093
|
+
ou
|
|
2094
|
+
.Sy every:
|
|
2095
|
+
avec des bornes facultatives
|
|
2096
|
+
.Pq Sy NL.E0900 .
|
|
2097
|
+
Ses seules clés sont
|
|
2098
|
+
.Sy date: , start: , end:
|
|
2099
|
+
et
|
|
2100
|
+
.Sy every:
|
|
2101
|
+
.Pq Sy NL.E0901 ,
|
|
2102
|
+
et
|
|
2103
|
+
.Sy start:
|
|
2104
|
+
et
|
|
2105
|
+
.Sy end:
|
|
2106
|
+
prennent chacun une seule date
|
|
2107
|
+
.Pq Sy NL.E0902 .
|
|
2108
|
+
.It
|
|
2109
|
+
Chaque date d'une déclaration de calendrier est un jour réel du
|
|
2110
|
+
calendrier
|
|
2111
|
+
.Pq Sy NL.E0405 ,
|
|
2112
|
+
et
|
|
2113
|
+
.Sy end:
|
|
2114
|
+
ne précède pas
|
|
2115
|
+
.Sy start:
|
|
2116
|
+
.Pq Sy NL.E0903 .
|
|
2117
|
+
.It
|
|
2118
|
+
Les valeurs de
|
|
2119
|
+
.Sy every:
|
|
2120
|
+
sont des noms de jours de semaine
|
|
2121
|
+
.Pq Sy NL.E0904
|
|
2122
|
+
et chacune apparaît au plus une fois
|
|
2123
|
+
.Pq Sy NL.E0905 .
|
|
2124
|
+
.It
|
|
2125
|
+
La semaine sans fin garde au moins un jour ouvré
|
|
2126
|
+
.Pq Sy NL.E0906 .
|
|
2127
|
+
.Sy days-per-week
|
|
2128
|
+
concorde avec les jours de semaine qu'elle laisse ouvrés\ ; un écart
|
|
2129
|
+
donne l'avertissement
|
|
2130
|
+
.Sy NL.W0705 .
|
|
2131
|
+
.It
|
|
2132
|
+
Un identifiant de déclaration est unique pour son mot-clé dans un
|
|
2133
|
+
fichier
|
|
2134
|
+
.Pq Sy NL.E0907 .
|
|
2135
|
+
.Sy non-working
|
|
2136
|
+
et
|
|
2137
|
+
.Sy working
|
|
2138
|
+
ne partagent pas d'espace de noms.
|
|
1964
2139
|
.El
|
|
1965
2140
|
.Ss Propriété roadmap start
|
|
1966
2141
|
.Bl -bullet -offset indent -compact
|
|
@@ -2070,6 +2245,16 @@ mêmes bornes de départ résolues, que le parent
|
|
|
2070
2245
|
Un titre ou une autre présentation différents donnent
|
|
2071
2246
|
l'avertissement
|
|
2072
2247
|
.Sy NL.W0701 .
|
|
2248
|
+
.It
|
|
2249
|
+
Avec
|
|
2250
|
+
.Sy config:merge ,
|
|
2251
|
+
une déclaration
|
|
2252
|
+
.Sy non-working
|
|
2253
|
+
ou
|
|
2254
|
+
.Sy working
|
|
2255
|
+
n'entre en collision qu'avec une déclaration du parent portant le même
|
|
2256
|
+
mot-clé et le même nom, et le parent l'emporte avec un avertissement\ ;
|
|
2257
|
+
les déclarations sans nom n'entrent jamais en collision.
|
|
2073
2258
|
.El
|
|
2074
2259
|
.Ss Vagues
|
|
2075
2260
|
Ces règles s'appliquent aux fichiers qui utilisent
|
package/man/nowline.5
CHANGED
|
@@ -42,7 +42,7 @@ files.
|
|
|
42
42
|
.It
|
|
43
43
|
.Sy config
|
|
44
44
|
section (optional). Rendering configuration: styles, defaults,
|
|
45
|
-
scale, calendar, symbols.
|
|
45
|
+
scale, calendar, symbols, non-working and working days.
|
|
46
46
|
.It
|
|
47
47
|
.Sy roadmap
|
|
48
48
|
section (required). Content: persons, teams, anchors, labels, sizes,
|
|
@@ -163,8 +163,10 @@ The included file's
|
|
|
163
163
|
.Sy style ,
|
|
164
164
|
.Sy symbol ,
|
|
165
165
|
.Sy default ,
|
|
166
|
+
.Sy calendar ,
|
|
167
|
+
.Sy non-working ,
|
|
166
168
|
and
|
|
167
|
-
.Sy
|
|
169
|
+
.Sy working
|
|
168
170
|
declarations.
|
|
169
171
|
.It Sy Roadmap
|
|
170
172
|
The included file's
|
|
@@ -182,6 +184,12 @@ On collision, the
|
|
|
182
184
|
.Em parent wins
|
|
183
185
|
and the parser emits a warning identifying the shadowed definition
|
|
184
186
|
and source file.
|
|
187
|
+
A
|
|
188
|
+
.Sy non-working
|
|
189
|
+
or
|
|
190
|
+
.Sy working
|
|
191
|
+
declaration collides only with a parent declaration of the same keyword
|
|
192
|
+
and name; an unnamed one never collides and always merges.
|
|
185
193
|
.It Sy ignore
|
|
186
194
|
Child config is dropped entirely.
|
|
187
195
|
If child roadmap content is merged, it resolves styles from the
|
|
@@ -297,14 +305,16 @@ section marker appears before
|
|
|
297
305
|
.Sy roadmap .
|
|
298
306
|
Config keywords sit at the top level (not indented under the
|
|
299
307
|
marker) and define rendering vocabulary, defaults, axis settings,
|
|
300
|
-
day arithmetic, and custom symbols.
|
|
308
|
+
day arithmetic, non-working days, and custom symbols.
|
|
301
309
|
.Pp
|
|
302
|
-
|
|
310
|
+
Seven config keywords:
|
|
303
311
|
.Sy scale ,
|
|
304
312
|
.Sy style ,
|
|
305
313
|
.Sy symbol ,
|
|
306
314
|
.Sy default ,
|
|
307
|
-
.Sy calendar
|
|
315
|
+
.Sy calendar ,
|
|
316
|
+
.Sy non-working ,
|
|
317
|
+
.Sy working .
|
|
308
318
|
Every config entry is optional; if
|
|
309
319
|
.Sy config
|
|
310
320
|
is omitted, all built-in defaults apply.
|
|
@@ -545,7 +555,105 @@ is
|
|
|
545
555
|
.Sy 260d ,
|
|
546
556
|
not
|
|
547
557
|
.Sy 12 \(mu 22d = 264d .
|
|
548
|
-
.Ss non-working \(em
|
|
558
|
+
.Ss non-working and working \(em declarations
|
|
559
|
+
A
|
|
560
|
+
.Sy non-working
|
|
561
|
+
declaration takes days out of the schedule: weekends, holidays,
|
|
562
|
+
closures.
|
|
563
|
+
A
|
|
564
|
+
.Sy working
|
|
565
|
+
declaration puts days back, for a crunch Saturday or a make-up day.
|
|
566
|
+
Both are config keywords and share one shape:
|
|
567
|
+
.Bd -literal -offset indent
|
|
568
|
+
config
|
|
569
|
+
|
|
570
|
+
non-working weekend "Weekend" every:[fri, sat]
|
|
571
|
+
non-working new-year "New Year's Day" date:2027-01-01
|
|
572
|
+
non-working summit "Company summit" start:2026-09-14 end:2026-09-16
|
|
573
|
+
non-working fridays every:fri start:2026-07-01 end:2026-08-31
|
|
574
|
+
working crunch "Crunch Saturday" date:2026-01-10
|
|
575
|
+
.Ed
|
|
576
|
+
.Pp
|
|
577
|
+
The id and the title are both optional.
|
|
578
|
+
Durations count working days only, so an item that spans a non-working
|
|
579
|
+
day ends later, and an item that spans a working exception ends
|
|
580
|
+
sooner.
|
|
581
|
+
The title is carried on the model; a label for it is not drawn yet.
|
|
582
|
+
A declaration takes these properties:
|
|
583
|
+
.Bl -tag -width "every:"
|
|
584
|
+
.It Sy date:
|
|
585
|
+
One ISO date or a list of dates.
|
|
586
|
+
.It Sy start:
|
|
587
|
+
One ISO date, inclusive: the first day of a range, or the day a
|
|
588
|
+
recurrence begins.
|
|
589
|
+
.It Sy end:
|
|
590
|
+
One ISO date, inclusive: the last day of a range, or the day a
|
|
591
|
+
recurrence stops.
|
|
592
|
+
It must not be before
|
|
593
|
+
.Sy start: .
|
|
594
|
+
.It Sy every:
|
|
595
|
+
One weekday or a list of
|
|
596
|
+
.Sy sun , mon , tue , wed , thu , fri , sat .
|
|
597
|
+
A weekly recurrence.
|
|
598
|
+
.El
|
|
599
|
+
.Pp
|
|
600
|
+
A declaration is exactly one of three shapes:
|
|
601
|
+
.Sy date:
|
|
602
|
+
alone; a range of
|
|
603
|
+
.Sy start:
|
|
604
|
+
and
|
|
605
|
+
.Sy end:
|
|
606
|
+
without
|
|
607
|
+
.Sy every: ;
|
|
608
|
+
or
|
|
609
|
+
.Sy every:
|
|
610
|
+
with optional
|
|
611
|
+
.Sy start:
|
|
612
|
+
and
|
|
613
|
+
.Sy end:
|
|
614
|
+
bounds.
|
|
615
|
+
With neither bound a recurrence is open-ended and holds in every week.
|
|
616
|
+
.Pp
|
|
617
|
+
On a given day the most specific declaration decides, and
|
|
618
|
+
.Sy working
|
|
619
|
+
wins a tie:
|
|
620
|
+
.Bl -enum -offset indent -compact
|
|
621
|
+
.It
|
|
622
|
+
a dated declaration, a
|
|
623
|
+
.Sy date:
|
|
624
|
+
list or a range;
|
|
625
|
+
.It
|
|
626
|
+
a bounded recurrence;
|
|
627
|
+
.It
|
|
628
|
+
the open-ended week.
|
|
629
|
+
.El
|
|
630
|
+
.Pp
|
|
631
|
+
Order never matters: the same declarations in any order, in the file
|
|
632
|
+
or in includes, give the same schedule.
|
|
633
|
+
.Sy calendar:business
|
|
634
|
+
supplies a
|
|
635
|
+
.Sy non-working weekend
|
|
636
|
+
declaration for Saturday and Sunday.
|
|
637
|
+
A
|
|
638
|
+
.Sy non-working
|
|
639
|
+
declaration named
|
|
640
|
+
.Sy weekend
|
|
641
|
+
replaces it, for any preset, so a Friday and Saturday week needs no
|
|
642
|
+
custom calendar; any other name adds to the preset.
|
|
643
|
+
.Pp
|
|
644
|
+
The open-ended week must keep a working day, and
|
|
645
|
+
.Sy days-per-week
|
|
646
|
+
should agree with the weekdays it leaves working
|
|
647
|
+
.Pq see Sx VALIDATION .
|
|
648
|
+
A declaration whose value or shape is malformed is skipped when the
|
|
649
|
+
calendar is built.
|
|
650
|
+
Under
|
|
651
|
+
.Sy config:isolate
|
|
652
|
+
the child's declarations stay in its region and have no effect on the
|
|
653
|
+
chart yet: the region is laid out on the host's calendar.
|
|
654
|
+
The validator reads only its own file, so a declaration in an include
|
|
655
|
+
is not counted by the open-ended week checks.
|
|
656
|
+
.Ss non-working: \(em day display
|
|
549
657
|
Under
|
|
550
658
|
.Sy calendar:business
|
|
551
659
|
the weekend is non-working: durations count working days only, and the
|
|
@@ -1855,6 +1963,60 @@ When
|
|
|
1855
1963
|
all four
|
|
1856
1964
|
.Sy days-per-*
|
|
1857
1965
|
entries are required and must be positive integers.
|
|
1966
|
+
.It
|
|
1967
|
+
A
|
|
1968
|
+
.Sy non-working
|
|
1969
|
+
or
|
|
1970
|
+
.Sy working
|
|
1971
|
+
declaration is one of three shapes: a lone
|
|
1972
|
+
.Sy date: ;
|
|
1973
|
+
.Sy start:
|
|
1974
|
+
and
|
|
1975
|
+
.Sy end:
|
|
1976
|
+
without
|
|
1977
|
+
.Sy every: ;
|
|
1978
|
+
or
|
|
1979
|
+
.Sy every:
|
|
1980
|
+
with optional bounds
|
|
1981
|
+
.Pq Sy NL.E0900 .
|
|
1982
|
+
Its only keys are
|
|
1983
|
+
.Sy date: , start: , end: ,
|
|
1984
|
+
and
|
|
1985
|
+
.Sy every:
|
|
1986
|
+
.Pq Sy NL.E0901 ,
|
|
1987
|
+
and
|
|
1988
|
+
.Sy start:
|
|
1989
|
+
and
|
|
1990
|
+
.Sy end:
|
|
1991
|
+
take one date each
|
|
1992
|
+
.Pq Sy NL.E0902 .
|
|
1993
|
+
.It
|
|
1994
|
+
Every date on a calendar declaration is a real calendar day
|
|
1995
|
+
.Pq Sy NL.E0405 ,
|
|
1996
|
+
and
|
|
1997
|
+
.Sy end:
|
|
1998
|
+
is not before
|
|
1999
|
+
.Sy start:
|
|
2000
|
+
.Pq Sy NL.E0903 .
|
|
2001
|
+
.It
|
|
2002
|
+
.Sy every:
|
|
2003
|
+
values are weekday names
|
|
2004
|
+
.Pq Sy NL.E0904
|
|
2005
|
+
and each appears at most once
|
|
2006
|
+
.Pq Sy NL.E0905 .
|
|
2007
|
+
.It
|
|
2008
|
+
The open-ended week keeps at least one working weekday
|
|
2009
|
+
.Pq Sy NL.E0906 .
|
|
2010
|
+
.Sy days-per-week
|
|
2011
|
+
agrees with the weekdays it leaves working; a mismatch is the warning
|
|
2012
|
+
.Sy NL.W0705 .
|
|
2013
|
+
.It
|
|
2014
|
+
A declaration id is unique within its keyword in one file
|
|
2015
|
+
.Pq Sy NL.E0907 .
|
|
2016
|
+
.Sy non-working
|
|
2017
|
+
and
|
|
2018
|
+
.Sy working
|
|
2019
|
+
do not share a namespace.
|
|
1858
2020
|
.El
|
|
1859
2021
|
.Ss Roadmap start property
|
|
1860
2022
|
.Bl -bullet -offset indent -compact
|
|
@@ -1961,6 +2123,16 @@ resolved start floors, as the parent
|
|
|
1961
2123
|
.Pq Sy NL.E0202 .
|
|
1962
2124
|
A differing title or other presentation is the warning
|
|
1963
2125
|
.Sy NL.W0701 .
|
|
2126
|
+
.It
|
|
2127
|
+
On
|
|
2128
|
+
.Sy config:merge ,
|
|
2129
|
+
a
|
|
2130
|
+
.Sy non-working
|
|
2131
|
+
or
|
|
2132
|
+
.Sy working
|
|
2133
|
+
declaration collides only with a parent declaration of the same keyword
|
|
2134
|
+
and name, and the parent wins with a warning; unnamed declarations
|
|
2135
|
+
never collide.
|
|
1964
2136
|
.El
|
|
1965
2137
|
.Ss Waves
|
|
1966
2138
|
These rules apply to files that use
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nowline/cli",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.20261012061520.ge3b2479",
|
|
4
4
|
"description": "Command-line tool to check, convert, and create Nowline roadmaps.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"engines": {
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
"@clack/prompts": "^1.8.1",
|
|
35
35
|
"@modelcontextprotocol/node": "^2.1.0",
|
|
36
36
|
"@modelcontextprotocol/server": "^2.2.0",
|
|
37
|
-
"@nowline/config": "0.0.0-dev.
|
|
38
|
-
"@nowline/core": "0.0.0-dev.
|
|
39
|
-
"@nowline/export": "0.0.0-dev.
|
|
40
|
-
"@nowline/export-core": "0.0.0-dev.
|
|
41
|
-
"@nowline/export-html": "0.0.0-dev.
|
|
42
|
-
"@nowline/export-mermaid": "0.0.0-dev.
|
|
43
|
-
"@nowline/export-msproj": "0.0.0-dev.
|
|
44
|
-
"@nowline/export-pdf": "0.0.0-dev.
|
|
45
|
-
"@nowline/export-png": "0.0.0-dev.
|
|
46
|
-
"@nowline/export-xlsx": "0.0.0-dev.
|
|
47
|
-
"@nowline/layout": "0.0.0-dev.
|
|
48
|
-
"@nowline/mcp": "0.0.0-dev.
|
|
49
|
-
"@nowline/renderer": "0.0.0-dev.
|
|
37
|
+
"@nowline/config": "0.0.0-dev.20261012061520.ge3b2479",
|
|
38
|
+
"@nowline/core": "0.0.0-dev.20261012061520.ge3b2479",
|
|
39
|
+
"@nowline/export": "0.0.0-dev.20261012061520.ge3b2479",
|
|
40
|
+
"@nowline/export-core": "0.0.0-dev.20261012061520.ge3b2479",
|
|
41
|
+
"@nowline/export-html": "0.0.0-dev.20261012061520.ge3b2479",
|
|
42
|
+
"@nowline/export-mermaid": "0.0.0-dev.20261012061520.ge3b2479",
|
|
43
|
+
"@nowline/export-msproj": "0.0.0-dev.20261012061520.ge3b2479",
|
|
44
|
+
"@nowline/export-pdf": "0.0.0-dev.20261012061520.ge3b2479",
|
|
45
|
+
"@nowline/export-png": "0.0.0-dev.20261012061520.ge3b2479",
|
|
46
|
+
"@nowline/export-xlsx": "0.0.0-dev.20261012061520.ge3b2479",
|
|
47
|
+
"@nowline/layout": "0.0.0-dev.20261012061520.ge3b2479",
|
|
48
|
+
"@nowline/mcp": "0.0.0-dev.20261012061520.ge3b2479",
|
|
49
|
+
"@nowline/renderer": "0.0.0-dev.20261012061520.ge3b2479",
|
|
50
50
|
"chalk": "^6.0.1",
|
|
51
51
|
"citty": "^0.2.2",
|
|
52
52
|
"consola": "^3.4.2",
|
package/src/generated/version.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Auto-generated by scripts/bundle-templates.mjs. Do not edit by hand.
|
|
2
2
|
|
|
3
|
-
export const CLI_VERSION = "0.0.0-dev.
|
|
3
|
+
export const CLI_VERSION = "0.0.0-dev.20261012061520.ge3b2479";
|
|
4
4
|
|
|
5
5
|
export interface CliBuild {
|
|
6
6
|
/** Short git SHA at build time, or empty when not in a git checkout. */
|
|
@@ -12,7 +12,7 @@ export interface CliBuild {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const CLI_BUILD: CliBuild = {
|
|
15
|
-
"sha": "
|
|
15
|
+
"sha": "e3b2479",
|
|
16
16
|
"isRelease": false,
|
|
17
17
|
"isDirty": true
|
|
18
18
|
};
|