-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: build builders and schematics for o3r lib
- Loading branch information
1 parent
bd1de82
commit 218ffa6
Showing
5 changed files
with
30 additions
and
16 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
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 |
---|---|---|
|
@@ -105,6 +105,7 @@ describe('new otter workspace', () => { | |
'tsconfig.lib.prod.json', | ||
'tsconfig.spec.json', | ||
'src/public-api.ts', | ||
'collection.json', | ||
'.gitignore', | ||
'.npmignore', | ||
'jest.config.js', | ||
|
@@ -115,6 +116,9 @@ describe('new otter workspace', () => { | |
expect(existsSync(path.join(workspacePath, 'project'))).toBe(false); | ||
generatedLibFiles.forEach((file) => expect(existsSync(path.join(inLibraryPath, file))).toBe(true)); | ||
expect(() => packageManagerRunOnProject(libName, true, { script: 'build' }, execAppOptions)).not.toThrow(); | ||
expect(() => packageManagerRunOnProject(libName, true, { script: 'prepare:build:builders' }, execAppOptions)).not.toThrow(); | ||
Check failure on line 119 in packages/@o3r/workspace/schematics/index.it.spec.ts GitHub Actions / it-tests / it-tests (windows-latest, npm, o3r-project-with-app)new otter workspace › should add a library to an existing workspace
|
||
expect(() => packageManagerRunOnProject(libName, true, { script: 'build:builders' }, execAppOptions)).not.toThrow(); | ||
Check failure on line 120 in packages/@o3r/workspace/schematics/index.it.spec.ts GitHub Actions / it-tests / it-tests (ubuntu-latest, yarn, o3r-project-with-app)new otter workspace › should add a library to an existing workspace
Check failure on line 120 in packages/@o3r/workspace/schematics/index.it.spec.ts GitHub Actions / it-tests / it-tests (windows-latest, yarn, o3r-project-with-app)new otter workspace › should add a library to an existing workspace
|
||
expect(() => packageManagerRunOnProject(libName, true, { script: 'build:schematics' }, execAppOptions)).not.toThrow(); | ||
}); | ||
|
||
test('should generate a monorepo setup', async () => { | ||
|
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