kireji 0.1.1 → 0.2.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
|
Binary file
|
package/src/app/kireji/part.png
CHANGED
|
Binary file
|
package/src/build.js
CHANGED
|
@@ -232,13 +232,18 @@ function ƒ(_) {
|
|
|
232
232
|
`)
|
|
233
233
|
const buildStartTime = Date.now()
|
|
234
234
|
if (environment === "node" && require.main === module) {
|
|
235
|
-
const
|
|
235
|
+
const
|
|
236
|
+
stats = { fileCount: 0, domainCount: 0 },
|
|
237
|
+
{ readdirSync: readFolder, readFileSync: readFile, existsSync: exists } = require("fs"),
|
|
238
|
+
{ resolve } = require("path"),
|
|
239
|
+
configPath = resolve(__dirname, "../../../src/kireji.json")
|
|
240
|
+
|
|
241
|
+
if (exists(configPath))
|
|
242
|
+
Object.assign(_, require(configPath))
|
|
243
|
+
|
|
236
244
|
logScope(1, "Archiving Repository", archiveLog => {
|
|
237
|
-
warn("Warning: Not yet merging with framework source files.")
|
|
238
245
|
let lastLogFlush = Date.now()
|
|
239
246
|
const
|
|
240
|
-
{ readdirSync: readFolder, readFileSync: readFile, existsSync: exists } = require("fs"),
|
|
241
|
-
{ resolve } = require("path"),
|
|
242
247
|
batchedLogs = [],
|
|
243
248
|
bufferLog = (verbosity, msg) => {
|
|
244
249
|
if (verbosity > _.verbosity)
|
|
@@ -273,7 +278,6 @@ function ƒ(_) {
|
|
|
273
278
|
const filenames = []
|
|
274
279
|
|
|
275
280
|
for (const [itemName, { entry, source }] of unifiedEntries) {
|
|
276
|
-
debug(itemName)
|
|
277
281
|
// Ignore logic (TS files, hidden files, etc)
|
|
278
282
|
if (itemName.startsWith(".") || itemName === "Icon" || (!host && itemName === "build.js") || itemName.endsWith(".ts")) {
|
|
279
283
|
bufferLog(4, "".padEnd(depth, " ") + `⬚ ${itemName.padEnd(20, " ")} - ignored`)
|
|
@@ -321,11 +325,6 @@ function ƒ(_) {
|
|
|
321
325
|
|
|
322
326
|
readRecursive("", __dirname, resolve(__dirname, "../../../src"), _, 0)
|
|
323
327
|
|
|
324
|
-
// TODO: Evaluate the timing of this action.
|
|
325
|
-
const configPath = resolve(__dirname, "../../../src/kireji.json")
|
|
326
|
-
if (exists(configPath))
|
|
327
|
-
Object.assign(_, require(configPath))
|
|
328
|
-
|
|
329
328
|
if (batchedLogs.length)
|
|
330
329
|
archiveLog(batchedLogs.join("\n") + "\n")
|
|
331
330
|
|