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

fix: SCSS support + real Scholiq info.xml + drop broken symlink#2

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/local-build-scss-and-marketing-copy
May 11, 2026
Merged

fix: SCSS support + real Scholiq info.xml + drop broken symlink#2
rubenvdlinde merged 1 commit into
developmentfrom
fix/local-build-scss-and-marketing-copy

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Summary

Three local fixes so v0.1 builds and the app reads as Scholiq instead of "Nextcloud App Template":

  • webpack.config.js: add { test: /\.scss$/, use: ['style-loader', 'css-loader', 'sass-loader'] }. Without it, @conduction/nextcloud-vue components shipping <style lang="scss"> (e.g. CnCard.vue) make webpack fail with Module parse failed: Unexpected token.
  • package.json + lockfile: add sass ^1.99.0 + sass-loader ^16.0.8 to devDeps.
  • appinfo/info.xml: replace template marketing copy (A template for creating new Nextcloud apps) with real Scholiq summary + description covering the v0.1 compliance-audit wedge, Phase 2-5 capabilities, technical foundations, and standards coverage. Both nl + en filled.
  • openspec/schemas/conduction: delete the broken symlink that pointed outside the app tree to ../../../.claude/openspec/schemas/conduction. Came from the template's main branch (already removed on development); blocks docker cp and git archive.

Why

Two issues hit during /app-create scholiq bootstrapping:

  1. HTTP 500 on /apps/scholiq — webpack aborted on the SCSS file, so js/scholiq-*.js bundles didn't exist.
  2. info.xml summary still said "A template for creating new Nextcloud apps" — placeholder substitution only handled identifier tokens.

After this PR: npm run build completes with only entrypoint-size warnings (no errors), and <summary> / <description> show real Scholiq copy.

Companion PRs

  • ConductionNL/nextcloud-app-template#28 — same template fixes upstream so future apps inherit them.
  • ConductionNL/market-intelligence (next) — updates the /app-create skill's placeholder-replacement guide.

Test plan

  • npm run build → 0 errors (entrypoint-size warnings expected, not blocking)
  • docker cp works (no symlink dereference error)
  • Re-sync to NC container + curl /apps/scholiq returns 200 (or 302 to login)
  • CI green

Backports the three template gaps that prevented v0.1 from building +
the marketing-copy issue that left info.xml saying 'A template for
creating new Nextcloud apps'.

Changes:
- webpack.config.js: add SCSS rule (style-loader + css-loader +
  sass-loader). Without this, '@conduction/nextcloud-vue' components
  shipping <style lang=scss> blocks (e.g. CnCard.vue) cause webpack to
  fail with 'Module parse failed: Unexpected token'.
- package.json + package-lock.json: add sass ^1.99.0 and
  sass-loader ^16.0.8 to devDependencies.
- appinfo/info.xml: replace template marketing copy with real Scholiq
  summary + description covering the v0.1 compliance-audit wedge,
  Phase 2-5 capabilities, technical foundations, and standards
  coverage. Both nl + en locales filled.
- openspec/schemas/conduction: delete the broken symlink that pointed
  outside the app tree to '../../../.claude/openspec/schemas/conduction'.
  The symlink came from the template's main branch (already removed
  on development). It blocks docker cp + git-archive tarballs and
  doesn't resolve inside any container.

Result: 'npm run build' completes with only entry-size warnings (no
errors). Visiting /apps/scholiq in NC will no longer 500 once the
rebuilt bundles are synced into the container.

Companion PRs:
- ConductionNL/nextcloud-app-template#28 — adds sass + sass-loader
  to template devDependencies, replaces info.xml marketing copy with
  {APP_NAME} + {APP_SUMMARY} + {APP_DESCRIPTION} placeholders.
- ConductionNL/market-intelligence — updates
  .claude/skills/app-create/references/placeholder-replacement-guide.md
  to substitute the new placeholders from openspec/app-config.json.
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/scholiq @ 9705cbd

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

Quality workflow — 2026-05-11 10:09 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde rubenvdlinde merged commit b50e9a3 into development May 11, 2026
17 of 21 checks passed
@rubenvdlinde rubenvdlinde deleted the fix/local-build-scss-and-marketing-copy branch May 11, 2026 10:57
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