@yongdall/assets 0.1.1 → 0.2.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/cli/assets.mjs +16 -0
- package/cli/assets.mjs.map +1 -0
- package/cli/yongdall.yml +4 -0
- package/package.json +4 -4
- /package/{types.d.mts → index.d.mts} +0 -0
package/cli/assets.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import configuration, { assetsRoot, boot, projectRoot } from "@yongdall/configuration";
|
|
2
|
+
import { assets, initAssets } from "#index";
|
|
3
|
+
|
|
4
|
+
//#region cli/assets/cli/assets.mjs
|
|
5
|
+
async function assets_default() {
|
|
6
|
+
const { pluginAssets, nodeModules } = await assets(projectRoot);
|
|
7
|
+
await initAssets(projectRoot, assetsRoot, pluginAssets, nodeModules, {
|
|
8
|
+
title: configuration.title || "",
|
|
9
|
+
bootModule: configuration.bootModule,
|
|
10
|
+
bootName: configuration.bootName
|
|
11
|
+
}, boot);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { assets_default as default };
|
|
16
|
+
//# sourceMappingURL=assets.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assets.mjs","names":[],"sources":["../../../cli/assets/cli/assets.mjs"],"sourcesContent":["import configuration, { assetsRoot, boot, projectRoot } from '@yongdall/configuration';\nimport { initAssets, assets } from '#index';\n\n\nexport default async function() {\n\tconst { pluginAssets, nodeModules } = await assets(projectRoot);\n\tawait initAssets(projectRoot, assetsRoot, pluginAssets, nodeModules, {\n\t\ttitle: configuration.title || '',\n\t\tbootModule: configuration.bootModule,\n\t\tbootName: configuration.bootName,\n\t}, boot);\n\n}\n"],"mappings":";;;;AAIA,gCAAgC;CAC/B,MAAM,EAAE,cAAc,gBAAgB,MAAM,OAAO,YAAY;AAC/D,OAAM,WAAW,aAAa,YAAY,cAAc,aAAa;EACpE,OAAO,cAAc,SAAS;EAC9B,YAAY,cAAc;EAC1B,UAAU,cAAc;EACxB,EAAE,KAAK"}
|
package/cli/yongdall.yml
ADDED
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
".": "./index.mjs"
|
|
10
10
|
},
|
|
11
|
-
"version": "0.
|
|
11
|
+
"version": "0.2.0",
|
|
12
12
|
"description": "",
|
|
13
13
|
"keywords": [],
|
|
14
14
|
"author": "",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"test.assets.yongdall": "./test.sh"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@yongdall/plugins": "^0.
|
|
22
|
-
"@yongdall/common": "^0.
|
|
23
|
-
"@yongdall/configuration": "^0.
|
|
21
|
+
"@yongdall/plugins": "^0.2.0",
|
|
22
|
+
"@yongdall/common": "^0.2.0",
|
|
23
|
+
"@yongdall/configuration": "^0.2.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {}
|
|
26
26
|
}
|
|
File without changes
|