quackage 1.2.4 → 1.2.5

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.2.5",
4
4
  "description": "Building. Testing. Quacking. Reloading.",
5
5
  "main": "source/Quackage-CLIProgram.js",
6
6
  "scripts": {
@@ -77,6 +77,6 @@
77
77
  }
78
78
  },
79
79
  "devDependencies": {
80
- "pict-docuserve": "^1.3.2"
80
+ "pict-docuserve": "^1.4.1"
81
81
  }
82
82
  }
@@ -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)