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
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:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user