create-clientkit 0.1.0 → 1.0.0

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/cli.js CHANGED
@@ -2474,7 +2474,7 @@ var Logger = class {
2474
2474
  };
2475
2475
 
2476
2476
  // src/version.ts
2477
- var CLI_VERSION = true ? "0.1.0" : "0.0.0-dev";
2477
+ var CLI_VERSION = true ? "1.0.0" : "0.0.0-dev";
2478
2478
 
2479
2479
  // src/cli.ts
2480
2480
  async function main(argv, options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-clientkit",
3
- "version": "0.1.0",
3
+ "version": "1.0.0",
4
4
  "description": "Create the boring foundation of your next client website in seconds.",
5
5
  "keywords": [
6
6
  "cli",
@@ -64,6 +64,12 @@ what it needs to override:
64
64
  **Everything derives from `SITE`.** You never repeat the site name,
65
65
  description or URL.
66
66
 
67
+ ### Set the URL before the final build
68
+
69
+ `SITE.url` is read at **build time**, so canonical tags, `og:url` and the
70
+ sitemap are baked into the output. Moving a built site to a different domain
71
+ leaves them pointing at the old one - rebuild after changing it.
72
+
67
73
  ### Before you have a domain
68
74
 
69
75
  `SITE.url` starts empty and that is a supported state, not a broken one. While
@@ -4,7 +4,12 @@ import { CONTACT, SITE, SOCIAL } from '../config/site.config.ts';
4
4
 
5
5
  // Computed at build time rather than frozen in at scaffold time, so the notice
6
6
  // stays correct for as long as the site is rebuilt.
7
- const year = new Date().getFullYear();
7
+ //
8
+ // Built as one string rather than as adjacent `{year} {SITE.name}` expressions
9
+ // in the markup: a formatter may put those on separate lines, and Astro drops
10
+ // the newline between two adjacent expressions, which silently renders
11
+ // "2026Acme Studio" with no space.
12
+ const copyright = `© ${new Date().getFullYear()} ${SITE.name}`;
8
13
 
9
14
  const hasSocial = SOCIAL.some((link) => link.label !== '' && link.href !== '');
10
15
  const hasContact = CONTACT.email !== '' || CONTACT.phone !== '';
@@ -12,10 +17,7 @@ const hasContact = CONTACT.email !== '' || CONTACT.phone !== '';
12
17
 
13
18
  <footer class="site-footer">
14
19
  <div class="container-page inner">
15
- <p class="copyright">
16
- &copy; {year}
17
- {SITE.name}
18
- </p>
20
+ <p class="copyright">{copyright}</p>
19
21
 
20
22
  {
21
23
  (hasContact || hasSocial) && (