Skip to content

Commit

Permalink
Merge pull request #7 from aabidsofi19/publish
Browse files Browse the repository at this point in the history
add publish config
  • Loading branch information
aabidsofi19 authored Dec 20, 2023
2 parents 42897e2 + 73426db commit 2d11e09
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 21 deletions.
1 change: 0 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
node-version: 16
registry-url: "https://registry.npmjs.org"
scope: "@layer5"
access: "public"
- run: npm publish --verbose
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
43 changes: 23 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
{
"name": "@layer5/rtk-query-codegen",
"version": "0.0.1",
"private": false,
"description": "Codegen to create rtk-query api from openapi schema",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"bin": {
"rtk-query-codegen": "./src/app.js"
},
"author": "",
"dependencies": {
"@reduxjs/toolkit": "^1.9.6",
"@rtk-query/codegen-openapi": "^1.0.0",
"typescript": "^4.4.3",
"commander": "^11.0.0",
"prettier-plugin-organize-imports": "^3.2.3",
"@redocly/cli": "*"
}
"name": "@layer5/rtk-query-codegen",
"version": "0.0.1",
"private": false,
"publishConfig": {
"access": "public"
},
"description": "Codegen to create rtk-query api from openapi schema",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"bin": {
"rtk-query-codegen": "./src/app.js"
},
"author": "",
"dependencies": {
"@reduxjs/toolkit": "^1.9.6",
"@rtk-query/codegen-openapi": "^1.0.0",
"typescript": "^4.4.3",
"commander": "^11.0.0",
"prettier-plugin-organize-imports": "^3.2.3",
"@redocly/cli": "*"
}
}

0 comments on commit 2d11e09

Please sign in to comment.