Nostalgic Pizza Manager

    This package has been deprecated

    Author message:

    use @naturalcycles/generator-nodejs-lib instead

    @naturalcycles/create-module

    1.5.2 • Public • Published

    @naturalcycles/create-module

    npx @naturalcycles/create-module to bootstrap a new module

    npm code style: prettier

    Usage

    Create GitHub repository manually.

    mkdir my-new-module
    cd my-new-module
    npx @naturalcycles/create-module
    
    git push
    
    CircleCI > "Start building", cancel, add NPM_TOKEN, GH_TOKEN, restart Workflow
    

    Features

    • Generates new opinionated project from the project template. Currently supported templates:
      • nodejs-lib: NodeJS library
      • more to come...
    • Template-based generation (based on interactive CLI answers)
      • package.json
      • readme.md with badges, CircleCI build status link
    • Adds predefined deps and devDeps (e.g prettier, jest, typescript etc.) to package.json, installs them with yarn
    • Typescript setup (tsonfig.json, etc)
    • Gets all the goodies from @naturalcycles/dev-lib:
      • Folders conventions
      • All yarn commands, e.g prettier-all, build, bt, update-from-dev-lib, test-ci, clean-dist, etc
      • DevDeps that are needed for these commands (husky, lint-staged, etc)
      • Non-extendable configs
        • .gitgnore
        • .editorconfig
        • .codeclimate.yml
        • tsconfig.json, tsconfig.test.json
      • Extendable configs
        • Jest
        • Prettier
        • TSLint
        • Husky, Lint-staged
    • CircleCI setup
    • CodeClimate setup (via .codeclimate.yml and CircleCI)
    • Git setup (git init, git add, git commit)

    TODO

    • Create git repo automatically, do git push
    • Create CircleCI build (click start building automatically), run first build
    • Allow global config with secrets (e.g NPM_TOKEN, GITHUB_TOKEN) to allow previous commands
    • Add more templates, e.g:
      • js-lib (universal js lib for both node and browser)
      • browser-lib
      • backend-service (gets automatically deployed to the cloud, includes all server boilerplate, monitoring, analytics, etc.)

    Keywords

    none

    Install

    npm i @naturalcycles/create-module

    DownloadsWeekly Downloads

    1

    Version

    1.5.2

    License

    MIT

    Unpacked Size

    16.4 kB

    Total Files

    19

    Last publish

    Collaborators

    • cervicalmucus
    • kirillgroshkov
    • kribor