Fix organize-imports-cli with satisfies operator (#7727)
This commit is contained in:
parent
47c698b08a
commit
d8bae784b4
33 changed files with 80 additions and 64 deletions
|
@ -5,6 +5,10 @@ examples/with-nanostores/src/layouts
|
||||||
# Ignoring this file for now due to https://github.com/withastro/compiler/issues/485
|
# Ignoring this file for now due to https://github.com/withastro/compiler/issues/485
|
||||||
packages/markdown/component/Markdown.astro
|
packages/markdown/component/Markdown.astro
|
||||||
|
|
||||||
|
# Benchmark artifacts
|
||||||
|
benchmark/projects/
|
||||||
|
benchmark/results/
|
||||||
|
|
||||||
# Deep Directories
|
# Deep Directories
|
||||||
**/dist
|
**/dist
|
||||||
**/smoke
|
**/smoke
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
|
"organize-imports-cli>ts-morph": "^19.0.0",
|
||||||
"tsconfig-resolver>type-fest": "3.0.0"
|
"tsconfig-resolver>type-fest": "3.0.0"
|
||||||
},
|
},
|
||||||
"peerDependencyRules": {
|
"peerDependencyRules": {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { codecs as supportedFormats, preprocessors } from './codecs.js'
|
import { preprocessors, codecs as supportedFormats } from './codecs.js'
|
||||||
import ImageData from './image_data.js'
|
import ImageData from './image_data.js'
|
||||||
|
|
||||||
type EncoderKey = keyof typeof supportedFormats
|
type EncoderKey = keyof typeof supportedFormats
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import type { MarkdownHeading } from '@astrojs/markdown-remark';
|
import type { MarkdownHeading } from '@astrojs/markdown-remark';
|
||||||
import { string as zodString, ZodIssueCode } from 'zod';
|
import { ZodIssueCode, string as zodString } from 'zod';
|
||||||
import { AstroError, AstroErrorData } from '../core/errors/index.js';
|
import { AstroError, AstroErrorData } from '../core/errors/index.js';
|
||||||
import { prependForwardSlash } from '../core/path.js';
|
import { prependForwardSlash } from '../core/path.js';
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -37,7 +37,7 @@ import { isServerLikeOutput } from '../../prerender/utils.js';
|
||||||
import { BEFORE_HYDRATION_SCRIPT_ID, PAGE_SCRIPT_ID } from '../../vite-plugin-scripts/index.js';
|
import { BEFORE_HYDRATION_SCRIPT_ID, PAGE_SCRIPT_ID } from '../../vite-plugin-scripts/index.js';
|
||||||
import { AstroError, AstroErrorData } from '../errors/index.js';
|
import { AstroError, AstroErrorData } from '../errors/index.js';
|
||||||
import { debug, info } from '../logger/core.js';
|
import { debug, info } from '../logger/core.js';
|
||||||
import { getRedirectLocationOrThrow, RedirectSinglePageBuiltModule } from '../redirects/index.js';
|
import { RedirectSinglePageBuiltModule, getRedirectLocationOrThrow } from '../redirects/index.js';
|
||||||
import { isEndpointResult } from '../render/core.js';
|
import { isEndpointResult } from '../render/core.js';
|
||||||
import { createEnvironment, createRenderContext, tryRenderRoute } from '../render/index.js';
|
import { createEnvironment, createRenderContext, tryRenderRoute } from '../render/index.js';
|
||||||
import { callGetStaticPaths } from '../render/route-cache.js';
|
import { callGetStaticPaths } from '../render/route-cache.js';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import * as crypto from 'node:crypto';
|
import * as crypto from 'node:crypto';
|
||||||
import * as npath from 'node:path';
|
import * as npath from 'node:path';
|
||||||
import type { GetModuleInfo } from 'rollup';
|
import type { GetModuleInfo } from 'rollup';
|
||||||
import { type Plugin as VitePlugin, type ResolvedConfig } from 'vite';
|
import { type ResolvedConfig, type Plugin as VitePlugin } from 'vite';
|
||||||
import { isBuildableCSSRequest } from '../../render/dev/util.js';
|
import { isBuildableCSSRequest } from '../../render/dev/util.js';
|
||||||
import type { BuildInternals } from '../internal';
|
import type { BuildInternals } from '../internal';
|
||||||
import type { AstroBuildPlugin } from '../plugin';
|
import type { AstroBuildPlugin } from '../plugin';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import type { Plugin as VitePlugin, UserConfig } from 'vite';
|
import type { UserConfig, Plugin as VitePlugin } from 'vite';
|
||||||
import type { BuildInternals } from '../internal.js';
|
import type { BuildInternals } from '../internal.js';
|
||||||
import type { AstroBuildPlugin } from '../plugin';
|
import type { AstroBuildPlugin } from '../plugin';
|
||||||
import { normalizeEntryId } from './plugin-component-entry.js';
|
import { normalizeEntryId } from './plugin-component-entry.js';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import type { default as vite, InlineConfig } from 'vite';
|
import type { InlineConfig, default as vite } from 'vite';
|
||||||
import type {
|
import type {
|
||||||
AstroConfig,
|
AstroConfig,
|
||||||
AstroSettings,
|
AstroSettings,
|
||||||
|
|
|
@ -3,10 +3,10 @@ export { AstroErrorData } from './errors-data.js';
|
||||||
export {
|
export {
|
||||||
AggregateError,
|
AggregateError,
|
||||||
AstroError,
|
AstroError,
|
||||||
CompilerError,
|
|
||||||
CSSError,
|
CSSError,
|
||||||
isAstroError,
|
CompilerError,
|
||||||
MarkdownError,
|
MarkdownError,
|
||||||
|
isAstroError,
|
||||||
} from './errors.js';
|
} from './errors.js';
|
||||||
export { codeFrame } from './printer.js';
|
export { codeFrame } from './printer.js';
|
||||||
export { createSafeError, positionAt } from './utils.js';
|
export { createSafeError, positionAt } from './utils.js';
|
||||||
|
|
|
@ -104,4 +104,4 @@ function trySerializeLocals(value: unknown) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE: this export must export only the functions that will be exposed to user-land as officials APIs
|
// NOTE: this export must export only the functions that will be exposed to user-land as officials APIs
|
||||||
export { sequence, defineMiddleware, createContext, trySerializeLocals };
|
export { createContext, defineMiddleware, sequence, trySerializeLocals };
|
||||||
|
|
|
@ -2,7 +2,7 @@ import type { ComponentInstance, Params, Props, RouteData } from '../../@types/a
|
||||||
import { AstroError, AstroErrorData } from '../errors/index.js';
|
import { AstroError, AstroErrorData } from '../errors/index.js';
|
||||||
import type { LogOptions } from '../logger/core.js';
|
import type { LogOptions } from '../logger/core.js';
|
||||||
import { getParams } from '../routing/params.js';
|
import { getParams } from '../routing/params.js';
|
||||||
import { callGetStaticPaths, findPathItemByKey, RouteCache } from './route-cache.js';
|
import { RouteCache, callGetStaticPaths, findPathItemByKey } from './route-cache.js';
|
||||||
|
|
||||||
interface GetParamsAndPropsOptions {
|
interface GetParamsAndPropsOptions {
|
||||||
mod: ComponentInstance;
|
mod: ComponentInstance;
|
||||||
|
|
|
@ -85,4 +85,4 @@ function createVNode(type: any, props: Record<string, any>) {
|
||||||
return vnode;
|
return vnode;
|
||||||
}
|
}
|
||||||
|
|
||||||
export { AstroJSX, createVNode as jsx, createVNode as jsxs, createVNode as jsxDEV, Fragment };
|
export { AstroJSX, Fragment, createVNode as jsx, createVNode as jsxDEV, createVNode as jsxs };
|
||||||
|
|
|
@ -16,6 +16,7 @@ export {
|
||||||
defineScriptVars,
|
defineScriptVars,
|
||||||
Fragment,
|
Fragment,
|
||||||
maybeRenderHead,
|
maybeRenderHead,
|
||||||
|
renderTemplate as render,
|
||||||
renderAstroTemplateResult as renderAstroComponent,
|
renderAstroTemplateResult as renderAstroComponent,
|
||||||
renderComponent,
|
renderComponent,
|
||||||
renderComponentToIterable,
|
renderComponentToIterable,
|
||||||
|
@ -26,7 +27,6 @@ export {
|
||||||
renderScriptElement,
|
renderScriptElement,
|
||||||
renderSlot,
|
renderSlot,
|
||||||
renderSlotToString,
|
renderSlotToString,
|
||||||
renderTemplate as render,
|
|
||||||
renderTemplate,
|
renderTemplate,
|
||||||
renderToString,
|
renderToString,
|
||||||
renderUniqueStylesheet,
|
renderUniqueStylesheet,
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
import type { SSRResult } from '../../@types/astro.js';
|
import type { SSRResult } from '../../@types/astro.js';
|
||||||
import { AstroJSX, isVNode, type AstroVNode } from '../../jsx-runtime/index.js';
|
import { AstroJSX, isVNode, type AstroVNode } from '../../jsx-runtime/index.js';
|
||||||
import {
|
import {
|
||||||
escapeHTML,
|
|
||||||
HTMLString,
|
HTMLString,
|
||||||
|
escapeHTML,
|
||||||
markHTMLString,
|
markHTMLString,
|
||||||
renderComponentToIterable,
|
renderComponentToIterable,
|
||||||
renderToString,
|
renderToString,
|
||||||
|
|
|
@ -17,7 +17,7 @@ import {
|
||||||
} from './astro/index.js';
|
} from './astro/index.js';
|
||||||
import { Fragment, Renderer, stringifyChunk } from './common.js';
|
import { Fragment, Renderer, stringifyChunk } from './common.js';
|
||||||
import { componentIsHTMLElement, renderHTMLElement } from './dom.js';
|
import { componentIsHTMLElement, renderHTMLElement } from './dom.js';
|
||||||
import { renderSlots, renderSlotToString, type ComponentSlots } from './slot.js';
|
import { renderSlotToString, renderSlots, type ComponentSlots } from './slot.js';
|
||||||
import { formatList, internalSpreadAttributes, renderElement, voidElementNames } from './util.js';
|
import { formatList, internalSpreadAttributes, renderElement, voidElementNames } from './util.js';
|
||||||
|
|
||||||
const rendererAliases = new Map([['solid', 'solid-js']]);
|
const rendererAliases = new Map([['solid', 'solid-js']]);
|
||||||
|
|
|
@ -12,7 +12,7 @@ import {
|
||||||
isRenderTemplateResult,
|
isRenderTemplateResult,
|
||||||
renderAstroTemplateResult,
|
renderAstroTemplateResult,
|
||||||
} from './astro/index.js';
|
} from './astro/index.js';
|
||||||
import { chunkToByteArray, encoder, HTMLParts } from './common.js';
|
import { HTMLParts, chunkToByteArray, encoder } from './common.js';
|
||||||
import { renderComponent } from './component.js';
|
import { renderComponent } from './component.js';
|
||||||
import { maybeRenderHead } from './head.js';
|
import { maybeRenderHead } from './head.js';
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ export function fade({
|
||||||
}: {
|
}: {
|
||||||
duration?: string | number;
|
duration?: string | number;
|
||||||
} = {}): TransitionDirectionalAnimations {
|
} = {}): TransitionDirectionalAnimations {
|
||||||
const anim: TransitionAnimationPair = {
|
const anim = {
|
||||||
old: {
|
old: {
|
||||||
name: 'astroFadeInOut',
|
name: 'astroFadeInOut',
|
||||||
duration: duration ?? '0.2s',
|
duration: duration ?? '0.2s',
|
||||||
|
@ -62,7 +62,7 @@ export function fade({
|
||||||
easing: 'linear',
|
easing: 'linear',
|
||||||
fillMode: 'backwards',
|
fillMode: 'backwards',
|
||||||
},
|
},
|
||||||
};
|
} satisfies TransitionAnimationPair;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
forwards: anim,
|
forwards: anim,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
import { normalizePath, type Plugin as VitePlugin, type ResolvedConfig } from 'vite';
|
import { normalizePath, type ResolvedConfig, type Plugin as VitePlugin } from 'vite';
|
||||||
import type { AstroSettings } from '../@types/astro';
|
import type { AstroSettings } from '../@types/astro';
|
||||||
|
|
||||||
type Alias = {
|
type Alias = {
|
||||||
|
|
|
@ -48,14 +48,14 @@ export async function main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
export {
|
export {
|
||||||
setStdout,
|
|
||||||
getContext,
|
|
||||||
intro,
|
|
||||||
projectName,
|
|
||||||
template,
|
|
||||||
dependencies,
|
dependencies,
|
||||||
|
getContext,
|
||||||
git,
|
git,
|
||||||
typescript,
|
intro,
|
||||||
setupTypeScript,
|
|
||||||
next,
|
next,
|
||||||
|
projectName,
|
||||||
|
setStdout,
|
||||||
|
setupTypeScript,
|
||||||
|
template,
|
||||||
|
typescript,
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* eslint no-console: 'off' */
|
/* eslint no-console: 'off' */
|
||||||
import { color, label, say as houston, spinner as load } from '@astrojs/cli-kit';
|
import { color, say as houston, label, spinner as load } from '@astrojs/cli-kit';
|
||||||
import { align, sleep } from '@astrojs/cli-kit/utils';
|
import { align, sleep } from '@astrojs/cli-kit/utils';
|
||||||
import { execa } from 'execa';
|
import { execa } from 'execa';
|
||||||
import fetch from 'node-fetch-native';
|
import fetch from 'node-fetch-native';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import type { ExecutionContext, Request as CFRequest } from '@cloudflare/workers-types';
|
import type { Request as CFRequest, ExecutionContext } from '@cloudflare/workers-types';
|
||||||
import type { SSRManifest } from 'astro';
|
import type { SSRManifest } from 'astro';
|
||||||
import { App } from 'astro/app';
|
import { App } from 'astro/app';
|
||||||
import { getProcessEnvProxy, isNode } from './util.js';
|
import { getProcessEnvProxy, isNode } from './util.js';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import type { EventContext, Request as CFRequest } from '@cloudflare/workers-types';
|
import type { Request as CFRequest, EventContext } from '@cloudflare/workers-types';
|
||||||
import type { SSRManifest } from 'astro';
|
import type { SSRManifest } from 'astro';
|
||||||
import { App } from 'astro/app';
|
import { App } from 'astro/app';
|
||||||
import { getProcessEnvProxy, isNode } from './util.js';
|
import { getProcessEnvProxy, isNode } from './util.js';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { codecs as supportedFormats, preprocessors } from './codecs.js'
|
import { preprocessors, codecs as supportedFormats } from './codecs.js'
|
||||||
import ImageData from './image_data.js'
|
import ImageData from './image_data.js'
|
||||||
|
|
||||||
type EncoderKey = keyof typeof supportedFormats
|
type EncoderKey = keyof typeof supportedFormats
|
||||||
|
|
|
@ -6,7 +6,7 @@ import fs from 'node:fs';
|
||||||
import { fileURLToPath } from 'node:url';
|
import { fileURLToPath } from 'node:url';
|
||||||
import type { ErrorPayload as ViteErrorPayload } from 'vite';
|
import type { ErrorPayload as ViteErrorPayload } from 'vite';
|
||||||
import type { ComponentConfig } from './config.js';
|
import type { ComponentConfig } from './config.js';
|
||||||
import { isComponentConfig, isValidUrl, MarkdocError, prependForwardSlash } from './utils.js';
|
import { MarkdocError, isComponentConfig, isValidUrl, prependForwardSlash } from './utils.js';
|
||||||
// @ts-expect-error Cannot get the types here without `moduleResolution: 'nodenext'`
|
// @ts-expect-error Cannot get the types here without `moduleResolution: 'nodenext'`
|
||||||
import { emitESMImage } from 'astro/assets/utils';
|
import { emitESMImage } from 'astro/assets/utils';
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
|
|
|
@ -3,8 +3,8 @@ import type { AstroConfig, AstroIntegration, ContentEntryType, HookParameters }
|
||||||
import { bold, red } from 'kleur/colors';
|
import { bold, red } from 'kleur/colors';
|
||||||
import { getContentEntryType } from './content-entry-type.js';
|
import { getContentEntryType } from './content-entry-type.js';
|
||||||
import {
|
import {
|
||||||
loadMarkdocConfig,
|
|
||||||
SUPPORTED_MARKDOC_CONFIG_FILES,
|
SUPPORTED_MARKDOC_CONFIG_FILES,
|
||||||
|
loadMarkdocConfig,
|
||||||
type MarkdocConfigResult,
|
type MarkdocConfigResult,
|
||||||
} from './load-config.js';
|
} from './load-config.js';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import type { MarkdownVFile } from '@astrojs/markdown-remark';
|
import type { MarkdownVFile } from '@astrojs/markdown-remark';
|
||||||
import { type Image, type Parent } from 'mdast';
|
import { type Image, type Parent } from 'mdast';
|
||||||
import type { MdxjsEsm, MdxJsxFlowElement } from 'mdast-util-mdx';
|
import type { MdxJsxFlowElement, MdxjsEsm } from 'mdast-util-mdx';
|
||||||
import { visit } from 'unist-util-visit';
|
import { visit } from 'unist-util-visit';
|
||||||
import { jsToTreeNode } from './utils.js';
|
import { jsToTreeNode } from './utils.js';
|
||||||
|
|
||||||
|
|
|
@ -110,4 +110,4 @@ function netlifyFunctions({
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export { netlifyFunctions, netlifyFunctions as default };
|
export { netlifyFunctions as default, netlifyFunctions };
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
// organize-imports-ignore there's a bug where it strips out this import
|
|
||||||
import type { SitemapOptions } from './index.js';
|
import type { SitemapOptions } from './index.js';
|
||||||
|
|
||||||
export const SITEMAP_CONFIG_DEFAULTS = {
|
export const SITEMAP_CONFIG_DEFAULTS = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import type { VFile, VFileData as Data } from 'vfile';
|
import type { VFileData as Data, VFile } from 'vfile';
|
||||||
import type { MarkdownAstroData } from './types.js';
|
import type { MarkdownAstroData } from './types.js';
|
||||||
|
|
||||||
function isValidAstroData(obj: unknown): obj is MarkdownAstroData {
|
function isValidAstroData(obj: unknown): obj is MarkdownAstroData {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import type * as hast from 'hast';
|
import type * as hast from 'hast';
|
||||||
import type * as mdast from 'mdast';
|
import type * as mdast from 'mdast';
|
||||||
import type {
|
import type {
|
||||||
all as Handlers,
|
|
||||||
one as Handler,
|
one as Handler,
|
||||||
|
all as Handlers,
|
||||||
Options as RemarkRehypeOptions,
|
Options as RemarkRehypeOptions,
|
||||||
} from 'remark-rehype';
|
} from 'remark-rehype';
|
||||||
import type { ILanguageRegistration, IThemeRegistration, Theme } from 'shiki';
|
import type { ILanguageRegistration, IThemeRegistration, Theme } from 'shiki';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { isCI, name as ciName } from 'ci-info';
|
import { name as ciName, isCI } from 'ci-info';
|
||||||
import isDocker from 'is-docker';
|
import isDocker from 'is-docker';
|
||||||
import isWSL from 'is-wsl';
|
import isWSL from 'is-wsl';
|
||||||
import os from 'node:os';
|
import os from 'node:os';
|
||||||
|
|
|
@ -15,7 +15,7 @@ import {
|
||||||
WritableStreamDefaultController,
|
WritableStreamDefaultController,
|
||||||
WritableStreamDefaultWriter,
|
WritableStreamDefaultWriter,
|
||||||
} from 'node:stream/web' // Remove when Node 16 is dropped for Node 18.
|
} from 'node:stream/web' // Remove when Node 16 is dropped for Node 18.
|
||||||
import { fetch, File, FormData, Headers, Request, Response } from 'undici' // Remove when Node 16 is dropped for Node 18.
|
import { File, FormData, Headers, Request, Response, fetch } from 'undici' // Remove when Node 16 is dropped for Node 18.
|
||||||
import { URLPattern } from 'urlpattern-polyfill'
|
import { URLPattern } from 'urlpattern-polyfill'
|
||||||
import {
|
import {
|
||||||
cancelAnimationFrame,
|
cancelAnimationFrame,
|
||||||
|
@ -25,9 +25,9 @@ import { CharacterData, Comment, Text } from './lib/CharacterData'
|
||||||
import { CustomEvent } from './lib/CustomEvent' // Look into removing when Node 18 is dropped for Node 20
|
import { CustomEvent } from './lib/CustomEvent' // Look into removing when Node 18 is dropped for Node 20
|
||||||
import { DOMException } from './lib/DOMException'
|
import { DOMException } from './lib/DOMException'
|
||||||
import { cancelIdleCallback, requestIdleCallback } from './lib/IdleCallback'
|
import { cancelIdleCallback, requestIdleCallback } from './lib/IdleCallback'
|
||||||
import structuredClone from './lib/structuredClone' // Remove when Node 16 is dropped for Node 18.
|
|
||||||
import { clearTimeout, setTimeout } from './lib/Timeout'
|
import { clearTimeout, setTimeout } from './lib/Timeout'
|
||||||
import { TreeWalker } from './lib/TreeWalker'
|
import { TreeWalker } from './lib/TreeWalker'
|
||||||
|
import structuredClone from './lib/structuredClone' // Remove when Node 16 is dropped for Node 18.
|
||||||
|
|
||||||
import { CanvasRenderingContext2D } from './lib/CanvasRenderingContext2D'
|
import { CanvasRenderingContext2D } from './lib/CanvasRenderingContext2D'
|
||||||
import {
|
import {
|
||||||
|
@ -51,7 +51,7 @@ import { HTMLCanvasElement } from './lib/HTMLCanvasElement'
|
||||||
import { HTMLImageElement } from './lib/HTMLImageElement'
|
import { HTMLImageElement } from './lib/HTMLImageElement'
|
||||||
import { Image } from './lib/Image'
|
import { Image } from './lib/Image'
|
||||||
import { ImageData } from './lib/ImageData'
|
import { ImageData } from './lib/ImageData'
|
||||||
import { initMediaQueryList, MediaQueryList } from './lib/MediaQueryList'
|
import { MediaQueryList, initMediaQueryList } from './lib/MediaQueryList'
|
||||||
import {
|
import {
|
||||||
DocumentFragment,
|
DocumentFragment,
|
||||||
Node,
|
Node,
|
||||||
|
@ -65,19 +65,19 @@ import {
|
||||||
ResizeObserver,
|
ResizeObserver,
|
||||||
} from './lib/Observer'
|
} from './lib/Observer'
|
||||||
import { OffscreenCanvas } from './lib/OffscreenCanvas'
|
import { OffscreenCanvas } from './lib/OffscreenCanvas'
|
||||||
import { initStorage, Storage } from './lib/Storage'
|
import { Storage, initStorage } from './lib/Storage'
|
||||||
import { CSSStyleSheet, StyleSheet } from './lib/StyleSheet'
|
import { CSSStyleSheet, StyleSheet } from './lib/StyleSheet'
|
||||||
import { initWindow, Window } from './lib/Window'
|
import { Window, initWindow } from './lib/Window'
|
||||||
|
|
||||||
import { alert } from './lib/Alert'
|
import { alert } from './lib/Alert'
|
||||||
|
|
||||||
export {
|
export {
|
||||||
ByteLengthQueuingStrategy,
|
ByteLengthQueuingStrategy,
|
||||||
|
CSSStyleSheet,
|
||||||
CanvasRenderingContext2D,
|
CanvasRenderingContext2D,
|
||||||
CharacterData,
|
CharacterData,
|
||||||
Comment,
|
Comment,
|
||||||
CountQueuingStrategy,
|
CountQueuingStrategy,
|
||||||
CSSStyleSheet,
|
|
||||||
CustomElementRegistry,
|
CustomElementRegistry,
|
||||||
CustomEvent,
|
CustomEvent,
|
||||||
DOMException,
|
DOMException,
|
||||||
|
@ -88,7 +88,6 @@ export {
|
||||||
EventTarget,
|
EventTarget,
|
||||||
File,
|
File,
|
||||||
FormData,
|
FormData,
|
||||||
Headers,
|
|
||||||
HTMLBodyElement,
|
HTMLBodyElement,
|
||||||
HTMLCanvasElement,
|
HTMLCanvasElement,
|
||||||
HTMLDivElement,
|
HTMLDivElement,
|
||||||
|
@ -101,6 +100,7 @@ export {
|
||||||
HTMLStyleElement,
|
HTMLStyleElement,
|
||||||
HTMLTemplateElement,
|
HTMLTemplateElement,
|
||||||
HTMLUnknownElement,
|
HTMLUnknownElement,
|
||||||
|
Headers,
|
||||||
Image,
|
Image,
|
||||||
ImageData,
|
ImageData,
|
||||||
IntersectionObserver,
|
IntersectionObserver,
|
||||||
|
@ -126,23 +126,23 @@ export {
|
||||||
TransformStream,
|
TransformStream,
|
||||||
TreeWalker,
|
TreeWalker,
|
||||||
URLPattern,
|
URLPattern,
|
||||||
|
Window,
|
||||||
WritableStream,
|
WritableStream,
|
||||||
WritableStreamDefaultController,
|
WritableStreamDefaultController,
|
||||||
WritableStreamDefaultWriter,
|
WritableStreamDefaultWriter,
|
||||||
Window,
|
|
||||||
alert,
|
alert,
|
||||||
cancelAnimationFrame,
|
cancelAnimationFrame,
|
||||||
cancelIdleCallback,
|
cancelIdleCallback,
|
||||||
clearTimeout,
|
clearTimeout,
|
||||||
crypto,
|
crypto,
|
||||||
fetch,
|
fetch,
|
||||||
requestAnimationFrame,
|
|
||||||
requestIdleCallback,
|
|
||||||
setTimeout,
|
|
||||||
structuredClone,
|
|
||||||
initCustomElementRegistry,
|
initCustomElementRegistry,
|
||||||
initDocument,
|
initDocument,
|
||||||
initMediaQueryList,
|
initMediaQueryList,
|
||||||
initStorage,
|
initStorage,
|
||||||
initWindow,
|
initWindow,
|
||||||
|
requestAnimationFrame,
|
||||||
|
requestIdleCallback,
|
||||||
|
setTimeout,
|
||||||
|
structuredClone,
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,7 @@ settings:
|
||||||
excludeLinksFromLockfile: false
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
overrides:
|
overrides:
|
||||||
|
organize-imports-cli>ts-morph: ^19.0.0
|
||||||
tsconfig-resolver>type-fest: 3.0.0
|
tsconfig-resolver>type-fest: 3.0.0
|
||||||
|
|
||||||
packageExtensionsChecksum: 01871422d489547c532184effb134b35
|
packageExtensionsChecksum: 01871422d489547c532184effb134b35
|
||||||
|
@ -8492,12 +8493,12 @@ packages:
|
||||||
engines: {node: '>= 10'}
|
engines: {node: '>= 10'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@ts-morph/common@0.16.0:
|
/@ts-morph/common@0.20.0:
|
||||||
resolution: {integrity: sha512-SgJpzkTgZKLKqQniCjLaE3c2L2sdL7UShvmTmPBejAKd2OKV/yfMpQ2IWpAuA+VY5wy7PkSUaEObIqEK6afFuw==}
|
resolution: {integrity: sha512-7uKjByfbPpwuzkstL3L5MQyuXPSKdoNG93Fmi2JoDcTf3pEP731JdRFAduRVkOs8oqxPsXKA+ScrWkdQ8t/I+Q==}
|
||||||
dependencies:
|
dependencies:
|
||||||
fast-glob: 3.2.12
|
fast-glob: 3.2.12
|
||||||
minimatch: 5.1.6
|
minimatch: 7.4.6
|
||||||
mkdirp: 1.0.4
|
mkdirp: 2.1.6
|
||||||
path-browserify: 1.0.1
|
path-browserify: 1.0.1
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
@ -10152,8 +10153,8 @@ packages:
|
||||||
resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==}
|
resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==}
|
||||||
engines: {node: '>=0.8'}
|
engines: {node: '>=0.8'}
|
||||||
|
|
||||||
/code-block-writer@11.0.3:
|
/code-block-writer@12.0.0:
|
||||||
resolution: {integrity: sha512-NiujjUFB4SwScJq2bwbYUtXbZhBSlY6vYzm++3Q6oC+U+injTqfPYFK8wS9COOmb2lueqp0ZRB4nK1VYeHgNyw==}
|
resolution: {integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/color-convert@1.9.3:
|
/color-convert@1.9.3:
|
||||||
|
@ -14085,6 +14086,14 @@ packages:
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
dependencies:
|
dependencies:
|
||||||
brace-expansion: 2.0.1
|
brace-expansion: 2.0.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/minimatch@7.4.6:
|
||||||
|
resolution: {integrity: sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==}
|
||||||
|
engines: {node: '>=10'}
|
||||||
|
dependencies:
|
||||||
|
brace-expansion: 2.0.1
|
||||||
|
dev: true
|
||||||
|
|
||||||
/minimist-options@4.1.0:
|
/minimist-options@4.1.0:
|
||||||
resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==}
|
resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==}
|
||||||
|
@ -14141,6 +14150,13 @@ packages:
|
||||||
resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==}
|
resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/mkdirp@2.1.6:
|
||||||
|
resolution: {integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==}
|
||||||
|
engines: {node: '>=10'}
|
||||||
|
hasBin: true
|
||||||
|
dev: true
|
||||||
|
|
||||||
/mlly@1.2.1:
|
/mlly@1.2.1:
|
||||||
resolution: {integrity: sha512-1aMEByaWgBPEbWV2BOPEMySRrzl7rIHXmQxam4DM8jVjalTQDjpN2ZKOLUrwyhfZQO7IXHml2StcHMhooDeEEQ==}
|
resolution: {integrity: sha512-1aMEByaWgBPEbWV2BOPEMySRrzl7rIHXmQxam4DM8jVjalTQDjpN2ZKOLUrwyhfZQO7IXHml2StcHMhooDeEEQ==}
|
||||||
|
@ -14548,7 +14564,7 @@ packages:
|
||||||
dependencies:
|
dependencies:
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
editorconfig: 0.15.3
|
editorconfig: 0.15.3
|
||||||
ts-morph: 15.1.0
|
ts-morph: 19.0.0
|
||||||
tsconfig: 7.0.0
|
tsconfig: 7.0.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
@ -16926,11 +16942,11 @@ packages:
|
||||||
/ts-interface-checker@0.1.13:
|
/ts-interface-checker@0.1.13:
|
||||||
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
|
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
|
||||||
|
|
||||||
/ts-morph@15.1.0:
|
/ts-morph@19.0.0:
|
||||||
resolution: {integrity: sha512-RBsGE2sDzUXFTnv8Ba22QfeuKbgvAGJFuTN7HfmIRUkgT/NaVLfDM/8OFm2NlFkGlWEXdpW5OaFIp1jvqdDuOg==}
|
resolution: {integrity: sha512-D6qcpiJdn46tUqV45vr5UGM2dnIEuTGNxVhg0sk5NX11orcouwj6i1bMqZIz2mZTZB1Hcgy7C3oEVhAT+f6mbQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ts-morph/common': 0.16.0
|
'@ts-morph/common': 0.20.0
|
||||||
code-block-writer: 11.0.3
|
code-block-writer: 12.0.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/tsconfig-resolver@3.0.1:
|
/tsconfig-resolver@3.0.1:
|
||||||
|
@ -18269,25 +18285,21 @@ packages:
|
||||||
file:packages/astro/test/fixtures/css-assets/packages/font-awesome:
|
file:packages/astro/test/fixtures/css-assets/packages/font-awesome:
|
||||||
resolution: {directory: packages/astro/test/fixtures/css-assets/packages/font-awesome, type: directory}
|
resolution: {directory: packages/astro/test/fixtures/css-assets/packages/font-awesome, type: directory}
|
||||||
name: '@test/astro-font-awesome-package'
|
name: '@test/astro-font-awesome-package'
|
||||||
version: 0.0.1
|
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
file:packages/astro/test/fixtures/multiple-renderers/renderers/one:
|
file:packages/astro/test/fixtures/multiple-renderers/renderers/one:
|
||||||
resolution: {directory: packages/astro/test/fixtures/multiple-renderers/renderers/one, type: directory}
|
resolution: {directory: packages/astro/test/fixtures/multiple-renderers/renderers/one, type: directory}
|
||||||
name: '@test/astro-renderer-one'
|
name: '@test/astro-renderer-one'
|
||||||
version: 1.0.0
|
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
file:packages/astro/test/fixtures/multiple-renderers/renderers/two:
|
file:packages/astro/test/fixtures/multiple-renderers/renderers/two:
|
||||||
resolution: {directory: packages/astro/test/fixtures/multiple-renderers/renderers/two, type: directory}
|
resolution: {directory: packages/astro/test/fixtures/multiple-renderers/renderers/two, type: directory}
|
||||||
name: '@test/astro-renderer-two'
|
name: '@test/astro-renderer-two'
|
||||||
version: 1.0.0
|
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
file:packages/astro/test/fixtures/solid-component/deps/solid-jsx-component:
|
file:packages/astro/test/fixtures/solid-component/deps/solid-jsx-component:
|
||||||
resolution: {directory: packages/astro/test/fixtures/solid-component/deps/solid-jsx-component, type: directory}
|
resolution: {directory: packages/astro/test/fixtures/solid-component/deps/solid-jsx-component, type: directory}
|
||||||
name: '@test/solid-jsx-component'
|
name: '@test/solid-jsx-component'
|
||||||
version: 0.0.0
|
|
||||||
dependencies:
|
dependencies:
|
||||||
solid-js: 1.7.6
|
solid-js: 1.7.6
|
||||||
dev: false
|
dev: false
|
||||||
|
|
Loading…
Reference in a new issue