Skip to content

Commit

Permalink
feat: export walkAsync, correcting type definition comments around re…
Browse files Browse the repository at this point in the history
…quirements (#311)
  • Loading branch information
CliftonH authored Apr 22, 2024
1 parent 7a6eabe commit e05e008
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { sign, signApp } from './sign';
import { flat, buildPkg } from './flat';
import { walkAsync } from './util';

// TODO: Remove and leave only proper named exports, but for non-breaking change reasons
// we need to keep this weirdness for now
Expand All @@ -10,6 +11,7 @@ module.exports.signApp = signApp;
module.exports.flat = flat;
module.exports.flatAsync = buildPkg;
module.exports.buildPkg = buildPkg;
module.exports.walkAsync = walkAsync;

export { sign, flat, signApp as signAsync, signApp, buildPkg as flatAsync, buildPkg };
export { sign, flat, signApp as signAsync, signApp, buildPkg as flatAsync, buildPkg, walkAsync };
export * from './types';
3 changes: 2 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export type PerFileSignOptions = {
*/
hardenedRuntime?: boolean;
/**
* The designated requirements to embed when signing this file. Expects a path to a text file.
* The designated requirements to embed when signing this file. Expects a path to a text file,
* or a string beginning with "=" specifying requirements in plain text
*/
requirements?: string;
/**
Expand Down

0 comments on commit e05e008

Please sign in to comment.