@bleedingdev/modern-js-app-tools-extensions 3.8.3-ultramodern.6 → 3.9.0-ultramodern.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,4 +1,4 @@
1
- import type { CloudflareModernConfig } from './types';
1
+ import type { CloudflareModernConfig } from './types.js';
2
2
  export declare const getCloudflareArtifacts: (modernConfig: CloudflareModernConfig) => {
3
3
  from: string;
4
4
  to: string;
@@ -1,4 +1,4 @@
1
- import { CLOUDFLARE_RUNTIME_TYPE, CLOUDFLARE_WORKER_BUNDLE_FORMAT } from '../cloudflare-output-contract';
1
+ import { CLOUDFLARE_RUNTIME_TYPE, CLOUDFLARE_WORKER_BUNDLE_FORMAT } from '../cloudflare-output-contract.js';
2
2
  export { CLOUDFLARE_RUNTIME_TYPE, CLOUDFLARE_WORKER_BUNDLE_FORMAT };
3
3
  export declare const WORKER_ENTRY = "server/index.mjs";
4
4
  export declare const WORKER_MANIFEST = "server/modern-worker-manifest.json";
@@ -1,4 +1,4 @@
1
- import type { CloudflareAppContext } from './types';
1
+ import type { CloudflareAppContext } from './types.js';
2
2
  type WorkerI18nDetection = {
3
3
  order: string[];
4
4
  lookupQuerystring: string;
@@ -1,2 +1,2 @@
1
- import type { CreateCloudflarePreset } from './types';
1
+ import type { CreateCloudflarePreset } from './types.js';
2
2
  export declare const createCloudflarePreset: CreateCloudflarePreset;
@@ -1,4 +1,4 @@
1
- import type { CloudflareModernConfig } from './types';
1
+ import type { CloudflareModernConfig } from './types.js';
2
2
  export declare const createCloudflareWorkerSecurityPolicy: (modernConfig: CloudflareModernConfig) => {
3
3
  enabled: boolean;
4
4
  cors: {
@@ -1,6 +1,6 @@
1
1
  import type { BffUserConfig } from '@modern-js/server-core';
2
2
  import type { ServerPlugin } from '@modern-js/types';
3
- import type { CloudflareDeployConfig } from '../config';
3
+ import type { CloudflareDeployConfig } from '../config.js';
4
4
  export interface CloudflareAppContext {
5
5
  apiOnly: boolean;
6
6
  appDirectory: string;
@@ -1,4 +1,4 @@
1
- import type { JsonValue } from '../config';
1
+ import type { JsonValue } from '../config.js';
2
2
  export declare const isRecord: (value: unknown) => value is Record<string, unknown>;
3
3
  export declare const normalizeRelativePath: (value: unknown, label: string, scope?: string, options?: {
4
4
  allowRoot?: boolean;
@@ -1,5 +1,5 @@
1
- import type { DeliveryUnitStamp } from './delivery-unit';
2
- import type { CloudflareAppContext, CloudflareModernConfig } from './types';
1
+ import type { DeliveryUnitStamp } from './delivery-unit.js';
2
+ import type { CloudflareAppContext, CloudflareModernConfig } from './types.js';
3
3
  export declare const createWorkerManifest: (outputDirectory: string, modernConfig: CloudflareModernConfig, appContext: CloudflareAppContext, deliveryUnitStamp: DeliveryUnitStamp | undefined) => Promise<{
4
4
  version: number;
5
5
  runtime: {
@@ -1,5 +1,5 @@
1
- import type { JsonValue } from '../config';
2
- import type { CloudflareModernConfig } from './types';
1
+ import type { JsonValue } from '../config.js';
2
+ import type { CloudflareModernConfig } from './types.js';
3
3
  export declare const createWorkerServiceBindings: (modernConfig: CloudflareModernConfig, configuredWranglerServices: JsonValue | undefined) => {
4
4
  binding: string;
5
5
  service: string;
@@ -1,4 +1,4 @@
1
- import { CLOUDFLARE_ASSETS_BINDING, CLOUDFLARE_OUTPUT_PACKAGE_TYPE, CLOUDFLARE_PUBLIC_ASSETS_DIRECTORY, CLOUDFLARE_REQUIRED_COMPATIBILITY_FLAGS, CLOUDFLARE_WORKER_ENTRY, CLOUDFLARE_WORKER_PACKAGE_TYPE } from './cloudflare-output-contract';
1
+ import { CLOUDFLARE_ASSETS_BINDING, CLOUDFLARE_OUTPUT_PACKAGE_TYPE, CLOUDFLARE_PUBLIC_ASSETS_DIRECTORY, CLOUDFLARE_REQUIRED_COMPATIBILITY_FLAGS, CLOUDFLARE_WORKER_ENTRY, CLOUDFLARE_WORKER_PACKAGE_TYPE } from './cloudflare-output-contract.js';
2
2
  type CloudflareOutputPlan = {
3
3
  outputDirectory: string;
4
4
  requiredFiles: string[];
@@ -1,5 +1,5 @@
1
1
  import { type DeliveryUnitIdentity } from '@modern-js/utils/universal';
2
- import type { CloudflareOutputVerifierIssue, JsonObject } from './issues';
2
+ import type { CloudflareOutputVerifierIssue, JsonObject } from './issues.js';
3
3
  export type CloudflareDeliveryUnitIdentity = DeliveryUnitIdentity & {
4
4
  surfaces?: Partial<Record<'api' | 'ui', DeliveryUnitIdentity & {
5
5
  surface: 'api' | 'ui';
@@ -1,8 +1,8 @@
1
- import type { CloudflareDeliveryUnitIdentity } from './identity';
2
- import type { CloudflareOutputVerifierResult } from './issues';
3
- export type { CloudflareDeliveryUnitIdentity } from './identity';
4
- export type { CloudflareOutputVerifierIssue, CloudflareOutputVerifierIssueCode, CloudflareOutputVerifierResult, } from './issues';
5
- export { type VerifyCloudflareOutputMutationPolicyOptions, verifyCloudflareOutputMutationPolicy, } from './mutation-policy';
1
+ import type { CloudflareDeliveryUnitIdentity } from './identity.js';
2
+ import type { CloudflareOutputVerifierResult } from './issues.js';
3
+ export type { CloudflareDeliveryUnitIdentity } from './identity.js';
4
+ export type { CloudflareOutputVerifierIssue, CloudflareOutputVerifierIssueCode, CloudflareOutputVerifierResult, } from './issues.js';
5
+ export { type VerifyCloudflareOutputMutationPolicyOptions, verifyCloudflareOutputMutationPolicy, } from './mutation-policy.js';
6
6
  export interface VerifyCloudflareOutputOptions {
7
7
  outputDirectory: string;
8
8
  importWorker?: boolean;
@@ -1,2 +1,2 @@
1
- import type { CloudflareOutputVerifierIssue, JsonObject } from './issues';
1
+ import type { CloudflareOutputVerifierIssue, JsonObject } from './issues.js';
2
2
  export declare const verifyManifestShape: (issues: CloudflareOutputVerifierIssue[], manifest: JsonObject, manifestPath: string) => void;
@@ -1,4 +1,4 @@
1
- import type { CloudflareOutputVerifierResult } from './issues';
1
+ import type { CloudflareOutputVerifierResult } from './issues.js';
2
2
  export interface VerifyCloudflareOutputMutationPolicyOptions {
3
3
  scanRoots: string[];
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { CloudflareOutputVerifierIssue, JsonObject } from './issues';
1
+ import type { CloudflareOutputVerifierIssue, JsonObject } from './issues.js';
2
2
  interface WorkerBundleReference {
3
3
  dispatcherExport?: string;
4
4
  kind: 'effect-bff' | 'route';
@@ -1,10 +1,10 @@
1
- export * from './cloudflare';
2
- export * from './cloudflare-builder';
3
- export * from './cloudflare-output-contract';
4
- export * from './cloudflare-output-plan';
5
- export * from './cloudflare-output-verifier';
6
- export * from './config';
7
- export * from './css-extract-runtime-plugin';
8
- export * from './release-envelope';
9
- export * from './release-envelope/plugin';
10
- export * from './release-identity';
1
+ export * from './cloudflare/index.js';
2
+ export * from './cloudflare-builder.js';
3
+ export * from './cloudflare-output-contract.js';
4
+ export * from './cloudflare-output-plan.js';
5
+ export * from './cloudflare-output-verifier/index.js';
6
+ export * from './config.js';
7
+ export * from './css-extract-runtime-plugin.js';
8
+ export * from './release-envelope/index.js';
9
+ export * from './release-envelope/plugin.js';
10
+ export * from './release-identity.js';
@@ -1,4 +1,4 @@
1
- import type { MicroVerticalReleaseEnvelope, MicroVerticalReleaseEnvelopePayload } from './types';
1
+ import type { MicroVerticalReleaseEnvelope, MicroVerticalReleaseEnvelopePayload } from './types.js';
2
2
  export declare const releaseEnvelopePayload: (envelope: MicroVerticalReleaseEnvelope) => MicroVerticalReleaseEnvelopePayload;
3
3
  export declare const canonicalSerializeMicroVerticalReleaseEnvelopePayload: (payload: MicroVerticalReleaseEnvelopePayload) => string;
4
4
  export declare const canonicalSerializeMicroVerticalReleaseEnvelope: (envelope: MicroVerticalReleaseEnvelope) => string;
@@ -1,4 +1,4 @@
1
- import type { MicroVerticalReleaseArtifact, MicroVerticalReleaseEnvelope, MicroVerticalReleaseTarget } from './types';
1
+ import type { MicroVerticalReleaseArtifact, MicroVerticalReleaseEnvelope, MicroVerticalReleaseTarget } from './types.js';
2
2
  export declare const MICROVERTICAL_RELEASE_ENVELOPE_PATH = "release/microvertical-release-envelope.json";
3
3
  export declare const MICROVERTICAL_RELEASE_IDENTITY_CARRIERS_PATH = "release/microvertical-release-identity-carriers.json";
4
4
  export declare const emitFrameworkMicroVerticalReleaseEnvelope: ({ apiOnly, distDirectory, target, }: {
@@ -1,6 +1,6 @@
1
- import { canonicalSerializeMicroVerticalReleaseEnvelope } from './canonical';
2
- import { type CreateMicroVerticalReleaseEnvelopeInput, MICROVERTICAL_RELEASE_ENVELOPE_KIND, MICROVERTICAL_RELEASE_ENVELOPE_SCHEMA_VERSION, MICROVERTICAL_RELEASE_TARGETS, type MicroVerticalReleaseEnvelope, type VerifyMicroVerticalReleaseEnvelopeOptions } from './types';
3
- export type { CreateMicroVerticalReleaseEnvelopeInput, MicroVerticalReleaseArtifact, MicroVerticalReleaseArtifactInput, MicroVerticalReleaseArtifactInputs, MicroVerticalReleaseEnvelope, MicroVerticalReleaseEnvelopePayload, MicroVerticalReleaseFileArtifact, MicroVerticalReleaseIdentity, MicroVerticalReleaseSurfaces, MicroVerticalReleaseSymbolicLinkArtifact, MicroVerticalReleaseTarget, VerifyMicroVerticalReleaseEnvelopeOptions, } from './types';
1
+ import { canonicalSerializeMicroVerticalReleaseEnvelope } from './canonical.js';
2
+ import { type CreateMicroVerticalReleaseEnvelopeInput, MICROVERTICAL_RELEASE_ENVELOPE_KIND, MICROVERTICAL_RELEASE_ENVELOPE_SCHEMA_VERSION, MICROVERTICAL_RELEASE_TARGETS, type MicroVerticalReleaseEnvelope, type VerifyMicroVerticalReleaseEnvelopeOptions } from './types.js';
3
+ export type { CreateMicroVerticalReleaseEnvelopeInput, MicroVerticalReleaseArtifact, MicroVerticalReleaseArtifactInput, MicroVerticalReleaseArtifactInputs, MicroVerticalReleaseEnvelope, MicroVerticalReleaseEnvelopePayload, MicroVerticalReleaseFileArtifact, MicroVerticalReleaseIdentity, MicroVerticalReleaseSurfaces, MicroVerticalReleaseSymbolicLinkArtifact, MicroVerticalReleaseTarget, VerifyMicroVerticalReleaseEnvelopeOptions, } from './types.js';
4
4
  export { canonicalSerializeMicroVerticalReleaseEnvelope, MICROVERTICAL_RELEASE_ENVELOPE_KIND, MICROVERTICAL_RELEASE_ENVELOPE_SCHEMA_VERSION, MICROVERTICAL_RELEASE_TARGETS, };
5
5
  export declare const createMicroVerticalReleaseEnvelope: (input: CreateMicroVerticalReleaseEnvelopeInput) => Promise<MicroVerticalReleaseEnvelope>;
6
6
  export declare const verifyMicroVerticalReleaseEnvelope: (value: unknown, options: VerifyMicroVerticalReleaseEnvelopeOptions) => Promise<MicroVerticalReleaseEnvelope>;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "directory": "packages/solutions/app-tools-extensions"
12
12
  },
13
13
  "license": "MIT",
14
- "version": "3.8.3-ultramodern.6",
14
+ "version": "3.9.0-ultramodern.1",
15
15
  "files": [
16
16
  "dist",
17
17
  "src"
@@ -98,10 +98,10 @@
98
98
  "@babel/parser": "^8.0.0",
99
99
  "@babel/traverse": "^8.0.0",
100
100
  "@loadable/component": "5.16.7",
101
- "@modern-js/builder": "npm:@bleedingdev/modern-js-builder@3.8.3-ultramodern.6",
102
- "@modern-js/server-core": "npm:@bleedingdev/modern-js-server-core@3.8.3-ultramodern.6",
103
- "@modern-js/types": "npm:@bleedingdev/modern-js-types@3.8.3-ultramodern.6",
104
- "@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.8.3-ultramodern.6",
101
+ "@modern-js/builder": "npm:@bleedingdev/modern-js-builder@3.9.0-ultramodern.1",
102
+ "@modern-js/server-core": "npm:@bleedingdev/modern-js-server-core@3.9.0-ultramodern.1",
103
+ "@modern-js/types": "npm:@bleedingdev/modern-js-types@3.9.0-ultramodern.1",
104
+ "@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.9.0-ultramodern.1",
105
105
  "@swc/helpers": "^0.5.23",
106
106
  "std-env": "4.2.0"
107
107
  },
@@ -111,7 +111,7 @@
111
111
  "devDependencies": {
112
112
  "@module-federation/runtime-tools": "2.9.0",
113
113
  "@rsbuild/core": "2.2.0",
114
- "@rslib/core": "0.23.2",
114
+ "@rslib/core": "1.0.0",
115
115
  "@scripts/rstest-config": "2.66.0",
116
116
  "@types/babel__traverse": "7.28.0",
117
117
  "@types/node": "^26.2.0",