提交 92e1e2ef 编写于 作者: 璃白.'s avatar 璃白. 🌻

feat:update md

上级 3e6990ca
......@@ -20,30 +20,11 @@ check:
publish:
stage: deploy
script:
# If no .npmrc if included in the repo, generate a temporary one
# - echo $NPM_PUBLISH_TOKEN
# - echo "https//registry.npmjs.org/:_authToken=${NPM_PUBLISH_TOKEN}"
# - |
# if [[ ! -f .npmrc ]]; then
# echo 'No .npmrc found! Creating one now. Now we will generate one'
# {
# echo "https://registry.npmjs.org/:_authToken=${NPM_PUBLISH_TOKEN}"
# } >> .npmrc
# fi
- npm config set registry "https://registry.npmjs.org/:_authToken=${NPM_PUBLISH_TOKEN}"
# Extract a few values from package.json
- NPM_PACKAGE_NAME=$(node -p "require('./package.json').name")
- NPM_PACKAGE_VERSION=$(node -p "require('./package.json').version")
artifacts:
paths:
- dist
expire_in: 1 day
only:
- master
# Compare the version in package.json to all published versions.
# If the package.json version has not yet been published, run `npm publish`.
- npm config get registry
- |
if [[ $(npm view "${NPM_PACKAGE_NAME}" versions) != *"'${NPM_PACKAGE_VERSION}'"* ]]; then
npm publish
echo "Successfully published version ${NPM_PACKAGE_VERSION} of ${NPM_PACKAGE_NAME} "
else
echo "Version ${NPM_PACKAGE_VERSION} of ${NPM_PACKAGE_NAME} has already been published, so no new version has been published."
fi
\ No newline at end of file
......@@ -2,11 +2,17 @@
一款Markdown编辑器组件,支持使用markodwn语法来编写文档,同时支持图片上传等功能
地址:https://csdnimg.cn/release/markdown-editor/0.9.4/markdown-editor.js
地址:https://csdnimg.cn/release/markdown-editor/1.0.0/markdown-editor.js
## 更新记录
### v1.0
2022-03-01 v1.0更新,添加功能:
- 修复link添加规则
### v0.9
2021-11-11 v0.9更新,添加功能:
......
无法预览此类型文件
此差异已折叠。
{
"name": "awesome-markdown-editor",
"description": " A open source markdown editor of csdn codechina team contributed",
"version": "0.9.4",
"version": "1.0.0",
"publisher": "guoweijia",
"license": "MIT",
"scripts": {
"start": "webpack serve --mode=development",
"build": "webpack --mode=production",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册