diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a31bbc..5713cdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # packd changelog +## 1.0.2 + +* Fix bug that was prevent certain tarballs from being extracted + ## 1.0.1 * Serve unminified bundles if minification fails diff --git a/README.md b/README.md index 4000652..3f9216b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This is a simple app for generating UMD bundles of npm packages, similar to [browserify-cdn](https://github.com/jfhbrook/wzrd.in) aka [wzrd.in](https://wzrd.in/). I made it because wzrd.in sometimes goes offline, and I need its functionality for the [Svelte REPL](https://svelte.technology/repl). Unfortunately I couldn't get browserify-cdn to run on [now.sh](https://zeit.co/now), so I decided to roll my own. -And since I was *roll*ing my own, it made sense to use [Rollup](https://rollupjs.org). (Feel free to roll your eyes.) For npm packages that expose [`pkg.module`](https://github.com/rollup/rollup/wiki/pkg.module), such as the [D3 modules](https://github.com/d3), this means you get smaller, more efficient bundles than with browserify-cdn. +And since I was *roll*ing my own, it made sense to use [Rollup](https://rollupjs.org). (Feel free to roll your eyes.) For npm packages that expose [`pkg.module`](https://github.com/rollup/rollup/wiki/pkg.module), such as the [D3 modules](https://github.com/d3), this means you get smaller, more efficient bundles than with browserify-cdn. packd also gzips the files it serves, typically resulting in much smaller requests. Since Rollup can't handle all of the CommonJS code on npm, packd will use Browserify (or a combination of Rollup and Browserify) where appropriate. @@ -38,6 +38,14 @@ packd is a straightforward Express app — clone this repo, `npm install` (or ` +## Is this like unpkg.com? + +No. [unpkg.com](https://unpkg.com) is like a CDN for npm — it serves the actual files in npm packages. In a lot of cases that's perfect, but since some library authors don't include distributable bundles (tsk, tsk) it's not a general solution to the problem that packd addresses. Moreover, many npm package authors don't minify their code, whereas packd does. + +It is, however, blazing fast and extremely reliable. If a distributable version of a dependency *is* on unpkg, you should always prefer that. + + + ## Credits Thanks to [James Halliday](https://github.com/substack) and [Joshua Holbrook](https://github.com/jfhbrook) for their work on Browserify and browserify-cdn, and [Zeit](https://zeit.co) for making such an easy to use hosting environment. diff --git a/package.json b/package.json index 4c8307e..a5b929f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "packd", - "version": "1.0.1", + "version": "1.0.2", "description": "Simple alternative to browserify-cdn", "scripts": { "start": "node server",