Skip to content

Commit 2d11e09

Browse files
authored
Merge pull request #7 from aabidsofi19/publish
add publish config
2 parents 42897e2 + 73426db commit 2d11e09

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
node-version: 16
3535
registry-url: "https://registry.npmjs.org"
3636
scope: "@layer5"
37-
access: "public"
3837
- run: npm publish --verbose
3938
env:
4039
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
{
2-
"name": "@layer5/rtk-query-codegen",
3-
"version": "0.0.1",
4-
"private": false,
5-
"description": "Codegen to create rtk-query api from openapi schema",
6-
"main": "index.js",
7-
"scripts": {
8-
"test": "echo \"Error: no test specified\" && exit 1"
9-
},
10-
"bin": {
11-
"rtk-query-codegen": "./src/app.js"
12-
},
13-
"author": "",
14-
"dependencies": {
15-
"@reduxjs/toolkit": "^1.9.6",
16-
"@rtk-query/codegen-openapi": "^1.0.0",
17-
"typescript": "^4.4.3",
18-
"commander": "^11.0.0",
19-
"prettier-plugin-organize-imports": "^3.2.3",
20-
"@redocly/cli": "*"
21-
}
2+
"name": "@layer5/rtk-query-codegen",
3+
"version": "0.0.1",
4+
"private": false,
5+
"publishConfig": {
6+
"access": "public"
7+
},
8+
"description": "Codegen to create rtk-query api from openapi schema",
9+
"main": "index.js",
10+
"scripts": {
11+
"test": "echo \"Error: no test specified\" && exit 1"
12+
},
13+
"bin": {
14+
"rtk-query-codegen": "./src/app.js"
15+
},
16+
"author": "",
17+
"dependencies": {
18+
"@reduxjs/toolkit": "^1.9.6",
19+
"@rtk-query/codegen-openapi": "^1.0.0",
20+
"typescript": "^4.4.3",
21+
"commander": "^11.0.0",
22+
"prettier-plugin-organize-imports": "^3.2.3",
23+
"@redocly/cli": "*"
24+
}
2225
}

0 commit comments

Comments
 (0)