Coder Social home page Coder Social logo

heptacode / news-sender Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 35.11 MB

This project is no longer maintained. Please use @heptacode/military-letter

Home Page: https://github.com/heptacode/military-letter

License: MIT License

JavaScript 3.38% TypeScript 96.62%
cron nodejs rollup typescript yarn-berry

news-sender's Introduction

This project is no longer maintained. Please use @heptacode/military-letter




News Sender ๐Ÿ—ž๏ธ

์†Œ๊ฐœ

์ธํŽธ ๋‰ด์Šค ์ „์†ก ์ž๋™ํ™” ์Šคํฌ๋ฆฝํŠธ

ํ›ˆ๋ จ์†Œ์—์„œ ๋งค์ผ ์ธํŽธ์œผ๋กœ ๋‰ด์Šค๋ฅผ ๋ฐ›์•„๋ณผ ์ˆ˜ ์žˆ๋„๋ก ๋„์™€์ค๋‹ˆ๋‹ค.

ํ˜„์žฌ ์œก๊ตฐ, ๊ณต๊ตฐ๋งŒ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

๊ธฐ์ˆ  ์Šคํƒ

TypeScript NodeJS Yarn Berry Rollup

์„ค์น˜ํ•˜๊ธฐ

  1. ์ตœ์ƒ์œ„ ๋””๋ ‰ํ† ๋ฆฌ์— .env ํŒŒ์ผ์„ ์ƒ์„ฑํ•ด์ฃผ์„ธ์š”.

    USER_ID= // ๋”์บ ํ”„ ๊ณ„์ • ID: string
    USER_PW= // ๋”์บ ํ”„ ๊ณ„์ • PW: string
    
  2. ์ตœ์ƒ์œ„ ๋””๋ ‰ํ† ๋ฆฌ์— soldiers.json ํŒŒ์ผ์„ ์ƒ์„ฑํ•ด์ฃผ์„ธ์š”.

    [
      {
        "name": "๊น€ํ˜„์šฐ",             // ์ด๋ฆ„: string
        "type": "๊ณต๊ตฐ",               // (Optional) ๊ตฐ์ข…: SoldierType (src/types/enums.ts) - default: '์œก๊ตฐ'
        "unit": "์œก๊ตฐํ›ˆ๋ จ์†Œ",          // (Optional) ๋ถ€๋Œ€๋ช…?: SolderUnit (src/types/enums.ts) - default: '์œก๊ตฐํ›ˆ๋ จ์†Œ'
        "birthDate": "0000-00-00",  // ์ƒ๋…„์›”์ผ: string
        "enterDate": "0000-00-00",  // ์ž…๋Œ€์ผ: string
        "startDate": "0000-00-00",  // ์ „์†ก ์‹œ์ž‘์ผ: string
        "endDate": "0000-00-00",    // ์ „์†ก ์ข…๋ฃŒ์ผ: string
        "exclude": false,           // (Optional) ์ œ์™ธ?: boolean
      },
      ...
    ]
  3. yarn

๊ฐœ๋ฐœํ•˜๊ธฐ

  1. ๊ถŒ์žฅ VSCode Extention ์„ค์น˜ (.vscode/extensions.json)
  2. yarn set version berry
  3. yarn
  4. yarn dlx @yarnpkg/sdks vscode
  5. TypeScript ํŒŒ์ผ์—์„œย ย Ctrl(Cmd) + Shift + P
  6. "Select TypeScript Version" ์„ ํƒ
  7. "Use Workspace Version" ์„ ํƒ
  8. yarn dev

๋นŒ๋“œํ•˜๊ธฐ

  • yarn build

๊ธฐ์—ฌํ•˜๊ธฐ

news-sender's People

Contributors

heptacode avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sukjong2002

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.