@junobuild/cli-tools 0.1.6 → 0.1.7

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.
@@ -2,9 +2,11 @@ export * from './commands/build';
2
2
  export * from './commands/deploy';
3
3
  export * from './constants/deploy.constants';
4
4
  export type * from './types/deploy';
5
+ export type * from './types/pkg';
5
6
  export * from './utils/args.utils';
6
7
  export * from './utils/cmd.utils';
7
8
  export * from './utils/compress.utils';
8
9
  export * from './utils/download.utils';
9
10
  export * from './utils/fs.utils';
11
+ export * from './utils/pkg.utils';
10
12
  export * from './utils/prompt.utils';
@@ -0,0 +1,11 @@
1
+ export interface PackageJson {
2
+ version?: string;
3
+ juno?: PackageJsonJuno;
4
+ dependencies?: Record<string, string>;
5
+ }
6
+ export interface PackageJsonJuno {
7
+ functions?: PackageJsonJunoFunctions;
8
+ }
9
+ export interface PackageJsonJunoFunctions {
10
+ version?: string;
11
+ }
@@ -0,0 +1,4 @@
1
+ import type { PackageJson } from '../types/pkg';
2
+ export declare const readPackageJson: ({ packageJsonPath }: {
3
+ packageJsonPath: string;
4
+ }) => Promise<PackageJson>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/cli-tools",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "A collection of tools for Juno CLIs and Plugins.",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",