Declare package as ESM (type: module)
Lint info.xml / xml-lint (push) Successful in 20s
Lint PHP / php-lint (8.2) (push) Successful in 48s
Lint PHP / php-lint (8.3) (push) Successful in 40s
Lint PHP / php-lint (8.4) (push) Successful in 36s
PHPUnit / unit-tests (push) Successful in 41s
Build release artifact / package (push) Failing after 1m28s

vite.config.js was being loaded as CommonJS by default, so Vite's
config bundler tried to require() the ESM-only @nextcloud/vite-config
and failed. All our JS already uses import/export syntax.
This commit is contained in:
Patrick Niebeling
2026-08-13 10:50:16 +02:00
parent 431879cba4
commit c081b00205
+1
View File
@@ -2,6 +2,7 @@
"name": "workflow_deck_automation", "name": "workflow_deck_automation",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"type": "module",
"description": "Automates moving overdue Deck cards between stacks, configurable per user.", "description": "Automates moving overdue Deck cards between stacks, configurable per user.",
"scripts": { "scripts": {
"build": "vite build", "build": "vite build",