site-config-stack 1.4.0 → 1.5.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/index.d.cts CHANGED
@@ -24,6 +24,10 @@ interface SiteConfig {
24
24
  * Whether the site is indexable by search engines.
25
25
  */
26
26
  indexable: boolean;
27
+ /**
28
+ * The environment of the site. Comparable to `process.env.NODE_ENV`.
29
+ */
30
+ env: 'production' | 'staging' | 'development' | string;
27
31
  /**
28
32
  * Whether the site uses trailing slash.
29
33
  */
package/dist/index.d.mts CHANGED
@@ -24,6 +24,10 @@ interface SiteConfig {
24
24
  * Whether the site is indexable by search engines.
25
25
  */
26
26
  indexable: boolean;
27
+ /**
28
+ * The environment of the site. Comparable to `process.env.NODE_ENV`.
29
+ */
30
+ env: 'production' | 'staging' | 'development' | string;
27
31
  /**
28
32
  * Whether the site uses trailing slash.
29
33
  */
package/dist/index.d.ts CHANGED
@@ -24,6 +24,10 @@ interface SiteConfig {
24
24
  * Whether the site is indexable by search engines.
25
25
  */
26
26
  indexable: boolean;
27
+ /**
28
+ * The environment of the site. Comparable to `process.env.NODE_ENV`.
29
+ */
30
+ env: 'production' | 'staging' | 'development' | string;
27
31
  /**
28
32
  * Whether the site uses trailing slash.
29
33
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "site-config-stack",
3
3
  "type": "module",
4
- "version": "1.4.0",
4
+ "version": "1.5.0",
5
5
  "description": "Shared site configuration utilities.",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",