Comments (8)
Hey thanks for the feedback on this. Some of it (i.e.- better build script, etc.) has fallen to the wayside b/c of the "it works, and there are other fish to fry" mentality (I admit it, I'm guilty). Other things, though, I wrestle back and forth on (like the inclusion of node_modules) - since the nodetesthost.js included in the repo (used for running tests and examples) depends on that to be present. Anvil is an exception, since it's docs recommend it to be installed globally - but there's not anything stopping me from making it a local dep. I will try and make a pass through to address some of this stuff in the coming month or two while I'm prepping for my devLINK talks.....
from postal.js.
So people who run node apps know they need to do npm install
to install the needed packages. Rather like rails guys know to bundle install
. I'm just thinking of things that I deal with in the other OSS projects, dealing them with early is a lot less painful :) I'll take a swing at them a bit later if you don't zoom ahead. Then you can see if you like what I did or if I'm just full of it.
from postal.js.
I'd be happy to review the node changes, if this is still an open issue.
from postal.js.
It might also be a good idea to eliminate the content of the lib
directory in source control and require a build after cloning the repo. That way we don't have to worry about forgetting to build before pushing to github.
from postal.js.
I think Jim is ignoring my changes. It's his call, so it's all good.
Though having the latest compiled publicly accessible is nice. I would likely use travis-ci or something similar over having it committed.
from postal.js.
An alternative to having a root-level package.json
file would be to simply include npm install
directives in the build script (which would check for the presence of the npm packages under /node_modules
), although this seems a little... kludgy?
Is there a reason that anvil
is being used over jake
?
from postal.js.
I wouldn't say that I'm ignoring @LegoMaster's changes - it's just that I've honestly not had time to address much postal-wise outside of the devlink prep that I've been buried with until this past week. I've got one more speaking engagement and then - once I've been able to SLEEP - I will definitely get back on all this stuff. @nicholascloud - I'm open to npm install
and/or npm start
directives - let's talk about that sometime soon (just bear with me as I'm coming down off of an insane summer). Regarding anvil - sometime we should G+ hangout with @arobson, and he can walk you through the road map of what's ahead. I'd been waiting on the ground-up rewrite of anvil before I clean up all the build assets in postal (it's already starting with the last push I made, but it's not done). There are lots of reasons why I'm using it over other options - most notably being the plugin architecture it now supports, the fact that the build configurations are quite terse, and follow good conventions out of the box (but can be easily overridden), consistency with my other projects, test and ci hooks, and more.
from postal.js.
Yeah, that would be awesome! I'd never heard of anvil until I started poking around with postal. Excited to learn!
from postal.js.
Related Issues (20)
- How to publish data between Node.js modules? HOT 2
- Bower Release v2.0.5
- Competing consumers HOT 1
- Help improve the quality of the DefinitelyTyped (TypeScript) definitions
- postal.preserve: Still taking a ConduitJS dependency HOT 2
- Default Subscriber
- Stack overflow in IE 11 when publish called on channel with many pending unsubscribes
- Shouldn't postal.channel() implement the Singleton pattern? HOT 2
- Subscriber callback method can brake calling other subscribers HOT 1
- Devtools extension for Chrome
- Messages published inside a subscriber won't be passed to uncached subscribers
- why cache only for result === true
- postal.lodash.js Error: Module name "lodash/after" has not been loaded
- Is this project still active? HOT 6
- Wait for messages to be delivered and processed in unit tests
- timeStamp in envelope should honor timezone
- Timestamp missing on wireTap envelopes
- Thank you
- Regarding publish and subscribe, Important question
- How does postal.js support replay?
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 postal.js.