-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: expose ConfigLoader API (#5032)
- Loading branch information
Showing
13 changed files
with
146 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
// import { join } from 'path'; | ||
// export const srcDirectory = join(__dirname, '/'); | ||
export const srcDirectory = __dirname; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import * as path from 'path'; | ||
import { pathToFileURL } from 'url'; | ||
|
||
export const pathPackageRoot = path.join(__dirname, '../..'); | ||
export const pathRepoRoot = path.join(pathPackageRoot, '../..'); | ||
export const pathPackageSamples = path.join(pathPackageRoot, 'samples'); | ||
export const pathPackageFixtures = path.join(pathPackageRoot, 'fixtures'); | ||
export const pathRepoTestFixtures = path.join(pathRepoRoot, 'test-fixtures'); | ||
export const pathPackageRoot = path.join(__dirname, '../../'); | ||
export const pathRepoRoot = path.join(pathPackageRoot, '../../'); | ||
export const pathPackageSamples = path.join(pathPackageRoot, 'samples/'); | ||
export const pathPackageFixtures = path.join(pathPackageRoot, 'fixtures/'); | ||
export const pathRepoTestFixtures = path.join(pathRepoRoot, 'test-fixtures/'); | ||
|
||
export const pathPackageRootURL = pathToFileURL(pathPackageRoot + '/'); | ||
export const pathRepoRootURL = pathToFileURL(pathRepoRoot + '/'); | ||
export const pathPackageSamplesURL = pathToFileURL(pathPackageSamples + '/'); | ||
export const pathPackageFixturesURL = pathToFileURL(pathPackageFixtures + '/'); | ||
export const pathRepoTestFixturesURL = pathToFileURL(pathRepoTestFixtures + '/'); | ||
export const pathPackageRootURL = pathToFileURL(pathPackageRoot); | ||
export const pathRepoRootURL = pathToFileURL(pathRepoRoot); | ||
export const pathPackageSamplesURL = pathToFileURL(pathPackageSamples); | ||
export const pathPackageFixturesURL = pathToFileURL(pathPackageFixtures); | ||
export const pathRepoTestFixturesURL = pathToFileURL(pathRepoTestFixtures); |