Skip to content

chore(deps): update dependency amis-editor to v3.3.7 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml'
version: 2.1

# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.
# See: https://circleci.com/docs/2.0/orb-intro/
orbs:
node: circleci/node@4.7.0

# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
sample: # This is the name of the workflow, feel free to change it to better match your workflow.
# Inside the workflow, you define the jobs you want to run.
jobs:
- node/test:
# This is the node version to use for the `cimg/node` tag
# Relevant tags can be found on the CircleCI Developer Hub
# https://circleci.com/developer/images/image/cimg/node
version: '16.10'
# If you are using yarn, change the line below from "npm" to "yarn"
pkg-manager: yarn
15 changes: 15 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version = 1

[[analyzers]]
name = "javascript"
enabled = true

[analyzers.meta]
plugins = [
"react",
"angularjs",
"vue",
"meteor",
"angular",
"ember"
]
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: 报告缺陷
about: 报告缺陷以帮助我们改进
labels: bug
assignees: h7ml
---

### 描述问题

<!-- 请尽量清晰精准地描述你碰到的问题。-->

```markdown
如果是解析渲染问题的话请在此处贴入 Markdown 原文
```

### 期待的结果

<!-- 请尽量清晰精准地描述你所期待的结果。-->

### 截屏或录像

<!--
如果可能,请尽量附加截图或录像来描述你遇到的问题。

(Windows 下推荐使用 [Screen2Gif](https://www.screentogif.com/) 进行录屏。如果是编辑器输入相关问题,使用 Screen2Gif 录制结束后请打开`图像 - 按键`)
-->

### 版本信息

- 版本:
- 操作系统:
- 浏览器:

### 其他信息

<!-- 请提供其他附加信息帮助我们诊断问题。 -->
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: dgiot issues template
url: https://github.com/dgiot
about: dgiot
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: 请求新功能
about: 提出你期待的功能特性
labels: Feature
assignees: h7ml
---

### 你在什么场景下需要该功能?

<!-- 请尽量清晰精准地描述你期待的功能和应用场景。-->

### 描述最优的解决方案

<!-- 请尝试描述最优的解决方案,也许已经有类似软件实现了该特性,也请列出给我们参考。-->

### 描述候选解决方案

<!-- 请尽量清晰精准地描述你能接受的候选解决方案。-->

### 其他信息

<!-- 请提供关于该功能建议的其他附加信息。-->
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/need-help-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Need help issue
about: Question for use(问题求助)
title: ''
labels: question
assignees: h7ml

---

**Question (问题描述)**
How to use component `s-table` paging

**Describe the solution you'd like (你期待的是什么?)**
A clear and concise description of what you want to happen.

**Additional context(附加信息)**
Add any other context or screenshots about the feature request here.
5 changes: 5 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!--

* PR 请提交到 dev 开发分支上

-->
12 changes: 12 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 安全报告 Security report

如果你发现安全相关漏洞请通过如下任意一种方式告知我们:\
If you find security-related vulnerabilities, please inform us in any of the following ways:

- 直接开 Issue(请隐去站点、实际项目等敏感信息)\
Open Issue directly (please hide sensitive information such as site and actual project)
- 发邮件至 johnliu@iotn2n.com\
Send an email to johnliu@iotn2n.com

非常感谢!\
Thank you very much!
20 changes: 20 additions & 0 deletions .github/workflows/accurics.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches:
- dev
workflow_dispatch:
jobs:
accurics-scan:
runs-on: ubuntu-latest
name: accurics-scan
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Accurics Scan
id: accurics-scan
uses: docker://accurics/terrascan-action:latest
with:
only_warn: true
verbose: true
webhook_url: https://app.accurics.com/v1/api/terrascan
webhook_token: a20de3ab-f00e-4e1a-a37f-dbceafe4150e
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: deploy

on:
push:
branches: [ dev ]

jobs:
deploy:
runs-on: ubuntu-20.04

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node
uses: actions/setup-node@v2
with:
node-version: '12'
- name: install
run: yarn install
- name: build
run: yarn build
- name: deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish

on:
workflow_dispatch:
push:
tags:
- 'v*'

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12'
registry-url: https://registry.npmjs.org/
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- name: Prepare the changelog from the tag message
run: |
# Parse version
VERSION=${GITHUB_REF/refs\/tags\//}
echo "Setting release version to $VERSION"
echo "release_version=$VERSION" >> $GITHUB_ENV
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

# https://github.com/actions/create-release
name: Create Release

on:
push:
tags:
- 'v*'
workflow_dispatch:

jobs:
build:
name: Create Release
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@master

- name: Create Release
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
7 changes: 7 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pull_request_rules:
- name: Automatic merge on approval
conditions:
- "#approved-reviews-by>=1"
actions:
merge:
method: merge
21 changes: 21 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript

trigger:
- master

pool:
vmImage: ubuntu-latest

steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'

- script: |
npm install
npm run build
displayName: 'npm install and build'
Loading