Skip to content

Commit

Permalink
Merge branch 'didi:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
WangJincheng4869 authored Aug 13, 2024
2 parents 787e693 + 9f393a6 commit cf157cd
Show file tree
Hide file tree
Showing 1,519 changed files with 130,727 additions and 95,334 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
20 changes: 20 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": [
"engine-browser-app",
"engine-node-app",
"feature-examples",
"material-ui-app",
"next-app",
"vue3-app"
],
"extends": [],
"pipeline": {}
}
11 changes: 9 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# don't ever lint node_modules
node_modules

# don't lint build output (make sure it's set to your correct build folder name)
dist
*.min.js
es/**
lib/**
dist/**

# don't lint nyc coverage output
coverage
types
Expand All @@ -10,4 +15,6 @@ packages/core/types
packages/extension/src/bpmn-adapter/xml2json.ts
packages/extension/src/bpmn-adapter/json2xml.ts

**/*.d.ts
examples/vue3-memory-leak

**/*.d.ts
19 changes: 19 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier", "import"],
"extends": [
"eslint:recommended",
"prettier",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
73 changes: 0 additions & 73 deletions .eslintrc.js

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!--- Provide a general summary of your changes in the Title above --->

### Description

<!--- Describe your changes in detail --->

### Motivation and Context

<!--- Why is this change required? What problem does it solve? --->
<!--- If it fixes an open issue, please link to the issue here. --->
<!--- GIF or snapshot should be provided if includes UI/interactive modification. --->
<!--- How to fix the problem, and list final API implementation and usage sample if that is an new feature. --->

### Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Enhancement (changes that improvement of current feature or performance)
- [ ] Refactoring (changes that neither fixes a bug nor adds a feature)
- [ ] Test Case (changes that add missing tests or correct existing tests)
- [ ] Code style optimization (changes that do not affect the meaning of the code)
- [ ] Docs (changes that add or update documentation)
- [ ] Chore (changes that do not modify src or test files)

### Self Check before Merge

<!--- Go over all the following points, and put an `x` in all the boxes that apply. --->
<!--- If you're ensure about any of these, don't hesitate to ask. We're here to help! --->
- [ ] My code follows the code style of this project
- [ ] My change requires a change to the documentation
- [ ] I have updated the documentation accordingly
- [ ] I have read the [**CONTRIBUTING**](https://github.com/didi/LogicFlow/blob/next/CONTRUBUTING.en-US.md) document
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: docs
name: Docs Deployment

on: [push]

Expand Down Expand Up @@ -43,4 +43,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./deploy
cname: logic-flow.org

2 changes: 1 addition & 1 deletion .github/workflows/issue_checker.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: issue checker
name: Issue Checker

on:
issues:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Dependencies
run: pnpm install

- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25 changes: 25 additions & 0 deletions .github/workflows/update_contributors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 🤝 Update Contributors
on:
schedule:
- cron: '0 1 * * *'
push:
branches:
- master
- next
- next-major
- alpha
- beta
jobs:
contrib-readme-job:
runs-on: ubuntu-latest
name: A job to automate contributors in readme
# Only run workflow if the repository is not a fork
if: ${{ !github.event.repository.fork }}
permissions:
contents: write
pull-requests: write
steps:
- uses: wow-actions/contributors-list@v1
with:
GITHUB_TOKEN: ${{ secrets.CONTRIBUTORS_TOKEN }}
excludeUsers: semantic-release-bot ImgBotApp
39 changes: 25 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,30 @@
.idea
# dependencies
node_modules
dist
coverage
types/*
types
*.DS_Store

# production
lib
!packages/mvp/lib
cjs
esm
es
site-build
dist
output

coverage
types/**

# misc
.DS_Store
.pnpm-*.log
.idea
.turbo
npm-debug.log
yarn-error.log

/.github_token
/TMP_CHANGELOG.md
/.openai_token
/.github_account

logic-flow-docs.tar.gz
*.log
*/.eslintcache
.eslintcache
~*

.umi/
tmp
tmp-production
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

6 changes: 3 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn commitlint --edit $1
npx --no -- commitlint --edit ${1}
6 changes: 3 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
npx lint-staged
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ npm-debug.log
node_modules
config.gypi
*.orig

example
public
config
Expand Down
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

21 changes: 21 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Ignore artifacts:
*.sh
*.yml
*.yaml
*.svg
*.gif
*.log
*.md

.next
.DS_Store
CNAME
AUTHORS
LICENSE
LICENSE

node_modules
es/
lib/
dist/
public/
16 changes: 12 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"semi": true,
"trailingComma": "all"
}
"printWidth": 80,
"trailingComma": "all",
"proseWrap": "never",
"endOfLine": "auto",
"useTabs": false,
"overrides": [
{ "files": ".eslintrc", "options": { "parser": "json" } },
{ "files": ".prettierrc", "options": { "parser": "json" } },
{ "files": ".stylelintrc", "options": { "parser": "json" } }
]
}
23 changes: 23 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"extends": [
"stylelint-config-standard",
"stylelint-config-rational-order",
"stylelint-config-prettier"
],
"plugins": ["stylelint-order"],
"customSyntax": "postcss-less",
"rules": {
"block-no-empty": null,
"function-name-case": "lower",
"comment-empty-line-before": null,
"no-invalid-double-slash-comments": null,
"no-descending-specificity": null,
"declaration-empty-line-before": null,
"no-duplicate-selectors": null,
"value-no-vendor-prefix": null,
"selector-pseudo-class-no-unknown": null,
"selector-class-pattern": null,
"keyframes-name-pattern": null,
"number-max-precision": null
}
}
Loading

0 comments on commit cf157cd

Please sign in to comment.