yasithdev opened a new pull request, #154:
URL: https://github.com/apache/airavata-portals/pull/154

   ## Summary
   Migrates **django-airavata-workspace-plugin-api** (the `InputEditorMixin` 
API consumed by external workspace plugin apps) from the Vue CLI 5 lib build to 
**Vite 5 library mode**. Builds cleanly on Node 26.
   
   - Pure-JS library (no `.vue`), so no `@vitejs/plugin-vue2` is needed.
   - Outputs **UMD** (`index.umd.js`) + **CJS** (`index.common.js`), preserving 
the package `main`/`module` contract (`dist/` remains 
gitignored/built-on-demand, as before).
   - `django-airavata-api` stays externalized as the `AiravataAPI` global 
(matching the old webpack externals). `output.exports: "named"` keeps the 
documented `import { InputEditorMixin }` usage working.
   - Pins an empty PostCSS config so Vite doesn't walk up into the parent 
workspace app's `autoprefixer` config.
   - Drops `core-js`/`terser`/`browserslist` and the 
`@vue/cli-*`/`webpack`/`vue-loader` devDeps.
   
   ## Test plan
   - `yarn install` + `yarn build` succeed on Node 26; `dist/index.common.js` 
(main) and `dist/index.umd.js` are produced.
   - `yarn lint` clean.
   - No Django template/tests for this package (consumed only by external 
plugin apps).
   
   🤖 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]

Reply via email to