@saastro/studio 0.3.1 → 0.3.2

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.
@@ -3,10 +3,10 @@ import {
3
3
  injectVersionMetaTag,
4
4
  injectVisibilityStyle,
5
5
  readVisibilityConfig
6
- } from "./chunk-TFJXELS6.js";
6
+ } from "./chunk-KL3MAHYZ.js";
7
7
 
8
8
  // src/vite/index.ts
9
- import { promises as fs } from "fs";
9
+ import { promises as fs } from "node:fs";
10
10
 
11
11
  // ../studio-core/dist/component-schema/index.js
12
12
  import {
@@ -1258,4 +1258,4 @@ async function loadTsx(path) {
1258
1258
  export {
1259
1259
  studioAutoWrap
1260
1260
  };
1261
- //# sourceMappingURL=chunk-5OCQCWEP.js.map
1261
+ //# sourceMappingURL=chunk-6XKZTOWX.js.map
@@ -1,6 +1,6 @@
1
1
  // src/vite/meta-tag.ts
2
2
  var STUDIO_PROTOCOL_VERSION = "2";
3
- var PACKAGE_VERSION = "0.3.0".length > 0 ? "0.3.0" : "0.0.0+unknown";
3
+ var PACKAGE_VERSION = "0.3.2".length > 0 ? "0.3.2" : "0.0.0+unknown";
4
4
  var META_TAGS = [
5
5
  `<meta name="saastro:studio-version" content="${STUDIO_PROTOCOL_VERSION}">`,
6
6
  `<meta name="saastro:studio-package" content="${PACKAGE_VERSION}">`
@@ -12,8 +12,8 @@ function injectVersionMetaTag(html) {
12
12
  }
13
13
 
14
14
  // src/visibility-css.ts
15
- import { readFileSync } from "fs";
16
- import { resolve } from "path";
15
+ import { readFileSync } from "node:fs";
16
+ import { resolve } from "node:path";
17
17
  var CONFIG_FILENAME = "studio.config.json";
18
18
  var STYLE_ID = "saastro-studio-hidden";
19
19
  function readVisibilityConfig(projectRoot = ".") {
@@ -70,4 +70,4 @@ export {
70
70
  buildVisibilityStyleTag,
71
71
  injectVisibilityStyle
72
72
  };
73
- //# sourceMappingURL=chunk-TFJXELS6.js.map
73
+ //# sourceMappingURL=chunk-KL3MAHYZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  studioAutoWrap
3
- } from "./chunk-5OCQCWEP.js";
3
+ } from "./chunk-6XKZTOWX.js";
4
4
 
5
5
  // src/integration/index.ts
6
6
  function saastro(options = {}) {
@@ -25,4 +25,4 @@ function saastro(options = {}) {
25
25
  export {
26
26
  saastro
27
27
  };
28
- //# sourceMappingURL=chunk-MZ2ROCY4.js.map
28
+ //# sourceMappingURL=chunk-WVPXHS3N.js.map
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  saastro
3
- } from "./chunk-MZ2ROCY4.js";
4
- import "./chunk-5OCQCWEP.js";
5
- import "./chunk-TFJXELS6.js";
3
+ } from "./chunk-WVPXHS3N.js";
4
+ import "./chunk-6XKZTOWX.js";
5
+ import "./chunk-KL3MAHYZ.js";
6
6
 
7
7
  // src/helpers/editable-section.ts
8
8
  function editableSection(fieldPrefix) {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  saastro
3
- } from "../chunk-MZ2ROCY4.js";
4
- import "../chunk-5OCQCWEP.js";
5
- import "../chunk-TFJXELS6.js";
3
+ } from "../chunk-WVPXHS3N.js";
4
+ import "../chunk-6XKZTOWX.js";
5
+ import "../chunk-KL3MAHYZ.js";
6
6
  export {
7
7
  saastro as default
8
8
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  injectVersionMetaTag,
3
3
  injectVisibilityStyle
4
- } from "../chunk-TFJXELS6.js";
4
+ } from "../chunk-KL3MAHYZ.js";
5
5
 
6
6
  // src/middleware/index.ts
7
7
  var HTML_RE = /text\/html/i;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  studioAutoWrap
3
- } from "../chunk-5OCQCWEP.js";
4
- import "../chunk-TFJXELS6.js";
3
+ } from "../chunk-6XKZTOWX.js";
4
+ import "../chunk-KL3MAHYZ.js";
5
5
  export {
6
6
  studioAutoWrap as default
7
7
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saastro/studio",
3
- "version": "0.3.1",
4
- "description": "Build-time instrumentation for Saastro Studio — Vite plugin + editable helpers for Astro sites managed by Saastro Hub",
3
+ "version": "0.3.2",
4
+ "description": "Build-time instrumentation for Saastro Studio \u2014 Vite plugin + editable helpers for Astro sites managed by Saastro Hub",
5
5
  "license": "MIT",
6
6
  "author": "SAASTRO",
7
7
  "keywords": [