Coder Social home page Coder Social logo

jellydn / new-web-app Goto Github PK

View Code? Open in Web Editor NEW
29.0 3.0 3.0 59.26 MB

Frontend app generator, built on top vitejs

Home Page: https://new-web-app.productsway.com/

License: MIT License

JavaScript 17.59% Batchfile 0.11% TypeScript 59.23% HTML 1.95% CSS 11.55% Shell 0.10% MDX 9.47%
vitejs generator web-app-generator reactjs react-query react-hook-form tailwindcss eslint prettier lint-staged

new-web-app's Introduction

Welcome to new-web-app ๐Ÿ‘‹

oclif Version Downloads/week LicensePrerequisite Twitter: jellydn

Frontend app generator

๐Ÿ  Homepage

Intro New-Web-App CLI

Prerequisites

  • node >=14.0.0

Built with

Features

  • Support React + Typescript template
  • Support Svelte
  • Support Solid

Why vitejs

Thank you for awesome recording from Amjad Masad ./compare.gif

In short, better performance, more detail on https://blog.replit.com/vite

Install

# Install globally with yarn
yarn global add new-web-app
# Or install globally with npm
npm install -g new-web-app

Usage

Commands

new-web-app help [COMMANDS]

Display help for new-web-app.

USAGE
  $ new-web-app help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for new-web-app.

See code: @oclif/plugin-help

new-web-app react

React App Generator

USAGE
  $ new-web-app react [-v] [-h] [-n <value>] [-t yes|no] [-s yes|no] [-a yes|no] [-q yes|no] [-f yes|no]
    [-c yes|no]

FLAGS
  -a, --linter=<option>           add ESLint, Prettier with sort imports plugin
                                  <options: yes|no>
  -c, --cypress=<option>          add cypress
                                  <options: yes|no>
  -f, --react-hook-form=<option>  add react-hook-form
                                  <options: yes|no>
  -h, --help                      Show CLI help.
  -n, --name=<value>              folder name to create
  -q, --react-query=<option>      add react-query
                                  <options: yes|no>
  -s, --storybook=<option>        add storybook
                                  <options: yes|no>
  -t, --tailwind=<option>         add tailwind css
                                  <options: yes|no>
  -v, --version                   Show CLI version.

DESCRIPTION
  React App Generator

EXAMPLES
  $ npx new-web-app@latest react -n=react-app -a=yes -q=yes

  $ npx new-web-app@latest react --name=react-app --airbnb=yes --react-query=yes

See code: dist/commands/react/index.ts

new-web-app react upgrade-react-18

Upgrade to React 18

USAGE
  $ new-web-app react upgrade-react-18 [-d <value>]

FLAGS
  -d, --directory=<value>  folder name to update

DESCRIPTION
  Upgrade to React 18

See code: dist/commands/react/upgrade-react-18.ts

new-web-app update [CHANNEL]

update the new-web-app CLI

USAGE
  $ new-web-app update [CHANNEL] [-a] [-v <value> | -i] [--force]

FLAGS
  -a, --available        Install a specific version.
  -i, --interactive      Interactively select version to install. This is ignored if a channel is provided.
  -v, --version=<value>  Install a specific version.
  --force                Force a re-download of the requested version.

DESCRIPTION
  update the new-web-app CLI

EXAMPLES
  Update to the stable channel:

    $ new-web-app update stable

  Update to a specific version:

    $ new-web-app update --version 1.0.0

  Interactively select version:

    $ new-web-app update --interactive

  See available versions:

    $ new-web-app update --available

See code: @oclif/plugin-update

Demo

https://gyazo.com/2ace08cfb1435f82a1c8e9550f547e44.gif

Author

๐Ÿ‘ค Huynh Duc Dung @jellydn

๐Ÿค Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Stargazers

Stargazers repo roster for @jellydn/new-web-app

Show your support

kofi paypal buymeacoffee

Give a โญ๏ธ if this project helped you!

new-web-app's People

Contributors

dependabot[bot] avatar jellydn avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

new-web-app's Issues

Support React JS template

Hi there! new-web-app's so I suppose it mustnt install the dependencies , it needs to just set the project dir and put the package.json like vite's cli tool does. I use pnpm instead of yarn and its much faster! Also it comes with tsx template by default , how do I use js? :c

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update all non-major dependencies (@babel/core, @babel/eslint-parser, @oclif/core, @storybook/addon-actions, @storybook/addon-essentials, @storybook/addon-links, @storybook/react, @swc/core, @swc/helpers, @tanstack/react-query, @types/node, @types/react, @types/react-dom, clsx, cypress, eslint-plugin-react-hooks, mocha, react, react-dom, react-hook-form, tailwindcss, typescript, vite)
  • chore(deps): update dependency eslint to v9
  • chore(deps): update storybook monorepo to v8 (major) (@storybook/addon-actions, @storybook/addon-essentials, @storybook/addon-links, @storybook/react)
  • chore(deps): update typescript-eslint monorepo to v7 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • fix(deps): update dependency @oclif/plugin-plugins to v5
  • chore(deps): lock file maintenance
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/codeql-analysis.yml
  • actions/checkout v4
  • github/codeql-action v2
  • github/codeql-action v2
  • github/codeql-action v2
npm
package.json
  • @oclif/core 3.26.0
  • @oclif/plugin-help 5.2.20
  • @oclif/plugin-plugins 3.9.4
  • @oclif/plugin-update 3.2.4
  • degit 2.8.4
  • execa 8.0.1
  • replace-in-file 7.1.0
  • @oclif/dev-cli 1.26.10
  • @swc/core 1.4.8
  • @swc/helpers 0.5.7
  • @trivago/prettier-plugin-sort-imports 4.3.0
  • @types/degit 2.8.6
  • @types/node 20.11.30
  • @types/shelljs 0.8.15
  • @typescript-eslint/eslint-plugin 6.21.0
  • @typescript-eslint/parser 6.21.0
  • eslint 8.57.0
  • eslint-config-productsway 1.3.2
  • husky 8.0.3
  • lint-staged 14.0.1
  • mocha 10.3.0
  • oclif 3.17.2
  • prettier 3.2.5
  • regenerator-runtime 0.14.1
  • shx 0.3.4
  • ts-node 10.9.2
  • tslib 2.6.2
  • tsup 7.2.0
  • typescript 5.4.3
  • node >=14.0.0
templates/react/default-preset/package.json
  • react 18.2.0
  • react-dom 18.2.0
  • @tanstack/react-query 5.28.8
  • @trivago/prettier-plugin-sort-imports 4.3.0
  • @types/react 18.2.70
  • @types/react-dom 18.2.22
  • @typescript-eslint/eslint-plugin 6.21.0
  • @typescript-eslint/parser 6.21.0
  • @vitejs/plugin-react 4.2.1
  • cypress 13.7.1
  • eslint 8.57.0
  • eslint-config-productsway 1.3.2
  • husky 8.0.3
  • lint-staged 14.0.1
  • prettier 3.2.5
  • typescript 5.4.3
  • vite 5.2.6
templates/react/full-preset/package.json
  • @hookform/devtools 4.3.1
  • react 18.2.0
  • react-dom 18.2.0
  • react-hook-form 7.51.1
  • @tanstack/react-query 5.28.8
  • @babel/core 7.24.3
  • @storybook/addon-actions 7.6.17
  • @storybook/addon-essentials 7.6.17
  • @storybook/addon-links 7.6.17
  • @storybook/react 7.6.17
  • @trivago/prettier-plugin-sort-imports 4.3.0
  • @types/react 18.2.70
  • @types/react-dom 18.2.22
  • @typescript-eslint/eslint-plugin 6.21.0
  • @typescript-eslint/parser 6.21.0
  • @vitejs/plugin-react 4.2.1
  • autoprefixer 10.4.19
  • babel-loader 9.1.3
  • cypress 13.7.1
  • eslint 8.57.0
  • eslint-config-productsway 1.3.2
  • husky 8.0.3
  • lint-staged 14.0.1
  • postcss 8.4.38
  • prettier 3.2.5
  • tailwindcss 3.4.1
  • typescript 5.4.3
  • vite 5.2.6
  • postcss 8.4.38
templates/react/minimum-preset/package.json
  • react 18.2.0
  • react-dom 18.2.0
  • @trivago/prettier-plugin-sort-imports 4.3.0
  • @types/react 18.2.70
  • @types/react-dom 18.2.22
  • @typescript-eslint/eslint-plugin 6.21.0
  • @typescript-eslint/parser 6.21.0
  • @vitejs/plugin-react 4.2.1
  • cypress 13.7.1
  • eslint 8.57.0
  • eslint-config-productsway 1.3.2
  • husky 8.0.3
  • lint-staged 14.0.1
  • prettier 3.2.5
  • typescript 5.4.3
  • vite 5.2.6
website/package.json
  • @docusaurus/core 2.4.3
  • @docusaurus/preset-classic 2.4.3
  • @mdx-js/react 1.6.22
  • @svgr/webpack 8.1.0
  • clsx 2.1.0
  • file-loader 6.2.0
  • react 18.2.0
  • react-dom 18.2.0
  • url-loader 4.1.1
  • @babel/eslint-parser 7.24.1
  • eslint 8.57.0
  • eslint-config-airbnb 19.0.4
  • eslint-config-prettier 9.1.0
  • eslint-plugin-header 3.1.1
  • eslint-plugin-import 2.29.1
  • eslint-plugin-jsx-a11y 6.8.0
  • eslint-plugin-react 7.34.1
  • eslint-plugin-react-hooks 4.6.0
  • prettier 3.2.5
  • stylelint 15.11.0
nvm
.nvmrc

  • Check this box to trigger a request for Renovate to run again on this repository

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.