@mashroom/mashroom-portal-demo-import-map 3.0.0-alpha.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) nonblocking.at gmbh
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+
2
+ # Mashroom Portal Demo Pure JS App
3
+
4
+ Plugin for [Mashroom Server](https://www.mashroom-server.com), a **Microfrontend Integration Platform**.
5
+
6
+ This plugin package contains two small React Microfrontend that share external vendor libraries and can act
7
+ as a building block in the [Mashroom Portal](../mashroom-portal).
8
+
9
+ It uses Webpack to bundle the Apps to SystemJS modules and requests the external *React* dependencies via *Import Map*.
10
+
11
+ This approach leads to tiny Apps with about 1.5KB each.
12
+
13
+ ## Usage
14
+
15
+ If *node_modules/@mashroom* is configured as a plugin path, add **@mashroom/mashroom-portal-demo-import-map** as *dependency*.
16
+
17
+ Then you can place *Mashroom Portal Demo Import Map 1* and *Mashroom Portal Demo Import Map 2* on any page via *Portal Admin Toolbar*.
package/dist/index1.js ADDED
@@ -0,0 +1,2 @@
1
+ System.register(["react","react-dom/client"],function(e,t){var r={},n={};return{setters:[function(e){r.default=e.default||e},function(e){n.createRoot=e.createRoot}],execute:function(){e((()=>{"use strict";var e={726(e){e.exports=r},387(e){e.exports=n}};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const a=t[r]={exports:{}};return e[r](a,a.exports,o),a.exports}o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r<t.length;){var n=t[r++],a=t[r++];o.o(e,n)?0===a&&r++:0===a?Object.defineProperty(e,n,{enumerable:!0,value:t[r++]}):Object.defineProperty(e,n,{enumerable:!0,get:a})}else for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};let a={};o.r(a),o.d(a,{startApp:()=>s});var l=o(726),u=o(387);const c=function(){return l.default.createElement("div",{style:{padding:"var(--mashroom-portal-spacing-default, 10px)"}},l.default.createElement("h4",null,"Import Map Demo 1 App"),l.default.createElement("p",null,"A simple ",l.default.createElement("em",null,"React")," Microfrontend shipped as ",l.default.createElement("em",null,"SystemJS modules")," that uses ",l.default.createElement("em",null,"Import Maps")," to load (and share) vendor libraries."))};var s=function(e,t,r){var n=(0,u.createRoot)(e);return n.render(l.default.createElement(c,null)),{willBeRemoved:function(){n.unmount()}}};return a})())}}});
2
+ //# sourceMappingURL=index1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index1.js","mappings":"2NAAAA,EAAAC,QAAAC,UCAAF,EAAAC,QAAAE,ICCA,MAAAC,EAAA,GAGA,SAA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AAqD,SAACC,EAAaC,EAAgBC,GAC5F,IAAMC,GAAOC,EAAAA,EAAAA,YAAWJ,GAExB,OADAG,EAAKE,OAAOT,EAAAA,QAAAA,cAACD,EAAG,OACT,CACHW,cAAe,WACXH,EAAKI,SACT,EAER","sources":["webpack://@mashroom/mashroom-portal-demo-import-map/external system \"react\"","webpack://@mashroom/mashroom-portal-demo-import-map/external system \"react-dom/client\"","webpack://@mashroom/mashroom-portal-demo-import-map/webpack/bootstrap","webpack://@mashroom/mashroom-portal-demo-import-map/webpack/runtime/define property getters","webpack://@mashroom/mashroom-portal-demo-import-map/webpack/runtime/hasOwnProperty shorthand","webpack://@mashroom/mashroom-portal-demo-import-map/webpack/runtime/make namespace object","webpack://@mashroom/mashroom-portal-demo-import-map/./src/app1/App.tsx","webpack://@mashroom/mashroom-portal-demo-import-map/./src/app1/index.tsx"],"sourcesContent":["module.exports = __WEBPACK_EXTERNAL_MODULE__726__;","module.exports = __WEBPACK_EXTERNAL_MODULE__387__;","// The module cache\nconst __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tconst cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tconst module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter/value functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tif(Array.isArray(definition)) {\n\t\tvar i = 0;\n\t\twhile(i < definition.length) {\n\t\t\tvar key = definition[i++];\n\t\t\tvar binding = definition[i++];\n\t\t\tif(!__webpack_require__.o(exports, key)) {\n\t\t\t\tif(binding === 0) {\n\t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, value: definition[i++] });\n\t\t\t\t} else {\n\t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: binding });\n\t\t\t\t}\n\t\t\t} else if(binding === 0) { i++; }\n\t\t}\n\t} else {\n\t\tfor(var key in definition) {\n\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t\t}\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import React from 'react';\n\nexport default () => (\n <div style={{ padding: 'var(--mashroom-portal-spacing-default, 10px)' }}>\n <h4>Import Map Demo 1 App</h4>\n <p>\n A simple <em>React</em> Microfrontend shipped as <em>SystemJS modules</em> that\n uses <em>Import Maps</em> to load (and share) vendor libraries.\n </p>\n </div>\n);\n","import React from 'react';\nimport {createRoot} from 'react-dom/client';\nimport App from './App';\nimport type {MashroomPortalAppPluginBootstrapFunction} from '@mashroom/mashroom-portal/type-definitions';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const startApp: MashroomPortalAppPluginBootstrapFunction = (hostElement, portalAppSetup, clientServices) => {\n const root = createRoot(hostElement);\n root.render(<App />);\n return {\n willBeRemoved: () => {\n root.unmount();\n }\n };\n};\n"],"names":["module","exports","__WEBPACK_EXTERNAL_MODULE__726__","__WEBPACK_EXTERNAL_MODULE__387__","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","d","definition","Array","isArray","i","length","key","binding","o","Object","defineProperty","enumerable","value","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","App","React","style","padding","startApp","hostElement","portalAppSetup","clientServices","root","createRoot","render","willBeRemoved","unmount"],"sourceRoot":""}
package/dist/index2.js ADDED
@@ -0,0 +1,2 @@
1
+ System.register(["react","react-dom/client"],function(e,t){var r={},n={};return{setters:[function(e){r.default=e.default||e},function(e){n.createRoot=e.createRoot}],execute:function(){e((()=>{"use strict";var e={726(e){e.exports=r},387(e){e.exports=n}};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const a=t[r]={exports:{}};return e[r](a,a.exports,o),a.exports}o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r<t.length;){var n=t[r++],a=t[r++];o.o(e,n)?0===a&&r++:0===a?Object.defineProperty(e,n,{enumerable:!0,value:t[r++]}):Object.defineProperty(e,n,{enumerable:!0,get:a})}else for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};let a={};o.r(a),o.d(a,{startApp:()=>s});var l=o(726),u=o(387);const c=function(){return l.default.createElement("div",{style:{padding:"var(--mashroom-portal-spacing-default, 10px)"}},l.default.createElement("h4",null,"Import Map Demo 2 App"),l.default.createElement("p",null,"A simple ",l.default.createElement("em",null,"React")," Microfrontend shipped as ",l.default.createElement("em",null,"SystemJS modules")," that uses ",l.default.createElement("em",null,"Import Maps")," to load (and share) vendor libraries."))};var s=function(e,t,r){var n=(0,u.createRoot)(e);return n.render(l.default.createElement(c,null)),{willBeRemoved:function(){n.unmount()}}};return a})())}}});
2
+ //# sourceMappingURL=index2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index2.js","mappings":"2NAAAA,EAAAC,QAAAC,UCAAF,EAAAC,QAAAE,ICCA,MAAAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,MAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAN,QAGA,MAAAD,EAAAI,EAAAE,GAAA,CAGAL,QAAA,IAOA,OAHAQ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AAe,WACXH,EAAKI,SACT,EAER","sources":["webpack://@mashroom/mashroom-portal-demo-import-map/external system \"react\"","webpack://@mashroom/mashroom-portal-demo-import-map/external system \"react-dom/client\"","webpack://@mashroom/mashroom-portal-demo-import-map/webpack/bootstrap","webpack://@mashroom/mashroom-portal-demo-import-map/webpack/runtime/define property getters","webpack://@mashroom/mashroom-portal-demo-import-map/webpack/runtime/hasOwnProperty shorthand","webpack://@mashroom/mashroom-portal-demo-import-map/webpack/runtime/make namespace object","webpack://@mashroom/mashroom-portal-demo-import-map/./src/app2/App.tsx","webpack://@mashroom/mashroom-portal-demo-import-map/./src/app2/index.tsx"],"sourcesContent":["module.exports = __WEBPACK_EXTERNAL_MODULE__726__;","module.exports = __WEBPACK_EXTERNAL_MODULE__387__;","// The module cache\nconst __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tconst cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tconst module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter/value functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tif(Array.isArray(definition)) {\n\t\tvar i = 0;\n\t\twhile(i < definition.length) {\n\t\t\tvar key = definition[i++];\n\t\t\tvar binding = definition[i++];\n\t\t\tif(!__webpack_require__.o(exports, key)) {\n\t\t\t\tif(binding === 0) {\n\t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, value: definition[i++] });\n\t\t\t\t} else {\n\t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: binding });\n\t\t\t\t}\n\t\t\t} else if(binding === 0) { i++; }\n\t\t}\n\t} else {\n\t\tfor(var key in definition) {\n\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t\t}\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import React from 'react';\n\nexport default () => (\n <div style={{ padding: 'var(--mashroom-portal-spacing-default, 10px)' }}>\n <h4>Import Map Demo 2 App</h4>\n <p>\n A simple <em>React</em> Microfrontend shipped as <em>SystemJS modules</em> that\n uses <em>Import Maps</em> to load (and share) vendor libraries.\n </p>\n </div>\n);\n","import React from 'react';\nimport {createRoot} from 'react-dom/client';\nimport App from './App';\nimport type {MashroomPortalAppPluginBootstrapFunction} from '@mashroom/mashroom-portal/type-definitions';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const startApp: MashroomPortalAppPluginBootstrapFunction = (hostElement, portalAppSetup, clientServices) => {\n const root = createRoot(hostElement);\n root.render(<App />);\n return {\n willBeRemoved: () => {\n root.unmount();\n }\n };\n};\n"],"names":["module","exports","__WEBPACK_EXTERNAL_MODULE__726__","__WEBPACK_EXTERNAL_MODULE__387__","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","d","definition","Array","isArray","i","length","key","binding","o","Object","defineProperty","enumerable","value","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","App","React","style","padding","startApp","hostElement","portalAppSetup","clientServices","root","createRoot","render","willBeRemoved","unmount"],"sourceRoot":""}
package/mashroom.ts ADDED
@@ -0,0 +1,65 @@
1
+ import type {MashroomPlugins} from '@mashroom/mashroom-json-schemas/type-definitions';
2
+
3
+ const sharedImportMap = {
4
+ imports: {
5
+ react: 'https://ga.system.jspm.io/npm:react@19.1.1/index.js',
6
+ 'react-dom': 'https://ga.system.jspm.io/npm:react-dom@19.1.1/index.js',
7
+ 'react-dom/client': 'https://ga.system.jspm.io/npm:react-dom@19.1.1/client.js',
8
+ scheduler: 'https://ga.system.jspm.io/npm:scheduler@0.26.0/index.js',
9
+ process: 'https://ga.system.jspm.io/npm:process@0.11.10/browser.js',
10
+ },
11
+ };
12
+
13
+ const pluginDefinition: MashroomPlugins = {
14
+ devModeBuildScript: 'build',
15
+ plugins: [
16
+ {
17
+ name: 'Mashroom Portal Demo Import Map 1',
18
+ type: 'portal-app2',
19
+ clientBootstrap: 'startApp',
20
+ resources: {
21
+ moduleSystem: 'SystemJS',
22
+ importMap: sharedImportMap,
23
+ js: [
24
+ 'index1.js'
25
+ ]
26
+ },
27
+ local: {
28
+ resourcesRoot: './dist',
29
+ },
30
+ defaultConfig: {
31
+ title: 'Demo Import Map App 1',
32
+ description: {
33
+ en: 'A demo Microfrontend that shares external vendor modules via Import Map',
34
+ de: 'Ein Demo Microfrontend das externe Module via Import Map teilt'
35
+ },
36
+ category: 'Demo'
37
+ }
38
+ },
39
+ {
40
+ name: 'Mashroom Portal Demo Import Map 2',
41
+ type: 'portal-app2',
42
+ clientBootstrap: 'startApp',
43
+ resources: {
44
+ moduleSystem: 'SystemJS',
45
+ importMap: sharedImportMap,
46
+ js: [
47
+ 'index2.js'
48
+ ]
49
+ },
50
+ local: {
51
+ resourcesRoot: './dist',
52
+ },
53
+ defaultConfig: {
54
+ title: 'Demo Import Map App 2',
55
+ description: {
56
+ en: 'A demo Microfrontend that shares external vendor modules via Import Map',
57
+ de: 'Ein Demo Microfrontend das externe Module via Import Map teilt'
58
+ },
59
+ category: 'Demo'
60
+ }
61
+ }
62
+ ]
63
+ };
64
+
65
+ export default pluginDefinition;
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@mashroom/mashroom-portal-demo-import-map",
3
+ "description": "Demo Microfrontends that shares external vendor modules via Import Map",
4
+ "homepage": "https://www.mashroom-server.com",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/nonblocking/mashroom.git"
8
+ },
9
+ "type": "module",
10
+ "license": "MIT",
11
+ "version": "3.0.0-alpha.0",
12
+ "sideEffects": false,
13
+ "files": [
14
+ "dist/**",
15
+ "mashroom.ts"
16
+ ],
17
+ "devDependencies": {
18
+ "@mashroom/mashroom-portal": "3.0.0-alpha.0"
19
+ },
20
+ "scripts": {
21
+ "lint": "eslint --fix",
22
+ "type-check": "tsc --noEmit",
23
+ "dev:app1": "webpack serve --config ./webpack.config.app1.js --mode development",
24
+ "dev:app2": "webpack serve --config ./webpack.config.app2.js --mode development",
25
+ "build": "webpack --config ./webpack.config.app1.js --mode production && webpack --config ./webpack.config.app2.js --mode production"
26
+ }
27
+ }