quackage 1.2.4 → 1.3.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quackage",
3
- "version": "1.2.4",
3
+ "version": "1.3.0",
4
4
  "description": "Building. Testing. Quacking. Reloading.",
5
5
  "main": "source/Quackage-CLIProgram.js",
6
6
  "scripts": {
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "repository": {
36
36
  "type": "git",
37
- "url": "https://github.com/stevenvelozo/quackage.git"
37
+ "url": "https://github.com/fable-retold/quackage.git"
38
38
  },
39
39
  "browser": {
40
40
  "./source/utility/Quackage-Execute-Process.js": "./source/utility/Quackage-Execute-Process-Base.js"
@@ -46,9 +46,9 @@
46
46
  "author": "Steven Velozo <steven@velozo.com> (http://velozo.com/)",
47
47
  "license": "MIT",
48
48
  "bugs": {
49
- "url": "https://github.com/stevenvelozo/quackage/issues"
49
+ "url": "https://github.com/fable-retold/quackage/issues"
50
50
  },
51
- "homepage": "https://github.com/stevenvelozo/quackage",
51
+ "homepage": "https://github.com/fable-retold/quackage",
52
52
  "dependencies": {
53
53
  "@babel/core": "^7.29.0",
54
54
  "@babel/preset-env": "^7.29.0",
@@ -65,7 +65,7 @@
65
65
  "mocha": "10.4.0",
66
66
  "npm-check-updates": "^18.0.1",
67
67
  "nyc": "^15.1.0",
68
- "pict-provider-theme": "^1.0.1",
68
+ "pict-provider-theme": "^1.1.0",
69
69
  "pict-service-commandlineutility": "^1.0.19",
70
70
  "retold-harness": "^1.1.12",
71
71
  "vinyl-buffer": "^1.0.1",
@@ -77,6 +77,6 @@
77
77
  }
78
78
  },
79
79
  "devDependencies": {
80
- "pict-docuserve": "^1.3.2"
80
+ "pict-docuserve": "^1.4.4"
81
81
  }
82
82
  }
@@ -60,7 +60,7 @@ class QuackageCommandDockerInit extends libCommandLineCommand
60
60
  }
61
61
 
62
62
  let tmpImageName = tmpPkg.name;
63
- let tmpOwner = this._inferGithubOwner(tmpPkg) || 'stevenvelozo';
63
+ let tmpOwner = this._inferGithubOwner(tmpPkg) || 'fable-retold';
64
64
  let tmpVersion = tmpPkg.version || '0.0.0';
65
65
 
66
66
  let tmpSubstitutions =
@@ -15,7 +15,7 @@ class QuackageCommandIndoctrinate extends libCommandLineCommand
15
15
 
16
16
  this.options.CommandOptions.push({ Name: '-d, --directory_root [directory_root]', Description: 'Root directory to scan for modules (defaults to CWD).', Default: '' });
17
17
  this.options.CommandOptions.push({ Name: '-b, --branch [branch]', Description: 'Git branch for GitHub raw URLs (defaults to master).', Default: 'master' });
18
- this.options.CommandOptions.push({ Name: '-g, --github_org [github_org]', Description: 'GitHub organization for raw URLs (defaults to stevenvelozo).', Default: 'stevenvelozo' });
18
+ this.options.CommandOptions.push({ Name: '-g, --github_org [github_org]', Description: 'GitHub organization for raw URLs (defaults to fable-retold).', Default: 'fable-retold' });
19
19
 
20
20
  this.options.Aliases.push('indoc');
21
21
 
@@ -27,7 +27,7 @@ class QuackageCommandIndoctrinate extends libCommandLineCommand
27
27
  let tmpDocsFolder = libPath.resolve(this.ArgumentString || '.');
28
28
  let tmpDirectoryRoot = this.CommandOptions.directory_root || this.fable.AppData.CWD;
29
29
  let tmpBranch = this.CommandOptions.branch || 'master';
30
- let tmpGitHubOrg = this.CommandOptions.github_org || 'stevenvelozo';
30
+ let tmpGitHubOrg = this.CommandOptions.github_org || 'fable-retold';
31
31
  let tmpOutputFile = libPath.join(tmpDocsFolder, 'retold-catalog.json');
32
32
 
33
33
  this.log.info(`Generating documentation catalog with indoctrinate...`);
@@ -16,7 +16,7 @@ class QuackageCommandPrepareDocs extends libCommandLineCommand
16
16
 
17
17
  this.options.CommandOptions.push({ Name: '-d, --directory_root [directory_root]', Description: 'Root directory to scan for modules (defaults to CWD).', Default: '' });
18
18
  this.options.CommandOptions.push({ Name: '-b, --branch [branch]', Description: 'Git branch for GitHub raw URLs (defaults to master).', Default: 'master' });
19
- this.options.CommandOptions.push({ Name: '-g, --github_org [github_org]', Description: 'GitHub organization for raw URLs (defaults to stevenvelozo).', Default: 'stevenvelozo' });
19
+ this.options.CommandOptions.push({ Name: '-g, --github_org [github_org]', Description: 'GitHub organization for raw URLs (defaults to fable-retold).', Default: 'fable-retold' });
20
20
  this.options.CommandOptions.push({ Name: '-x, --excluded_modules [excluded_modules]', Description: 'Comma-separated list of module names to exclude from the catalog and keyword index. Merged with any ExcludedModules list in indoctrinate\'s loaded config file (e.g. .indoctrinate.config.json).', Default: '' });
21
21
  this.options.CommandOptions.push({ Name: '--docs_mode [docs_mode]', Description: 'Documentation scan mode: "module" (one module\'s docs/) or "ecosystem" (a folder of <group>/<module> repos). Auto-detected when omitted — "module" when the scan root has a package.json, else "ecosystem".', Default: '' });
22
22
 
@@ -31,7 +31,7 @@ class QuackageCommandPrepareDocs extends libCommandLineCommand
31
31
  let tmpDocsFolder = libPath.resolve(this.ArgumentString || './docs');
32
32
  let tmpDirectoryRoot = this.CommandOptions.directory_root || this.fable.AppData.CWD;
33
33
  let tmpBranch = this.CommandOptions.branch || 'master';
34
- let tmpGitHubOrg = this.CommandOptions.github_org || 'stevenvelozo';
34
+ let tmpGitHubOrg = this.CommandOptions.github_org || 'fable-retold';
35
35
 
36
36
  // Exclusion list passthrough. When set, both indoctrinate sub-commands
37
37
  // get -x <list>. Comma-separated; indoctrinate will merge this with
@@ -121,6 +121,28 @@ class QuackageCommandPrepareDocs extends libCommandLineCommand
121
121
  );
122
122
  }.bind(this));
123
123
 
124
+ // Step 1b: Stage section-playground runtime bundles into the docs
125
+ // folder. Reads docs/_playground.json and copies every Imports[]
126
+ // entry with `Source: "local"` from its resolved UMD bundle into
127
+ // the declared Path (default `playground/runtime/<Name>.min.js`).
128
+ // Clean no-op for modules without a _playground.json — safe to run
129
+ // everywhere.
130
+ tmpAnticipate.anticipate(
131
+ function (fNext)
132
+ {
133
+ this.log.info(`###############################[ STEP 1b: STAGE PLAYGROUND RUNTIME ]###############################`);
134
+ this.fable.QuackageProcess.execute(
135
+ tmpDocuserveLocation,
136
+ [
137
+ 'stage-playground',
138
+ tmpDocsFolder,
139
+ '-m', tmpDirectoryRoot
140
+ ],
141
+ { cwd: this.fable.AppData.CWD },
142
+ fNext
143
+ );
144
+ }.bind(this));
145
+
124
146
  // Step 2: Generate the documentation catalog
125
147
  tmpAnticipate.anticipate(
126
148
  function (fNext)