@jsenv/cli 0.3.56 → 0.3.58
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/package.json +1 -1
- package/template-node-package/package.json +2 -2
- package/template-web/.jsenv/entry_index/craft/main.css7as_css_module=.js +1 -1
- package/template-web/.jsenv/entry_index/shape/index.html +1 -1
- package/template-web/.jsenv/entry_index/shape/main.js +1 -1
- package/template-web/dist/index.html +1 -1
- package/template-web/dist/js/main.js +1 -1
- package/template-web/package.json +2 -2
- package/template-web-components/.jsenv/entry_index/craft/app/app_custom_element.css7as_css_module=.js +1 -1
- package/template-web-components/.jsenv/entry_index/shape/index.html +1 -1
- package/template-web-components/.jsenv/entry_index/shape/main.js +1 -1
- package/template-web-components/dist/index.html +1 -1
- package/template-web-components/dist/js/main.js +1 -1
- package/template-web-components/package.json +2 -2
- package/template-web-preact/.jsenv/entry_index/craft/app/app.css7as_css_module=.js +1 -1
- package/template-web-preact/.jsenv/entry_index/shape/index.html +1 -1
- package/template-web-preact/.jsenv/entry_index/shape/main.jsx +1 -1
- package/template-web-preact/dist/index.html +1 -1
- package/template-web-preact/dist/js/main.js +1 -1
- package/template-web-preact/package.json +2 -2
- package/template-web-react/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react/react7cjs_as_js_module=.jsx +2 -2
- package/template-web-react/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react-dom/react-dom/client7cjs_as_js_module=.jsx +4 -4
- package/template-web-react/.jsenv/entry_index/craft/app/app.css7as_css_module=.js +1 -1
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react/index.production.js +2 -2
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react/index.production.js__compile_info__.json +3 -3
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react/index.production.map +1 -1
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react/jsx-runtime.production.js__compile_info__.json +2 -2
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react-dom/client.production.js +4 -4
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react-dom/client.production.js__compile_info__.json +3 -3
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/jsenv/core/packages/node_modules/react-dom/client.production.map +1 -1
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/__compile_context__.json +1 -1
- package/template-web-react/.jsenv/entry_index/shape/@fs/Users/dmail/Documents/dev/jsenv/core/packages/related/cli/template-web-react/dist/jsenv_template_web_react_node_modules.js +1 -1
- package/template-web-react/.jsenv/entry_index/shape/index.html +2 -2
- package/template-web-react/.jsenv/entry_index/shape/main.jsx +1 -1
- package/template-web-react/dist/index.html +2 -2
- package/template-web-react/dist/js/main.js +1 -1
- package/template-web-react/dist/jsenv_template_web_react_node_modules.js +1 -1
- package/template-web-react/package.json +2 -2
package/package.json
CHANGED
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@jsenv/assert": "4.5.3",
|
|
16
|
-
"@jsenv/core": "40.
|
|
16
|
+
"@jsenv/core": "40.9.0",
|
|
17
17
|
"@jsenv/eslint-config-relax": "1.6.7",
|
|
18
|
-
"@jsenv/test": "3.7.
|
|
18
|
+
"@jsenv/test": "3.7.10",
|
|
19
19
|
"eslint": "9.26.0",
|
|
20
20
|
"prettier": "3.5.3"
|
|
21
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "file:///Users/dmail/Documents/dev/jsenv/core/dist/client/inline_content/inline_content.js";
|
|
2
2
|
|
|
3
3
|
const inlineContent = new __InlineContent__(".logo {\n pointer-events: none;\n height: 40vmin;\n}\n", { type: "text/css" });
|
|
4
|
-
const stylesheet = new CSSStyleSheet();
|
|
4
|
+
const stylesheet = new CSSStyleSheet({ baseUrl: "/main.css" });
|
|
5
5
|
stylesheet.replaceSync(inlineContent.text);
|
|
6
6
|
|
|
7
7
|
export default stylesheet;
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
21
21
|
<div id="root"></div>
|
|
22
|
-
<script type="module" src="/js/main.js?v=
|
|
22
|
+
<script type="module" src="/js/main.js?v=2d8748f3" original-src-position="25:27;25:42"></script>
|
|
23
23
|
</body>
|
|
24
24
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet;t.replaceSync(e.text);let n=0;document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];const o=import.meta.resolve(__v__("/other/jsenv_logo.svg"));document.querySelector("#root").innerHTML=`<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(()=>{const e=document.querySelector("#counter_button"),t=document.querySelector("#counter_output");t.innerHTML=n,e.onclick=()=>{n++,t.innerHTML=n}})();
|
|
1
|
+
("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet({baseUrl:"/main.css"});t.replaceSync(e.text);let n=0;document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];const o=import.meta.resolve(__v__("/other/jsenv_logo.svg"));document.querySelector("#root").innerHTML=`<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(()=>{const e=document.querySelector("#counter_button"),t=document.querySelector("#counter_output");t.innerHTML=n,e.onclick=()=>{n++,t.innerHTML=n}})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet;t.replaceSync(e.text);let n=0;document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];const o=import.meta.resolve(__v__("/other/jsenv_logo.svg"));document.querySelector("#root").innerHTML=`<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(()=>{const e=document.querySelector("#counter_button"),t=document.querySelector("#counter_output");t.innerHTML=n,e.onclick=()=>{n++,t.innerHTML=n}})();
|
|
1
|
+
("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet({baseUrl:"/main.css"});t.replaceSync(e.text);let n=0;document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];const o=import.meta.resolve(__v__("/other/jsenv_logo.svg"));document.querySelector("#root").innerHTML=`<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(()=>{const e=document.querySelector("#counter_button"),t=document.querySelector("#counter_output");t.innerHTML=n,e.onclick=()=>{n++,t.innerHTML=n}})();
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@babel/plugin-syntax-import-attributes": "7.27.1",
|
|
18
18
|
"@jsenv/assert": "4.5.3",
|
|
19
|
-
"@jsenv/core": "40.
|
|
19
|
+
"@jsenv/core": "40.9.0",
|
|
20
20
|
"@jsenv/eslint-config-relax": "1.6.7",
|
|
21
21
|
"@jsenv/plugin-bundling": "2.9.10",
|
|
22
22
|
"@jsenv/plugin-minification": "1.7.0",
|
|
23
|
-
"@jsenv/test": "3.7.
|
|
23
|
+
"@jsenv/test": "3.7.10",
|
|
24
24
|
"eslint": "9.26.0",
|
|
25
25
|
"open": "10.1.2",
|
|
26
26
|
"@playwright/browser-chromium": "1.52.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "file:///Users/dmail/Documents/dev/jsenv/core/dist/client/inline_content/inline_content.js";
|
|
2
2
|
|
|
3
3
|
const inlineContent = new __InlineContent__(".logo {\n pointer-events: none;\n height: 40vmin;\n}\n", { type: "text/css" });
|
|
4
|
-
const stylesheet = new CSSStyleSheet();
|
|
4
|
+
const stylesheet = new CSSStyleSheet({ baseUrl: "/app/app_custom_element.css" });
|
|
5
5
|
stylesheet.replaceSync(inlineContent.text);
|
|
6
6
|
|
|
7
7
|
export default stylesheet;
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
21
21
|
<div id="root"></div>
|
|
22
|
-
<script type="module" src="/js/main.js?v=
|
|
22
|
+
<script type="module" src="/js/main.js?v=f5983acb" original-src-position="25:27;25:42"></script>
|
|
23
23
|
</body>
|
|
24
24
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet;t.replaceSync(e.text);let n=0;const o=new URL(__v__("/other/jsenv_logo.svg"),import.meta.url);class s extends HTMLElement{constructor(){super();const e=this.attachShadow({mode:"open"});e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],e.innerHTML=`\n<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(e=>{const t=e.querySelector("#counter_button"),o=e.querySelector("#counter_output");o.innerHTML=n,t.onclick=()=>{n++,o.innerHTML=n}})(e)}}customElements.define("my-app",s),document.querySelector("#root").innerHTML="<my-app></my-app>";
|
|
1
|
+
("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet({baseUrl:"/app/app_custom_element.css"});t.replaceSync(e.text);let n=0;const o=new URL(__v__("/other/jsenv_logo.svg"),import.meta.url);class s extends HTMLElement{constructor(){super();const e=this.attachShadow({mode:"open"});e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],e.innerHTML=`\n<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(e=>{const t=e.querySelector("#counter_button"),o=e.querySelector("#counter_output");o.innerHTML=n,t.onclick=()=>{n++,o.innerHTML=n}})(e)}}customElements.define("my-app",s),document.querySelector("#root").innerHTML="<my-app></my-app>";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet;t.replaceSync(e.text);let n=0;const o=new URL(__v__("/other/jsenv_logo.svg"),import.meta.url);class s extends HTMLElement{constructor(){super();const e=this.attachShadow({mode:"open"});e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],e.innerHTML=`\n<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(e=>{const t=e.querySelector("#counter_button"),o=e.querySelector("#counter_output");o.innerHTML=n,t.onclick=()=>{n++,o.innerHTML=n}})(e)}}customElements.define("my-app",s),document.querySelector("#root").innerHTML="<my-app></my-app>";
|
|
1
|
+
("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const e=new __InlineContent__(".logo{pointer-events:none;height:40vmin}",{type:"text/css"}),t=new CSSStyleSheet({baseUrl:"/app/app_custom_element.css"});t.replaceSync(e.text);let n=0;const o=new URL(__v__("/other/jsenv_logo.svg"),import.meta.url);class s extends HTMLElement{constructor(){super();const e=this.attachShadow({mode:"open"});e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],e.innerHTML=`\n<h1>Hello world!</h1>\n<img class="logo" src=${o} alt="logo" />\n<p>\n <button id="counter_button">Click me!</button>\n <p>\n Number of clicks: <span id="counter_output"></span>\n </p>\n</p>\n<p>\n Edit <a href="javascript:window.fetch('/.internal/open_file/jsenv_logo.svg')">jsenv_logo.svg</a> and save to test HMR updates.\n</p>\n<a href="https://github.com/jsenv/core" target="_blank">Documentation</a>`,(e=>{const t=e.querySelector("#counter_button"),o=e.querySelector("#counter_output");o.innerHTML=n,t.onclick=()=>{n++,o.innerHTML=n}})(e)}}customElements.define("my-app",s),document.querySelector("#root").innerHTML="<my-app></my-app>";
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"@babel/plugin-syntax-import-attributes": "7.27.1",
|
|
19
19
|
"@jsenv/custom-elements-redefine": "0.0.1",
|
|
20
20
|
"@jsenv/assert": "4.5.3",
|
|
21
|
-
"@jsenv/core": "40.
|
|
21
|
+
"@jsenv/core": "40.9.0",
|
|
22
22
|
"@jsenv/plugin-bundling": "2.9.10",
|
|
23
23
|
"@jsenv/plugin-minification": "1.7.0",
|
|
24
24
|
"@jsenv/eslint-config-relax": "1.6.7",
|
|
25
|
-
"@jsenv/test": "3.7.
|
|
25
|
+
"@jsenv/test": "3.7.10",
|
|
26
26
|
"eslint": "9.26.0",
|
|
27
27
|
"open": "10.1.2",
|
|
28
28
|
"@playwright/browser-chromium": "1.52.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "file:///Users/dmail/Documents/dev/jsenv/core/dist/client/inline_content/inline_content.js";
|
|
2
2
|
|
|
3
3
|
const inlineContent = new __InlineContent__(".app {\n text-align: center;\n}\n\n.app_logo {\n pointer-events: none;\n height: 40vmin;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .app_logo {\n animation: 20s linear infinite app_logo_spin;\n }\n}\n\n.app_header {\n color: #fff;\n background-color: #282c34;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n min-height: 100vh;\n font-size: calc(10px + 2vmin);\n display: flex;\n}\n\n.app_link {\n color: #61dafb;\n}\n\n@keyframes app_logo_spin {\n from {\n transform: rotate(0);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n\nbutton {\n font-size: calc(10px + 2vmin);\n}\n", { type: "text/css" });
|
|
4
|
-
const stylesheet = new CSSStyleSheet();
|
|
4
|
+
const stylesheet = new CSSStyleSheet({ baseUrl: "/app/app.css" });
|
|
5
5
|
stylesheet.replaceSync(inlineContent.text);
|
|
6
6
|
|
|
7
7
|
export default stylesheet;
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
</head>
|
|
27
27
|
<body>
|
|
28
28
|
<div id="root"></div>
|
|
29
|
-
<script type="module" src="/js/main.js?v=
|
|
29
|
+
<script type="module" src="/js/main.js?v=aeb10985" original-src-position="27:27;27:43"></script>
|
|
30
30
|
</body>
|
|
31
31
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e,u as t,k as n,_ as o,E as
|
|
1
|
+
import{d as e,u as t,k as n,_ as o,E as a}from"/jsenv_template_web_preact_node_modules.js";("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const p=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),r=new CSSStyleSheet({baseUrl:"/app/app.css"});r.replaceSync(p.text);const i=()=>{const[o,a]=e(0);return t(n,{children:[t("button",{id:"counter_button",type:"button",onClick:()=>a((e=>e+1)),children:"Click me"}),t("br",{}),"number of click: ",t("span",{id:"counter_output",children:o})]})},c=import.meta.resolve(__v__("/other/preact_logo.svg"));a(t((()=>(o((()=>(document.adoptedStyleSheets=[...document.adoptedStyleSheets,r],()=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==r))})),[]),t("div",{className:"app",children:t("header",{className:"app_header",children:[t("img",{src:c,className:"app_logo",alt:"logo"}),t("p",{children:"Hello jsenv + preact!"}),t("p",{children:t(i,{})}),t("p",{children:["Edit"," ",t("a",{className:"app_link",href:"javascript:window.fetch('/internal/open_file/app/app.jsx')",children:"app.jsx"})," ","and save to test HMR updates."]}),t("p",{children:t("a",{className:"app_link",href:"https://github.com/jsenv/core",target:"_blank",rel:"noopener noreferrer",children:"Jsenv documentation"})})]})}))),{}),document.querySelector("#root"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e,u as t,k as n,_ as o,E as
|
|
1
|
+
import{d as e,u as t,k as n,_ as o,E as a}from"/jsenv_template_web_preact_node_modules.js";("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const p=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),r=new CSSStyleSheet({baseUrl:"/app/app.css"});r.replaceSync(p.text);const i=()=>{const[o,a]=e(0);return t(n,{children:[t("button",{id:"counter_button",type:"button",onClick:()=>a((e=>e+1)),children:"Click me"}),t("br",{}),"number of click: ",t("span",{id:"counter_output",children:o})]})},c=import.meta.resolve(__v__("/other/preact_logo.svg"));a(t((()=>(o((()=>(document.adoptedStyleSheets=[...document.adoptedStyleSheets,r],()=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==r))})),[]),t("div",{className:"app",children:t("header",{className:"app_header",children:[t("img",{src:c,className:"app_logo",alt:"logo"}),t("p",{children:"Hello jsenv + preact!"}),t("p",{children:t(i,{})}),t("p",{children:["Edit"," ",t("a",{className:"app_link",href:"javascript:window.fetch('/internal/open_file/app/app.jsx')",children:"app.jsx"})," ","and save to test HMR updates."]}),t("p",{children:t("a",{className:"app_link",href:"https://github.com/jsenv/core",target:"_blank",rel:"noopener noreferrer",children:"Jsenv documentation"})})]})}))),{}),document.querySelector("#root"));
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"@babel/plugin-syntax-import-attributes": "7.27.1",
|
|
22
22
|
"@babel/plugin-transform-react-jsx": "7.27.1",
|
|
23
23
|
"@jsenv/assert": "4.5.3",
|
|
24
|
-
"@jsenv/core": "40.
|
|
24
|
+
"@jsenv/core": "40.9.0",
|
|
25
25
|
"@jsenv/plugin-preact": "1.7.20",
|
|
26
26
|
"@jsenv/plugin-bundling": "2.9.10",
|
|
27
27
|
"@jsenv/plugin-minification": "1.7.0",
|
|
28
28
|
"@jsenv/eslint-config-relax": "1.6.7",
|
|
29
|
-
"@jsenv/test": "3.7.
|
|
29
|
+
"@jsenv/test": "3.7.10",
|
|
30
30
|
"eslint": "9.26.0",
|
|
31
31
|
"open": "10.1.2",
|
|
32
32
|
"@playwright/browser-chromium": "1.52.0",
|
|
@@ -4,7 +4,7 @@ function getDefaultExportFromCjs (x) {
|
|
|
4
4
|
|
|
5
5
|
var react = {exports: {}};
|
|
6
6
|
|
|
7
|
-
var global$1 = (typeof
|
|
7
|
+
var global$1 = (typeof global !== "undefined" ? global :
|
|
8
8
|
typeof self !== "undefined" ? self :
|
|
9
9
|
typeof window !== "undefined" ? window : {});
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ function noop() {}
|
|
|
12
12
|
var emit = noop;
|
|
13
13
|
|
|
14
14
|
// from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
|
|
15
|
-
var performance =
|
|
15
|
+
var performance = global$1.performance || {};
|
|
16
16
|
performance.now ||
|
|
17
17
|
performance.mozNow ||
|
|
18
18
|
performance.msNow ||
|
|
@@ -6,7 +6,7 @@ function getDefaultExportFromCjs (x) {
|
|
|
6
6
|
|
|
7
7
|
var client = {exports: {}};
|
|
8
8
|
|
|
9
|
-
var global$1 = (typeof
|
|
9
|
+
var global$1 = (typeof global !== "undefined" ? global :
|
|
10
10
|
typeof self !== "undefined" ? self :
|
|
11
11
|
typeof window !== "undefined" ? window : {});
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ function noop() {}
|
|
|
14
14
|
var emit = noop;
|
|
15
15
|
|
|
16
16
|
// from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
|
|
17
|
-
var performance$1 =
|
|
17
|
+
var performance$1 = global$1.performance || {};
|
|
18
18
|
performance$1.now ||
|
|
19
19
|
performance$1.mozNow ||
|
|
20
20
|
performance$1.msNow ||
|
|
@@ -620,7 +620,7 @@ function requireReactDom () {
|
|
|
620
620
|
hasRequiredReactDom = 1;
|
|
621
621
|
|
|
622
622
|
function checkDCE() {
|
|
623
|
-
/*
|
|
623
|
+
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
|
624
624
|
if (
|
|
625
625
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
|
|
626
626
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
|
|
@@ -16034,7 +16034,7 @@ function requireClient () {
|
|
|
16034
16034
|
hasRequiredClient = 1;
|
|
16035
16035
|
|
|
16036
16036
|
function checkDCE() {
|
|
16037
|
-
/*
|
|
16037
|
+
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
|
16038
16038
|
if (
|
|
16039
16039
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
|
|
16040
16040
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "file:///Users/dmail/Documents/dev/jsenv/core/dist/client/inline_content/inline_content.js";
|
|
2
2
|
|
|
3
3
|
const inlineContent = new __InlineContent__(".app {\n text-align: center;\n}\n\n.app_logo {\n pointer-events: none;\n height: 40vmin;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .app_logo {\n animation: 20s linear infinite app_logo_spin;\n }\n}\n\n.app_header {\n color: #fff;\n background-color: #282c34;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n min-height: 100vh;\n font-size: calc(10px + 2vmin);\n display: flex;\n}\n\n.app_link {\n color: #61dafb;\n}\n\n@keyframes app_logo_spin {\n from {\n transform: rotate(0);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n\nbutton {\n font-size: calc(10px + 2vmin);\n}\n", { type: "text/css" });
|
|
4
|
-
const stylesheet = new CSSStyleSheet();
|
|
4
|
+
const stylesheet = new CSSStyleSheet({ baseUrl: "/app/app.css" });
|
|
5
5
|
stylesheet.replaceSync(inlineContent.text);
|
|
6
6
|
|
|
7
7
|
export default stylesheet;
|
|
@@ -4,7 +4,7 @@ function getDefaultExportFromCjs (x) {
|
|
|
4
4
|
|
|
5
5
|
var react = {exports: {}};
|
|
6
6
|
|
|
7
|
-
var global$1 = (typeof
|
|
7
|
+
var global$1 = (typeof global !== "undefined" ? global :
|
|
8
8
|
typeof self !== "undefined" ? self :
|
|
9
9
|
typeof window !== "undefined" ? window : {});
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ function noop() {}
|
|
|
12
12
|
var emit = noop;
|
|
13
13
|
|
|
14
14
|
// from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
|
|
15
|
-
var performance =
|
|
15
|
+
var performance = global$1.performance || {};
|
|
16
16
|
performance.now ||
|
|
17
17
|
performance.mozNow ||
|
|
18
18
|
performance.msNow ||
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
},
|
|
11
11
|
"index.production.map": {
|
|
12
12
|
"type": "sourcemap",
|
|
13
|
-
"etag": "\"
|
|
13
|
+
"etag": "\"86cd-/4WgRjAwu9EKAIWVS0oQtPa0Nvs\""
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
|
-
"createdMs":
|
|
17
|
-
"lastModifiedMs":
|
|
16
|
+
"createdMs": 1753793013089,
|
|
17
|
+
"lastModifiedMs": 1753793013089
|
|
18
18
|
}
|