sqlaravel 1.0.4 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
package/install.js CHANGED
@@ -2,23 +2,12 @@ const
2
2
  fs = require("fs"),
3
3
 
4
4
  // args = process.argv.slice(2),
5
- dest_r = "../../",
6
- dest_p = "../../../public",
7
- filesDir_r = "files/resources/"
8
- filesDir_p = "files/public/"
5
+ dest = "../../",
6
+ filesDir = "files/"
9
7
  ;
10
8
 
11
9
  // Copy files to the project
12
- fs.cp(filesDir_r, dest_r, {recursive: true, force: false}, (err, data) => {
13
- if (err) {
14
- console.error("Error Install");
15
- console.error(err);
16
- } else {
17
- console.log("successful resource installation");
18
- }
19
- });
20
-
21
- fs.cp(filesDir_p, dest_p, {recursive: true, force: false}, (err, data) => {
10
+ fs.cp(filesDir, dest, {recursive: true, force: false}, (err, data) => {
22
11
  if (err) {
23
12
  console.error("Error Install");
24
13
  console.error(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sqlaravel",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Base to start projects in Laravel, simply and quickly",
5
5
  "main": "index.js",
6
6
  "scripts": {
File without changes
File without changes
File without changes