Comments (5)
This repo is veeeeery experimental. It is limited to our first experiment with packages that contains both client and server code, which is a Meteor specificity that do not really exist in the Meteor ecosystem.
You should checkout https://github.com/VulcanJS/vulcan-npm, that's where the logic will live.
Basically you will have:
- the NPM package, corresponding to current Vulcan packages
- A Meteor starter (Vulcan Starter + bindings between NPM packages and Meteor + some existing packages that only makes sense for Meteor)
- A Next js starter
The multi-env idea will probably dropped, as it's doomed to failure (text editor can't differentiate environment so that messes up autocompletion). I'll also refactor this whole repo to include a more complete setup.
from vulcan-next.
Ok Multi-env is actually included here. @comus did a test with a webpack setup that allows us to develop the NPM package directly here, in the Next startup, without needing to use npm link
for a second NPM repo.
https://github.com/VulcanJS/vulcan-next-starter/tree/devel/packages/%40vulcan/multi-env-demo
Maybe the repo is just broken, sorry. I'll work on that in the months to come, I am currently gathering more knowledge on Next beforehand.
from vulcan-next.
Webpack should transform "@vulcan" into "./packages/vulcan"
from vulcan-next.
At this point what can help us the most is working on Vulcan itself, mostly on code quality eg bringing in more unit tests as it will allow me to check if I break stuffs when transitionning, or just fixing bugs.
Or simply getting hands on Next build system, because it is not that easy to setup with TypeScript. I'll try to open more precise issue in the future for potential contribs.
from vulcan-next.
Found back what the idea was. Basically we wanted to support isomorphism, like in Meteor. When importing meteor/foobar
, meteor automatically translate that to meteor/foobar/client
resp. server depending on the environment.
This approach is doomed to fail. I've tried to reproduce it in Next but dropped the idea.
from vulcan-next.
Related Issues (20)
- Give a shot at Cypress Mock SSR HOT 2
- Run on StackBlitz
- RFC: Windows support HOT 3
- Admin password not seeded as expected + send password reset email instead of verififcation HOT 1
- Use new tsconfigPath option
- Is there a way to write API schemas in Vulcan Next? HOT 4
- Provide a cache invalidation endpoint for static builds
- prisma & vulcan-next HOT 1
- Setup a pre-commit secret leak check
- React component scaffolding
- Implemented Apollo persisted queries
- Switch to Vite builder for storybook HOT 1
- Prefer tsup to ncc HOT 2
- VulcanForms v2 - random ideas & discussions HOT 1
- vulcan-next vs other fullstack react frameworks HOT 5
- Email templates
- Vulcan next & MERN HOT 2
- ObjectIds and Strings should both work with useUpdate and filters HOT 9
- Error when logging in: The "salt" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, or DataView. Received undefined HOT 1
- Is project active? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vulcan-next.