-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add typescript for naming.presets #323
base: master
Are you sure you want to change the base?
Conversation
0876c9f
to
025a0c9
Compare
Добавилд сборку для Так же возможно вынести куда-то в общее место секцию со скриптами |
025a0c9
to
9679fe8
Compare
packages/naming.presets/package.json
Outdated
"files": [ | ||
"*.js", | ||
"index.d.ts" | ||
], | ||
"scripts": { | ||
"build:cjs": "tsc --module commonjs --outDir lib", | ||
"build:es": "tsc --module es2015 --outDir es", | ||
"build:typings": "tsc --emitDeclarationOnly --declaration --declarationDir typings", |
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.
А зачем тайпинги отдельно собирать? Можно же за один прихлоп.
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.
Если в конфиге указать, то он будет ругаться на то, что у нас уже есть сгенерированные файлы, можно конечно в 1 билд скрипт это добавить типо tsc --module commonjs --outDir lib --declaration --declarationDir typings
Кажется норм, уберу этот скрипт
8d64b43
to
36f1949
Compare
36f1949
to
eb7bf91
Compare
eb7bf91
to
40b0e1b
Compare
Resolve for this #322
TODO: