@modern-js/ssg-generator 0.0.0-nightly-20231113170648 → 0.0.0-nightly-20231115170655
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/dist/index.js +11 -25
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -61742,6 +61742,15 @@ var AppAPI = class {
|
|
|
61742
61742
|
var import_path5 = __toESM(require("path"));
|
|
61743
61743
|
var import_utils16 = require("@modern-js/utils");
|
|
61744
61744
|
|
|
61745
|
+
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.3/node_modules/@swc/helpers/esm/_define_property.js
|
|
61746
|
+
function _define_property2(obj, key, value) {
|
|
61747
|
+
if (key in obj) {
|
|
61748
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
61749
|
+
} else
|
|
61750
|
+
obj[key] = value;
|
|
61751
|
+
return obj;
|
|
61752
|
+
}
|
|
61753
|
+
|
|
61745
61754
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
|
61746
61755
|
var import_lodash7 = require("@modern-js/utils/lodash");
|
|
61747
61756
|
|
|
@@ -61800,8 +61809,8 @@ var I18n2 = class {
|
|
|
61800
61809
|
};
|
|
61801
61810
|
}
|
|
61802
61811
|
constructor() {
|
|
61803
|
-
|
|
61804
|
-
|
|
61812
|
+
_define_property2(this, "language", "en");
|
|
61813
|
+
_define_property2(this, "languageMap", {});
|
|
61805
61814
|
}
|
|
61806
61815
|
};
|
|
61807
61816
|
|
|
@@ -62019,29 +62028,6 @@ var SubSolution;
|
|
|
62019
62028
|
SubSolution2["MWA"] = "mwa";
|
|
62020
62029
|
SubSolution2["Module"] = "module";
|
|
62021
62030
|
})(SubSolution || (SubSolution = {}));
|
|
62022
|
-
var SolutionText = {
|
|
62023
|
-
[Solution.MWA]: () => i18n2.t(localeKeys2.solution.mwa),
|
|
62024
|
-
[Solution.Module]: () => i18n2.t(localeKeys2.solution.module),
|
|
62025
|
-
[Solution.Monorepo]: () => i18n2.t(localeKeys2.solution.monorepo)
|
|
62026
|
-
};
|
|
62027
|
-
var SubSolutionText = {
|
|
62028
|
-
[SubSolution.MWA]: () => i18n2.t(localeKeys2.sub_solution.mwa),
|
|
62029
|
-
[SubSolution.Module]: () => i18n2.t(localeKeys2.sub_solution.module)
|
|
62030
|
-
};
|
|
62031
|
-
var SolutionToolsMap = {
|
|
62032
|
-
[Solution.MWA]: "@modern-js/app-tools",
|
|
62033
|
-
[Solution.Module]: "@modern-js/module-tools",
|
|
62034
|
-
[Solution.Monorepo]: "@modern-js/monorepo-tools"
|
|
62035
|
-
};
|
|
62036
|
-
var SolutionGenerator = {
|
|
62037
|
-
[Solution.MWA]: "@modern-js/mwa-generator",
|
|
62038
|
-
[Solution.Module]: "@modern-js/module-generator",
|
|
62039
|
-
[Solution.Monorepo]: "@modern-js/monorepo-generator"
|
|
62040
|
-
};
|
|
62041
|
-
var SubSolutionGenerator = {
|
|
62042
|
-
[SubSolution.MWA]: "@modern-js/mwa-generator",
|
|
62043
|
-
[SubSolution.Module]: "@modern-js/module-generator"
|
|
62044
|
-
};
|
|
62045
62031
|
var DependenceGenerator = "@modern-js/dependence-generator";
|
|
62046
62032
|
|
|
62047
62033
|
// ../../generator-utils/dist/esm/utils/fsExist.js
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-nightly-
|
|
18
|
+
"version": "0.0.0-nightly-20231115170655",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"/dist/index.js"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@modern-js/utils": "0.0.0-nightly-
|
|
26
|
+
"@modern-js/utils": "0.0.0-nightly-20231115170655"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@modern-js/codesmith": "2.3.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@types/node": "^14",
|
|
33
33
|
"jest": "^29",
|
|
34
34
|
"typescript": "^5",
|
|
35
|
-
"@modern-js/dependence-generator": "0.0.0-nightly-
|
|
36
|
-
"@modern-js/generator-common": "0.0.0-nightly-
|
|
37
|
-
"@modern-js/generator-utils": "0.0.0-nightly-
|
|
38
|
-
"@
|
|
39
|
-
"@scripts/jest-config": "0.0.0-nightly-
|
|
40
|
-
"@
|
|
35
|
+
"@modern-js/dependence-generator": "0.0.0-nightly-20231115170655",
|
|
36
|
+
"@modern-js/generator-common": "0.0.0-nightly-20231115170655",
|
|
37
|
+
"@modern-js/generator-utils": "0.0.0-nightly-20231115170655",
|
|
38
|
+
"@scripts/build": "0.0.0-nightly-20231115170655",
|
|
39
|
+
"@scripts/jest-config": "0.0.0-nightly-20231115170655",
|
|
40
|
+
"@modern-js/plugin-i18n": "0.0.0-nightly-20231115170655"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"publishConfig": {
|