0.4.2 • Published 1 year ago

@monteway/app v0.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@monteway/app

Core package of Monteway.js that is responsible for creating a project from scratch with a single command. It has also a feature of extending new or already existing projects with some predefined functionalities (called extensions).

Install

npm i -D @monteway/app

Usage of create command

  • Create new Next.js app

    npx @monteway/app create --template next --directory montewayjs-next-app

    This will setup a very, very basic Next.js application with TypeScript. The project is minimal, it has no styling solution pre-configured. You can add it using extensions (continue below to see it).

  • Create new Remix app

    npx @monteway/app create --template remix --directory montewayjs-remix-app

    An experimental template for Remix v1 app. We do not use Remix in the company right now for any production projects, so this is just a reference for the future to make sure that @monteway/app can support different frameworks.

  • Create new Express server

    npx @monteway/app create --template express --directory montewayjs-express-app

    Just an Express server with healtcheck route, CORS, cookies and body parsing enabled.

Usage of extend command

There are two ways to use the extend command to add extra functionalities or setup to the project:

  1. Interactive mode that displays a multiselect list with extensions compatible with the template we use:

    npx @monteway/app extend --template next --directory montewayjs-next-app
  2. Command line arguments to specify what features we want to add:

    npx @monteway/app extend --template next --directory montewayjs-next-app --with axios --with button

    This example adds a file with axios instance basic configuration and also a very generic button component.

Extensions

Here you can find a full reference of extensions we support along with information what templates are compatible with it.

Extension (--with)Compatible --templateDescription
buttonnext, remixReact button component
dependabotallAuto merge updates for npm libraries
eslintexpressESLint config
eslint-nextnextESLint config for Next.js
eslint-remixremixESLint config for Remix
inputnext, remixReact input component
lefthookallPre-commit hooks
password-authnextLogin, logout, forgot + reset password
postinstall-scriptallRun some setup after npm install
prettierallPrettier config
react-querynextWraps Next app with React Query
renderallDeploy to Render.com
tailwindnextAdds Tailwind to app
0.4.1-rc.1

1 year ago

0.4.0-rc.2

1 year ago

0.4.0-rc.1

1 year ago

0.3.2-rc.1

1 year ago

0.4.1

1 year ago

0.3.2

1 year ago

0.4.0

1 year ago

0.4.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.3.0-rc.1

1 year ago

0.2.0

1 year ago

0.2.0-rc.6

1 year ago

0.2.0-rc.5

1 year ago

0.2.0-rc.4

1 year ago

0.2.0-rc.3

1 year ago

0.2.0-rc.2

1 year ago

0.2.0-rc.1

1 year ago

0.1.0

1 year ago

0.0.40-rc.9

1 year ago

0.0.40-rc.8

1 year ago

0.0.40-rc.7

1 year ago

0.0.40-rc.6

1 year ago

0.0.40-rc.5

1 year ago

0.0.40-rc.4

1 year ago

0.0.40-rc.3

1 year ago