@modern-js/packages-generator 3.0.0-beta.6 → 3.0.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/dist/index.js +41 -40
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -64633,10 +64633,10 @@ var init_esm3 = __esm({
|
|
|
64633
64633
|
}
|
|
64634
64634
|
});
|
|
64635
64635
|
|
|
64636
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
64636
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/shared.js
|
|
64637
64637
|
var REVA_ACTIONS_KEY, SchemaNestedMap, SchemaStateMap, SchemaValidatorMap, SchemaNormalKeys, SchemaValidatorKeys, hasOwnProperty4, traverse, traverseSchema, isNoNeedCompileObject, createDataSource, patchStateFormSchema;
|
|
64638
64638
|
var init_shared2 = __esm({
|
|
64639
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
64639
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/shared.js"() {
|
|
64640
64640
|
init_esm2();
|
|
64641
64641
|
init_esm3();
|
|
64642
64642
|
init_schema();
|
|
@@ -64828,10 +64828,10 @@ var init_shared2 = __esm({
|
|
|
64828
64828
|
}
|
|
64829
64829
|
});
|
|
64830
64830
|
|
|
64831
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
64831
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/compiler.js
|
|
64832
64832
|
var ExpRE, Registry, silent, registerCompiler, shallowCompile, compile, patchCompile, patchSchemaCompile;
|
|
64833
64833
|
var init_compiler = __esm({
|
|
64834
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
64834
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/compiler.js"() {
|
|
64835
64835
|
init_esm2();
|
|
64836
64836
|
init_esm3();
|
|
64837
64837
|
init_shared2();
|
|
@@ -69779,10 +69779,10 @@ var init_esm5 = __esm({
|
|
|
69779
69779
|
}
|
|
69780
69780
|
});
|
|
69781
69781
|
|
|
69782
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
69782
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/transformer.js
|
|
69783
69783
|
var __read7, FieldEffects, DefaultFieldEffects, getDependencyValue, getDependencies, setSchemaFieldState, getBaseScope, getBaseReactions, getUserReactions, transformFieldProps;
|
|
69784
69784
|
var init_transformer = __esm({
|
|
69785
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
69785
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/transformer.js"() {
|
|
69786
69786
|
init_esm3();
|
|
69787
69787
|
init_esm2();
|
|
69788
69788
|
init_esm5();
|
|
@@ -69987,10 +69987,10 @@ var init_transformer = __esm({
|
|
|
69987
69987
|
}
|
|
69988
69988
|
});
|
|
69989
69989
|
|
|
69990
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
69990
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/patches.js
|
|
69991
69991
|
var __assign9, patches, polyfills, reducePatches, registerPatches, registerPolyfills, enablePolyfills;
|
|
69992
69992
|
var init_patches = __esm({
|
|
69993
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
69993
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/patches.js"() {
|
|
69994
69994
|
init_esm2();
|
|
69995
69995
|
__assign9 = function() {
|
|
69996
69996
|
__assign9 = Object.assign || function(t) {
|
|
@@ -70042,10 +70042,10 @@ var init_patches = __esm({
|
|
|
70042
70042
|
}
|
|
70043
70043
|
});
|
|
70044
70044
|
|
|
70045
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
70045
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
|
70046
70046
|
var __assign10, __read8, __spreadArray7, VOID_COMPONENTS, TYPE_DEFAULT_COMPONENTS, transformCondition, transformXLinkage, SpecificationV1Polyfill, registerVoidComponents, registerTypeDefaultComponents;
|
|
70047
70047
|
var init_SPECIFICATION_1_0 = __esm({
|
|
70048
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
70048
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js"() {
|
|
70049
70049
|
init_patches();
|
|
70050
70050
|
init_esm2();
|
|
70051
70051
|
__assign10 = function() {
|
|
@@ -70206,17 +70206,17 @@ var init_SPECIFICATION_1_0 = __esm({
|
|
|
70206
70206
|
}
|
|
70207
70207
|
});
|
|
70208
70208
|
|
|
70209
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
70209
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/polyfills/index.js
|
|
70210
70210
|
var init_polyfills = __esm({
|
|
70211
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
70211
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/polyfills/index.js"() {
|
|
70212
70212
|
init_SPECIFICATION_1_0();
|
|
70213
70213
|
}
|
|
70214
70214
|
});
|
|
70215
70215
|
|
|
70216
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
70216
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/schema.js
|
|
70217
70217
|
var Schema;
|
|
70218
70218
|
var init_schema = __esm({
|
|
70219
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
70219
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/schema.js"() {
|
|
70220
70220
|
init_esm2();
|
|
70221
70221
|
init_compiler();
|
|
70222
70222
|
init_transformer();
|
|
@@ -70457,19 +70457,19 @@ var init_schema = __esm({
|
|
|
70457
70457
|
}
|
|
70458
70458
|
});
|
|
70459
70459
|
|
|
70460
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
70460
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/types.js
|
|
70461
70461
|
var init_types6 = __esm({
|
|
70462
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
70462
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/types.js"() {
|
|
70463
70463
|
}
|
|
70464
70464
|
});
|
|
70465
70465
|
|
|
70466
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
70466
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/index.js
|
|
70467
70467
|
var esm_exports2 = {};
|
|
70468
70468
|
__export(esm_exports2, {
|
|
70469
70469
|
Schema: () => Schema
|
|
70470
70470
|
});
|
|
70471
70471
|
var init_esm6 = __esm({
|
|
70472
|
-
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.
|
|
70472
|
+
"../../../../node_modules/.pnpm/@formily+json-schema@2.2.7_typescript@4.9.3/node_modules/@formily/json-schema/esm/index.js"() {
|
|
70473
70473
|
init_schema();
|
|
70474
70474
|
init_types6();
|
|
70475
70475
|
}
|
|
@@ -102625,9 +102625,9 @@ var require_inquirer = __commonJS({
|
|
|
102625
102625
|
}
|
|
102626
102626
|
});
|
|
102627
102627
|
|
|
102628
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102628
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
|
|
102629
102629
|
var require_transform = __commonJS({
|
|
102630
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102630
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
|
|
102631
102631
|
"use strict";
|
|
102632
102632
|
Object.defineProperty(exports, "__esModule", {
|
|
102633
102633
|
value: true
|
|
@@ -102796,9 +102796,9 @@ var require_transform = __commonJS({
|
|
|
102796
102796
|
}
|
|
102797
102797
|
});
|
|
102798
102798
|
|
|
102799
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102799
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
|
|
102800
102800
|
var require_prompt2 = __commonJS({
|
|
102801
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102801
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
|
|
102802
102802
|
"use strict";
|
|
102803
102803
|
Object.defineProperty(exports, "__esModule", {
|
|
102804
102804
|
value: true
|
|
@@ -102934,9 +102934,9 @@ var require_prompt2 = __commonJS({
|
|
|
102934
102934
|
}
|
|
102935
102935
|
});
|
|
102936
102936
|
|
|
102937
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102937
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
|
|
102938
102938
|
var require_inquirer2 = __commonJS({
|
|
102939
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
102939
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
|
|
102940
102940
|
"use strict";
|
|
102941
102941
|
Object.defineProperty(exports, "__esModule", {
|
|
102942
102942
|
value: true
|
|
@@ -103006,9 +103006,9 @@ var require_inquirer2 = __commonJS({
|
|
|
103006
103006
|
}
|
|
103007
103007
|
});
|
|
103008
103008
|
|
|
103009
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
103009
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
|
|
103010
103010
|
var require_node7 = __commonJS({
|
|
103011
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.
|
|
103011
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
|
|
103012
103012
|
"use strict";
|
|
103013
103013
|
Object.defineProperty(exports, "__esModule", {
|
|
103014
103014
|
value: true
|
|
@@ -105593,9 +105593,9 @@ var require_node8 = __commonJS({
|
|
|
105593
105593
|
}
|
|
105594
105594
|
});
|
|
105595
105595
|
|
|
105596
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105596
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js
|
|
105597
105597
|
var require_zh = __commonJS({
|
|
105598
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105598
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js"(exports) {
|
|
105599
105599
|
"use strict";
|
|
105600
105600
|
Object.defineProperty(exports, "__esModule", {
|
|
105601
105601
|
value: true
|
|
@@ -105630,9 +105630,9 @@ var require_zh = __commonJS({
|
|
|
105630
105630
|
}
|
|
105631
105631
|
});
|
|
105632
105632
|
|
|
105633
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105633
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js
|
|
105634
105634
|
var require_en = __commonJS({
|
|
105635
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105635
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js"(exports) {
|
|
105636
105636
|
"use strict";
|
|
105637
105637
|
Object.defineProperty(exports, "__esModule", {
|
|
105638
105638
|
value: true
|
|
@@ -105667,9 +105667,9 @@ var require_en = __commonJS({
|
|
|
105667
105667
|
}
|
|
105668
105668
|
});
|
|
105669
105669
|
|
|
105670
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105670
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js
|
|
105671
105671
|
var require_locale = __commonJS({
|
|
105672
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105672
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js"(exports) {
|
|
105673
105673
|
"use strict";
|
|
105674
105674
|
Object.defineProperty(exports, "__esModule", {
|
|
105675
105675
|
value: true
|
|
@@ -105694,9 +105694,9 @@ var require_locale = __commonJS({
|
|
|
105694
105694
|
}
|
|
105695
105695
|
});
|
|
105696
105696
|
|
|
105697
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105697
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js
|
|
105698
105698
|
var require_transform2 = __commonJS({
|
|
105699
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105699
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js"(exports) {
|
|
105700
105700
|
"use strict";
|
|
105701
105701
|
Object.defineProperty(exports, "__esModule", {
|
|
105702
105702
|
value: true
|
|
@@ -105731,9 +105731,9 @@ var require_transform2 = __commonJS({
|
|
|
105731
105731
|
}
|
|
105732
105732
|
});
|
|
105733
105733
|
|
|
105734
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105734
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js
|
|
105735
105735
|
var require_checkUseNvm = __commonJS({
|
|
105736
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105736
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js"(exports) {
|
|
105737
105737
|
"use strict";
|
|
105738
105738
|
Object.defineProperty(exports, "__esModule", {
|
|
105739
105739
|
value: true
|
|
@@ -105792,9 +105792,9 @@ var require_checkUseNvm = __commonJS({
|
|
|
105792
105792
|
}
|
|
105793
105793
|
});
|
|
105794
105794
|
|
|
105795
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105795
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
|
|
105796
105796
|
var require_node9 = __commonJS({
|
|
105797
|
-
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.
|
|
105797
|
+
"../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.3_behyblf5hoqzjgbnbcybtsc22i/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js"(exports) {
|
|
105798
105798
|
"use strict";
|
|
105799
105799
|
Object.defineProperty(exports, "__esModule", {
|
|
105800
105800
|
value: true
|
|
@@ -136649,7 +136649,8 @@ var require_constants6 = __commonJS({
|
|
|
136649
136649
|
"@modern-js/plugin-testing": "@modern-js/plugin-testing/cli",
|
|
136650
136650
|
"@modern-js/plugin-storybook": "@modern-js/plugin-storybook/cli",
|
|
136651
136651
|
"@modern-js/plugin-tailwindcss": "@modern-js/plugin-tailwindcss/cli",
|
|
136652
|
-
"@modern-js/plugin-nocode": "@modern-js/plugin-nocode/cli"
|
|
136652
|
+
"@modern-js/plugin-nocode": "@modern-js/plugin-nocode/cli",
|
|
136653
|
+
"@modern-js/plugin-router-legacy": "@modern-js/plugin-router-legacy/cli"
|
|
136653
136654
|
};
|
|
136654
136655
|
exports.INTERNAL_MONOREPO_TOOLS_PLUGINS = {
|
|
136655
136656
|
"@modern-js/monorepo-tools": "@modern-js/monorepo-tools/cli",
|
|
@@ -137959,7 +137960,7 @@ var require_chainId2 = __commonJS({
|
|
|
137959
137960
|
ASSETS_RETRY: "ASSETS_RETRY",
|
|
137960
137961
|
AUTO_SET_ROOT_SIZE: "auto-set-root-size",
|
|
137961
137962
|
HTML_ASYNC_CHUNK: "html-async-chunk",
|
|
137962
|
-
|
|
137963
|
+
SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin"
|
|
137963
137964
|
},
|
|
137964
137965
|
MINIMIZER: {
|
|
137965
137966
|
JS: "js",
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "3.0.0
|
|
14
|
+
"version": "3.0.0",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"main": "./dist/index.js",
|
|
17
17
|
"files": [
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"@types/node": "^14",
|
|
28
28
|
"jest": "^27",
|
|
29
29
|
"typescript": "^4",
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
30
|
+
"@scripts/build": "2.0.0",
|
|
31
|
+
"@scripts/jest-config": "2.0.0",
|
|
32
|
+
"@modern-js/generator-common": "3.0.0",
|
|
33
|
+
"@modern-js/generator-utils": "3.0.0"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"publishConfig": {
|