mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
publish to npmjs
[skip ci]
This commit is contained in:
parent
de78b40da4
commit
db12ea036d
4 changed files with 8 additions and 7 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -4,6 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
|
@ -55,8 +56,8 @@ jobs:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
registry-url: 'https://npm.pkg.github.com'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm publish
|
- run: npm publish --provenance --access public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
2
api.js
2
api.js
|
@ -33,7 +33,7 @@ const config = {
|
||||||
name: 'db-vendo-client',
|
name: 'db-vendo-client',
|
||||||
description: 'db-vendo-client',
|
description: 'db-vendo-client',
|
||||||
homepage: 'https://github.com/public-transport/db-vendo-client',
|
homepage: 'https://github.com/public-transport/db-vendo-client',
|
||||||
version: '6.1.1',
|
version: '6.1.2',
|
||||||
docsLink: 'https://github.com/public-transport/db-vendo-client',
|
docsLink: 'https://github.com/public-transport/db-vendo-client',
|
||||||
openapiSpec: true,
|
openapiSpec: true,
|
||||||
logging: true,
|
logging: true,
|
||||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@public-transport/db-vendo-client",
|
"name": "@public-transport/db-vendo-client",
|
||||||
"version": "6.1.1",
|
"version": "6.1.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@public-transport/db-vendo-client",
|
"name": "@public-transport/db-vendo-client",
|
||||||
"version": "6.1.1",
|
"version": "6.1.2",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@derhuerst/br2nl": "^1.0.0",
|
"@derhuerst/br2nl": "^1.0.0",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@public-transport/db-vendo-client",
|
"name": "@public-transport/db-vendo-client",
|
||||||
"description": "Client for bahn.de public transport APIs.",
|
"description": "Client for bahn.de public transport APIs.",
|
||||||
"version": "6.1.1",
|
"version": "6.1.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
Loading…
Add table
Reference in a new issue