miolo 2.0.0-beta.21 → 2.0.0-beta.22

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.
@@ -17,21 +17,21 @@ export default async function(appName, dest, serverName) {
17
17
 
18
18
  let startContent = readSource('./start.mjs')
19
19
  startContent = startContent.replace('export default async function', 'async function start')
20
- startContent = startContent.replace('{appName, dest, serverName}', `{appName= ''${appName}, dest= '${dest}', serverName= '${serverName}'}`)
20
+ startContent = startContent.replace('(appName, dest, serverName)', `(appName= ''${appName}, dest= '${dest}', serverName= '${serverName}')`)
21
21
  startContent+= '\n'
22
22
  startContent+= 'start()'
23
23
  writeDest('start.mjs', startContent)
24
24
 
25
25
  let stopContent = readSource('./stop.mjs')
26
26
  stopContent = stopContent.replace('export default async function', 'async function stop')
27
- stopContent = stopContent.replace('{appName}', `{appName= ''${appName}}`)
27
+ stopContent = stopContent.replace('(appName)', `(appName= '${appName}')`)
28
28
  stopContent+= '\n'
29
29
  stopContent+= 'stop()'
30
30
  writeDest('stop.mjs', stopContent)
31
31
 
32
32
  let restartContent = readSource('./restart.mjs')
33
33
  restartContent = restartContent.replace('export default async function', 'async function restart')
34
- restartContent = restartContent.replace('{appName, dest, serverName}', `{appName= ''${appName}, dest= '${dest}', serverName= '${serverName}'}`)
34
+ restartContent = restartContent.replace('(appName, dest, serverName)', `(appName= ''${appName}, dest= '${dest}', serverName= '${serverName}')`)
35
35
  restartContent+= '\n'
36
36
  restartContent+= 'restart()'
37
37
  writeDest('restart.mjs', restartContent)
@@ -1,5 +1,5 @@
1
1
  /**
2
- * miolo v2.0.0-beta.21
2
+ * miolo v2.0.0-beta.22
3
3
  *
4
4
  * https://www.afialapis.com/os/miolo
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * miolo v2.0.0-beta.21
2
+ * miolo v2.0.0-beta.22
3
3
  *
4
4
  * https://www.afialapis.com/os/miolo
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * miolo v2.0.0-beta.21
2
+ * miolo v2.0.0-beta.22
3
3
  *
4
4
  * https://www.afialapis.com/os/miolo
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miolo",
3
- "version": "2.0.0-beta.21",
3
+ "version": "2.0.0-beta.22",
4
4
  "description": "all-in-one koa-based server",
5
5
  "author": "Donato Lorenzo <donato@afialapis.com>",
6
6
  "contributors": [