alemonjs 1.0.6 → 1.0.7

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.
@@ -43,22 +43,22 @@ export function copyAppsFile(dir) {
43
43
  const appPath = join(dir, appname);
44
44
  if (existsSync(`${appPath}/assets`)) {
45
45
  const originalAddress = `${appPath}/assets`;
46
- const destinationAddress = join(process.cwd(), `/public/.${appname}/assets`);
46
+ const destinationAddress = join(process.cwd(), `/assets/.${appname}/assets`);
47
47
  copyFiles(originalAddress, destinationAddress);
48
48
  }
49
49
  if (existsSync(`${appPath}/pages`)) {
50
50
  const originalAddress = `${appPath}/pages`;
51
- const destinationAddress = join(process.cwd(), `/public/.${appname}/pages`);
51
+ const destinationAddress = join(process.cwd(), `/pages/.${appname}/pages`);
52
52
  copyFiles(originalAddress, destinationAddress);
53
53
  }
54
54
  if (existsSync(`${appPath}/plugins`)) {
55
55
  const originalAddress = `${appPath}/plugins`;
56
- const destinationAddress = join(process.cwd(), `/public/.${appname}/plugins`);
56
+ const destinationAddress = join(process.cwd(), `/plugins/.${appname}/plugins`);
57
57
  copyFiles(originalAddress, destinationAddress);
58
58
  }
59
59
  if (existsSync(`${appPath}/server`)) {
60
60
  const originalAddress = `${appPath}/server`;
61
- const destinationAddress = join(process.cwd(), `/public/.${appname}/server`);
61
+ const destinationAddress = join(process.cwd(), `/server/.${appname}/server`);
62
62
  copyFiles(originalAddress, destinationAddress);
63
63
  }
64
64
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alemonjs",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "阿柠檬框架",
5
5
  "author": "ningmengchongshui",
6
6
  "main": "lib/index.js",