Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | chore(deps): bump dependencies | Kristóf Marussy | 2022-12-08 |
| | |||
* | chore(deps): bump dependencies | Kristóf Marussy | 2022-11-22 |
| | |||
* | feat(web): backend URL configuration | Kristóf Marussy | 2022-11-10 |
| | | | | | | | | To point the frontend to a backend server, update the config.json file in the website root. The config.json is generated automatically in debug mode and when running from a standalone jar. | ||
* | refactor(frontend): improve HMR experience | Kristóf Marussy | 2022-11-05 |
| | | | | | | | | Use a HMR acceptor as in https://github.com/vitejs/vite/issues/10227#issuecomment-1256969751 Also updates frontend tooling to the latest version (yarn now support typescript 4.8.4) | ||
* | chore(deps): bump dependencies | Kristóf Marussy | 2022-10-03 |
| | |||
* | refactor(language): clarify containment hierarchy | Kristóf Marussy | 2022-09-14 |
| | |||
* | chore(deps): bump dependencies | Kristóf Marussy | 2022-09-11 |
| | |||
* | refactor(frontend): add eslint-plugin-mobx | Kristóf Marussy | 2022-08-27 |
| | |||
* | chore(deps): bump dependencies | Kristóf Marussy | 2022-08-26 |
| | |||
* | chore(deps): bump frontend dependencies | Kristóf Marussy | 2022-08-15 |
| | |||
* | refactor(frontend): move from Webpack to Vite | Kristóf Marussy | 2022-08-12 |
| | | | | Also overhaulds the building and linting for frontend assets. | ||
* | chore(deps): bump frontend dependencies | Kristóf Marussy | 2022-08-11 |
| | |||
* | chore: bump dependencies | Kristóf Marussy | 2022-07-27 |
| | |||
* | chore(frontend): bump frontend dependencies | Kristóf Marussy | 2021-12-14 |
| | |||
* | build: separate module for frontend | Kristóf Marussy | 2021-12-14 |
| | | | | | This allows us to simplify the webpack configuration and the gradle build scripts. | ||
* | build: move modules into subproject directory | Kristóf Marussy | 2021-12-12 |
| | |||
* | chore(web): bump frontend dependencies | Kristóf Marussy | 2021-12-12 |
| | |||
* | chore: bump typescript to 4.5 | Kristóf Marussy | 2021-11-21 |
| | | | | | Also requires yarn 3.2.0-rc.5 due to https://github.com/yarnpkg/berry/issues/3722 | ||
* | chore: yarn tsserver sdk support | Kristóf Marussy | 2021-11-21 |
| | | | | See https://yarnpkg.com/getting-started/editor-sdks/#emacs for more info | ||
* | build: move to yarn workspaces | Kristóf Marussy | 2021-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. |