pbi-cli/.github/workflows
Mina Saad a72a13ef07
Some checks are pending
CI / lint (push) Waiting to run
CI / typecheck (push) Waiting to run
CI / test (windows-latest, 3.10) (push) Waiting to run
CI / test (windows-latest, 3.12) (push) Waiting to run
CI / test (windows-latest, 3.13) (push) Waiting to run
Custom Visual SDK Smoke / pbiviz-end-to-end (push) Waiting to run
ci: install pbiviz locally so webpack resolves ts-loader (#5)
* ci: install pbiviz locally so webpack resolves ts-loader

When powerbi-visuals-tools is invoked via npx, npx unpacks it to a
cached location with its own node_modules. But pbiviz's webpack config
sets resolveLoader to look in the project's node_modules at
package-time, so ts-loader/webpack can't be resolved and pbiviz package
fails with: "Module not found: Error: Can't resolve 'ts-loader'".

Installing powerbi-visuals-tools as a local devDependency in the
scaffolded project brings the full loader chain into ./node_modules
where webpack expects it. We then call ./node_modules/.bin/pbiviz
directly instead of npx.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ci: populate required pbiviz.json metadata before package step

pbiviz package strict-validates author.name, author.email, description,
and supportUrl. The 'pbiviz new' scaffold leaves these blank, so the
smoke run failed with 'Author name is not specified' etc. Injecting
placeholder values via inline Node so the smoke can complete.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 00:14:53 +03:00
..
ci.yml fix: resolve CI failures (formatting, mypy, Windows-only tests) 2026-03-27 07:28:44 +02:00
custom-visual-smoke.yml ci: install pbiviz locally so webpack resolves ts-loader (#5) 2026-05-04 00:14:53 +03:00
downloads-chart.yml fix: use PAT to bypass branch protection in downloads chart workflow 2026-04-12 12:28:37 +02:00
release.yml feat: add REPL mode, test suite, CI/CD, and Claude Skills (Sprints 6-8) 2026-03-26 13:54:24 +02:00