aboutsummaryrefslogtreecommitdiffstats
path: root/language-web/build.gradle
Commit message (Collapse)AuthorAge
* build: move modules into subproject directoryLibravatar Kristóf Marussy2021-12-12
|
* 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.
* 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.
* build: library and application convetion pluginsLibravatar Kristóf Marussy2021-11-17
|
* build: merge java and junit conventionsLibravatar Kristóf Marussy2021-11-17
| | | | All Java code should have tests, anyways.
* build: move scripts into script pluginsLibravatar Kristóf Marussy2021-11-17
| | | | | Script plugins allow applying other plugins from plugins { } blocks, which simplifies the build script.
* build: use version catalogsLibravatar Kristóf Marussy2021-11-16
| | | | | | | | | | | Gradle version catalogs allow centralized management of dependency artifact coordinates using a toml file. Previously, we use the gradle.properties file, which cannot manage group and name coordinates, only versions. Node and yarn versions still have to be in gradle.properties, because they do not correspond to any coordiates of a maven artifact.
* chore(web): refactor xtext clientLibravatar Kristóf Marussy2021-10-31
|
* test(web): websockets fixes and testsLibravatar Kristóf Marussy2021-10-31
|
* feat(web): push precomputed service resultsLibravatar Kristóf Marussy2021-10-31
|
* feat(web): batched xtext websocket prototypeLibravatar Kristóf Marussy2021-10-31
|
* feat(web): add websocket serverLibravatar Kristóf Marussy2021-10-31
|
* chore(web): remove CodeMirror 5 MWE2 integrationLibravatar Kristóf Marussy2021-10-31
| | | | | CodeMirror 6 uses a hand-writter Lezer parser instead of the stream parser generated by Xtext for CodeMirror 5.
* feat(web): experiment with Lezer parserLibravatar Kristóf Marussy2021-10-31
|
* chore(web): bump Jetty versionLibravatar Kristóf Marussy2021-10-07
| | | | | | | Requred vendoring org.eclipse.xtext.web.servlet as tools.refinery.language.web.xtext due to the javax -> jakarta package name change: https://www.eclipse.org/lists/jetty-announce/msg00149.html
* ci(web): no typescript 4.4 features in SonarLibravatar Kristóf Marussy2021-10-06
| | | | | See https://github.com/SonarSource/SonarJS/issues/2802 and https://community.sonarsource.com/t/sonarcloud-not-picking-up-typescript-files/50832
* ci(web): add eslint and stylelint to sonarLibravatar Kristóf Marussy2021-10-05
|
* chore: change package nameLibravatar Kristóf Marussy2021-10-05
|
* build: refactor task dependenciesLibravatar Kristóf Marussy2021-10-03
|
* build: webpack fixesLibravatar Kristóf Marussy2021-10-01
|
* build: migration to Gradle 7Libravatar Kristóf Marussy2021-09-29
|
* ci: fix typo in Sonar configLibravatar Kristóf Marussy2021-09-24
|
* ci: add GH actions build and SonarScannerLibravatar Kristóf Marussy2021-09-24
|
* Refactor ServerLauncherLibravatar Kristóf Marussy2021-09-20
|
* Add ESLint configLibravatar Kristóf Marussy2021-08-22
|
* Refactoring based on Sonar reportsLibravatar Kristóf Marussy2021-07-29
|
* Install nodejs and npm from GradleLibravatar Kristóf Marussy2021-06-30
|
* Webpack subresource integrityLibravatar Kristóf Marussy2021-06-30
|
* Pin all m2 dependency versionsLibravatar Kristóf Marussy2021-06-29
|
* Add hot module replacement for developmentLibravatar Kristóf Marussy2021-06-29
|
* Generate all files on buildLibravatar Kristóf Marussy2021-06-29
|
* Simplify project layoutLibravatar Kristóf Marussy2021-06-27