@bleedingdev/modern-js-create 3.5.0-ultramodern.37 → 3.5.0-ultramodern.38

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.
@@ -103,6 +103,11 @@ function updateGeneratedPnpmWorkspacePolicy(io) {
103
103
  changed = policyExclude.changed || changed;
104
104
  }
105
105
  }
106
+ for (const item of external_policy_constants_cjs_namespaceObject.moduleFederationPackageVersionPolicyExclusions){
107
+ const policyExclude = (0, external_pnpm_yaml_cjs_namespaceObject.ensureYamlListItem)(source, 'minimumReleaseAgeExclude', item);
108
+ source = policyExclude.source;
109
+ changed = policyExclude.changed || changed;
110
+ }
106
111
  const effectPatch = (0, external_pnpm_yaml_cjs_namespaceObject.ensureYamlMapEntry)(source, 'patchedDependencies', `effect@${versions_cjs_namespaceObject.EFFECT_VERSION}`, external_policy_constants_cjs_namespaceObject.effectDeclarationPatchPath);
107
112
  source = effectPatch.source;
108
113
  changed = effectPatch.changed || changed;
@@ -47,6 +47,7 @@ __webpack_require__.d(__webpack_exports__, {
47
47
  moduleFederationDtsPluginPatchSourcePath: ()=>moduleFederationDtsPluginPatchSourcePath,
48
48
  moduleFederationModernJsPatchPath: ()=>moduleFederationModernJsPatchPath,
49
49
  moduleFederationModernJsPatchSourcePath: ()=>moduleFederationModernJsPatchSourcePath,
50
+ moduleFederationPackageVersionPolicyExclusions: ()=>moduleFederationPackageVersionPolicyExclusions,
50
51
  strictEffectPackageVersionPolicyExclusions: ()=>strictEffectPackageVersionPolicyExclusions
51
52
  });
52
53
  const external_node_path_namespaceObject = require("node:path");
@@ -57,6 +58,9 @@ const strictEffectPackageVersionPolicyExclusions = [
57
58
  `effect@${versions_cjs_namespaceObject.EFFECT_VERSION}`,
58
59
  `@effect/opentelemetry@${versions_cjs_namespaceObject.EFFECT_VERSION}`
59
60
  ];
61
+ const moduleFederationPackageVersionPolicyExclusions = [
62
+ '@module-federation/*'
63
+ ];
60
64
  const moduleFederationModernJsPatchPath = `patches/@module-federation__modern-js-v3@${versions_cjs_namespaceObject.MODULE_FEDERATION_VERSION}.patch`;
61
65
  const moduleFederationModernJsPatchSourcePath = external_node_path_default().join(external_context_cjs_namespaceObject.createPackageRoot, 'template-workspace', moduleFederationModernJsPatchPath);
62
66
  const moduleFederationDtsPluginPatchPath = `patches/@module-federation__dts-plugin@${versions_cjs_namespaceObject.MODULE_FEDERATION_VERSION}.patch`;
@@ -77,6 +81,7 @@ exports.moduleFederationDtsPluginPatchPath = __webpack_exports__.moduleFederatio
77
81
  exports.moduleFederationDtsPluginPatchSourcePath = __webpack_exports__.moduleFederationDtsPluginPatchSourcePath;
78
82
  exports.moduleFederationModernJsPatchPath = __webpack_exports__.moduleFederationModernJsPatchPath;
79
83
  exports.moduleFederationModernJsPatchSourcePath = __webpack_exports__.moduleFederationModernJsPatchSourcePath;
84
+ exports.moduleFederationPackageVersionPolicyExclusions = __webpack_exports__.moduleFederationPackageVersionPolicyExclusions;
80
85
  exports.strictEffectPackageVersionPolicyExclusions = __webpack_exports__.strictEffectPackageVersionPolicyExclusions;
81
86
  for(var __rspack_i in __webpack_exports__)if (-1 === [
82
87
  "drizzleOrmDeclarationPatchPath",
@@ -89,6 +94,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
89
94
  "moduleFederationDtsPluginPatchSourcePath",
90
95
  "moduleFederationModernJsPatchPath",
91
96
  "moduleFederationModernJsPatchSourcePath",
97
+ "moduleFederationPackageVersionPolicyExclusions",
92
98
  "strictEffectPackageVersionPolicyExclusions"
93
99
  ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
94
100
  Object.defineProperty(exports, '__esModule', {
@@ -3,7 +3,7 @@ import node_path from "node:path";
3
3
  import { DRIZZLE_ORM_VERSION, EFFECT_VERSION, EFFECT_VITEST_VERSION, MODULE_FEDERATION_VERSION } from "../../../ultramodern-workspace/versions.js";
4
4
  import { workspaceUsesDependency } from "./dependency-usage.js";
5
5
  import { ensureYamlListItem, ensureYamlMapEntry, ensureYamlScalarMapEntry, removeYamlMapEntry, replaceYamlLine } from "./pnpm-yaml.js";
6
- import { drizzleOrmDeclarationPatchPath, effectDeclarationPatchPath, moduleFederationBridgeReactPatchPath, moduleFederationDtsPluginPatchPath, moduleFederationModernJsPatchPath, strictEffectPackageVersionPolicyExclusions } from "./policy-constants.js";
6
+ import { drizzleOrmDeclarationPatchPath, effectDeclarationPatchPath, moduleFederationBridgeReactPatchPath, moduleFederationDtsPluginPatchPath, moduleFederationModernJsPatchPath, moduleFederationPackageVersionPolicyExclusions, strictEffectPackageVersionPolicyExclusions } from "./policy-constants.js";
7
7
  function updateGeneratedPnpmWorkspacePolicy(io) {
8
8
  const workspaceFile = node_path.join(io.workspaceRoot, 'pnpm-workspace.yaml');
9
9
  if (!node_fs.existsSync(workspaceFile)) return false;
@@ -57,6 +57,11 @@ function updateGeneratedPnpmWorkspacePolicy(io) {
57
57
  changed = policyExclude.changed || changed;
58
58
  }
59
59
  }
60
+ for (const item of moduleFederationPackageVersionPolicyExclusions){
61
+ const policyExclude = ensureYamlListItem(source, 'minimumReleaseAgeExclude', item);
62
+ source = policyExclude.source;
63
+ changed = policyExclude.changed || changed;
64
+ }
60
65
  const effectPatch = ensureYamlMapEntry(source, 'patchedDependencies', `effect@${EFFECT_VERSION}`, effectDeclarationPatchPath);
61
66
  source = effectPatch.source;
62
67
  changed = effectPatch.changed || changed;
@@ -5,6 +5,9 @@ const strictEffectPackageVersionPolicyExclusions = [
5
5
  `effect@${EFFECT_VERSION}`,
6
6
  `@effect/opentelemetry@${EFFECT_VERSION}`
7
7
  ];
8
+ const moduleFederationPackageVersionPolicyExclusions = [
9
+ '@module-federation/*'
10
+ ];
8
11
  const moduleFederationModernJsPatchPath = `patches/@module-federation__modern-js-v3@${MODULE_FEDERATION_VERSION}.patch`;
9
12
  const moduleFederationModernJsPatchSourcePath = node_path.join(createPackageRoot, 'template-workspace', moduleFederationModernJsPatchPath);
10
13
  const moduleFederationDtsPluginPatchPath = `patches/@module-federation__dts-plugin@${MODULE_FEDERATION_VERSION}.patch`;
@@ -15,4 +18,4 @@ const effectDeclarationPatchPath = 'patches/effect-schema-error-type-id.patch';
15
18
  const effectDeclarationPatchSourcePath = node_path.join(createPackageRoot, 'template-workspace', effectDeclarationPatchPath);
16
19
  const drizzleOrmDeclarationPatchPath = 'patches/drizzle-orm-ts7-strict-declarations.patch';
17
20
  const drizzleOrmDeclarationPatchSourcePath = node_path.join(createPackageRoot, 'template-workspace', drizzleOrmDeclarationPatchPath);
18
- export { drizzleOrmDeclarationPatchPath, drizzleOrmDeclarationPatchSourcePath, effectDeclarationPatchPath, effectDeclarationPatchSourcePath, moduleFederationBridgeReactPatchPath, moduleFederationBridgeReactPatchSourcePath, moduleFederationDtsPluginPatchPath, moduleFederationDtsPluginPatchSourcePath, moduleFederationModernJsPatchPath, moduleFederationModernJsPatchSourcePath, strictEffectPackageVersionPolicyExclusions };
21
+ export { drizzleOrmDeclarationPatchPath, drizzleOrmDeclarationPatchSourcePath, effectDeclarationPatchPath, effectDeclarationPatchSourcePath, moduleFederationBridgeReactPatchPath, moduleFederationBridgeReactPatchSourcePath, moduleFederationDtsPluginPatchPath, moduleFederationDtsPluginPatchSourcePath, moduleFederationModernJsPatchPath, moduleFederationModernJsPatchSourcePath, moduleFederationPackageVersionPolicyExclusions, strictEffectPackageVersionPolicyExclusions };
@@ -4,7 +4,7 @@ import node_path from "node:path";
4
4
  import { DRIZZLE_ORM_VERSION, EFFECT_VERSION, EFFECT_VITEST_VERSION, MODULE_FEDERATION_VERSION } from "../../../ultramodern-workspace/versions.js";
5
5
  import { workspaceUsesDependency } from "./dependency-usage.js";
6
6
  import { ensureYamlListItem, ensureYamlMapEntry, ensureYamlScalarMapEntry, removeYamlMapEntry, replaceYamlLine } from "./pnpm-yaml.js";
7
- import { drizzleOrmDeclarationPatchPath, effectDeclarationPatchPath, moduleFederationBridgeReactPatchPath, moduleFederationDtsPluginPatchPath, moduleFederationModernJsPatchPath, strictEffectPackageVersionPolicyExclusions } from "./policy-constants.js";
7
+ import { drizzleOrmDeclarationPatchPath, effectDeclarationPatchPath, moduleFederationBridgeReactPatchPath, moduleFederationDtsPluginPatchPath, moduleFederationModernJsPatchPath, moduleFederationPackageVersionPolicyExclusions, strictEffectPackageVersionPolicyExclusions } from "./policy-constants.js";
8
8
  function updateGeneratedPnpmWorkspacePolicy(io) {
9
9
  const workspaceFile = node_path.join(io.workspaceRoot, 'pnpm-workspace.yaml');
10
10
  if (!node_fs.existsSync(workspaceFile)) return false;
@@ -58,6 +58,11 @@ function updateGeneratedPnpmWorkspacePolicy(io) {
58
58
  changed = policyExclude.changed || changed;
59
59
  }
60
60
  }
61
+ for (const item of moduleFederationPackageVersionPolicyExclusions){
62
+ const policyExclude = ensureYamlListItem(source, 'minimumReleaseAgeExclude', item);
63
+ source = policyExclude.source;
64
+ changed = policyExclude.changed || changed;
65
+ }
61
66
  const effectPatch = ensureYamlMapEntry(source, 'patchedDependencies', `effect@${EFFECT_VERSION}`, effectDeclarationPatchPath);
62
67
  source = effectPatch.source;
63
68
  changed = effectPatch.changed || changed;
@@ -6,6 +6,9 @@ const strictEffectPackageVersionPolicyExclusions = [
6
6
  `effect@${EFFECT_VERSION}`,
7
7
  `@effect/opentelemetry@${EFFECT_VERSION}`
8
8
  ];
9
+ const moduleFederationPackageVersionPolicyExclusions = [
10
+ '@module-federation/*'
11
+ ];
9
12
  const moduleFederationModernJsPatchPath = `patches/@module-federation__modern-js-v3@${MODULE_FEDERATION_VERSION}.patch`;
10
13
  const moduleFederationModernJsPatchSourcePath = node_path.join(createPackageRoot, 'template-workspace', moduleFederationModernJsPatchPath);
11
14
  const moduleFederationDtsPluginPatchPath = `patches/@module-federation__dts-plugin@${MODULE_FEDERATION_VERSION}.patch`;
@@ -16,4 +19,4 @@ const effectDeclarationPatchPath = 'patches/effect-schema-error-type-id.patch';
16
19
  const effectDeclarationPatchSourcePath = node_path.join(createPackageRoot, 'template-workspace', effectDeclarationPatchPath);
17
20
  const drizzleOrmDeclarationPatchPath = 'patches/drizzle-orm-ts7-strict-declarations.patch';
18
21
  const drizzleOrmDeclarationPatchSourcePath = node_path.join(createPackageRoot, 'template-workspace', drizzleOrmDeclarationPatchPath);
19
- export { drizzleOrmDeclarationPatchPath, drizzleOrmDeclarationPatchSourcePath, effectDeclarationPatchPath, effectDeclarationPatchSourcePath, moduleFederationBridgeReactPatchPath, moduleFederationBridgeReactPatchSourcePath, moduleFederationDtsPluginPatchPath, moduleFederationDtsPluginPatchSourcePath, moduleFederationModernJsPatchPath, moduleFederationModernJsPatchSourcePath, strictEffectPackageVersionPolicyExclusions };
22
+ export { drizzleOrmDeclarationPatchPath, drizzleOrmDeclarationPatchSourcePath, effectDeclarationPatchPath, effectDeclarationPatchSourcePath, moduleFederationBridgeReactPatchPath, moduleFederationBridgeReactPatchSourcePath, moduleFederationDtsPluginPatchPath, moduleFederationDtsPluginPatchSourcePath, moduleFederationModernJsPatchPath, moduleFederationModernJsPatchSourcePath, moduleFederationPackageVersionPolicyExclusions, strictEffectPackageVersionPolicyExclusions };
@@ -1,4 +1,5 @@
1
1
  export declare const strictEffectPackageVersionPolicyExclusions: string[];
2
+ export declare const moduleFederationPackageVersionPolicyExclusions: readonly ['@module-federation/*'];
2
3
  export declare const moduleFederationModernJsPatchPath = "patches/@module-federation__modern-js-v3@2.7.0.patch";
3
4
  export declare const moduleFederationModernJsPatchSourcePath: string;
4
5
  export declare const moduleFederationDtsPluginPatchPath = "patches/@module-federation__dts-plugin@2.7.0.patch";
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "engines": {
22
22
  "node": ">=20"
23
23
  },
24
- "version": "3.5.0-ultramodern.37",
24
+ "version": "3.5.0-ultramodern.38",
25
25
  "types": "./dist/types/index.d.ts",
26
26
  "main": "./dist/esm-node/index.js",
27
27
  "bin": {
@@ -77,8 +77,8 @@
77
77
  "@modern-js/codesmith": "2.6.9",
78
78
  "oxfmt": "0.58.0",
79
79
  "ultracite": "7.9.3",
80
- "@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.5.0-ultramodern.37",
81
- "@modern-js/i18n-utils": "npm:@bleedingdev/modern-js-i18n-utils@3.5.0-ultramodern.37"
80
+ "@modern-js/i18n-utils": "npm:@bleedingdev/modern-js-i18n-utils@3.5.0-ultramodern.38",
81
+ "@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.5.0-ultramodern.38"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@rslib/core": "0.23.2",
@@ -102,6 +102,6 @@
102
102
  "type-check": "tsgo --noEmit -p tsconfig.json"
103
103
  },
104
104
  "ultramodern": {
105
- "frameworkVersion": "3.5.0-ultramodern.37"
105
+ "frameworkVersion": "3.5.0-ultramodern.38"
106
106
  }
107
107
  }
@@ -10,6 +10,7 @@ minimumReleaseAgeExclude:
10
10
  - '@bleedingdev/modern-js-*'
11
11
  - 'effect@{{effectVersion}}'
12
12
  - '@effect/opentelemetry@{{effectVersion}}'
13
+ - '@module-federation/*'
13
14
  - '@tanstack/react-router'
14
15
  - '@tanstack/router-core'
15
16
  - 'typescript'