Skip to content

Commit

Permalink
Remove name replace in publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof.kubiak committed Dec 1, 2021
1 parent 5a183ac commit b94e029
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ jobs:
- uses: actions/checkout@v2
- name: Inject slug/short variables
uses: rlespinasse/[email protected]
- name: Find and Replace NPM name
uses: jacobtomlinson/gha-find-replace@master
with:
find: "d3-sankey"
replace: "@vizlib/d3-sankey"
include: "package.json"
- uses: actions/setup-node@v2
with:
node-version: '12.x'
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "d3-sankey",
"name": "@vizlib/d3-sankey",
"version": "0.12.3",
"description": "Visualize flow between nodes in a directed acyclic network.",
"keywords": [
Expand All @@ -12,8 +12,8 @@
"url": "https://bost.ocks.org/mike/"
},
"license": "BSD-3-Clause",
"main": "dist/d3-sankey.js",
"unpkg": "dist/d3-sankey.min.js",
"main": "dist/@vizlib/d3-sankey.js",
"unpkg": "dist/@vizlib/d3-sankey.min.js",
"module": "src/index.js",
"homepage": "https://github.com/d3/d3-sankey",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default [
}),
copy({
targets: [
{src: 'src/d3-sankey.d.ts', dest: 'dist'}
{src: 'src/d3-sankey.d.ts', dest: 'dist/@vizlib'}
]
})
]
Expand Down
1 change: 0 additions & 1 deletion src/d3-sankey.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
declare module '@vizlib/d3-sankey';
declare module 'd3-sankey';

0 comments on commit b94e029

Please sign in to comment.