-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add utility functions for route generation #1330
Conversation
deda112
to
aef97c6
Compare
90315fb
to
0ea756f
Compare
fbc7958
to
2b05c22
Compare
import * as ts from 'typescript'; | ||
import * as fs from 'fs'; | ||
import * as path from 'path'; | ||
import * as edit from './change'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import {Changes}
, unless there is a problem importing the symbol directly?
fcb5ca8
to
842f993
Compare
}); | ||
|
||
let rootNode = ts.createSourceFile(mainFile, fs.readFileSync(mainFile).toString(), | ||
ts.ScriptTarget.ES6, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please align.
1c46040
to
7025d5d
Compare
Is this ready to be committed? @alxhub do you have time to look at this? |
'route-utils.ts' provides utility functions to be used in generating routes
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
'route-utils.ts' provides utility functions to be used in generating routes
'blueprints/routes/*' creates a 'routes.ts' file when the newroutes command is
run and 'route.ts' doesn't exit