Skip to content

Commit ccd2d4a

Browse files
committed
refactor: exports
1 parent 28238e8 commit ccd2d4a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,13 @@ export {
7878

7979
export { OrgConfigProperties, ORG_CONFIG_ALLOWED_PROPERTIES } from './org/orgConfigProperties';
8080

81-
export { NamedPackageDir, SfProject, SfProjectJson } from './sfProject';
81+
export {
82+
NamedPackageDir,
83+
SfProject,
84+
SfProjectJson,
85+
isPackagingDirectory,
86+
isNamedPackagingDirectory,
87+
} from './sfProject';
8288

8389
/**
8490
* @deprecated For sfdx-project.json and scratch org definitions, use the exported zod schemas (ProjectJsonSchema, ScratchOrgDefSchema) from '@salesforce/core'. For custom schemas, use a schema validator library like zod directly.

test/unit/project.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ import { expect, assert } from 'chai';
1313
import { env } from '@salesforce/kit';
1414
import { SfError } from '../../src/sfError';
1515
import { Messages } from '../../src/messages';
16-
import { SfProject, SfProjectJson, NamedPackageDir, BundleEntry } from '../../src/sfProject';
16+
import { SfProject, SfProjectJson, NamedPackageDir } from '../../src/sfProject';
17+
import { BundleEntry } from '../../src/schema/sfdx-project/bundleEntry';
1718
import { shouldThrow, shouldThrowSync, TestContext } from '../../src/testSetup';
1819
import { Lifecycle } from '../../src/lifecycleEvents';
1920

0 commit comments

Comments
 (0)