-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#### Changelog: * Fix: Execution output now works as expected (probably). * Chore: Update frontend dependencies. * Chore: Add babel config. * Chore: Update eslint config. * Chore: Add vue and corejs dev dependencies. * Chore(docs): Migrate to `sphinxcontrib-openapi` for building schema docs. * Chore(docs): Add information about admin in installation.rst * Refactor: Remove `OldLinesMixin`, use script setup and use `useAutoUpdate`. See merge request polemarch/ce!296
- Loading branch information
Showing
17 changed files
with
369 additions
and
440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,36 @@ | ||
module.exports = { | ||
presets: ['@babel/preset-env'], | ||
plugins: [ | ||
'@babel/plugin-transform-runtime', | ||
], | ||
}; | ||
if (process.env.APP_ENV === 'prod') { | ||
module.exports = { | ||
presets: [ | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
useBuiltIns: 'usage', | ||
corejs: { version: '3.26.1', proposals: true }, | ||
}, | ||
], | ||
], | ||
plugins: [ | ||
[ | ||
'@babel/plugin-transform-runtime', | ||
{ | ||
'corejs': false, | ||
'regenerator': false, | ||
'version': '^7.19.6' | ||
} | ||
], | ||
], | ||
} | ||
} else { | ||
module.exports = { | ||
presets: [ | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
useBuiltIns: 'usage', | ||
corejs: { version: '3.26.1', proposals: true }, | ||
targets: 'last 1 Chrome versions', | ||
}, | ||
], | ||
], | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<template> | ||
<!-- eslint-disable-next-line vue/no-v-html --> | ||
<span v-html="htmlContent" /> | ||
</template> | ||
|
||
<script setup> | ||
import { computed } from 'vue'; | ||
const props = defineProps({ | ||
content: { type: String, required: true }, | ||
}); | ||
const htmlContent = computed(() => { | ||
return spa.colors.ansiToHTML(props.content); | ||
}); | ||
</script> |
Oops, something went wrong.