Skip to content

Modernize build tooling: migrate to @rollup/* plugins, Lit 3, HA-WS 9, ES module output#12

Merged
Misiu merged 8 commits intomodernizefrom
copilot/modernize-scheduler-card-dependencies
Apr 2, 2026
Merged

Modernize build tooling: migrate to @rollup/* plugins, Lit 3, HA-WS 9, ES module output#12
Misiu merged 8 commits intomodernizefrom
copilot/modernize-scheduler-card-dependencies

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 24, 2026

  • Restore all prettier-formatted files to their pre-formatting state (0e2a47a): src/**, dist/, .eslintrc.js, .prettierrc, .github/, CONTRIBUTING.md, README.md, hacs.json
  • Keep intentional config changes: package.json, rollup.config.mjs, .browserslistrc, .prettierignore, tsconfig.json
  • Verified clean build

⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.

Copilot AI changed the title [WIP] Modernize scheduler-card dependency management and tooling Modernize build tooling: migrate to @rollup/* plugins, Lit 3, HA-WS 9, ES module output Mar 24, 2026
Copilot AI requested a review from Misiu March 24, 2026 21:05
… initial prettier formatting

Agent-Logs-Url: https://github.com/Misiu/scheduler-card/sessions/593ad03f-ee2e-4b5c-8698-00f961dea337

Co-authored-by: Misiu <1741838+Misiu@users.noreply.github.com>
Copilot finished work on behalf of Misiu April 1, 2026 17:27
@Misiu
Copy link
Copy Markdown
Owner

Misiu commented Apr 2, 2026

@copilot you messed package.json, we don't have docker (please check that), also I liked how we checked everything while doing build, keep that.
do another pass on mushroom and scheduler card.. do not overcomplitate, do not add things we don't use, we will add extra things later

Copy link
Copy Markdown
Author

Copilot AI commented Apr 2, 2026

@copilot you messed package.json, we don't have docker (please check that), also I liked how we checked everything while doing build, keep that.
do another pass on mushroom and scheduler card.. do no...

Fixed in commit cfe1aa2:

  • Removed the three start:hass-* docker scripts — we don't use docker
  • Restored build to run lint && format && rollup before building (matching original)
  • Simplified rollup script back to rollup -c (the --bundleConfigAsCjs flag is not needed since the config is now a native .mjs ES module)
  • Restored format scope to prettier --write '**/*.ts' (matching original)

The scripts now match the original pattern, just wired to the modernized rollup/babel/typescript plugins.

Copilot finished work on behalf of Misiu April 2, 2026 06:06
Misiu added 2 commits April 2, 2026 10:14
- Refactor build script in package.json to use rollup with CJS config
- Introduce build:full script for linting, formatting, and building
- Update ESLint configuration to use @eslint/js and typescript-eslint
- Add GitHub Actions workflow for build checks on pull requests and pushes
- Create eslint.config.mjs with custom rules and ignore patterns
- Modify rollup.config.mjs to target ES modules
@Misiu Misiu marked this pull request as ready for review April 2, 2026 08:18
@Misiu Misiu merged commit 6d8a293 into modernize Apr 2, 2026
4 of 6 checks passed
@Misiu Misiu deleted the copilot/modernize-scheduler-card-dependencies branch April 2, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants