Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • Zandor300/react-meta-tags
1 result
Show changes
Commits on Source (8)
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/*
- dist/*
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: []
node_modules/
src/
.cache
.idea/
.gitignore
......@@ -8,5 +9,8 @@ rollup.config.js
webpack.dev.config.js
.babelrc
.eslintrc
renovate.json
.gitlab-ci.yml
.releaserc.json
example.js
{
"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", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}
]
]
}
# [1.1.0](https://git.zsinfo.nl/Zandor300/react-meta-tags/compare/v1.0.1...v1.1.0) (2022-10-26)
### Bug Fixes
* Include dist folder in package. ([5ab1865](https://git.zsinfo.nl/Zandor300/react-meta-tags/commit/5ab18656f8b259153bc79d108d2adeb6cccac13b))
### Features
* Rename repository and implement sementic-release pipeline. ([12f7753](https://git.zsinfo.nl/Zandor300/react-meta-tags/commit/12f7753252d03498af318b1c4ae7770be7383946))
import React from 'react';
export interface ExtractFunction {
(elements: React.ReactElement | React.ReactElement[]): void;
}
export class MetaTagsContext extends React.Component<{
extract: ExtractFunction;
}> {};
export class MetaTags extends React.Component {};
export class ReactTitle extends React.Component<{ title: string }> {};
export default MetaTags;
{
"name": "react-meta-tags",
"name": "@zandor300/react-meta-tags",
"description": "Handle document meta/head tags in isomorphic react with ease.",
"version": "1.0.1",
"version": "1.1.0",
"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://git.zsinfo.nl/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"
......
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"prConcurrentLimit": 10
}
import React from 'react';
import { ExtractFunction } from './index';
export interface MetaTagsInstance {
extract: ExtractFunction;
renderToString: () => string;
getTags: () => React.ReactElement[];
}
const MetaTagsServer: () => MetaTagsInstance
export default MetaTagsServer;
source diff could not be displayed: it is too large. Options to address this: view the blob.