create-widget 0.0.8 → 0.0.9
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/index.cjs
CHANGED
|
@@ -7896,7 +7896,7 @@ async function init() {
|
|
|
7896
7896
|
}
|
|
7897
7897
|
console.log(`
|
|
7898
7898
|
Scaffolding project in ${root}...`);
|
|
7899
|
-
const templateRoot = import_node_path.default.join(__dirname, "
|
|
7899
|
+
const templateRoot = import_node_path.default.join(__dirname, "./template");
|
|
7900
7900
|
await FileUtils.copyFolderRecursive(templateRoot, root);
|
|
7901
7901
|
const userAgent = process2.env.npm_config_user_agent ?? "";
|
|
7902
7902
|
const packageManager = /pnpm/.test(userAgent) ? "pnpm" : /yarn/.test(userAgent) ? "yarn" : "npm";
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-widget",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
|
-
"
|
|
5
|
+
"description": "An easy way to start a Widget project",
|
|
6
|
+
"author": "Neo Fu <rtugeek@gmail.com>",
|
|
6
7
|
"license": "MIT",
|
|
7
8
|
"private": false,
|
|
8
9
|
"bin": {
|