Skip to content

Commit d83c59d

Browse files
authored
Merge pull request #2 from danliyev/main
Release v1.0.2
2 parents 1a5d427 + a8c3413 commit d83c59d

File tree

5 files changed

+12
-17
lines changed

5 files changed

+12
-17
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
name: Deploy documentation
1+
name: Deploy docs
22

33
on:
4-
# Run when a release is published
5-
workflow_run:
6-
workflows: ['Publish package']
7-
types: [completed]
8-
9-
# Allows you to run this workflow manually from the Actions tab
10-
workflow_dispatch:
4+
push:
5+
tags:
6+
- 'v*'
117

128
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
139
permissions:

.github/workflows/publish-package.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
name: Publish package
22

33
on:
4-
release:
5-
types: [published]
6-
workflow_dispatch:
4+
push:
5+
tags:
6+
- 'v*'
77

88
permissions:
9+
id-token: write
910
packages: write
1011

1112
jobs:
@@ -36,5 +37,3 @@ jobs:
3637
- run: npm ci
3738
- run: npm run build
3839
- run: npm publish --access public
39-
env:
40-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install @danliyev/wishmap
1515
## Usage
1616

1717
```typescript
18-
import { WishMap } from 'wishmap'
18+
import { WishMap } from '@danliyev/wishmap'
1919

2020
const map = new WishMap<string, number>()
2121

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@danliyev/wishmap",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "An extended JavaScript Map with Array-like methods and event emission.",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)