GithubHelp home page GithubHelp logo

wtchnm / vitamin Goto Github PK

View Code? Open in Web Editor NEW
500.0 4.0 46.0 5.71 MB

Opinionated Vite starter template.

Home Page: https://vitamin-wtchnm.vercel.app/

License: MIT License

HTML 2.59% JavaScript 6.09% TypeScript 88.82% CSS 2.26% Shell 0.24%
vite cypress typescript tailwindcss prettier eslint react e2e jest vitest

vitamin's People

Contributors

dependabot[bot] avatar michal-ciechan avatar nonameolsson avatar renovate-bot avatar renovate[bot] avatar thewhitefox avatar vldvel avatar wtchnm 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vitamin's Issues

Make `"eslint.packageManager": "pnpm"` in `.vscode/settings.json`?

"eslint.packageManager": "yarn",

is there a benefit to making this be pnpm?

afaik, it being set to yarn is probably benign; but just wanted to call it out in case it helps.

eslint.packageManager: controls the package manager to be used to resolve the ESLint library. This has only an influence if the ESLint library is resolved globally. Valid values are "npm" or "yarn" or "pnpm".
https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint


see also:

monorepos

Hi! I'm trying to use this template to setup a monorepo with pnpm workspaces (or nx?). It should look like:

___ frontend (vite)
   |_ services
   |  |_ service 1 ([nest](https://nestjs.com/) service)
   |  |_ service 2 ([nest](https://nestjs.com/) service)
   |_ tools (shared types, tools and/or components, as in: eslint-plugins, cli tools, etc.)

I know it's not that complicated, it's laborious, as in: hoist some devdeps, hoist cypress, and other stuff, but if there's any chance you guys have already a branch or any guidance on this? thanks!!!

Please update dependencies to latest

Hi folks,

This is an awesome template and I am very enjoy it. But I found there are some dependencies which are not the latest ones under this template, and some configuration files are also using legacy settings/formats.

I very much wish I could use the new features brought from latest version of dependencies when I start a new project, so can you guys check and update these things?

For example:

Object Current Latest
React 17.0.2 18.x.x
Cypress 9.7.0 10.x.x
configuration file for cypress cypress.json (marked as legacy now) cypress.config.ts
configurations for vercel routes property (marked as legacy now) rewrites property (recommended now)
... ... ...

ESLint Parsing Error

Hello, first of all thanks for this nice template.

I've just downloaded this template, and I am facing an ESLint issue in the cypress folder files. (src files are correctly linted)
I am using WebStorm as my IDE.
Screenshot 2021-11-29 173542

Vite configuration might cause occasional failures in build

Hi, we've been using the Vitamin starter and everything worked great in the beginning :)

But at some point as the project grew, we occasionally had builds that would break completely with this error:
Screenshot 2023-02-02 at 22 27 07

It was quite harder debugging as it only happens once in a while, but more frequently when building through our CI pipeline.
We finally found that disabling these lines used in this starter would stop the errors:

Screenshot 2023-02-02 at 22 28 12

Not sure if this is only specific to our use case and combination of dependencies, but I wanted to flag it here in case other people had the same problem. I'm also curious why optimizeDeps was disabled in the first place?

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.