Renamed index.d.ts to types
MODIFY
packages/app-utils/index.d.ts
packages/app-utils/index.d.ts
-export { EndpointManifest, PageManifest, PageComponentManifest } from './src/index';
+export { EndpointManifest, PageManifest, PageComponentManifest } from './src/types';

MODIFY
packages/app-utils/src/renderer/manifest/index.spec.data.ts
packages/app-utils/src/renderer/manifest/index.spec.data.ts
-import { PageComponentManifest, RouteManifest, PageManifest, EndpointManifest } from '../../index';
+import { PageComponentManifest, RouteManifest, PageManifest, EndpointManifest } from '../../types';
const examplePageComponentManifest: PageComponentManifest = {
default: true,

MODIFY
packages/app-utils/src/renderer/manifest/index.ts
packages/app-utils/src/renderer/manifest/index.ts
-import { RouteManifest, PageManifest, EndpointManifest } from '../../index';
+import { RouteManifest, PageManifest, EndpointManifest } from '../../types';
const array_item_delimiter = ',';

MODIFY
packages/app-utils/src/renderer/prerender/index.ts
packages/app-utils/src/renderer/prerender/index.ts
@@ -3,7 +3,7 @@ import { dirname, resolve as resolve_path } from 'path';
import { parse, resolve, URLSearchParams } from 'url';
import { mkdirp } from '../../files';
import { render } from '../render';
-import { PageResponse, RouteManifest } from '../../index';
+import { PageResponse, RouteManifest } from '../../types';
function clean_html(html: string) {
return html

MODIFY
packages/app-utils/src/renderer/render/endpoint.ts
packages/app-utils/src/renderer/render/endpoint.ts
-import { IncomingRequest, RenderOptions, EndpointManifest, Headers } from '../../index';
+import { IncomingRequest, RenderOptions, EndpointManifest, Headers } from '../../types';
export default function render_route(
request: IncomingRequest,

MODIFY
packages/app-utils/src/renderer/render/index.ts
packages/app-utils/src/renderer/render/index.ts
import { createHash } from 'crypto';
import render_page from './page';
import render_endpoint from './endpoint';
-import { EndpointResponse, IncomingRequest, PageResponse, RenderOptions } from '../../index';
+import { EndpointResponse, IncomingRequest, PageResponse, RenderOptions } from '../../types';
function md5(body: string) {
return createHash('md5').update(body).digest('hex');

MODIFY
packages/app-utils/src/renderer/render/page.ts
packages/app-utils/src/renderer/render/page.ts
@@ -6,7 +6,7 @@ import devalue from 'devalue';
import fetch, { Response } from 'node-fetch';
import * as mime from 'mime';
import { render } from './index';
-import { IncomingRequest, RenderOptions, PageManifest, EndpointResponse, PageResponse, Headers } from '../../index';
+import { IncomingRequest, RenderOptions, PageManifest, EndpointResponse, PageResponse, Headers } from '../../types';
const noop = () => {};

RENAME
packages/app-utils/src/index.d.ts
packages/app-utils/src/types.d.ts
@@ -44,6 +44,7 @@ export type RenderOptions = {
export type PageComponentManifest = {
default?: boolean;
type?: string;
+ url: string;
name: string;
file: string;
};

MODIFY
packages/kit/src/core/create_app.ts
packages/kit/src/core/create_app.ts
import * as fs from 'fs';
import { mkdirp } from '@sveltejs/app-utils/files';
import { stringify, walk, write_if_changed } from '../utils';
-import { PageManifest, ManifestData } from '../interfaces';
+import { ManifestData } from '../interfaces';
+import { PageManifest } from '@sveltejs/app-utils';
export function create_app({
manifest_data,

MODIFY
packages/kit/src/core/create_manifest_data.ts
packages/kit/src/core/create_manifest_data.ts
import * as fs from 'fs';
import * as path from 'path';
-import { PageManifest, PageComponentManifest, EndpointManifest, ManifestData } from '../interfaces';
+import { ManifestData } from '../interfaces';
+import { PageManifest, PageComponentManifest, EndpointManifest } from '@sveltejs/app-utils';
import { posixify, reserved_words } from '../utils';
export default function create_manifest_data(cwd: string, extensions: string = '.svelte .html'): ManifestData {

Renamed index.d.ts to types