create-antd-skin 1.1.3 → 1.1.4

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.
Files changed (2) hide show
  1. package/bin/skin.js +8 -0
  2. package/package.json +1 -1
package/bin/skin.js CHANGED
@@ -117,6 +117,14 @@ async function installSkin(skinName) {
117
117
  await copySkinFiles(selectedSkin, skin.path, cwd);
118
118
  await updateSkinIndex(selectedSkin, cwd);
119
119
  spinner.succeed(`Skin "${selectedSkin}" installed.`);
120
+ console.log(`
121
+ ✨ Skin installed successfully!
122
+ // Simply adding the skin name to the settings will take effect, e.g.
123
+ const layoutConfig: LayoutConfig = {
124
+ skinName: "${toCamelCase(selectedSkin) ?? "<skin-name>"}",
125
+ ...
126
+ }
127
+ `);
120
128
  }
121
129
  catch (e) {
122
130
  spinner.fail("Install skin failed.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-antd-skin",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "this is skin-cli for @adminui-dev/antd-layout",
5
5
  "main": "index.js",
6
6
  "author": "zhouwenqi",