Skip to content

Commit 72c49fb

Browse files
committed
chore: replace name.
1 parent e287736 commit 72c49fb

File tree

4 files changed

+26
-23
lines changed

4 files changed

+26
-23
lines changed

.github/workflows/npm-publish.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1-
name: publish
1+
name: Publish to NPM
22

33
on:
4-
release:
5-
types: [published, edited]
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
610

711
jobs:
8-
release:
9-
name: publish
12+
publish:
1013
runs-on: ubuntu-latest
1114

1215
steps:
13-
- name: Begin CI...
14-
uses: actions/checkout@v2
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
1518

16-
- name: Use Node 16
17-
uses: actions/setup-node@v1
19+
- name: Set up Node.js
20+
uses: actions/setup-node@v4
1821
with:
19-
node-version: 16.x
20-
registry-url: https://registry.npmjs.org
22+
node-version: '18.18'
23+
registry-url: 'https://registry.npmjs.org'
2124

2225
- name: NPM Publish
2326
run: |

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44

55
![example](https://user-images.githubusercontent.com/26743903/88215863-f35d5f00-cc64-11ea-81db-e829e6e9b5c8.png)
66

7-
## [Live Demo](https://matematuk.github.io/gantt-task-react/)
7+
## [Live Demo](https://dozalex.github.io/gantt-task-react/)
88

99
## Install
1010

1111
```
12-
npm install gantt-task-react
12+
npm install @dozalex/gantt-task-react
1313
```
1414

1515
## How to use it
1616

1717
```javascript
18-
import { Gantt, Task, EventOption, StylingOption, ViewMode, DisplayOption } from 'gantt-task-react';
19-
import "gantt-task-react/dist/index.css";
18+
import { Gantt, Task, EventOption, StylingOption, ViewMode, DisplayOption } from '@dozalex/gantt-task-react';
19+
import "@dozalex/gantt-task-react/dist/index.css";
2020

2121
let tasks: Task[] = [
2222
{
@@ -117,7 +117,7 @@ npm start
117117
| TaskListHeader | | Specifies the task list Header view |
118118
| TaskListTable | | Specifies the task list Table view |
119119

120-
- TooltipContent: [`React.FC<{ task: Task; fontSize: string; fontFamily: string; }>;`](https://github.com/MaTeMaTuK/gantt-task-react/blob/main/src/components/other/tooltip.tsx#L56)
120+
- TooltipContent: [`React.FC<{ task: Task; fontSize: string; fontFamily: string; }>;`](https://github.com/dozalex/gantt-task-react/blob/main/src/components/other/tooltip.tsx#L56)
121121
- TaskListHeader: `React.FC<{ headerHeight: number; rowWidth: string; fontFamily: string; fontSize: string;}>;`
122122
- TaskListTable: `React.FC<{ rowHeight: number; rowWidth: string; fontFamily: string; fontSize: string; locale: string; tasks: Task[]; selectedTaskId: string; setSelectedTask: (taskId: string) => void; }>;`
123123

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "gantt-task-react",
2+
"name": "@dozalex/gantt-task-react",
33
"version": "0.3.9",
44
"description": "Interactive Gantt Chart for React with TypeScript.",
55
"author": "MaTeMaTuK <maksym.vikarii@gmail.com>",
6-
"homepage": "https://github.com/MaTeMaTuK/gantt-task-react",
6+
"homepage": "https://github.com/dozalex/gantt-task-react",
77
"license": "MIT",
8-
"repository": "MaTeMaTuK/gantt-task-react",
8+
"repository": "dozalex/gantt-task-react",
99
"main": "dist/index.js",
1010
"module": "dist/index.modern.js",
1111
"source": "src/index.tsx",

0 commit comments

Comments
 (0)