vowel 0.1.30 → 0.1.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.
@@ -0,0 +1,73 @@
1
+ ---
2
+ name: Bug report
3
+ about: Report a bug to help improve Vowel.
4
+ title: ""
5
+ labels: "bug"
6
+ assignees: "samlfair"
7
+ ---
8
+
9
+ <!--
10
+ Thanks for taking the time to help build Vowel.
11
+ A well-detailed bug report helps us to solve the problem quickly.
12
+ -->
13
+
14
+ ### Versions
15
+
16
+ - vowel: <!-- eg: v0.1.32 -->
17
+ - node: <!-- eg: v14.15.0 -->
18
+ - os: <!-- eg: macOS 14.5 -->
19
+ - browser: <!-- eg: Chrome 129 -->
20
+
21
+ ### Browser report
22
+
23
+ <!--
24
+ Generate a browser report at https://www.whatsmybrowser.org/
25
+ Copy-paste a link to the report
26
+ -->
27
+
28
+ ### Link to Stackblitz
29
+
30
+ <!--
31
+ If possible, upload a reproduction to Stackblitz
32
+ and copy-paste the link here
33
+ -->
34
+
35
+ ### Steps to reproduce
36
+
37
+ <!-- eg: "Go to X and click on Y" -->
38
+
39
+ ### Expected behavior
40
+
41
+ <!-- eg: "The image will appear below the headline" -->
42
+
43
+ ### Actual behavior
44
+
45
+ <!-- eg: "The image appears above the headline" -->
46
+
47
+ ### Additional technologies
48
+
49
+ <!-- List any other technologies you're using with Vowel -->
50
+
51
+ ### Screenshot
52
+
53
+ <!-- If possible, include a screenshot of the issue -->
54
+
55
+ ### Errors from terminal
56
+
57
+ <!-- If there are any error messages in the terminal, paste them here -->
58
+
59
+ ```
60
+
61
+ ```
62
+
63
+ ### Errors from browser console
64
+
65
+ <!-- If there are any error message in the error console, paste them here -->
66
+
67
+ ```
68
+
69
+ ```
70
+
71
+ ### Additional comments
72
+
73
+ <!-- Include any other relevent information -->
@@ -0,0 +1,7 @@
1
+ contact_links:
2
+ - name: Vowel on Twitter
3
+ url: https://twitter.com/tryvowel
4
+ about: Get in touch with questions or ideas.
5
+ - name: Sam on Twitter
6
+ url: https://twitter.com/samlfair
7
+ about: Get in touch to chat.
package/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
+
5
+ ## 0.1.33 (2024-10-14)
6
+
7
+ # Changelog
8
+
9
+ All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
package/README.md CHANGED
@@ -3,18 +3,16 @@
3
3
  [![npm version][npm-version-src]][npm-version-href]
4
4
  [![npm downloads][npm-downloads-src]][npm-downloads-href]
5
5
 
6
- The easiest way to code your own website.
6
+ Vowel is the easiest way to code your own website.
7
7
 
8
8
  [Try it on StackBlitz](https://stackblitz.com/~/github.com/samlfair/vowel-site?file=home.md).
9
9
 
10
10
  Turn a folder of Markdown files into a website by running one command:
11
11
 
12
12
  ```
13
- npx -y -p svelte@next -p vowel@latest npx vowel
13
+ npx vowel
14
14
  ```
15
15
 
16
- No installs. No config.
17
-
18
16
  Create a blog, a documentation site, a landing page, a wiki (whatever you want), using just Markdown and CSS.
19
17
 
20
18
  No HTML.
package/package.json CHANGED
@@ -1,11 +1,22 @@
1
1
  {
2
2
  "name": "vowel",
3
- "version": "0.1.30",
3
+ "version": "0.1.33",
4
+ "homepage": "https://vowel.cc",
5
+ "author": "Sam Littlefair (https://littlefair.ca)",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "ssh://git@github.com/samlfair/vowel.git"
9
+ },
10
+ "engines": {
11
+ "node": "^20.0.0"
12
+ },
4
13
  "bin": "./bin.js",
5
14
  "scripts": {
6
15
  "dev": "vite dev",
7
16
  "build": "vite build",
8
17
  "preview": "vite preview",
18
+ "release": "commit-and-tag-version",
19
+ "release:beta": "commit-and-tag-version ---prerelease beta",
9
20
  "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
10
21
  "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
11
22
  "lint": "prettier --check .",
@@ -20,6 +31,7 @@
20
31
  "@sveltejs/vite-plugin-svelte": "^4.0.0-next.7",
21
32
  "any-date-parser": "^1.5.4",
22
33
  "change-case": "^5.4.1",
34
+ "commit-and-tag-version": "^12.4.4",
23
35
  "filter-console": "^1.0.0",
24
36
  "js-yaml": "^4.1.0",
25
37
  "loading-cli": "^1.1.2",
@@ -288,46 +288,46 @@ article.item dl.icon {
288
288
  }
289
289
 
290
290
  aside.alert.note {
291
- --icon: 'ℹ️';
292
- --rgb: 71, 139, 230;
293
- }
291
+ --icon: 'ℹ️';
292
+ --rgb: 71, 139, 230;
293
+ }
294
294
 
295
295
  aside.alert.tip {
296
- --icon: '💡';
297
- --rgb: 87, 171, 90;
298
- }
296
+ --icon: '💡';
297
+ --rgb: 87, 171, 90;
298
+ }
299
299
 
300
300
  aside.alert.important {
301
- --icon: '💬';
302
- --rgb: 152, 110, 226;
303
- }
301
+ --icon: '💬';
302
+ --rgb: 152, 110, 226;
303
+ }
304
304
 
305
305
  aside.alert.warning {
306
- --icon: '⚠️';
307
- --rgb: 198, 144, 38;
308
- }
306
+ --icon: '⚠️';
307
+ --rgb: 198, 144, 38;
308
+ }
309
309
 
310
310
  aside.alert.caution {
311
- --icon: '⛔️';
312
- --rgb: 229, 83, 75;
313
- }
311
+ --icon: '⛔️';
312
+ --rgb: 229, 83, 75;
313
+ }
314
314
 
315
315
  aside.alert {
316
316
  border-left: 3px solid rgb(var(--rgb));
317
317
  padding: 1.5rem 2rem;
318
318
  background: rgba(var(--rgb), 0.04);
319
+ }
319
320
 
320
- h2 {
321
- color: rgb(var(--rgb));
322
- }
321
+ aside.alert h2 {
322
+ color: rgb(var(--rgb));
323
+ }
323
324
 
324
- h2:before {
325
- font-size: 0.8em;
326
- margin-right: 0.7rem;
327
- opacity: 0.9;
328
- }
325
+ aside.alert h2:before {
326
+ font-size: 0.8em;
327
+ margin-right: 0.7rem;
328
+ opacity: 0.9;
329
+ }
329
330
 
330
- h2:before {
331
- content: var(--icon);
332
- }
331
+ aside.alert h2:before {
332
+ content: var(--icon);
333
333
  }
@@ -23,7 +23,10 @@
23
23
  default: DefaultStyles
24
24
  };
25
25
 
26
- let { data } = $props();
26
+ // propData is a workaround due to a seeming bug in Svelte
27
+ let { data: propData } = $props();
28
+
29
+ const data = $state(JSON.parse(JSON.stringify(propData, null, 2)))
27
30
 
28
31
  const { website, folderName } = $derived(data);
29
32