# deploy-nextjs-example-app

> Deploys a [Next.js](https://nextjs.org/docs) library's `./example` app on [now.sh](https://zeit.co/docs).

Latest version **0.0.4** (published 2019-03-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install deploy-nextjs-example-app
pnpm add deploy-nextjs-example-app
yarn add deploy-nextjs-example-app
bun add deploy-nextjs-example-app
```

Provides the command `deploy-nextjs-example-app`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2019-03-09 |
| First published | 2019-03-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 108.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | possibilities |

## Links

- npm: https://www.npmjs.com/package/deploy-nextjs-example-app
- npm.io page: https://npm.io/package/deploy-nextjs-example-app

## Dependencies (3)

- [ulid](https://npm.io/package/ulid.md) ^2.3.0
- [shelljs](https://npm.io/package/shelljs.md) ^0.8.3
- [find-project-files](https://npm.io/package/find-project-files.md) ^0.0.4

## Recent versions

- 0.0.4 (latest) — 2019-03-09
- 0.0.3 — 2019-03-09
- 0.0.1 — 2019-03-09
- 0.0.0 — 2019-03-09

## README

# Deploy Next.js Next.js example app

Deploys a [Next.js](https://nextjs.org/docs) library's `./example` app on [now.sh](https://zeit.co/docs).

The app is copied to a temporary directory where it is prepared before `now` is invoked. The main purpose of this script is to workaround Next's <a href='#is-this-really-necessary' id='fnref1'>inability<sup>1</sup></a> to work with symlinked (or `file:..` dependencies when deployed to now.


## Install

```Shell
yarn global add deploy-nextjs-example-app
```

## Usage

```Shell
deploy-nextjs-example-app
```

To also run `now ln` also an `--alias` CLI flag can be used

```Shell
deploy-nextjs-example-app --alias
```

## Is this really necessary?

This seems necessary based on my experience (see summary above) but I would be excited to learn that I'm wrong and there's an easy way to do deploy a Next.js app to now.sh that lives in a repo subdirectory and depends on another npm package located in the same repo. Please reach out to me at mikebannister@gmail.com if you can help, thanks!

---
_Source: https://npm.io/package/deploy-nextjs-example-app · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
