Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

build: fix frontend build (axios pin + SCSS + nc-vue beta.31) - #15

Merged
rubenvdlinde merged 3 commits into
developmentfrom
feature/build-config-fixes
May 12, 2026
Merged

build: fix frontend build (axios pin + SCSS + nc-vue beta.31)#15
rubenvdlinde merged 3 commits into
developmentfrom
feature/build-config-fixes

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

What

Three small build-config fixes so npm run build succeeds again:

  1. Pin @nextcloud/axios to ~2.5.22.6.x ships an exports field that webpack 5 chokes on (ERR_PACKAGE_PATH_NOT_EXPORTED).
  2. Bump @conduction/nextcloud-vue to ^1.0.0-beta.31 — the published manifest-renderer family (CnAppRoot / useAppManifest / validateManifest).
  3. Add sass + sass-loader devDeps and a .scss webpack rule — schema-editor sub-editors use <style lang="scss">.

Regenerated package-lock.json.

Verification

NODE_ENV=production npx webpack --config webpack.config.js → compiles clean (only the pre-existing asset-size warnings), js/openbuilt-main.js (7 MiB) + js/openbuilt-settings.js produced.

Notes

PHPUnit / Newman CI jobs are red on development too (no OpenRegister installed in CI — tracked in #11); not in scope here.

…ump nc-vue

- Pin @nextcloud/axios to ~2.5.2 — 2.6.x ships an "exports" field that
  webpack 5 can't resolve (build fails with ERR_PACKAGE_PATH_NOT_EXPORTED).
- Bump @conduction/nextcloud-vue to ^1.0.0-beta.31 (manifest renderer
  family + the published CnAppRoot/useAppManifest API).
- Add sass + sass-loader devDeps and a .scss webpack rule so components
  can use <style lang="scss"> (schema-editor sub-editors do).
- Regenerate package-lock.json.

Production build now succeeds (npm run build → js/openbuilt-main.js).
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openbuilt @ 87b5732

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

Quality workflow — 2026-05-12 05:46 UTC

Download the full PDF report from the workflow artifacts.

@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openbuilt @ b53a982

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm ✅ 430/430
PHPUnit
Newman
Playwright ⏭️

Quality workflow — 2026-05-12 05:52 UTC

Download the full PDF report from the workflow artifacts.

- The RBAC explainer comment in appinfo/info.xml contained "--force" and
  "--groups" — a double-hyphen, which is illegal inside an XML comment.
  Nextcloud could not parse appinfo ("appinfo file cannot be read") and the
  whole app failed to load. Rewrote the comment to drop the literal flags.
- Bump appinfo + package.json version 0.1.0 → 0.2.0 to match the OpenRegister
  config file (lib/Settings/openbuilt_register.json info.version) and to
  re-trigger the register-import + seed repair steps on deployed instances
  after the schema-editor / versioning / rbac / export chain.
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openbuilt @ ffec270

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm ✅ 430/430
PHPUnit
Newman
Playwright ⏭️

Coverage: 0% (0/19 statements)


Quality workflow — 2026-05-12 05:56 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit 5e9ffa4 into development May 12, 2026
35 of 49 checks passed
@rubenvdlinde
rubenvdlinde deleted the feature/build-config-fixes branch May 12, 2026 05:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant