Eduard Heimbuch
289175331f
Fix es lint errors and warnings and enforce es lint as build breaker. ( #1878 )
...
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com >
2021-12-09 09:12:02 +01:00
Sebastian Sdorra
2938074e1a
Update to webpack v5 ( #1848 )
...
Update webpack in the following components to version 5:
ui-styles (StyleGuide)
ui-components (Storybook)
ui-scripts (gradle run/build)
This change will also fix a circular dependency between ui-api and ui-components.
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com >
2021-11-10 10:10:17 +01:00
René Pfeuffer
41cbe536c9
Remove unnecessary environment ( #1844 )
...
The 'NOVE_ENV' is set by the gradle run task already
and therefore is redundant here.
2021-11-03 15:10:02 +01:00
Konstantin Schaper
ad458567b5
restrict markdown linting to docs
2021-04-22 10:04:09 +02:00
Konstantin Schaper
29f4c754bb
Lint markdown files
2021-04-14 15:24:15 +02:00
Sebastian Sdorra
5fc1f705b1
Add wrapper around webpack-dev-server
...
The wrapper watches the parent process id and if it changes the dev-server is stopped.
2021-01-14 12:01:34 +01:00
Sebastian Sdorra
1ef0b42eb5
Move plugin build modules to external repositories ( #1462 )
...
This pull request moves plugin build dependencies to separate repositories:
babel-preset -> https://github.com/scm-manager/babel-preset
eslint-config -> https://github.com/scm-manager/eslint-config
jest-preset -> https://github.com/scm-manager/jest-preset
prettier-config -> https://github.com/scm-manager/prettier-config
tsconfig -> https://github.com/scm-manager/tsconfig
This should speed up the build (a little bit) and prepare for gradle plugins.
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com >
2020-12-09 11:35:40 +01:00
Konstantin Schaper
17f5f4b46e
implement custom highlighting theme
2020-10-12 18:53:31 +02:00
Konstantin Schaper
a043e7f805
Merge remote-tracking branch 'origin/feature/annotate_prismjs' into feature/syntax-highlighting
...
# Conflicts:
# package.json
# scm-ui/eslint-config/package.json
# scm-ui/ui-components/src/SyntaxHighlighter.tsx
# scm-ui/ui-components/src/repos/annotate/Annotate.tsx
# scm-ui/ui-plugins/package.json
# yarn.lock
2020-10-12 11:23:56 +02:00
Konstantin Schaper
b36d6a5da0
update gitdiff-parser dependency version
2020-09-09 11:50:41 +02:00
Sebastian Sdorra
d6a5c54aba
Create junit reports for cypress test and do not fail the build
2020-08-25 11:17:05 +02:00
Sebastian Sdorra
1a885b64c6
Execute e2e tests as part of scm-it
2020-08-25 08:44:38 +02:00
Sebastian Sdorra
d6d8b7ca8c
reenable pre-commit linting of js, ts and tsx files
2020-07-31 11:12:31 +02:00
Sebastian Sdorra
a4e6e4186a
replace highlightjs with prismjs
2020-06-16 21:04:07 +02:00
Sebastian Sdorra
5ad593beca
execute eslint tests as part of the build
2020-06-16 07:45:54 +02:00
René Pfeuffer
4948f26b8e
Use fixed version of gitdiff parser
2020-05-20 11:25:35 +02:00
René Pfeuffer
9c86107674
Use fixed version of gitparser
2020-05-19 09:56:24 +02:00
Sebastian Sdorra
3a8ae34e89
split lowlight languages out of the worker bundle
2020-01-27 13:30:46 +01:00
Sebastian Sdorra
2f48087f13
enable react fast refresh for core ui
2020-01-13 21:38:28 +01:00
Sebastian Sdorra
779a2004a0
use new version of gitdiff-parser, to fix wrong type of binary diffs
2020-01-09 16:49:03 +01:00
Sebastian Sdorra
6f535f9577
rename version script ot set-version in order to avoid wrong execution durring deploy
2019-12-04 09:43:06 +01:00
Rene Pfeuffer
9c4d49b39f
Add script to change versions in package.json with lerna
2019-11-29 11:41:04 +01:00
Sebastian Sdorra
6da13b651c
try to fix ci build, by adding name root to top package.json
...
see https://github.com/lerna/lerna/issues/1835
2019-10-23 15:35:25 +02:00
Sebastian Sdorra
1ed3cb87ee
added script to typecheck all ui-* packages
2019-10-20 17:00:19 +02:00
Sebastian Sdorra
6e7a08a3bb
use reflow to migrate from flow to typescript
2019-10-19 16:38:07 +02:00
Sebastian Sdorra
453010c633
expose redux and react-redux nad fixed ui deployment
2019-10-16 12:11:52 +02:00
Sebastian Sdorra
f6c4564a0c
merge with 2.0.0-m3
2019-10-16 10:03:13 +02:00
Sebastian Sdorra
cab5d6c863
start implementation of ui-scripts
2019-10-14 16:00:50 +02:00
Sebastian Sdorra
00117955e7
added shared prettier config
2019-10-14 11:58:18 +02:00
Sebastian Sdorra
7073a4334d
fix collecting coverage for jest tests
2019-10-14 11:06:23 +02:00
Sebastian Sdorra
b79249c20b
fix wrong import of fetch-mock
2019-10-13 12:28:21 +02:00
Sebastian Sdorra
631f2f6482
implemented jest-preset
2019-10-10 14:32:37 +02:00
Sebastian Sdorra
41e0acfa58
fix gitdiff-parser dependency resolution
2019-10-09 20:46:12 +02:00
Sebastian Sdorra
1607c76b37
use date-dns instead of moment
2019-10-09 15:51:49 +02:00
Sebastian Sdorra
6a2ad50be1
update react-syntax-highlighter and split languages out of webapp bundle
2019-10-09 14:19:26 +02:00
Sebastian Sdorra
e1390d68c9
jest configuration for ui-packages
2019-10-09 10:19:46 +02:00
Sebastian Sdorra
3167b599cd
use caches to speedup livereload
2019-10-09 07:43:34 +02:00
Sebastian Sdorra
bdc9763a8c
improve webpack-dev-server performance
2019-10-08 16:01:31 +02:00
Sebastian Sdorra
aac264224c
configure flow
2019-10-08 14:02:01 +02:00
Sebastian Sdorra
7ec1a8dd01
remove old references
2019-10-08 09:44:19 +02:00
Sebastian Sdorra
f218e8b64c
addded central eslint-config
2019-10-08 09:29:11 +02:00
Sebastian Sdorra
6e99182b4e
use new plugin bundle format
2019-10-07 17:06:00 +02:00
Sebastian Sdorra
c05798e254
scm-ui: new repository layout
2019-10-07 10:57:09 +02:00