graphwise-reactodia 0.0.1-TR1
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/README.md +2 -0
- package/dist/cjs/app-globals-CcJr5lkF.js +23 -0
- package/dist/cjs/graphwise-reactodia.cjs.entry.js +45058 -0
- package/dist/cjs/graphwise-reactodia.cjs.js +25 -0
- package/dist/cjs/index-CII9aUQC.js +1212 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/collection/collection-manifest.json +13 -0
- package/dist/collection/components/graphwise-reactodia/graphwise-reactodia.css +10 -0
- package/dist/collection/components/graphwise-reactodia/graphwise-reactodia.js +182 -0
- package/dist/collection/components/graphwise-reactodia/i18n/translations.js +4 -0
- package/dist/collection/components/graphwise-reactodia/models/reactodia-app-props.js +1 -0
- package/dist/collection/components/graphwise-reactodia/reactodia-app.js +109 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/polyfill/polyfill-node.js +17 -0
- package/dist/esm/app-globals-CalY52z6.js +21 -0
- package/dist/esm/graphwise-reactodia.entry.js +45056 -0
- package/dist/esm/graphwise-reactodia.js +21 -0
- package/dist/esm/index-Cypw7ydc.js +1204 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/graphwise-reactodia/graphwise-reactodia.esm.js +1 -0
- package/dist/graphwise-reactodia/index.esm.js +0 -0
- package/dist/graphwise-reactodia/p-CalY52z6.js +1 -0
- package/dist/graphwise-reactodia/p-Cypw7ydc.js +2 -0
- package/dist/graphwise-reactodia/p-bafd6be5.entry.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/graphwise-reactodia/graphwise-reactodia.d.ts +44 -0
- package/dist/types/components/graphwise-reactodia/i18n/translations.d.ts +343 -0
- package/dist/types/components/graphwise-reactodia/models/reactodia-app-props.d.ts +34 -0
- package/dist/types/components/graphwise-reactodia/reactodia-app.d.ts +21 -0
- package/dist/types/components.d.ts +109 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/polyfill/polyfill-node.d.ts +9 -0
- package/dist/types/stencil-public-runtime.d.ts +1702 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +30 -0
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Stencil global script, executed once before any component bundle loads.
|
|
5
|
+
*
|
|
6
|
+
* Reactodia's transitive dependencies (n3 / readable-stream) reference the Node.js
|
|
7
|
+
* `process` global at module-evaluation time (e.g. `util.debuglog` reads
|
|
8
|
+
* `process.env.NODE_DEBUG`). That global does not exist in the browser, so we provide
|
|
9
|
+
* a minimal shim here to keep those modules from crashing
|
|
10
|
+
*/
|
|
11
|
+
function polyfillNode() {
|
|
12
|
+
const globalScope = globalThis;
|
|
13
|
+
if (!globalScope.process) {
|
|
14
|
+
globalScope.process = { env: { NODE_ENV: 'production' } };
|
|
15
|
+
}
|
|
16
|
+
else if (!globalScope.process.env) {
|
|
17
|
+
globalScope.process.env = { NODE_ENV: 'production' };
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const globalScripts = polyfillNode;
|
|
22
|
+
|
|
23
|
+
exports.globalScripts = globalScripts;
|