Compare commits
33
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ae0bc241e | ||
|
|
96936a3c73 | ||
|
|
e93172458c | ||
|
|
3b89fff0ef | ||
|
|
7ccf417793 | ||
|
|
8b602ecea1 | ||
|
|
df2425188d | ||
|
|
8a3a914162 | ||
|
|
6377fb376d | ||
|
|
fcfb915e68 | ||
|
|
23afba7612 | ||
|
|
b4928339c6 | ||
|
|
e25a5c7230 | ||
|
|
b75d8585ef | ||
|
|
a1042eaad9 | ||
|
|
03aab93bcd | ||
|
|
e7ab3e05aa | ||
|
|
3392c02184 | ||
|
|
3a63ad9080 | ||
|
|
a49e8e93bc | ||
|
|
60292f0170 | ||
|
|
4cc2062eef | ||
|
|
cfb3d93cab | ||
|
|
4f430bed19 | ||
|
|
8143e4824e | ||
|
|
ba9f42e27f | ||
|
|
b0d774ee94 | ||
|
|
a6e8aa82ab | ||
|
|
8cd6098ebc | ||
|
|
9565d93ebe | ||
|
|
6df116a073 | ||
|
|
bb5f8d0523 | ||
|
|
a900eb4cf4 |
@@ -11,24 +11,13 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: '16'
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Get yarn cache directory path
|
- uses: actions/setup-node@v3
|
||||||
id: yarn-cache-dir-path
|
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
|
||||||
id: yarn-cache
|
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
node-version: '16'
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
cache: yarn
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-yarn-
|
|
||||||
|
|
||||||
- name: Build & Deploy
|
- name: Build & Deploy
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: Update Monaco-editor
|
name: Update Monaco-editor
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'dependabot/npm_and_yarn/develop/monaco-editor-**'
|
- 'dependabot/npm_and_yarn/develop/monaco-editor-**'
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
# Stop : press ctrl + c
|
# Stop : press ctrl + c
|
||||||
# or
|
# or
|
||||||
# docker stop mermaid-live-editor
|
# docker stop mermaid-live-editor
|
||||||
FROM node:17.4.0 as mermaid-live-editor-builder
|
FROM node:17.6.0 as mermaid-live-editor-builder
|
||||||
COPY --chown=node:node . /home
|
COPY --chown=node:node . /home
|
||||||
WORKDIR /home
|
WORKDIR /home
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
|
|||||||
@@ -46,7 +46,9 @@ describe('Save History', () => {
|
|||||||
cy.get('#historyList').contains('No items in History');
|
cy.get('#historyList').contains('No items in History');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should auto save history', () => {
|
// TODO: Fix #639
|
||||||
|
// eslint-disable-next-line mocha/no-skipped-tests
|
||||||
|
xit('should auto save history', () => {
|
||||||
cy.get('#editor').type(' C --> HistoryTest');
|
cy.get('#editor').type(' C --> HistoryTest');
|
||||||
cy.tick(70000);
|
cy.tick(70000);
|
||||||
cy.contains('Timeline').click();
|
cy.contains('Timeline').click();
|
||||||
|
|||||||
+18
-18
@@ -15,36 +15,36 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@cypress/snapshot": "^2.1.7",
|
"@cypress/snapshot": "^2.1.7",
|
||||||
"@sveltejs/adapter-static": "1.0.0-next.26",
|
"@sveltejs/adapter-static": "1.0.0-next.28",
|
||||||
"@sveltejs/kit": "1.0.0-next.260",
|
"@sveltejs/kit": "1.0.0-next.278",
|
||||||
"@types/mermaid": "^8.2.7",
|
"@types/mermaid": "^8.2.7",
|
||||||
"@types/pako": "^1.0.3",
|
"@types/pako": "^1.0.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
||||||
"@typescript-eslint/parser": "^4.33.0",
|
"@typescript-eslint/parser": "^4.33.0",
|
||||||
"autoprefixer": "^10.4.2",
|
"autoprefixer": "^10.4.2",
|
||||||
"chai": "^4.3.6",
|
"chai": "^4.3.6",
|
||||||
"cssnano": "^5.0.16",
|
"cssnano": "^5.0.17",
|
||||||
"cypress": "9.4.1",
|
"cypress": "9.5.0",
|
||||||
"cypress-localstorage-commands": "^1.6.1",
|
"cypress-localstorage-commands": "^1.7.0",
|
||||||
"eslint": "^7.32.0",
|
"eslint": "^7.32.0",
|
||||||
"eslint-config-prettier": "^8.1.0",
|
"eslint-config-prettier": "^8.4.0",
|
||||||
"eslint-plugin-cypress": "^2.12.1",
|
"eslint-plugin-cypress": "^2.12.1",
|
||||||
"eslint-plugin-es": "^4.1.0",
|
"eslint-plugin-es": "^4.1.0",
|
||||||
"eslint-plugin-mocha": "^10.0.3",
|
"eslint-plugin-mocha": "^10.0.3",
|
||||||
"eslint-plugin-postcss-modules": "^2.0.0",
|
"eslint-plugin-postcss-modules": "^2.0.0",
|
||||||
"eslint-plugin-svelte3": "^3.4.0",
|
"eslint-plugin-svelte3": "^3.4.1",
|
||||||
"eslint-plugin-tailwindcss": "^3.4.3",
|
"eslint-plugin-tailwindcss": "^3.5.0",
|
||||||
"husky": "^7.0.4",
|
"husky": "^7.0.4",
|
||||||
"lint-staged": "^12.3.3",
|
"lint-staged": "^12.3.4",
|
||||||
"mocha": "^9.2.0",
|
"mocha": "^9.2.1",
|
||||||
"node-html-parser": "^5.2.0",
|
"node-html-parser": "^5.2.0",
|
||||||
"postcss": "^8.4.6",
|
"postcss": "^8.4.7",
|
||||||
"postcss-load-config": "^3.1.1",
|
"postcss-load-config": "^3.1.3",
|
||||||
"prettier": "~2.5.1",
|
"prettier": "~2.5.1",
|
||||||
"prettier-plugin-svelte": "^2.6.0",
|
"prettier-plugin-svelte": "^2.6.0",
|
||||||
"svelte": "^3.46.4",
|
"svelte": "^3.46.4",
|
||||||
"svelte-preprocess": "^4.10.2",
|
"svelte-preprocess": "^4.10.4",
|
||||||
"tailwindcss": "^3.0.18",
|
"tailwindcss": "^3.0.21",
|
||||||
"tslib": "^2.3.1",
|
"tslib": "^2.3.1",
|
||||||
"typescript": "^4.5.5"
|
"typescript": "^4.5.5"
|
||||||
},
|
},
|
||||||
@@ -52,12 +52,12 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@analytics/google-analytics": "^0.5.3",
|
"@analytics/google-analytics": "^0.5.3",
|
||||||
"@macfja/svelte-persistent-store": "^1.2.0",
|
"@macfja/svelte-persistent-store": "^1.2.0",
|
||||||
"analytics": "^0.7.21",
|
"analytics": "^0.8.0",
|
||||||
"daisyui": "1.25.4",
|
"daisyui": "2.2.2",
|
||||||
"js-base64": "^3.7.2",
|
"js-base64": "^3.7.2",
|
||||||
"mermaid": "8.13.10",
|
"mermaid": "8.14.0",
|
||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
"monaco-editor": "^0.32.0",
|
"monaco-editor": "^0.32.1",
|
||||||
"monaco-mermaid": "^1.0.3",
|
"monaco-mermaid": "^1.0.3",
|
||||||
"pako": "2.0.4",
|
"pako": "2.0.4",
|
||||||
"random-word-slugs": "^0.1.6"
|
"random-word-slugs": "^0.1.6"
|
||||||
|
|||||||
+7
-7
@@ -11,31 +11,31 @@
|
|||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="Simplify documentation and avoid heavy tools. Open source Visio Alternative. Commonly used for explaining your code! Mermaid is a simple markdown-like script language for generating charts from text via javascript." />
|
content="Simplify documentation and avoid heavy tools. Open source Visio Alternative. Commonly used for explaining your code! Mermaid is a simple markdown-like script language for generating charts from text via javascript." />
|
||||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
<link rel="icon" type="image/png" href="favicon.png" />
|
||||||
<link rel="manifest" href="/manifest.json" />
|
<link rel="manifest" href="manifest.json" />
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" />
|
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" />
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.0/min/vs/editor/editor.main.min.css"
|
href="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.1/min/vs/editor/editor.main.min.css"
|
||||||
crossorigin="anonymous"
|
crossorigin="anonymous"
|
||||||
referrerpolicy="no-referrer" />
|
referrerpolicy="no-referrer" />
|
||||||
<script>
|
<script>
|
||||||
var require = {
|
var require = {
|
||||||
paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.0/min/vs' }
|
paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.1/min/vs' }
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<script
|
<script
|
||||||
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.0/min/vs/loader.min.js"
|
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.1/min/vs/loader.min.js"
|
||||||
crossorigin="anonymous"
|
crossorigin="anonymous"
|
||||||
referrerpolicy="no-referrer"></script>
|
referrerpolicy="no-referrer"></script>
|
||||||
<script
|
<script
|
||||||
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.0/min/vs/editor/editor.main.nls.min.js"
|
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.1/min/vs/editor/editor.main.nls.min.js"
|
||||||
crossorigin="anonymous"
|
crossorigin="anonymous"
|
||||||
referrerpolicy="no-referrer"></script>
|
referrerpolicy="no-referrer"></script>
|
||||||
<script
|
<script
|
||||||
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.0/min/vs/editor/editor.main.js"
|
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.1/min/vs/editor/editor.main.js"
|
||||||
crossorigin="anonymous"
|
crossorigin="anonymous"
|
||||||
referrerpolicy="no-referrer"></script>
|
referrerpolicy="no-referrer"></script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user