diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 539e01e..ace637e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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 }} diff --git a/package.json b/package.json index 9f5b327..543fe43 100644 --- a/package.json +++ b/package.json @@ -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": "*" + } }