quackage 1.0.5 → 1.0.6

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.
@@ -0,0 +1 @@
1
+ require('/Users/steven/Code/retold/modules/utility/quackage/gulp/Quackage-Gulpfile.js');
@@ -4,34 +4,9 @@
4
4
  "description": "",
5
5
  "main": "Harness.js",
6
6
  "scripts": {
7
- "test": "./node_modules/.bin/mocha -u tdd -R spec",
8
- "start": "node Harness.js",
9
- "coverage": "./node_modules/.bin/nyc --reporter=lcov --reporter=text-lcov ./node_modules/mocha/bin/_mocha -- -u tdd -R spec",
10
- "build": "./node_modules/.bin/gulp build",
11
- "build-compatible": "GULP_CUSTOM_BUILD_TARGET=compatible ./node_modules/.bin/gulp build",
12
- "docker-dev-build": "docker build ./ -f Dockerfile_LUXURYCode -t quackage-debug-image:local",
13
- "docker-dev-run": "docker run -it -d --name quackage-debug-dev -p 30001:8080 -p 38086:8086 -v \"$PWD/.config:/home/coder/.config\" -v \"$PWD:/home/coder/quackage-debug\" -u \"$(id -u):$(id -g)\" -e \"DOCKER_USER=$USER\" quackage-debug-image:local",
14
- "docker-dev-shell": "docker exec -it quackage-debug-dev /bin/bash"
7
+ "test": "./node_modules/.bin/mocha -u tdd -R spec"
15
8
  },
16
9
  "keywords": [],
17
10
  "author": "steven velozo",
18
- "license": "MIT",
19
- "mocha": {
20
- "diff": true,
21
- "extension": [
22
- "js"
23
- ],
24
- "package": "./package.json",
25
- "reporter": "spec",
26
- "slow": "75",
27
- "timeout": "5000",
28
- "ui": "tdd",
29
- "watch-files": [
30
- "source/**/*.js",
31
- "test/**/*.js"
32
- ],
33
- "watch-ignore": [
34
- "lib/vendor"
35
- ]
36
- }
11
+ "license": "MIT"
37
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quackage",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Building. Testing. Quacking.",
5
5
  "main": "source/Quackage.js",
6
6
  "scripts": {
@@ -85,7 +85,7 @@ class QuackageCommandBuild extends libCommandLineCommand
85
85
  libFS.writeFileSync(`${this.fable.AppData.CWD}/gulpfile.js`, this.fable.parseTemplateByHash('Gulpfile-QuackageBase', {AppData:this.fable.AppData, Record:pAction}));
86
86
 
87
87
  // Now execute the gulpfile using our custom service provider!
88
- this.fable.QuackageProcess.execute(`${this.fable.AppData.QuackageFolder}/node_modules/.bin/gulp`, [`--gulpfile`, `${this.fable.AppData.CWD}/.gulpfile-quackage.js`], {cwd:this.fable.AppData.CWD}, fActionCallback);
88
+ this.fable.QuackageProcess.execute(`${this.fable.AppData.QuackageFolder}/../.bin/gulp`, [`--gulpfile`, `${this.fable.AppData.CWD}/.gulpfile-quackage.js`], {cwd:this.fable.AppData.CWD}, fActionCallback);
89
89
  },
90
90
  (pError) =>
91
91
  {
@@ -1,5 +1,6 @@
1
1
  const libQuackageExecuteProcessBase = require(`./Quackage-Execute-Process-Base.js`);
2
2
  const libChildProcess = require('child_process');
3
+ const libPath = require('path');
3
4
 
4
5
  class BaseQuackageProcessExecutionService extends libQuackageExecuteProcessBase
5
6
  {
@@ -17,7 +18,12 @@ class BaseQuackageProcessExecutionService extends libQuackageExecuteProcessBase
17
18
 
18
19
  quackageFolder()
19
20
  {
20
- return `${__dirname}/../..`;
21
+ return libPath.resolve(`${__dirname}/../..`);
22
+ }
23
+
24
+ node_modules_folder()
25
+ {
26
+ return libPath.resolve(`${this.quackagefolder}/..`);
21
27
  }
22
28
 
23
29
  exitParentProcess(pCode)