@symbo.ls/create 2.11.414 → 2.11.416
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/dist/cjs/bundle/index.js +1 -4
- package/dist/cjs/createDomql.js +1 -1
- package/dist/cjs/prepare.js +0 -3
- package/package.json +2 -2
- package/src/createDomql.js +1 -1
- package/src/prepare.js +0 -3
package/dist/cjs/bundle/index.js
CHANGED
|
@@ -27995,11 +27995,8 @@ var preparePackages = (packages, opts) => {
|
|
|
27995
27995
|
const { dependenciesOnDemand, document: document2 } = opts;
|
|
27996
27996
|
if (!windowOpts.packages[key] && dependenciesOnDemand && dependenciesOnDemand[key]) {
|
|
27997
27997
|
const version = dependenciesOnDemand[key];
|
|
27998
|
-
console.log(key, version);
|
|
27999
27998
|
const url2 = `https://pkg.symbo.ls/${key}/${version}.js`;
|
|
28000
27999
|
utilImports_exports.loadJavascriptFileSync(url2, document2);
|
|
28001
|
-
console.log("loaded", url2);
|
|
28002
|
-
console.log(windowOpts.packages[key]);
|
|
28003
28000
|
}
|
|
28004
28001
|
return windowOpts.require(key);
|
|
28005
28002
|
};
|
|
@@ -28058,7 +28055,7 @@ var createDomqlElement = (App, options) => {
|
|
|
28058
28055
|
const designSystem = scratcDesignSystem;
|
|
28059
28056
|
const snippets = prepareUtils(options);
|
|
28060
28057
|
const dependencies = prepareDependencies(options);
|
|
28061
|
-
preparePackages({ functions: snippets, utils: snippets, ...options.files }, options);
|
|
28058
|
+
preparePackages({ functions: snippets, utils: snippets, snippets, ...options.files }, options);
|
|
28062
28059
|
const define = options.define || defaultDefine;
|
|
28063
28060
|
const routerOptions = initRouter(App, options);
|
|
28064
28061
|
const extend = applySyncDebug([App], options);
|
package/dist/cjs/createDomql.js
CHANGED
|
@@ -51,7 +51,7 @@ const createDomqlElement = (App, options) => {
|
|
|
51
51
|
const designSystem = scratcDesignSystem;
|
|
52
52
|
const snippets = (0, import_prepare.prepareUtils)(options);
|
|
53
53
|
const dependencies = (0, import_prepare.prepareDependencies)(options);
|
|
54
|
-
(0, import_prepare.preparePackages)({ functions: snippets, utils: snippets, ...options.files }, options);
|
|
54
|
+
(0, import_prepare.preparePackages)({ functions: snippets, utils: snippets, snippets, ...options.files }, options);
|
|
55
55
|
const define = options.define || import_define.defaultDefine;
|
|
56
56
|
const routerOptions = (0, import_router.initRouter)(App, options);
|
|
57
57
|
const extend = (0, import_syncExtend.applySyncDebug)([App], options);
|
package/dist/cjs/prepare.js
CHANGED
|
@@ -108,11 +108,8 @@ const preparePackages = (packages, opts) => {
|
|
|
108
108
|
const { dependenciesOnDemand, document: document2 } = opts;
|
|
109
109
|
if (!windowOpts.packages[key] && dependenciesOnDemand && dependenciesOnDemand[key]) {
|
|
110
110
|
const version = dependenciesOnDemand[key];
|
|
111
|
-
console.log(key, version);
|
|
112
111
|
const url = `https://pkg.symbo.ls/${key}/${version}.js`;
|
|
113
112
|
utils.loadJavascriptFileSync(url, document2);
|
|
114
|
-
console.log("loaded", url);
|
|
115
|
-
console.log(windowOpts.packages[key]);
|
|
116
113
|
}
|
|
117
114
|
return windowOpts.require(key);
|
|
118
115
|
};
|
package/package.json
CHANGED
package/src/createDomql.js
CHANGED
|
@@ -33,7 +33,7 @@ export const createDomqlElement = (App, options) => {
|
|
|
33
33
|
const designSystem = scratcDesignSystem
|
|
34
34
|
const snippets = prepareUtils(options)
|
|
35
35
|
const dependencies = prepareDependencies(options)
|
|
36
|
-
preparePackages({ functions: snippets, utils: snippets, ...options.files }, options)
|
|
36
|
+
preparePackages({ functions: snippets, utils: snippets, snippets, ...options.files }, options)
|
|
37
37
|
|
|
38
38
|
const define = options.define || defaultDefine
|
|
39
39
|
|
package/src/prepare.js
CHANGED
|
@@ -81,11 +81,8 @@ export const preparePackages = (packages, opts) => {
|
|
|
81
81
|
const { dependenciesOnDemand, document } = opts
|
|
82
82
|
if (!windowOpts.packages[key] && dependenciesOnDemand && dependenciesOnDemand[key]) {
|
|
83
83
|
const version = dependenciesOnDemand[key]
|
|
84
|
-
console.log(key, version)
|
|
85
84
|
const url = `https://pkg.symbo.ls/${key}/${version}.js`
|
|
86
85
|
utils.loadJavascriptFileSync(url, document)
|
|
87
|
-
console.log('loaded', url)
|
|
88
|
-
console.log(windowOpts.packages[key])
|
|
89
86
|
}
|
|
90
87
|
return windowOpts.require(key)
|
|
91
88
|
}
|