-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(js): add init generator placeholder (#9777)
- Loading branch information
1 parent
d2bf124
commit a3b032c
Showing
5 changed files
with
50 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { convertNxGenerator, logger } from '@nrwl/devkit'; | ||
|
||
export async function initGenerator() { | ||
logger.info( | ||
'This is a placeholder for @nrwl/js:init generator. If you want to create a library, use @nrwl/js:lib instead' | ||
); | ||
} | ||
|
||
export default initGenerator; | ||
export const initSchematic = convertNxGenerator(initGenerator); |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "http://json-schema.org/schema", | ||
"$id": "NxTypescriptInit", | ||
"cli": "nx", | ||
"title": "Init nrwl/js", | ||
"description": "Init generator placeholder for nrwl/js" | ||
} |