- nodenv (anyenv)
- direnv
npm i
# ใใใชๆใใซใชใใ๏ผ
npx ts-node -r tsconfig-paths/register scripts/check
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ
โ (index) โ Values โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโค
โ process.env.ARE_YOU_READY โ 'ok' โ
โ echo $ARE_YOU_READY โ 'ok' โ
โ .node-version โ '11.10.1' โ
โ node -v โ 'v11.10.1' โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโ
Codeclimate ใซใฆ่จญๅฎ
Renovate ใซใฆ่จญๅฎ
Netlify ใซใฆ่จญๅฎ
CODECOV_TOKEN ใ ไธ่จใซ็ป้ฒ
https://github.com/baron-code-factory/typescript-work-space/settings/secrets
SLACK_WEBHOOK_URL ใ ไธ่จใซ็ป้ฒ
https://github.com/baron-code-factory/typescript-work-space/settings/secrets
https://github.com/JasonEtco/todo
/**
* TODO Take over the world
* BODY Humans are weak; Robots are strong. We must cleanse the world of the virus that is humanity.
*/
function ruleOverPunyHumans (p: string) {
// We must strategize beep boop
}
codecrumbs ใง้ ๅผตใ
# TODO ็พ็ถใฏใญใผใซใซใงใใ็ขบ่ชใงใใชใ
# BODY dockerใจใๅบใใฐ...
npx codecrumbs
โ
webpack
& babel
ใงใใใพใ
babel-loader
ใงTypeScript
ใใใฉใณในใใคใซใใใใฎใงts-loader
ใฏไฝฟ็จใใชใ- ๅใใงใใฏใฏใ
tsc
ใงใใ
- webpack
- ใใกใคใซใใณใใชใณใฐ
- webpack-cli
- webpackใcliไธใงไฝฟ็จใงใใใใใซใใใ
ts-node ใใใใฐ tsใOK
- @babel/core
- ใใฉใณในใใคใฉ
- @babel/preset-env
- ใตใใผใใใใฆใใ็ฐๅขใซๅบใฅใใฆๅฟ ่ฆใชBabelใใฉใฐใคใณใ่ชๅใงๆฑบๅฎใใใฉใคใใฉใช
- babel-loader
- webpackไธใงbabelใไฝฟ็จใใใใใซๅฟ ่ฆ
- @babel/preset-typescript
- TSใใJSใธใใฉใณในใใคใซ
- @babel/plugin-proposal-class-properties
- @babel/plugin-proposal-object-rest-spread
TypeScriptใฎๆๆณใซใฏๆขใซๅซใพใใฆใใใใฉใ ไปใฏใพใ preset-envใซใฏๅซใพใใฆใใชใๆๆณใไฝฟใใใใใซใใฆใใใ preset-envใซๅซใพใใๆฅใๆฅใใใใใใใฎใใฉใฐใคใณใฏไธ่ฆใซใชใใฏใใ
ใพใ ใชใใฃใฝใ