Skip to content

Commit

Permalink
Merge pull request #5 from netlify/feat/rename
Browse files Browse the repository at this point in the history
feat: rename package
  • Loading branch information
kodiakhq[bot] authored Apr 18, 2022
2 parents 648f99b + d60c568 commit 67323e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Build](https://github.com/netlify/edge-bundler/workflows/Build/badge.svg)](https://github.com/netlify/edge-bundler/actions)
[![Node](https://img.shields.io/node/v/@netlify-labs/edge-bundler.svg?logo=node.js)](https://www.npmjs.com/package/@netlify-labs/edge-bundler)
[![Node](https://img.shields.io/node/v/@netlify/edge-bundler.svg?logo=node.js)](https://www.npmjs.com/package/@netlify/edge-bundler)

# Edge Bundler

Expand All @@ -10,13 +10,13 @@ Intelligently prepare Netlify Edge Functions for deployment.
1. Install this module as a dependency in your project

```
npm install @netlify-labs/edge-bundler --save
npm install @netlify/edge-bundler --save
```
2. Import it and create a bundle from a directory of Edge Functions and a list of declarations.
```js
import { bundle } from '@netlify-labs/edge-bundler'
import { bundle } from '@netlify/edge-bundler'
// List of directories to search for Edge Functions.
const sourceDirectories = [
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"name": "@netlify-labs/edge-bundler",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"name": "@netlify/edge-bundler",
"version": "0.11.0",
"description": "Intelligently prepare Netlify Edge Functions for deployment",
"type": "module",
Expand Down

0 comments on commit 67323e1

Please sign in to comment.