franciscokloganb / vitesse-enterprise Goto Github PK
View Code? Open in Web Editor NEWHome Page: vitesse-enterprise.vercel.app
License: MIT License
Home Page: vitesse-enterprise.vercel.app
License: MIT License
As a user
I want to be reassured that my package.json#build
script is also a production build and that package.json#build:prod
is an alternative that adds compilation for server side rendering
so I can use either one without bias or fear of loss of performance.
Scenario user reads package.json
Given a set of scripts
Then the build
method should be named build:prod
And the build:prod
method should be named build:prod:ssr
Files that depend on this scripts, e.g.: README
, CI/CD files and, others, might need to be updated.
When in Gitlab pipeline component-tests seem to initiate but then are stuck at the start of the process, eventually, timing out after 15 minutes. Consequently the pipeline is currently only executing e2e-tests.
It would be expected for Component
tests to run smoothly on the GitLab CI/CD pipeline just as they do on GitHub Actions.
Component tests do not execute. Tried multiple methods and none seemed to work.
CI/CD > Editor
, make and commit a changeDo not know any but the Yarn
implementation seen in this repository seems to work: https://github.com/Uninen/vite-ts-tailwind-starter/blob/main/.gitlab-ci.yml
I set a base url prefix in vite.config.ts
export default defineConfig({
base: '/test/',
...
})
I ran pnpm dev
but the page http://localhost:4000/test/ is a 404 not found
I can't access to the page until I hard reload (cmd + maj + R) the page.
Same for hot-reload, after each I'm redirecting to the 404 page, and I have to hard reload.
Hey,
Well done on on setting up an enterprise structure; this is similar to how I build my projects too.
I see in your "nice to haves" you mentioned folder aliasing. You might want to consider Alias HQ (one of mine) to expand on this.
You set up your aliases once only in tsconfig.json
then choose an integration for each toolchain, for example Vite:
import { defineConfig } from 'vite'
import hq from 'alias-hq'
export default defineConfig({
resolve: {
alias: hq.get('rollup')
}
})
Anyway. Hope that's helpful.
Great work @FranciscoKloganB!
I need to do 2 different builds for my current project (from the same codebase). Each build is just a different combination of modules. Do you have any suggestions on the best way to set that up?
Thanks in advance
This is feature what allow us to code without ide
Thanks for sharing this template. We're finding it very helpful.
There have been a couple of updates to vitesse in the last year. Would you be able to add them?
I think that's all the changes... I may have missed something though
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.