Skip to content

Commit

Permalink
Update npm package name (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
myty authored Sep 24, 2022
1 parent 9b83da6 commit d28003c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ jobs:
- name: Publish NPM Package
run: |
cd npm
npm publish
npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![GitHub version](https://badgen.net/github/release/myty/promise-chain?color=green)](https://github.com/myty/promise-chain)
[![deno land](https://badgen.net/github/release/myty/promise-chain?color=green&label=deno.land)](https://deno.land/x/promise_chain)
[![npm version](https://badgen.net/npm/v/promise-chain?color=green)](https://www.npmjs.com/package/promise-chain)
[![npm version](https://badgen.net/npm/v/@myty/promise-chain?color=green)](https://www.npmjs.com/package/@myty/promise-chain)
[![Coverage Status](https://badgen.net/coveralls/c/github/myty/promise-chain?color=green)](https://coveralls.io/github/myty/promise-chain?branch=main)

Wrapper utility class that enables composition via asynchronous (Promises) and
Expand All @@ -24,7 +24,7 @@ pnpm install --save promise-chain
### Deno

```bash
import { Composable } from "https://deno.land/x/promise_chain/mod.ts";
import Composable from "https://deno.land/x/promise_chain/mod.ts";
```

## Example Usage
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ await build({
deno: "dev",
},
package: {
name: "promise-chain",
name: "@myty/promise-chain",
version: Deno.args[0].substring("refs/tags/v".length),
description:
"Wrapper utility class that enables composition via asynchronous (Promises) and synchronous method chaining.",
Expand Down

0 comments on commit d28003c

Please sign in to comment.