skygraph-react 0.5.1 → 0.5.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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -17,7 +17,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
17
17
|
// src/index.ts
|
|
18
18
|
var src_exports = {};
|
|
19
19
|
module.exports = __toCommonJS(src_exports);
|
|
20
|
-
var import_styles = require("@skygraph/styles");
|
|
20
|
+
var import_styles = require("@skygraph/styles/index.css");
|
|
21
21
|
__reExport(src_exports, require("@skygraph/react"), module.exports);
|
|
22
22
|
// Annotate the CommonJS export names for ESM import in node:
|
|
23
23
|
0 && (module.exports = {
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Side-effect import: pulls the shared CSS into the consumer's bundle so\n// `npm install skygraph-react` is the only step required to render styled\n// components. Re-exports below mirror the entire public API of
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Side-effect import: pulls the shared CSS into the consumer's bundle so\n// `npm install skygraph-react` is the only step required to render styled\n// components. The explicit `.css` suffix matters — without it, Vite's\n// dev-mode esbuild pre-bundle drops the side-effect import as \"unused\",\n// which leaves consumers staring at unstyled HTML on `npm run dev`.\n// Re-exports below mirror the entire public API of `@skygraph/react`,\n// so existing imports from `@skygraph/react` keep working unchanged.\nimport '@skygraph/styles/index.css'\n\nexport * from '@skygraph/react'\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAOA,oBAAO;AAEP,wBAAc,4BATd;","names":[]}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Side-effect import: pulls the shared CSS into the consumer's bundle so\n// `npm install skygraph-react` is the only step required to render styled\n// components. Re-exports below mirror the entire public API of
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Side-effect import: pulls the shared CSS into the consumer's bundle so\n// `npm install skygraph-react` is the only step required to render styled\n// components. The explicit `.css` suffix matters — without it, Vite's\n// dev-mode esbuild pre-bundle drops the side-effect import as \"unused\",\n// which leaves consumers staring at unstyled HTML on `npm run dev`.\n// Re-exports below mirror the entire public API of `@skygraph/react`,\n// so existing imports from `@skygraph/react` keep working unchanged.\nimport '@skygraph/styles/index.css'\n\nexport * from '@skygraph/react'\n"],"mappings":";AAOA,OAAO;AAEP,cAAc;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skygraph-react",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "SkyGraph for React — components, hooks and styles in a single install",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"skygraph"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@skygraph/core": "0.4.0",
|
|
52
51
|
"@skygraph/react": "0.4.0",
|
|
52
|
+
"@skygraph/core": "0.4.0",
|
|
53
53
|
"@skygraph/styles": "0.1.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|