rucken
TypeScript icon, indicating that this package has built-in type declarations

4.8.0 • Public • Published

Console tools and scripts for nx and not only that I (EndyKaufman) use to automate the workflow and speed up the development process

npm version monthly downloads

make-ts-list - create list of ts files for all nx libraries

npx rucken "make-ts-list" "--help"

Usage: rucken make-ts-list|mtsl [options]

create list of ts files for all nx libraries

Options:
  -h, --help  display help for command

version-updater - update versions in all nx applications

npx rucken "version-updater" "--help"

Usage: rucken version-updater|vu [options]

update versions in all nx applications

Options:
  -upv,--update-package-version [boolean]  update package version (default: true)
  -h, --help                               display help for command

translate - extract translate from source (run: extract-i18n => gettext => extract-i18n)

npx rucken "translate" "--help"

Usage: rucken translate [options]

extract translate from source (run: extract-i18n => gettext => extract-i18n)

Options:
  -l,--locales [strings]         list of available languages (example: ru,en)
  -dl,--default-locale [string]  default locale (default: en)
  -h, --help                     display help for command

extract-i18n - translate marker extractor (use: transloco-keys-manager + transloco-scoped-libs)

npx rucken "extract-i18n" "--help"

Usage: rucken extract-i18n [options]

translate marker extractor (use: transloco-keys-manager + transloco-scoped-libs)

Options:
  -l,--locales [strings]  list of available languages (example: ru,en)
  -h, --help              display help for command

gettext - translate marker extractor

npx rucken "gettext" "--help"

Usage: rucken gettext [options]

translate marker extractor

Options:
  -l,--locales [strings]         list of available languages (example: ru,en)
  -dl,--default-locale [string]  default locale (default: en)
  -h, --help                     display help for command

prepare - make-ts-list + version-update + translate

npx rucken "prepare" "--help"

Usage: rucken prepare [options]

make-ts-list + version-update + translate

Options:
  -l,--locales [strings]                   list of available languages (example: ru,en)
  -dl,--default-locale [string]            default locale (default: en)
  -upv,--update-package-version [boolean]  update package version (default: true)
  -h, --help                               display help for command

postgres - application database creator

npx rucken "postgres" "--help"

Usage: rucken postgres [options]

postgres application database creator

Options:
  -r,--root-database-url [strings]  database url for connect as root user (example:
                                    postgres://ROOT_POSTGRES_USER:ROOT_POSTGRES_PASSWORD@localhost:POSTGRES_PORT/postgres?schema=public)
  -a,--app-database-url [strings]   application database url used for create new database (example:
                                    postgres://POSTGRES_USER:POSTGRES_PASSWORD@localhost:POSTGRES_PORT/POSTGRES_DATABASE?schema=public)
  -d,--drop-app-database [boolean]  drop application database before try create it (default: false)
  -h, --help                        display help for command

env-replacer - recursive replace input value with process environment values

npx rucken "env-replacer" "--help"

Usage: rucken env-replacer [options] <input>

recursive replace input value with process environment values

Options:
  -h, --help  display help for command

copy-paste - copy paste source files to destination with singular and plural replace text in file contents and file paths

npx rucken "copy-paste" "--help"

Usage: rucken copy-paste|cp [options]

copy paste source files to destination with singular and plural replace text in file contents and file paths

Options:
  -p,--path [strings]             the path with the source code to copy, it uses the current CWD if it is not defined, default: "." (example: ../../src)
  -f,--find [strings]             source singular text in kebab-case (example: user-role)
  -fp,--find-plural [strings]     source text in plural in kebab-case, if not defined, it will be automatically detected programmatically (example:
                                  user-rules)
  -r,--replace [strings]          destination singular text in kebab-case (example: user-company)
  -rp,--replace-plural [strings]  destination text in plural in kebab-case, if not defined, it will be automatically detected programmatically (example:
                                  user-companies)
  -d,--dest-path [strings]        the path with the destination code to paste, it uses the "path" if it is not defined, default: "." (example: ../../src)
  -e,--extensions [strings]       extensions of files for copy paste, default: "ts,html,htm,scss,css,txt,json,yaml,yml,xml" (example: py,ini)
  -h, --help                      display help for command

License

MIT

Dependencies (20)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i rucken

    Weekly Downloads

    446

    Version

    4.8.0

    License

    MIT

    Unpacked Size

    244 kB

    Total Files

    102

    Last publish

    Collaborators

    • endykaufman