@maka/maka-cli 5.81.0 → 5.81.1
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.81.
|
|
3
|
+
"version": "5.81.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
6
6
|
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { createRequire } from 'module';
|
|
2
|
-
// Deliberately NOT named `require`: scripts/build-bundle.mjs rewrites
|
|
3
|
-
// createRequire aliases into real bundler requires, and this file is on
|
|
4
|
-
// its exclusion list precisely because the lookup below is dynamic.
|
|
5
|
-
const requireFromHere = createRequire(import.meta.url);
|
|
6
2
|
function readPackageJson() {
|
|
3
|
+
// NEVER CALL createRequire AT MODULE SCOPE IN THIS GRAPH. The
|
|
4
|
+
// maka-cli.com server evaluates the engine under Meteor's patched
|
|
5
|
+
// module machinery (reify), where an eager createRequire during
|
|
6
|
+
// sync-ESM evaluation dies with a misleading "module is not defined
|
|
7
|
+
// in ES module scope" -- it took down every shared-run crew draft on
|
|
8
|
+
// 2026-08-30 (and, in hindsight, 2026-08-23). Called lazily from
|
|
9
|
+
// function context it works everywhere, including under Meteor; this
|
|
10
|
+
// is the constraint headless.ts's "require(esm)-compatible" promise
|
|
11
|
+
// actually depends on.
|
|
12
|
+
//
|
|
13
|
+
// Deliberately NOT named `require`: scripts/build-bundle.mjs rewrites
|
|
14
|
+
// createRequire aliases into real bundler requires, and this file is
|
|
15
|
+
// on its exclusion list precisely because the lookup below is dynamic.
|
|
16
|
+
const requireFromHere = createRequire(import.meta.url);
|
|
7
17
|
// Two depths: this file sits at src/tools/version/ in the source tree and
|
|
8
18
|
// at bundle/typescript/src/tools/version/ once compiled, with package.json
|
|
9
19
|
// copied alongside by the `prep` script. Both land on the same relative
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-version.js","sourceRoot":"","sources":["../../../../../src/tools/version/cli-version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAsBvC,
|
|
1
|
+
{"version":3,"file":"cli-version.js","sourceRoot":"","sources":["../../../../../src/tools/version/cli-version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAsBvC,SAAS,eAAe;IACtB,8DAA8D;IAC9D,kEAAkE;IAClE,gEAAgE;IAChE,oEAAoE;IACpE,qEAAqE;IACrE,iEAAiE;IACjE,qEAAqE;IACrE,oEAAoE;IACpE,uBAAuB;IACvB,EAAE;IACF,sEAAsE;IACtE,qEAAqE;IACrE,uEAAuE;IACvE,MAAM,eAAe,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACvD,0EAA0E;IAC1E,2EAA2E;IAC3E,wEAAwE;IACxE,uEAAuE;IACvE,2BAA2B;IAC3B,KAAK,MAAM,GAAG,IAAI,CAAC,uBAAuB,EAAE,0BAA0B,CAAC,EAAE,CAAC;QACxE,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;YACjC,IAAI,GAAG,EAAE,IAAI,KAAK,gBAAgB,EAAE,CAAC;gBACnC,OAAO,GAAG,CAAC;YACb,CAAC;QACH,CAAC;QAAC,MAAM,CAAC,CAAC,wBAAwB,CAAC,CAAC;IACtC,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,IAAI,aAAiC,CAAC;AACtC,IAAI,cAAkC,CAAC;AAEvC,8EAA8E;AAC9E,MAAM,UAAU,UAAU;IACxB,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;QAChC,aAAa,GAAG,OAAO,oBAAoB,KAAK,QAAQ;YACtD,CAAC,CAAC,oBAAoB;YACtB,CAAC,CAAE,eAAe,EAAE,EAAE,OAAkB,IAAI,eAAe,CAAC;IAChE,CAAC;IACD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED;;;;;;aAMa;AACb,MAAM,UAAU,QAAQ;IACtB,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;QACjC,cAAc,GAAG,OAAO,kBAAkB,KAAK,QAAQ;YACrD,CAAC,CAAC,kBAAkB;YACpB,CAAC,CAAE,eAAe,EAAE,EAAE,YAAY,EAAE,CAAC,kBAAkB,CAAY,IAAI,QAAQ,CAAC;IACpF,CAAC;IACD,OAAO,cAAc,CAAC;AACxB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.81.
|
|
3
|
+
"version": "5.81.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
6
6
|
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|