@storm-software/workspace-tools 1.129.2 → 1.130.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 1.130.0 (2024-07-28)
2
+
3
+
4
+ ### Features
5
+
6
+ - **build-tools:** Added `formatPackageJson` functionality to unbuild ([6da1a518](https://github.com/storm-software/storm-ops/commit/6da1a518))
7
+
1
8
  ## 1.129.2 (2024-07-28)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.129.2",
3
+ "version": "1.130.0",
4
4
  "type": "commonjs",
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "repository": {
@@ -1,6 +1,6 @@
1
- import type { UnbuildBuildOptions } from "../types";
2
1
  import { type DependentBuildableProjectNode } from "@nx/js/src/utils/buildable-libs-utils.js";
3
- import type { PackageJson } from "nx/src/utils/package-json.js";
4
2
  import type { StormConfig } from "@storm-software/config";
3
+ import type { PackageJson } from "nx/src/utils/package-json.js";
5
4
  import { type BuildConfig } from "unbuild";
6
- export declare function getUnbuildBuildOptions(config: StormConfig, options: UnbuildBuildOptions, dependencies: DependentBuildableProjectNode[], packageJson: PackageJson, npmDeps: string[]): Promise<BuildConfig[]>;
5
+ import type { UnbuildBuildOptions } from "../types";
6
+ export declare function getUnbuildBuildOptions(config: StormConfig, options: UnbuildBuildOptions, dependencies: DependentBuildableProjectNode[], packageJson: PackageJson): Promise<BuildConfig[]>;
@@ -3,3 +3,4 @@ import type { StormConfig } from "@storm-software/config";
3
3
  import type { TypeScriptBuildOptions } from "../../declarations";
4
4
  export declare const generatePackageJson: (config: StormConfig, projectRoot: string, sourceRoot: string, projectName: string, options: TypeScriptBuildOptions) => Promise<Record<string, any>>;
5
5
  export declare const formatPackageJson: (config: StormConfig, projectRoot: string, sourceRoot: string, projectName: string, options: Pick<TypeScriptBuildOptions, "tsConfig" | "external" | "generatePackageJson" | "bundle" | "includeSrc">, packageJson: Record<string, any>, projectGraph: ProjectGraph, projectsConfigurations: Record<string, ProjectConfiguration>) => Promise<Record<string, any>>;
6
+ export declare const addWorkspacePackageJsonFields: (config: StormConfig, projectRoot: string, sourceRoot: string, projectName: string, includeSrc: boolean | undefined, packageJson: Record<string, any>) => Record<string, any>;