-
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.
feat(node): support nodejs frameworks to handle scaffolding using --f…
…ramework
- Loading branch information
1 parent
d0d6e85
commit 48d3d17
Showing
16 changed files
with
213 additions
and
43 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
3 changes: 0 additions & 3 deletions
3
...es/node/src/generators/application/files/app/src/environments/environment.prod.ts__tmpl__
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/node/src/generators/application/files/app/src/environments/environment.ts__tmpl__
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
packages/node/src/generators/application/files/app/src/main.ts__tmpl__
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
packages/node/src/generators/application/files/common/src/main.ts__tmpl__
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 @@ | ||
console.log('Hello World'); |
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
packages/node/src/generators/application/files/express/src/main.ts__tmpl__
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,11 @@ | ||
import express from 'express'; | ||
const app = express(); | ||
|
||
|
||
app.get('/', (req, res) => { | ||
res.send('Hello from Nrwl 🐳 API'); | ||
}); | ||
|
||
app.listen(<%= port %>, () => { | ||
// Server is running | ||
}); |
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