yasithdev opened a new pull request, #156: URL: https://github.com/apache/airavata-portals/pull/156
## Summary Migrates the **workspace** app's **8 page entries** (project-list, dashboard, create-experiment, view-experiment, experiment-list, edit-experiment, edit-project, user-storage) from Vue CLI 5 / webpack to **Vite 5 + @vitejs/plugin-vue2** (Vue 2.7). Builds cleanly on Node 26. This is the last app frontend in the Track C Vite migration. - The `django-webpack-stats` plugin emits a django-webpack-loader-compatible `webpack-stats.json` (walking each entry's static-import closure for CSS); `base.html` loads each page via `<script type="module">` and drops the dead `chunk-vendors`/`chunk-common` references. - sass is handled natively by Vite (`quietDeps` preserved). Drops `core-js`/`terser`/`browserslist` and the `@vue/cli-*`/`webpack`/jest dev tooling. - Removing the Vue CLI toolchain also unblocks `yarn install` on Node 26 — `@achrinza/node-ipc` (a webpack-dev-server transitive) hard-caps node at 19. ## Deferred to Track D (mandatory) Per maintainer direction, two pieces are deferred to Track D, when the portal runs against gRPC and these can be properly verified (documented in `vite.config.js`): - **The web-component build** (`build:wc` / `adpf-*` custom elements). Vue CLI's `--target wc` has no turnkey Vite equivalent and the artifact is **externally consumed** by gateway apps. The `js/web-components/` source is left untouched. - **The unit tests.** Vitest could not resolve the linked source packages' extensionless internal imports in this app's setup (multiple approaches tried; the identical pattern works in `admin`). The test script/devDeps were removed and the spec files left in place for Track D to migrate (jest → vitest), including converting `store.spec.js`'s `done`-callback tests. ## Test plan - `yarn install` + `yarn build` succeed on Node 26; stats lists all 8 entries with the shared `css/index.css`. - `yarn lint` clean. - `base.html`, `dashboard.html`, and `wc-base.html` compile; offline render emits correct `<link>`/`<script type="module">` per `bundle_name`. - `manage.py check` — no issues. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
