Comments (4)
Good point.
I am still polishing things to get to a state that I think is 'ready for publication', which is also why I feel in today's world it should be an ESM rather than a CJS module (but I was having a few issues along the way as you are aware).
Personally I don't see a lot of benefit in publishing to npm, since installing straight from github works just as well, but you are right that that is what everyone expects so it will only confuse people if it is not to be found on npmjs.
.
As you can see, marketing is not my strong suit :)
Thanks for being so persistent :)
from itr8.
Coolio.
P.S. I just went through the excruciatingly painful process of getting a package to work with typescript, new and old Node versions, so you might be able to catch some inspiration on that polish part from the package.json setup (https://github.com/fatso83/retry-dynamic-import). Lots of info in the Git logs for why/what.
from itr8.
@fatso83: https://www.npmjs.com/package/itr8
Closing this issue.
from itr8.
I am somehow glad to hear that you also found it painful...
But great to know a place to check how other people solved it. Might give me some inspiration if I'm stuck.
I think I have it working now though (both module types + both a 'normal' version and a bundled&minified version). I've done an internal thing before using esbuild, but here I wanted to do it solely with tsc. Everything is still in a branch currently, but I'm hoping to release it soon.
I am also working on the npm publishing part. I guess I'll put it out there as-is, not following semver until I think it's stable and mature enough to move to a 1.0 version.
from itr8.
Related Issues (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 itr8.