create-riebeckite 0.0.32 → 0.0.33

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.
Files changed (62) hide show
  1. package/dist/src/arguments.d.ts +2 -0
  2. package/dist/src/index.js +379 -42
  3. package/dist/src/interactive.d.ts +7 -5
  4. package/dist/src/package-manager.d.ts +2 -1
  5. package/dist/src/publish.d.ts +2 -1
  6. package/dist/src/scaffold/deployment.d.ts +0 -1
  7. package/dist/src/scaffold/features.d.ts +12 -0
  8. package/dist/src/scaffold/index.d.ts +1 -0
  9. package/dist/src/scaffold/index.js +329 -36
  10. package/dist/src/scaffold/options.d.ts +2 -0
  11. package/dist/src/scaffold/presets.d.ts +9 -5
  12. package/dist/src/scaffold/readme_demos.d.ts +2 -1
  13. package/dist/src/scaffold/template_options.d.ts +1 -6
  14. package/dist/src/scaffold/utilities.d.ts +0 -1
  15. package/dist/src/scaffold/version.d.ts +1 -1
  16. package/dist/src/scaffold/wrangler-defaults.d.ts +0 -1
  17. package/package.json +3 -3
  18. package/templates/scaffold/presets/blog/app/components/article.tsx +33 -0
  19. package/templates/scaffold/presets/blog/app/components/site-header.tsx +37 -0
  20. package/templates/scaffold/presets/blog/app/routes/[slug{.+}].tsx +10 -0
  21. package/templates/scaffold/presets/blog/app/routes/_404.tsx +18 -0
  22. package/templates/scaffold/presets/blog/app/routes/_renderer.tsx +42 -0
  23. package/templates/scaffold/presets/blog/app/routes/index.tsx +10 -0
  24. package/templates/scaffold/presets/blog/app/style.css +152 -0
  25. package/templates/scaffold/presets/blog/content/index.md +8 -0
  26. package/templates/scaffold/presets/blog/content/posts/editing-before-publishing.md +12 -0
  27. package/templates/scaffold/presets/blog/content/posts/writing-a-useful-post.md +12 -0
  28. package/templates/scaffold/presets/digital-garden/app/components/article.tsx +31 -0
  29. package/templates/scaffold/presets/digital-garden/app/components/site-header.tsx +37 -0
  30. package/templates/scaffold/presets/digital-garden/app/routes/[slug{.+}].tsx +10 -0
  31. package/templates/scaffold/presets/digital-garden/app/routes/_404.tsx +18 -0
  32. package/templates/scaffold/presets/digital-garden/app/routes/_renderer.tsx +42 -0
  33. package/templates/scaffold/presets/digital-garden/app/routes/index.tsx +10 -0
  34. package/templates/scaffold/presets/digital-garden/app/style.css +152 -0
  35. package/templates/scaffold/presets/digital-garden/content/index.md +10 -0
  36. package/templates/scaffold/presets/digital-garden/content/notes/how-this-garden-works.md +11 -0
  37. package/templates/scaffold/presets/digital-garden/content/notes/seed-idea.md +9 -0
  38. package/templates/scaffold/presets/docs/app/components/article.tsx +26 -0
  39. package/templates/scaffold/presets/docs/app/components/site-header.tsx +37 -0
  40. package/templates/scaffold/presets/docs/app/routes/[slug{.+}].tsx +10 -0
  41. package/templates/scaffold/presets/docs/app/routes/_404.tsx +18 -0
  42. package/templates/scaffold/presets/docs/app/routes/_renderer.tsx +42 -0
  43. package/templates/scaffold/presets/docs/app/routes/index.tsx +10 -0
  44. package/templates/scaffold/presets/docs/app/style.css +169 -0
  45. package/templates/scaffold/presets/docs/content/docs/configuration.md +8 -0
  46. package/templates/scaffold/presets/docs/content/docs/getting-started.md +15 -0
  47. package/templates/scaffold/presets/docs/content/index.md +7 -0
  48. package/templates/scaffold/presets/portfolio/app/components/article.tsx +29 -0
  49. package/templates/scaffold/presets/portfolio/app/components/site-header.tsx +37 -0
  50. package/templates/scaffold/presets/portfolio/app/routes/[slug{.+}].tsx +10 -0
  51. package/templates/scaffold/presets/portfolio/app/routes/_404.tsx +18 -0
  52. package/templates/scaffold/presets/portfolio/app/routes/_renderer.tsx +42 -0
  53. package/templates/scaffold/presets/portfolio/app/routes/index.tsx +10 -0
  54. package/templates/scaffold/presets/portfolio/app/style.css +152 -0
  55. package/templates/scaffold/presets/portfolio/content/about.md +7 -0
  56. package/templates/scaffold/presets/portfolio/content/contact.md +7 -0
  57. package/templates/scaffold/presets/portfolio/content/index.en.md +18 -0
  58. package/templates/scaffold/presets/portfolio/content/projects/field-notes.md +20 -0
  59. package/templates/scaffold/presets/portfolio/content/projects/small-tools.md +10 -0
  60. package/templates/scaffold/presets/showcase/content/deck.md +24 -0
  61. package/templates/scaffold/presets/showcase/content/demo/planning.md +2 -1
  62. package/templates/scaffold/presets/showcase/content/demo/writing.md +4 -1
@@ -0,0 +1,152 @@
1
+ @import "./.riebeckite/framework-styles.css";
2
+ @import "./.riebeckite/plugin-styles.css";
3
+ @import "./.riebeckite/theme-styles.css";
4
+
5
+ .riebeckite-page {
6
+ --site-toc-sticky-top: var(--rb-space-3, 1.5rem);
7
+ display: flex;
8
+ min-height: 100vh;
9
+ width: 100%;
10
+ flex-direction: column;
11
+ align-items: center;
12
+ padding-block: var(--rb-space-8, 4rem);
13
+ }
14
+
15
+ .riebeckite-main {
16
+ display: flex;
17
+ width: 100%;
18
+ flex-direction: column;
19
+ align-items: center;
20
+ }
21
+
22
+ .riebeckite-main:has(> .not-found) {
23
+ flex: 1 1 auto;
24
+ }
25
+
26
+ .site-header {
27
+ display: flex;
28
+ align-items: center;
29
+ gap: var(--rb-space-3, 1.5rem);
30
+ padding-block: var(--rb-space-3, 1.5rem);
31
+ border-bottom: 1px solid var(--rb-color-border);
32
+ }
33
+
34
+ .site-header,
35
+ .site-footer {
36
+ width: min(100% - 2rem, var(--rb-layout-page-max, 80rem));
37
+ }
38
+
39
+ .site-header__home {
40
+ display: inline-flex;
41
+ align-items: center;
42
+ gap: 0.5rem;
43
+ margin-right: auto;
44
+ color: var(--rb-color-ink);
45
+ font-weight: 700;
46
+ text-decoration: none;
47
+ }
48
+
49
+ .site-header__mobile-navigation {
50
+ display: none;
51
+ }
52
+
53
+ .site-footer {
54
+ margin-top: 1rem;
55
+ border-top: 1px solid var(--rb-color-border);
56
+ }
57
+
58
+ @media (min-width: 30.001rem) and (max-width: 48rem) {
59
+ .site-header {
60
+ flex-wrap: wrap;
61
+ }
62
+ }
63
+
64
+ @media (max-width: 30rem) {
65
+ .riebeckite-page {
66
+ padding-block: var(--rb-space-3, 1.5rem);
67
+ }
68
+
69
+ .site-header {
70
+ flex-wrap: wrap;
71
+ }
72
+
73
+ .site-header__primary-navigation {
74
+ display: none;
75
+ }
76
+
77
+ .site-header__mobile-navigation {
78
+ display: block;
79
+ }
80
+ }
81
+
82
+ .site-header__logo {
83
+ width: 1.75rem;
84
+ height: 1.75rem;
85
+ object-fit: contain;
86
+ }
87
+
88
+ .site-article {
89
+ width: min(100% - 2rem, var(--rb-layout-page-max, 80rem));
90
+ padding-block: 2rem;
91
+ }
92
+
93
+ .site-article__layout {
94
+ width: min(100%, var(--rb-layout-article-max, 48rem));
95
+ margin: 0 auto;
96
+ }
97
+
98
+ .rb-article-body {
99
+ min-width: 0;
100
+ padding-inline: var(--rb-space-2, 1rem);
101
+ }
102
+
103
+ .site-article__footer {
104
+ min-width: 0;
105
+ }
106
+
107
+ .site-article__aside {
108
+ display: none;
109
+ }
110
+
111
+ @media (min-width: 80rem) {
112
+ .site-article__layout {
113
+ display: grid;
114
+ width: 100%;
115
+ grid-template-columns: minmax(0, 1fr) minmax(0, var(--rb-layout-article-max, 48rem)) minmax(0, 1fr);
116
+ align-items: start;
117
+ }
118
+
119
+ .site-article__layout > .rb-article-body {
120
+ grid-column: 2;
121
+ }
122
+
123
+ .site-article__aside {
124
+ display: block;
125
+ min-width: 0;
126
+ align-self: stretch;
127
+ grid-column: 3;
128
+ padding-inline-start: var(--rb-layout-gap, 2rem);
129
+ }
130
+
131
+ .site-article__aside > .rr-table-of-contents--desktop {
132
+ position: sticky;
133
+ top: var(--site-toc-sticky-top);
134
+ max-height: calc(100dvh - var(--site-toc-sticky-top) - var(--rb-space-4, 2rem));
135
+ overflow-y: auto;
136
+ overscroll-behavior: contain;
137
+ border-inline-start: 1px solid color-mix(in oklab, currentColor 18%, transparent);
138
+ padding-inline-start: 1rem;
139
+ }
140
+ }
141
+
142
+ .not-found {
143
+ width: min(100% - 2rem, var(--rb-layout-article-max, 48rem));
144
+ margin-block: auto;
145
+ padding-block: 2rem;
146
+ }
147
+
148
+ .not-found__status {
149
+ margin: 0;
150
+ color: var(--rb-color-accent);
151
+ font-weight: 700;
152
+ }
@@ -0,0 +1,7 @@
1
+ ---
2
+ title: About
3
+ ---
4
+
5
+ # About
6
+
7
+ Write a short introduction here: what you make, the questions you return to, and how you like to work. This template intentionally makes no claims about your background or clients.
@@ -0,0 +1,7 @@
1
+ ---
2
+ title: Contact
3
+ ---
4
+
5
+ # Contact
6
+
7
+ Add the contact method you want to share. An email address, a scheduling link, or a social profile is enough.
@@ -0,0 +1,18 @@
1
+ ---
2
+ title: {{title}}
3
+ description: A focused portfolio for work that matters.
4
+ ---
5
+
6
+ # {{title}}
7
+
8
+ This is a place to introduce your work in your own words. Start with the projects you want people to understand, then add the context that makes each one useful.
9
+
10
+ ## Selected projects
11
+
12
+ - [Field notes](/projects/field-notes/)
13
+ - [Small tools](/projects/small-tools/)
14
+
15
+ ## Elsewhere
16
+
17
+ - [About](/about/)
18
+ - [Contact](/contact/)
@@ -0,0 +1,20 @@
1
+ ---
2
+ title: Field notes
3
+ summary: A project page ready for the problem, process, and outcome.
4
+ tags:
5
+ - project
6
+ ---
7
+
8
+ # Field notes
9
+
10
+ ## The work
11
+
12
+ Describe the problem and the people it serves. Add images or media when they clarify the work; this page remains readable when it has none.
13
+
14
+ ## Process
15
+
16
+ Record the decisions, constraints, and iterations that shaped the result.
17
+
18
+ ## Outcome
19
+
20
+ Explain what changed and what you learned without inventing metrics or testimonials.
@@ -0,0 +1,10 @@
1
+ ---
2
+ title: Small tools
3
+ summary: A second project with room for details.
4
+ tags:
5
+ - project
6
+ ---
7
+
8
+ # Small tools
9
+
10
+ Use this page for a compact project. Keep the narrative specific: context, approach, and the next useful step for a reader.
@@ -0,0 +1,24 @@
1
+ ---
2
+ title: Riebeckite at a glance
3
+ marp: true
4
+ theme: default
5
+ paginate: true
6
+ publish: true
7
+ ---
8
+
9
+ # Riebeckite
10
+
11
+ Markdown in, static site out.
12
+
13
+ ---
14
+
15
+ ## One content source
16
+
17
+ - Notes stay plain Markdown
18
+ - Plugins extend rendering and discovery at build time
19
+
20
+ ---
21
+
22
+ ## Try the viewer
23
+
24
+ Use the controls, the arrow keys, or fullscreen.
@@ -9,8 +9,9 @@ series: publish-a-site
9
9
  series_title: Publish a site
10
10
  series_order: 1
11
11
  publish: true
12
+ timeline: true
12
13
  ---
13
14
 
14
15
  # Planning a Markdown site
15
16
 
16
- Start with [[writing]] to see backlinks, related posts, tags, and the series navigation working together.
17
+ Start with [[writing]] to see backlinks, related posts, tags, and the series navigation working together.
@@ -8,8 +8,11 @@ series: publish-a-site
8
8
  series_title: Publish a site
9
9
  series_order: 2
10
10
  publish: true
11
+ glossary: true
12
+ term: Markdown site
13
+ definition: A website authored in Markdown and built into static pages.
11
14
  ---
12
15
 
13
16
  # Writing the first note
14
17
 
15
- This note links back to [[planning]]. Search for **Markdown site** or browse the generated tags.
18
+ This note links back to [[planning]]. Search for **Markdown site** or browse the generated tags.