@storm-software/workspace-tools 1.54.2 → 1.55.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,32 @@
1
+ ## 1.55.1 (2024-02-07)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Added various tsup types to exports ([68bd5d91](https://github.com/storm-software/storm-ops/commit/68bd5d91))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
13
+ ## 1.55.0 (2024-02-07)
14
+
15
+
16
+ ### 🚀 Features
17
+
18
+ - **config:** Added a base config package to allow neutral access of `StormConfig` ([164eaa5b](https://github.com/storm-software/storm-ops/commit/164eaa5b))
19
+
20
+
21
+ ### 🩹 Fixes
22
+
23
+ - **workspace-tools:** Resolved accumulator spread linting issue ([ecf50f97](https://github.com/storm-software/storm-ops/commit/ecf50f97))
24
+
25
+
26
+ ### ❤️ Thank You
27
+
28
+ - Patrick Sullivan
29
+
1
30
 
2
31
 
3
32
  ## 1.54.1 (2024-02-06)
package/declarations.d.ts CHANGED
@@ -2,6 +2,15 @@ import type { StormConfig } from "@storm-software/config-tools";
2
2
  import type { TsupExecutorSchema } from "./src/executors/tsup/schema";
3
3
  import type { ExecutorContext } from "@nx/devkit";
4
4
  import type { Tree } from "@nx/devkit";
5
+ import type { Options } from "tsup";
6
+ import type { TsupGetConfigOptions } from "./src/types";
7
+ import type {
8
+ Program,
9
+ Diagnostic,
10
+ TransformerFactory,
11
+ SourceFile,
12
+ ParsedCommandLine
13
+ } from "typescript";
5
14
 
6
15
  export interface TsupContext {
7
16
  projectRoot: string;
@@ -10,6 +19,28 @@ export interface TsupContext {
10
19
  main: string;
11
20
  }
12
21
 
22
+ export type BuildOptions = Options;
23
+ export type Entry = string | string[] | Record<string, string>;
24
+ export type GetConfigParams = Omit<
25
+ TsupGetConfigOptions,
26
+ "entry" | "assets" | "clean" | "outputPath" | "tsConfig" | "main"
27
+ > & {
28
+ entry: Entry;
29
+ outDir: string;
30
+ projectRoot: string;
31
+ workspaceRoot: string;
32
+ tsconfig: string;
33
+ shims?: boolean;
34
+ apiReport?: boolean;
35
+ docModel?: boolean;
36
+ tsdocMetadata?: boolean;
37
+ dtsTsConfig: ParsedCommandLine;
38
+ getTransform?: (program: Program, diagnostics: Diagnostic[]) => TransformerFactory<SourceFile>;
39
+ };
40
+
41
+ declare function outExtension({ format }: { format?: string }): { js: string; dts: string };
42
+ export { outExtension };
43
+
13
44
  declare function applyDefaultOptions(options: TsupExecutorSchema): TsupExecutorSchema;
14
45
  export { applyDefaultOptions };
15
46