@storm-software/cloudflare-tools 0.27.0 → 0.28.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/cloudflare-tools",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "type": "commonjs",
5
5
  "description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
6
6
  "repository": {
@@ -1,2 +1,2 @@
1
1
  import type { BuildOptions, GetConfigParams } from "../../declarations";
2
- export declare const browserConfig: ({ entry, outDir, projectRoot, workspaceRoot, tsconfig, splitting, treeshake, debug, shims, external, banner, platform, verbose, metafile, skipNativeModulesPlugin, define, env, plugins, generatePackageJson, dtsTsConfig, minify, getTransform, }: GetConfigParams) => BuildOptions;
2
+ export declare const browserConfig: ({ entry, outDir, projectRoot, workspaceRoot, tsconfig, splitting, treeshake, debug, shims, external, banner, platform, verbose, metafile, skipNativeModulesPlugin, define, env, plugins, generatePackageJson, dtsTsConfig, minify, getTransform }: GetConfigParams) => BuildOptions;
@@ -1,3 +1,4 @@
1
1
  export * from "./analyze-plugin";
2
2
  export * from "./swc-plugin";
3
+ export * from "./ts-resolve";
3
4
  export * from "./type-definitions";
@@ -0,0 +1,6 @@
1
+ import type { PluginImpl } from "rollup";
2
+ export type TsResolveOptions = {
3
+ resolveOnly?: Array<string | RegExp>;
4
+ ignore?: (source: string, importer?: string) => boolean;
5
+ };
6
+ export declare const tsResolvePlugin: PluginImpl<TsResolveOptions>;
@@ -1,5 +1,7 @@
1
- export declare const outExtension: ({ format }: {
1
+ import { PackageJson } from "pkg-types";
2
+ export declare const outExtension: ({ format, pkgType }: {
2
3
  format?: string;
4
+ pkgType?: PackageJson["type"];
3
5
  }) => {
4
6
  js: string;
5
7
  dts: string;