@lolyjs/core 0.2.0-alpha.2 → 0.2.0-alpha.3

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/LICENCE.md ADDED
@@ -0,0 +1,9 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 LolyJS.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/dist/cli.cjs CHANGED
@@ -5093,7 +5093,7 @@ async function startProdServer(options = {}) {
5093
5093
  var import_client5 = require("react-dom/client");
5094
5094
 
5095
5095
  // modules/runtime/client/AppShell.tsx
5096
- var import_react2 = require("react");
5096
+ var import_react3 = require("react");
5097
5097
 
5098
5098
  // modules/runtime/client/RouterView.tsx
5099
5099
  var import_jsx_runtime = require("react/jsx-runtime");
@@ -5122,6 +5122,10 @@ var dataCache = cacheStore.data;
5122
5122
  var pathIndex = cacheStore.index;
5123
5123
  var lru = cacheStore.lru;
5124
5124
 
5125
+ // modules/runtime/client/RouterContext.tsx
5126
+ var import_react2 = require("react");
5127
+ var RouterContext = (0, import_react2.createContext)(null);
5128
+
5125
5129
  // modules/runtime/client/AppShell.tsx
5126
5130
  var import_jsx_runtime2 = require("react/jsx-runtime");
5127
5131