Skip to content

Commit

Permalink
Merge pull request #164 from gnosisguild/fix-publish
Browse files Browse the repository at this point in the history
publish under gnosis-guild npm scope
  • Loading branch information
jfschwarz committed Sep 19, 2024
2 parents 2de7d32 + 4e1e70f commit 18b7575
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
scope: '@gnosis.pm'
scope: "@gnosis-guild"
- run: yarn
- run: yarn build
- run: yarn build:sdk
- run: echo registry=https://npm.pkg.github.com/gnosis.pm >> .npmrc
- run: echo registry=https://npm.pkg.github.com/gnosis-guild >> .npmrc
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.PUBLISH_GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The Zodiac open standard consists of Avatars, Modules, Modifiers, and Guards arc
### Installation

```bash
yarn add @gnosis.pm/zodiac
yarn add @gnosis-guild/zodiac
```

### Usage
Expand All @@ -43,11 +43,12 @@ Once installed, you can use the contracts in the library by importing them to yo
```solidity
pragma solidity ^0.8.6;
import "@gnosis.pm/zodiac/contracts/core/Module.sol";
import "@gnosis-guild/zodiac/contracts/core/Module.sol";
contract MyModule is Module {
/// insert your code here
}
```

### Zodiac compliant tools
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@gnosis.pm/zodiac",
"name": "@gnosis-guild/zodiac",
"version": "4.0.3",
"description": "Zodiac is a composable design philosophy and collection of standards for building DAO ecosystem tooling.",
"author": "Auryn Macmillan <[email protected]>",
Expand Down Expand Up @@ -95,4 +95,4 @@
"@openzeppelin/contracts-upgradeable": "^5.0.0",
"ethers": "^6.9.2"
}
}
}

0 comments on commit 18b7575

Please sign in to comment.