Extended Next.js server with pkg support
Branch: master
Clone or download
dependabot and fmiras Bump @zeit/ncc from 0.6.0 to 0.7.0 (#70)
Bumps [@zeit/ncc](https://github.com/zeit/ncc) from 0.6.0 to 0.7.0.
<details>
<summary>Release notes</summary>

*Sourced from [@zeit/ncc's releases](https://github.com/zeit/ncc/releases).*

> ## 0.7.0
> - Minify is no longer on by default due to perf reasons ([#168](https://github-redirect.dependabot.com/zeit/ncc/issues/168))
> - Improve asset emission to emit fewer unnecessary assets ([#166](https://github-redirect.dependabot.com/zeit/ncc/issues/166))
> - Rework externals for perf ([#176](https://github-redirect.dependabot.com/zeit/ncc/issues/176))
> - Fixes for Windows ([#177](https://github-redirect.dependabot.com/zeit/ncc/issues/177))
> - Use `graceful-fs` to handle huge projects better ([#167](https://github-redirect.dependabot.com/zeit/ncc/issues/167))
</details>
<details>
<summary>Commits</summary>

- [`484b415`](zeit/ncc@484b415) fix windows paths ([#177](https://github-redirect.dependabot.com/zeit/ncc/issues/177))
- [`132bda3`](zeit/ncc@132bda3) rework externals for perf ([#176](https://github-redirect.dependabot.com/zeit/ncc/issues/176))
- [`6aa2c4c`](zeit/ncc@6aa2c4c) Revert "Revert "Add support for tsconfig `paths`. (fixes [#150](https://github-redirect.dependabot.com/zeit/ncc/issues/150))" ([#171](https://github-redirect.dependabot.com/zeit/ncc/issues/171))" ([#173](https://github-redirect.dependabot.com/zeit/ncc/issues/173))
- [`d26fce1`](zeit/ncc@d26fce1) Revert "Add support for tsconfig `paths`. (fixes [#150](https://github-redirect.dependabot.com/zeit/ncc/issues/150))" ([#171](https://github-redirect.dependabot.com/zeit/ncc/issues/171))
- [`c289b28`](zeit/ncc@c289b28) fix minify default ([#168](https://github-redirect.dependabot.com/zeit/ncc/issues/168))
- [`b83e921`](zeit/ncc@b83e921) Reduce asset emission and handle unexpected core assets ([#166](https://github-redirect.dependabot.com/zeit/ncc/issues/166))
- [`4ab1f82`](zeit/ncc@4ab1f82) use graceful-fs ([#167](https://github-redirect.dependabot.com/zeit/ncc/issues/167))
- See full diff in [compare view](zeit/ncc@0.6.0...0.7.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=@zeit/ncc&package-manager=npm_and_yarn&previous-version=0.6.0&new-version=0.7.0)](https://dependabot.com/compatibility-score.html?dependency-name=@zeit/ncc&package-manager=npm_and_yarn&previous-version=0.6.0&new-version=0.7.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
Latest commit f84eeb2 Dec 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin feat: use ncc as bundler (#63) Dec 4, 2018
lib feat: use ncc as bundler (#63) Dec 4, 2018
.gitattributes Install XO and replace standard and fix linting Mar 18, 2018
.gitignore feat: use ncc as bundler (#63) Dec 4, 2018
.npmrc Create npmrc file with save exact property Feb 7, 2018
.travis.yml
LICENSE Update LICENSE Feb 8, 2018
README.md Add Appveyor badge Dec 1, 2018
appveyor.yml Create appveyor.yml Dec 1, 2018
package.json
yarn.lock

README.md

img

NPM version Build Status Build status Dependabot Standard - JavaScript Style Guide Join the community on Spectrum

Next-Pkg is a package for compiling your Next.js project with pkg. This is how you can deploy your Next.js apps on enviroments without node installed! (And take advantage of all the other pkg features)

Usage

cd my-next-js-project/
npm install --save next-pkg pkg

and add a script to your package.json like this:

{
  "scripts": {
    "dev": "next",
    "build": "next build",
    "start": "next start",
    "dist":"next-pkg"
  }
}

then just run npm run dist and you will find on dist folder your next.js binary compiled project.

Contributing

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Link the package to the global module directory: npm link
  3. Within the module you want to test your local development instance of next-pkg, just link it to the dependencies: npm link next-pkg. Instead of the default one from npm, node will now use your clone of Next-Pkg!

Credits

Thanks to ZEIT Team for giving us this two amazing tools to make our life easier!