Skip to content
Snippets Groups Projects
Commit 12f77532 authored by Zandor Smith's avatar Zandor Smith :computer:
Browse files

feat: Rename repository and implement sementic-release pipeline.

parent 87c11619
No related branches found
No related tags found
No related merge requests found
Pipeline #138288 passed
stages:
- build
# - docs
- publish
- code-intelligence
workflow:
rules:
- if: $CI_COMMIT_BRANCH
build-lib:
image: node:lts
stage: build
before_script:
- yarn install
script:
- yarn bundle
tags:
- docker
artifacts:
paths:
- lib/*
needs: []
#build-docs:
# image: node:lts
# stage: docs
# before_script:
# - yarn install
# script:
# - yarn docs:prod
# tags:
# - docker
# artifacts:
# paths:
# - docs/*
# needs:
# - job: build-lib
# artifacts: true
publish:
image: node:lts
stage: publish
before_script:
- yarn install
script:
- yarn 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-lib
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: []
{
"name": "react-meta-tags",
"name": "@zandor300/react-meta-tags",
"description": "Handle document meta/head tags in isomorphic react with ease.",
"version": "1.0.1",
"main": "lib/index.js",
"author": "Sudhanshu Yadav",
"author": "Zandor Smith",
"license": "MIT",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/s-yadav/react-meta-tags"
"url": "https://github.com/Zandor300/react-meta-tags"
},
"bugs": {
"mail": "sudhanshuyadav2@gmail.com",
"url": "https://github.com/s-yadav/react-meta-tags/issues"
"url": "https://github.com/Zandor300/react-meta-tags/issues"
},
"keywords": [
"react-component",
......@@ -28,7 +28,8 @@
"start": "cross-env npm run start-dev | nodemon example.js",
"start-dev": "cross-env webpack-dev-server --content-base example/ --config webpack.dev.config.js --watch-poll --progress --inline --hot",
"bundle": "cross-env NODE_ENV=production rollup -c rollup.config.js && npm run compile",
"compile": "cross-env babel src --out-dir lib"
"compile": "cross-env babel src --out-dir lib",
"semantic-release": "semantic-release"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
......@@ -38,6 +39,11 @@
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.6",
"@semantic-release/gitlab": "^9.4.2",
"@semantic-release/npm": "^9.0.1",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.2",
"babel-plugin-add-module-exports": "^1.0.0",
......@@ -62,6 +68,7 @@
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^5.0.2",
"semantic-release": "^19.0.5",
"webpack": "^4.17.1",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.7"
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment