Skip to content
Commits on Source (5)
stages:
- build
- publish
- code-intelligence
workflow:
rules:
- if: $CI_COMMIT_BRANCH
build:
image: node:lts
stage: build
before_script:
- npm install
script:
- npm run lib
tags:
- docker
artifacts:
paths:
- lib/*
publish:
image: node:lts
stage: publish
variables:
NPM_TOKEN: ${CI_JOB_TOKEN}
before_script:
- npm install
script:
- npm run semantic-release
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- .npm/
tags:
- docker
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /chore(release)$/
needs:
- job: build
artifacts: true
code-navigation:
image: git.zsinfo.nl:5010/zandor300/docker-lsif
stage: code-intelligence
script:
- lsif-tsc src/**/* --AllowJs --checkJs
tags:
- docker
artifacts:
reports:
lsif: dump.lsif
needs: []
{
"branches": ["master"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/gitlab",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": ["package.json"],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}
]
]
}
This diff is collapsed.
{
"name": "@zandor300/react-apple-mapkitjs",
"version": "0.9.0",
"version": "0.9.1",
"description": "A react wrapper for apple mapkit.js",
"main": "lib/index.js",
"scripts": {
......@@ -8,7 +8,8 @@
"lib": "babel src/lib -d lib --copy-files",
"lib:watch": "babel src/lib -w -d lib --copy-files",
"docs": "webpack-dev-server --mode development",
"docs:prod": "webpack --mode production"
"docs:prod": "webpack --mode production",
"semantic-release": "semantic-release"
},
"keywords": [
"apple",
......@@ -29,12 +30,18 @@
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@semantic-release/changelog": "6.0.1",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "8.0.4",
"@semantic-release/gitlab": "8.0.2",
"@semantic-release/npm": "9.0.1",
"babel-loader": "^8.0.6",
"concurrently": "^3.5.1",
"css-loader": "^3.4.2",
"html-webpack-plugin": "^3.2.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"semantic-release": "^19.0.2",
"style-loader": "^0.21.0",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
......@@ -44,6 +51,6 @@
"dependencies": {},
"repository": {
"type": "git",
"url": "https://github.com/Zandor300/react-apple-mapkitjs"
"url": "https://git.zsinfo.nl/Zandor300/react-apple-mapkitjs"
}
}