sample-cross-fx 0.14.13 → 0.14.14-beta.3765
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/app/{index.150056.js → index.4fbb2d.js} +277 -110
- package/app/{index.150056.js.map → index.4fbb2d.js.map} +1 -1
- package/app/index.d.ts +27 -0
- package/app/index.html +1 -1
- package/app/index.js +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +4 -4
package/app/index.d.ts
CHANGED
|
@@ -1479,6 +1479,10 @@ declare module "sample-cross-fx" {
|
|
|
1479
1479
|
* The layout used for pages.
|
|
1480
1480
|
*/
|
|
1481
1481
|
Layout: React.ComponentType<LayoutProps>;
|
|
1482
|
+
/**
|
|
1483
|
+
* The route switch used for determining the route registration.
|
|
1484
|
+
*/
|
|
1485
|
+
RouteSwitch: React.ComponentType<RouteSwitchProps>;
|
|
1482
1486
|
/**
|
|
1483
1487
|
* A component that can be used for debugging purposes.
|
|
1484
1488
|
*/
|
|
@@ -1650,6 +1654,29 @@ declare module "sample-cross-fx" {
|
|
|
1650
1654
|
currentLayout: LayoutType;
|
|
1651
1655
|
}
|
|
1652
1656
|
|
|
1657
|
+
/**
|
|
1658
|
+
* The props of the RouteSwitch component.
|
|
1659
|
+
*/
|
|
1660
|
+
export interface RouteSwitchProps extends ReactRouter.SwitchProps {
|
|
1661
|
+
/**
|
|
1662
|
+
* The component that should be used in case nothing was found.
|
|
1663
|
+
*/
|
|
1664
|
+
NotFound: React.ComponentType<ReactRouter.RouteComponentProps>;
|
|
1665
|
+
/**
|
|
1666
|
+
* The component to register for the different paths.
|
|
1667
|
+
*/
|
|
1668
|
+
paths: Array<{
|
|
1669
|
+
/**
|
|
1670
|
+
* The exact path to use.
|
|
1671
|
+
*/
|
|
1672
|
+
path: string;
|
|
1673
|
+
/**
|
|
1674
|
+
* The component to register for this path.
|
|
1675
|
+
*/
|
|
1676
|
+
Component: React.ComponentType<ReactRouter.RouteComponentProps>;
|
|
1677
|
+
}>;
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1653
1680
|
/**
|
|
1654
1681
|
* Custom parts of the global registry state defined outside of piral-core.
|
|
1655
1682
|
*/
|
package/app/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<title>Sample - Cross Framework with Piral</title>
|
|
6
6
|
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
|
|
7
7
|
|
|
8
|
-
<script defer src="/index.
|
|
8
|
+
<script defer src="/index.4fbb2d.js"></script></head>
|
|
9
9
|
<body>
|
|
10
10
|
<div id="app"></div>
|
|
11
11
|
|
package/app/index.js
CHANGED
|
@@ -2,7 +2,7 @@ if (process.env.NODE_ENV === 'test') {
|
|
|
2
2
|
// behavior for the test environment, we'll try to make it work
|
|
3
3
|
|
|
4
4
|
if (typeof window !== 'undefined') {
|
|
5
|
-
require('.//index.
|
|
5
|
+
require('.//index.4fbb2d.js');
|
|
6
6
|
const ctx = window['dbg:piral'];
|
|
7
7
|
const dependencies = (ctx && ctx.pilets && ctx.pilets.getDependencies({})) || {};
|
|
8
8
|
module.exports = dependencies['sample-cross-fx'] || {};
|
package/files.tar
CHANGED
|
Binary file
|
package/files_once.tar
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sample-cross-fx",
|
|
3
3
|
"description": "Example project illustrating the mixing of different (opt-in) frameworks via plugins.",
|
|
4
|
-
"version": "0.14.
|
|
4
|
+
"version": "0.14.14-beta.3765",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://piral.io",
|
|
7
7
|
"keywords": [
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"piralCLI": {
|
|
47
|
-
"version": "0.14.
|
|
47
|
+
"version": "0.14.13",
|
|
48
48
|
"generated": true
|
|
49
49
|
},
|
|
50
50
|
"main": "./app/index.js",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"@types/react-router": "^5.1.8",
|
|
59
59
|
"@types/react-router-dom": "^5.1.6",
|
|
60
60
|
"@vue/component-compiler-utils": "^3.0.0",
|
|
61
|
-
"piral-cli": "^0.14.
|
|
62
|
-
"piral-cli-webpack5": "^0.14.
|
|
61
|
+
"piral-cli": "^0.14.13",
|
|
62
|
+
"piral-cli-webpack5": "^0.14.13",
|
|
63
63
|
"sass": "^1.17.0",
|
|
64
64
|
"vue-template-compiler": "^2.6.10",
|
|
65
65
|
"@angular/common": "8.2.14",
|