create-antd-skin 1.1.2 → 1.1.3

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/layout.js +6 -1
  2. package/package.json +1 -1
package/bin/layout.js CHANGED
@@ -104,7 +104,12 @@ async function patchLayoutFile(filePath) {
104
104
  if (!changed && hasWardenSkinImport)
105
105
  return;
106
106
  const output = (0, generator_1.default)(ast, {
107
- retainLines: true,
107
+ retainLines: false,
108
+ compact: false,
109
+ concise: false,
110
+ jsescOption: {
111
+ minimal: true,
112
+ },
108
113
  });
109
114
  await fs_extra_1.default.writeFile(filePath, output.code);
110
115
  console.log("✔ updated:", path_1.default.relative(process.cwd(), filePath));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-antd-skin",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "this is skin-cli for @adminui-dev/antd-layout",
5
5
  "main": "index.js",
6
6
  "author": "zhouwenqi",