aboutsummaryrefslogtreecommitdiffstats
path: root/language-web/yarn.lock
Commit message (Collapse)AuthorAge
* build: move to yarn workspacesLibravatar Kristóf Marussy2021-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The root project (worktree) must have a valid package.json, .yarnrc.yaml, and have the gradle precompiled script plugin refinery-frontend-worktree applied to it. All frontend modules (workspaces) must have a valid package.json, be referenced in the worktree project.json, and be a valid gradle subproject with the gradle precompiled script plugin refinery-frontend-workspace applied to it. To reduce unnecessary downloads, we do the following workarounds: * The node version is pinned in gradle.properties and the installed node version is stored in .node/frontend.properties. A new node version is only downloaded if it differs from the installed one (or none is installed). This improves on the default gradle behavior, which would download a new node version if the classpath of the installNode task was changed. * The yarn classic version is pinned in gradle.properties and the installed yarn classic version is stored in .node/frontend.properties. This improves on the default gradle behavior, which would reinstall the yarn npm package at every build. * We disable the enableYarnBerry task, since a yarn berry version is already committed into the repository at .yarn/versions as it is recommended in http://yarnpkg.com/getting-started/qa/ * We use yarn set version --only-if-needed in the installYarn task. * The installFrontend task takes package.json and yarn.lock as inputs and produces .pnp.cjs and .pnp.loader.mjs as outputs. Whether this task is up-to-date can be checked by gradle quickly, since it doesn't have to traverse the node_module folder due to pnp resoltion: https://yarnpkg.com/features/pnp/ All workspaces have the installNode, installYarnGlobally, installYarn and installFrontend tasks disabled. However, these tasks depend on the task with the same name in the worktree project, so installation is still triggered globally. Moreover, the installFrontend task in the worktree has the package.json of the workspaces as inputs, so reinstallation is triggered when the workspace package.json changes.
* chore(web): remove eslint-plugin-sonarjsLibravatar Kristóf Marussy2021-11-20
| | | | | It is not compatible with eslint 8 yet: https://github.com/SonarSource/eslint-plugin-sonarjs/issues/286
* build: upgrade to yarn 3Libravatar Kristóf Marussy2021-11-20
| | | | | | | Also upgrades various frontend dependencies. We can't upgrade to typescript 4.5 yet, because https://github.com/yarnpkg/berry/pull/3760 is not released yet.
* chore(web): json validation with zodLibravatar Kristóf Marussy2021-11-16
| | | | | | Use the zod library instead of manually written type assertions for validating json messages from the server. This makes it easier to add and handle new messages.
* chore(web): implicit completion info in grammarLibravatar Kristóf Marussy2021-11-05
| | | | | Move information about which tokens should support implicit completions into the Lezer grammar.
* chore: bump dependency versionsLibravatar Kristóf Marussy2021-10-31
|
* feat(web): semantic highlightingLibravatar Kristóf Marussy2021-10-31
|
* feat(web): server-side content assist filteringLibravatar Kristóf Marussy2021-10-31
|
* feat(web): add xtext websocket clientLibravatar Kristóf Marussy2021-10-31
|
* feat(web): experiment with Lezer parserLibravatar Kristóf Marussy2021-10-31
|
* feat(web): add CodeMirror 6 editorLibravatar Kristóf Marussy2021-10-31
|
* ci(web): add eslint and stylelint to sonarLibravatar Kristóf Marussy2021-10-05
|
* chore(web): bump MUI 5 to released versionLibravatar Kristóf Marussy2021-10-03
|
* chore(web): bump frontend dependencies except MUILibravatar Kristóf Marussy2021-10-03
|
* feat(web): add client-side logging supportLibravatar Kristóf Marussy2021-10-02
| | | | | Also modified langauge-web/src/main/js/xtext/ServiceBuilder.js to make sure the new logger is used as soon as xtext is initialized.
* perf(web): split off CodeMirror chunksLibravatar Kristóf Marussy2021-10-02
| | | | Also optimizes statis asset caching.
* build: migration to Gradle 7Libravatar Kristóf Marussy2021-09-29