Skip to content

Commit

Permalink
chore(publish): configure publishing for GitHub Packages
Browse files Browse the repository at this point in the history
Refs #549
  • Loading branch information
char0n committed Sep 28, 2021
1 parent 4382db1 commit 0abb580
Show file tree
Hide file tree
Showing 17 changed files with 65 additions and 16 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
save-prefix="="
@swagger-api:registry=https://npm.pkg.github.com
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"ignoreChanges": ["**/test/**"]
},
"publish": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0-ignore",
"description": "ApiDOM Monorepo",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"private": true,
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "Tools necessary for parsing stage of ApiDOM, specifically for syntactic analysis.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry":"https://npm.pkg.github.com"
},
"main": "cjs/index.js",
"module": "es/index.js",
Expand Down
6 changes: 5 additions & 1 deletion packages/apidom-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "Tools for manipulating ApiDOM structures.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"main": "cjs/index.js",
"module": "es/index.js",
Expand All @@ -25,6 +25,10 @@
"prepack": "copyfiles -u 2 ../../NOTICE .",
"postpack": "rimraf NOTICE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"author": "Vladimír Gorej",
"license": "Apache-2.0",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@swagger-api/apidom-ls",
"description": "ApiDOM based language service library.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"version": "0.1.0",
"repository": {
Expand Down
6 changes: 5 additions & 1 deletion packages/apidom-ns-asyncapi-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "AsyncAPI 2.x.y namespace for ApiDOM.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"main": "cjs/index.js",
"module": "es/index.js",
Expand All @@ -27,6 +27,10 @@
"prepack": "copyfiles -u 2 ../../NOTICE .",
"postpack": "rimraf NOTICE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"author": "Vladimir Gorej",
"license": "Apache-2.0",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/apidom-ns-openapi-3-1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "Parser adapter for parsing JSON documents into AsyncAPI 2.x.y namespace.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"main": "cjs/index.js",
"module": "es/index.js",
Expand All @@ -28,6 +28,10 @@
"prepack": "copyfiles -u 2 ../../NOTICE .",
"postpack": "rimraf NOTICE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"author": "Vladimir Gorej",
"license": "Apache-2.0",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/apidom-parser-adapter-asyncapi-json-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "Parser adapter for parsing JSON documents into AsyncAPI 2.x.y namespace.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"main": "cjs/adapter.js",
"module": "es/adapter.js",
Expand All @@ -29,6 +29,10 @@
"prepack": "copyfiles -u 2 ../../NOTICE .",
"postpack": "rimraf NOTICE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"author": "Vladimir Gorej",
"license": "Apache-2.0",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/apidom-parser-adapter-asyncapi-yaml-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "Parser adapter for parsing YAML documents into AsyncAPI 2.x.y namespace.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"main": "cjs/adapter.js",
"module": "es/adapter.js",
Expand All @@ -29,6 +29,10 @@
"prepack": "copyfiles -u 2 ../../NOTICE .",
"postpack": "rimraf NOTICE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"author": "Vladimir Gorej",
"license": "Apache-2.0",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/apidom-parser-adapter-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "Parser adapter for parsing JSON documents into base namespace.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"main": "cjs/adapter-node.js",
"module": "es/adapter-browser.js",
Expand All @@ -29,6 +29,10 @@
"prepack": "copyfiles -u 2 ../../NOTICE .",
"postpack": "rimraf NOTICE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"author": "Vladimir Gorej",
"license": "Apache-2.0",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/apidom-parser-adapter-openapi-json-3-1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "Parser adapter for parsing JSON documents into OpenAPI 3.1.x namespace.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"main": "cjs/adapter.js",
"module": "es/adapter.js",
Expand All @@ -29,6 +29,10 @@
"prepack": "copyfiles -u 2 ../../NOTICE .",
"postpack": "rimraf NOTICE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"author": "Vladimir Gorej",
"license": "Apache-2.0",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/apidom-parser-adapter-openapi-yaml-3-1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "Parser adapter for parsing YAML documents into OpenAPI 3.1.x namespace.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"main": "cjs/adapter.js",
"module": "es/adapter.js",
Expand All @@ -28,6 +28,10 @@
"prepack": "copyfiles -u 2 ../../NOTICE .",
"postpack": "rimraf NOTICE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"author": "Vladimir Gorej",
"license": "Apache-2.0",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/apidom-parser-adapter-yaml-1-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "Parser adapter for parsing YAML documents into base namespace.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"main": "cjs/adapter-node.js",
"module": "es/adapter-browser.js",
Expand All @@ -29,6 +29,10 @@
"prepack": "copyfiles -u 2 ../../NOTICE .",
"postpack": "rimraf NOTICE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"author": "Vladimir Gorej",
"license": "Apache-2.0",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/apidom-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "Parser consumes parser adapters and provides unified API for parsing.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"main": "cjs/parser.js",
"module": "es/parser.js",
Expand All @@ -24,6 +24,10 @@
"prepack": "copyfiles -u 2 ../../NOTICE .",
"postpack": "rimraf NOTICE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"author": "Vladimir Gorej",
"license": "Apache-2.0",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion packages/apidom-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@swagger-api/apidom-playground",
"description": "ApiDOM Playground demonstrates various features of ApiDOM visually.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"version": "0.1.0",
"private": true,
Expand Down
6 changes: 5 additions & 1 deletion packages/apidom-reference/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "Advanced algorithms for semantic ApiDOM manipulations like dereferencing or resolution.",
"publishConfig": {
"registry": "http://localhost:4873/"
"registry": "https://npm.pkg.github.com"
},
"main": "cjs/index.js",
"module": "es/index.js",
Expand All @@ -29,6 +29,10 @@
"prepack": "copyfiles -u 2 ../../NOTICE .",
"postpack": "rimraf NOTICE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swagger-api/apidom.git"
},
"author": "Vladimir Gorej",
"license": "Apache-2.0",
"dependencies": {
Expand Down

0 comments on commit 0abb580

Please sign in to comment.