Skip to content

main#1

Merged
devCluna merged 6 commits into
developmentfrom
main
Apr 4, 2026
Merged

main#1
devCluna merged 6 commits into
developmentfrom
main

Conversation

@devCluna
Copy link
Copy Markdown
Owner

@devCluna devCluna commented Apr 4, 2026

Summary by CodeRabbit

  • Chores

    • Added automated dependency management with weekly scheduled updates for npm packages and GitHub Actions
    • Added continuous integration workflow to automatically test and validate code changes
  • Tests

    • Enhanced TypeScript type checking across admin components for improved type safety and code reliability

devCluna added 4 commits April 3, 2026 21:05
Runs on every push and PR across all branches. Checks:
- TypeScript (server + admin)
- Build
- Strapi plugin verify
- Version not already published on npm
- Dry run publish

publish.yml now requires CI to pass before publishing to npm.
- Fix test:ts:front and test:ts:back scripts to use npx tsc (was yarn-only syntax)
- Add explicit types for implicit any parameters caught by the type check:
  MouseEvent on DropZone drag handle click
  boolean on Modal.Root onOpenChange in EmbedModal and FormPreview
  string | number on SingleSelect onChange in FieldSettingsPanel and SubmissionsPage
…gnore

Rollup was resolving register.js (and other compiled .js files) instead
of the .ts sources, causing 'default is not exported' build failures in CI.
Deleted all .js artifacts from server/src and admin/src and added them
to .gitignore so they are never committed again.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 4, 2026

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

Added GitHub Actions workflows for CI/CD (running tests, builds, and verification on pushes/PRs) and Dependabot configuration for automated weekly npm and GitHub Actions dependency updates targeting the development branch. Enhanced TypeScript type safety across admin components with explicit parameter type annotations and updated npm test scripts to use npx tsc --noEmit.

Changes

Cohort / File(s) Summary
GitHub Actions & Automation
.github/dependabot.yml, .github/workflows/ci.yml, .github/workflows/publish.yml
Added Dependabot configuration for weekly dependency updates with grouping rules for Strapi, dnd-kit, and React packages. Created new CI workflow running TypeScript checks, builds, and dry-run publish. Updated publish workflow to depend on CI job completion.
TypeScript Type Annotations
admin/src/components/DropZone.tsx, admin/src/components/EmbedModal.tsx, admin/src/components/FieldSettingsPanel.tsx, admin/src/components/FormPreview.tsx, admin/src/pages/SubmissionsPage.tsx
Added explicit type annotations to event and callback handlers: React.MouseEvent on click handlers and boolean / `string
Build & Configuration Updates
.gitignore, package.json
Extended .gitignore to exclude compiled JavaScript from TypeScript source directories (server/src/**/*.js, admin/src/**/*.js). Updated TypeScript test scripts to use npx tsc --noEmit for both front-end and back-end targets.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 With workflows now scripted and types made so clear,
Dependencies dance on a schedule each year,
The CI takes charge with a test-driven way,
No rogue artifacts lurk to spoil the day!

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title 'main' is a single word that does not describe any of the changes in the pull request, which include CI/CD workflow setup, Dependabot configuration, TypeScript type annotations, and build tooling updates. Replace the title with a descriptive summary of the main changes, such as 'Set up CI/CD workflows, Dependabot automation, and TypeScript type annotations' or focus on the primary objective.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch main

Comment @coderabbitai help to get the list of available commands and usage tips.

devCluna added 2 commits April 3, 2026 21:25
…tion

Without --noEmit, tsc outputs .js files next to the .ts sources.
Rollup then resolves the CJS .js files instead of the .ts sources and
fails with 'default is not exported' on the CommonJS interop boundary.
Push trigger now only fires on main, development and production.
Feature branches are covered by the pull_request trigger alone,
so CI no longer runs twice when pushing to an open PR.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 4, 2026

Note

Docstrings generation - SUCCESS
Generated docstrings for this pull request at #2

coderabbitai Bot added a commit that referenced this pull request Apr 4, 2026
Docstrings generation was requested by @devCluna.

* #1 (comment)

The following files were modified:

* `admin/src/components/DropZone.tsx`
* `admin/src/components/EmbedModal.tsx`
* `admin/src/components/FieldSettingsPanel.tsx`
* `admin/src/components/FormPreview.tsx`
* `admin/src/pages/SubmissionsPage.tsx`
@coderabbitai coderabbitai Bot mentioned this pull request Apr 4, 2026
@devCluna devCluna self-assigned this Apr 4, 2026
@devCluna devCluna added the enhancement New feature or request label Apr 4, 2026
@devCluna devCluna merged commit d45c5c7 into development Apr 4, 2026
3 of 4 checks passed
@devCluna devCluna deleted the main branch April 4, 2026 02:32
devCluna added a commit that referenced this pull request Apr 4, 2026
* ci: add CI workflow with type check, build, verify and dry-run publish

Runs on every push and PR across all branches. Checks:
- TypeScript (server + admin)
- Build
- Strapi plugin verify
- Version not already published on npm
- Dry run publish

publish.yml now requires CI to pass before publishing to npm.

* fix: replace yarn run -T with npx tsc and fix implicit any type errors

- Fix test:ts:front and test:ts:back scripts to use npx tsc (was yarn-only syntax)
- Add explicit types for implicit any parameters caught by the type check:
  MouseEvent on DropZone drag handle click
  boolean on Modal.Root onOpenChange in EmbedModal and FormPreview
  string | number on SingleSelect onChange in FieldSettingsPanel and SubmissionsPage

* ci: add Dependabot for npm and GitHub Actions weekly updates

* fix: remove stale compiled JS files from src and ignore them in .gitignore

Rollup was resolving register.js (and other compiled .js files) instead
of the .ts sources, causing 'default is not exported' build failures in CI.
Deleted all .js artifacts from server/src and admin/src and added them
to .gitignore so they are never committed again.

* fix: add --noEmit to tsc type-check scripts to prevent JS file generation

Without --noEmit, tsc outputs .js files next to the .ts sources.
Rollup then resolves the CJS .js files instead of the .ts sources and
fails with 'default is not exported' on the CommonJS interop boundary.

* ci: prevent double CI run on PR branches

Push trigger now only fires on main, development and production.
Feature branches are covered by the pull_request trigger alone,
so CI no longer runs twice when pushing to an open PR.

* 📝 Add docstrings to `main`

Docstrings generation was requested by @devCluna.

* #1 (comment)

The following files were modified:

* `admin/src/components/DropZone.tsx`
* `admin/src/components/EmbedModal.tsx`
* `admin/src/components/FieldSettingsPanel.tsx`
* `admin/src/components/FormPreview.tsx`
* `admin/src/pages/SubmissionsPage.tsx`

---------

Co-authored-by: dev.cluna <dev.cluna@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
devCluna added a commit that referenced this pull request Apr 4, 2026
* main (#1)

* ci: add CI workflow with type check, build, verify and dry-run publish

Runs on every push and PR across all branches. Checks:
- TypeScript (server + admin)
- Build
- Strapi plugin verify
- Version not already published on npm
- Dry run publish

publish.yml now requires CI to pass before publishing to npm.

* fix: replace yarn run -T with npx tsc and fix implicit any type errors

- Fix test:ts:front and test:ts:back scripts to use npx tsc (was yarn-only syntax)
- Add explicit types for implicit any parameters caught by the type check:
  MouseEvent on DropZone drag handle click
  boolean on Modal.Root onOpenChange in EmbedModal and FormPreview
  string | number on SingleSelect onChange in FieldSettingsPanel and SubmissionsPage

* ci: add Dependabot for npm and GitHub Actions weekly updates

* fix: remove stale compiled JS files from src and ignore them in .gitignore

Rollup was resolving register.js (and other compiled .js files) instead
of the .ts sources, causing 'default is not exported' build failures in CI.
Deleted all .js artifacts from server/src and admin/src and added them
to .gitignore so they are never committed again.

* fix: add --noEmit to tsc type-check scripts to prevent JS file generation

Without --noEmit, tsc outputs .js files next to the .ts sources.
Rollup then resolves the CJS .js files instead of the .ts sources and
fails with 'default is not exported' on the CommonJS interop boundary.

* ci: prevent double CI run on PR branches

Push trigger now only fires on main, development and production.
Feature branches are covered by the pull_request trigger alone,
so CI no longer runs twice when pushing to an open PR.

* 📝 Add docstrings to `main` (#2)

* ci: add CI workflow with type check, build, verify and dry-run publish

Runs on every push and PR across all branches. Checks:
- TypeScript (server + admin)
- Build
- Strapi plugin verify
- Version not already published on npm
- Dry run publish

publish.yml now requires CI to pass before publishing to npm.

* fix: replace yarn run -T with npx tsc and fix implicit any type errors

- Fix test:ts:front and test:ts:back scripts to use npx tsc (was yarn-only syntax)
- Add explicit types for implicit any parameters caught by the type check:
  MouseEvent on DropZone drag handle click
  boolean on Modal.Root onOpenChange in EmbedModal and FormPreview
  string | number on SingleSelect onChange in FieldSettingsPanel and SubmissionsPage

* ci: add Dependabot for npm and GitHub Actions weekly updates

* fix: remove stale compiled JS files from src and ignore them in .gitignore

Rollup was resolving register.js (and other compiled .js files) instead
of the .ts sources, causing 'default is not exported' build failures in CI.
Deleted all .js artifacts from server/src and admin/src and added them
to .gitignore so they are never committed again.

* fix: add --noEmit to tsc type-check scripts to prevent JS file generation

Without --noEmit, tsc outputs .js files next to the .ts sources.
Rollup then resolves the CJS .js files instead of the .ts sources and
fails with 'default is not exported' on the CommonJS interop boundary.

* ci: prevent double CI run on PR branches

Push trigger now only fires on main, development and production.
Feature branches are covered by the pull_request trigger alone,
so CI no longer runs twice when pushing to an open PR.

* 📝 Add docstrings to `main`

Docstrings generation was requested by @devCluna.

* #1 (comment)

The following files were modified:

* `admin/src/components/DropZone.tsx`
* `admin/src/components/EmbedModal.tsx`
* `admin/src/components/FieldSettingsPanel.tsx`
* `admin/src/components/FormPreview.tsx`
* `admin/src/pages/SubmissionsPage.tsx`

---------

Co-authored-by: dev.cluna <dev.cluna@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
devCluna added a commit that referenced this pull request Apr 4, 2026
* main (#1)

* ci: add CI workflow with type check, build, verify and dry-run publish

Runs on every push and PR across all branches. Checks:
- TypeScript (server + admin)
- Build
- Strapi plugin verify
- Version not already published on npm
- Dry run publish

publish.yml now requires CI to pass before publishing to npm.

* fix: replace yarn run -T with npx tsc and fix implicit any type errors

- Fix test:ts:front and test:ts:back scripts to use npx tsc (was yarn-only syntax)
- Add explicit types for implicit any parameters caught by the type check:
  MouseEvent on DropZone drag handle click
  boolean on Modal.Root onOpenChange in EmbedModal and FormPreview
  string | number on SingleSelect onChange in FieldSettingsPanel and SubmissionsPage

* ci: add Dependabot for npm and GitHub Actions weekly updates

* fix: remove stale compiled JS files from src and ignore them in .gitignore

Rollup was resolving register.js (and other compiled .js files) instead
of the .ts sources, causing 'default is not exported' build failures in CI.
Deleted all .js artifacts from server/src and admin/src and added them
to .gitignore so they are never committed again.

* fix: add --noEmit to tsc type-check scripts to prevent JS file generation

Without --noEmit, tsc outputs .js files next to the .ts sources.
Rollup then resolves the CJS .js files instead of the .ts sources and
fails with 'default is not exported' on the CommonJS interop boundary.

* ci: prevent double CI run on PR branches

Push trigger now only fires on main, development and production.
Feature branches are covered by the pull_request trigger alone,
so CI no longer runs twice when pushing to an open PR.

* 📝 Add docstrings to `main` (#2)

* ci: add CI workflow with type check, build, verify and dry-run publish

Runs on every push and PR across all branches. Checks:
- TypeScript (server + admin)
- Build
- Strapi plugin verify
- Version not already published on npm
- Dry run publish

publish.yml now requires CI to pass before publishing to npm.

* fix: replace yarn run -T with npx tsc and fix implicit any type errors

- Fix test:ts:front and test:ts:back scripts to use npx tsc (was yarn-only syntax)
- Add explicit types for implicit any parameters caught by the type check:
  MouseEvent on DropZone drag handle click
  boolean on Modal.Root onOpenChange in EmbedModal and FormPreview
  string | number on SingleSelect onChange in FieldSettingsPanel and SubmissionsPage

* ci: add Dependabot for npm and GitHub Actions weekly updates

* fix: remove stale compiled JS files from src and ignore them in .gitignore

Rollup was resolving register.js (and other compiled .js files) instead
of the .ts sources, causing 'default is not exported' build failures in CI.
Deleted all .js artifacts from server/src and admin/src and added them
to .gitignore so they are never committed again.

* fix: add --noEmit to tsc type-check scripts to prevent JS file generation

Without --noEmit, tsc outputs .js files next to the .ts sources.
Rollup then resolves the CJS .js files instead of the .ts sources and
fails with 'default is not exported' on the CommonJS interop boundary.

* ci: prevent double CI run on PR branches

Push trigger now only fires on main, development and production.
Feature branches are covered by the pull_request trigger alone,
so CI no longer runs twice when pushing to an open PR.

* 📝 Add docstrings to `main`

Docstrings generation was requested by @devCluna.

* #1 (comment)

The following files were modified:

* `admin/src/components/DropZone.tsx`
* `admin/src/components/EmbedModal.tsx`
* `admin/src/components/FieldSettingsPanel.tsx`
* `admin/src/components/FormPreview.tsx`
* `admin/src/pages/SubmissionsPage.tsx`

---------

Co-authored-by: dev.cluna <dev.cluna@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Fix GitHub repository URL in README (#16)

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
devCluna added a commit that referenced this pull request Apr 4, 2026
* main (#1)

* ci: add CI workflow with type check, build, verify and dry-run publish

Runs on every push and PR across all branches. Checks:
- TypeScript (server + admin)
- Build
- Strapi plugin verify
- Version not already published on npm
- Dry run publish

publish.yml now requires CI to pass before publishing to npm.

* fix: replace yarn run -T with npx tsc and fix implicit any type errors

- Fix test:ts:front and test:ts:back scripts to use npx tsc (was yarn-only syntax)
- Add explicit types for implicit any parameters caught by the type check:
  MouseEvent on DropZone drag handle click
  boolean on Modal.Root onOpenChange in EmbedModal and FormPreview
  string | number on SingleSelect onChange in FieldSettingsPanel and SubmissionsPage

* ci: add Dependabot for npm and GitHub Actions weekly updates

* fix: remove stale compiled JS files from src and ignore them in .gitignore

Rollup was resolving register.js (and other compiled .js files) instead
of the .ts sources, causing 'default is not exported' build failures in CI.
Deleted all .js artifacts from server/src and admin/src and added them
to .gitignore so they are never committed again.

* fix: add --noEmit to tsc type-check scripts to prevent JS file generation

Without --noEmit, tsc outputs .js files next to the .ts sources.
Rollup then resolves the CJS .js files instead of the .ts sources and
fails with 'default is not exported' on the CommonJS interop boundary.

* ci: prevent double CI run on PR branches

Push trigger now only fires on main, development and production.
Feature branches are covered by the pull_request trigger alone,
so CI no longer runs twice when pushing to an open PR.

* 📝 Add docstrings to `main` (#2)

* ci: add CI workflow with type check, build, verify and dry-run publish

Runs on every push and PR across all branches. Checks:
- TypeScript (server + admin)
- Build
- Strapi plugin verify
- Version not already published on npm
- Dry run publish

publish.yml now requires CI to pass before publishing to npm.

* fix: replace yarn run -T with npx tsc and fix implicit any type errors

- Fix test:ts:front and test:ts:back scripts to use npx tsc (was yarn-only syntax)
- Add explicit types for implicit any parameters caught by the type check:
  MouseEvent on DropZone drag handle click
  boolean on Modal.Root onOpenChange in EmbedModal and FormPreview
  string | number on SingleSelect onChange in FieldSettingsPanel and SubmissionsPage

* ci: add Dependabot for npm and GitHub Actions weekly updates

* fix: remove stale compiled JS files from src and ignore them in .gitignore

Rollup was resolving register.js (and other compiled .js files) instead
of the .ts sources, causing 'default is not exported' build failures in CI.
Deleted all .js artifacts from server/src and admin/src and added them
to .gitignore so they are never committed again.

* fix: add --noEmit to tsc type-check scripts to prevent JS file generation

Without --noEmit, tsc outputs .js files next to the .ts sources.
Rollup then resolves the CJS .js files instead of the .ts sources and
fails with 'default is not exported' on the CommonJS interop boundary.

* ci: prevent double CI run on PR branches

Push trigger now only fires on main, development and production.
Feature branches are covered by the pull_request trigger alone,
so CI no longer runs twice when pushing to an open PR.

* 📝 Add docstrings to `main`

Docstrings generation was requested by @devCluna.

* #1 (comment)

The following files were modified:

* `admin/src/components/DropZone.tsx`
* `admin/src/components/EmbedModal.tsx`
* `admin/src/components/FieldSettingsPanel.tsx`
* `admin/src/components/FormPreview.tsx`
* `admin/src/pages/SubmissionsPage.tsx`

---------




* Fix GitHub repository URL in README (#16)

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
devCluna added a commit that referenced this pull request Apr 4, 2026
* ci: add CI workflow with type check, build, verify and dry-run publish

Runs on every push and PR across all branches. Checks:
- TypeScript (server + admin)
- Build
- Strapi plugin verify
- Version not already published on npm
- Dry run publish

publish.yml now requires CI to pass before publishing to npm.

* fix: replace yarn run -T with npx tsc and fix implicit any type errors

- Fix test:ts:front and test:ts:back scripts to use npx tsc (was yarn-only syntax)
- Add explicit types for implicit any parameters caught by the type check:
  MouseEvent on DropZone drag handle click
  boolean on Modal.Root onOpenChange in EmbedModal and FormPreview
  string | number on SingleSelect onChange in FieldSettingsPanel and SubmissionsPage

* ci: add Dependabot for npm and GitHub Actions weekly updates

* fix: remove stale compiled JS files from src and ignore them in .gitignore

Rollup was resolving register.js (and other compiled .js files) instead
of the .ts sources, causing 'default is not exported' build failures in CI.
Deleted all .js artifacts from server/src and admin/src and added them
to .gitignore so they are never committed again.

* fix: add --noEmit to tsc type-check scripts to prevent JS file generation

Without --noEmit, tsc outputs .js files next to the .ts sources.
Rollup then resolves the CJS .js files instead of the .ts sources and
fails with 'default is not exported' on the CommonJS interop boundary.

* ci: prevent double CI run on PR branches

Push trigger now only fires on main, development and production.
Feature branches are covered by the pull_request trigger alone,
so CI no longer runs twice when pushing to an open PR.
devCluna added a commit that referenced this pull request Apr 4, 2026
* ci: add CI workflow with type check, build, verify and dry-run publish

Runs on every push and PR across all branches. Checks:
- TypeScript (server + admin)
- Build
- Strapi plugin verify
- Version not already published on npm
- Dry run publish

publish.yml now requires CI to pass before publishing to npm.

* fix: replace yarn run -T with npx tsc and fix implicit any type errors

- Fix test:ts:front and test:ts:back scripts to use npx tsc (was yarn-only syntax)
- Add explicit types for implicit any parameters caught by the type check:
  MouseEvent on DropZone drag handle click
  boolean on Modal.Root onOpenChange in EmbedModal and FormPreview
  string | number on SingleSelect onChange in FieldSettingsPanel and SubmissionsPage

* ci: add Dependabot for npm and GitHub Actions weekly updates

* fix: remove stale compiled JS files from src and ignore them in .gitignore

Rollup was resolving register.js (and other compiled .js files) instead
of the .ts sources, causing 'default is not exported' build failures in CI.
Deleted all .js artifacts from server/src and admin/src and added them
to .gitignore so they are never committed again.

* fix: add --noEmit to tsc type-check scripts to prevent JS file generation

Without --noEmit, tsc outputs .js files next to the .ts sources.
Rollup then resolves the CJS .js files instead of the .ts sources and
fails with 'default is not exported' on the CommonJS interop boundary.

* ci: prevent double CI run on PR branches

Push trigger now only fires on main, development and production.
Feature branches are covered by the pull_request trigger alone,
so CI no longer runs twice when pushing to an open PR.

* 📝 Add docstrings to `main`

Docstrings generation was requested by @devCluna.

* #1 (comment)

The following files were modified:

* `admin/src/components/DropZone.tsx`
* `admin/src/components/EmbedModal.tsx`
* `admin/src/components/FieldSettingsPanel.tsx`
* `admin/src/components/FormPreview.tsx`
* `admin/src/pages/SubmissionsPage.tsx`

---------

Co-authored-by: dev.cluna <dev.cluna@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
devCluna added a commit that referenced this pull request Apr 4, 2026
* main (#1)

* ci: add CI workflow with type check, build, verify and dry-run publish

Runs on every push and PR across all branches. Checks:
- TypeScript (server + admin)
- Build
- Strapi plugin verify
- Version not already published on npm
- Dry run publish

publish.yml now requires CI to pass before publishing to npm.

* fix: replace yarn run -T with npx tsc and fix implicit any type errors

- Fix test:ts:front and test:ts:back scripts to use npx tsc (was yarn-only syntax)
- Add explicit types for implicit any parameters caught by the type check:
  MouseEvent on DropZone drag handle click
  boolean on Modal.Root onOpenChange in EmbedModal and FormPreview
  string | number on SingleSelect onChange in FieldSettingsPanel and SubmissionsPage

* ci: add Dependabot for npm and GitHub Actions weekly updates

* fix: remove stale compiled JS files from src and ignore them in .gitignore

Rollup was resolving register.js (and other compiled .js files) instead
of the .ts sources, causing 'default is not exported' build failures in CI.
Deleted all .js artifacts from server/src and admin/src and added them
to .gitignore so they are never committed again.

* fix: add --noEmit to tsc type-check scripts to prevent JS file generation

Without --noEmit, tsc outputs .js files next to the .ts sources.
Rollup then resolves the CJS .js files instead of the .ts sources and
fails with 'default is not exported' on the CommonJS interop boundary.

* ci: prevent double CI run on PR branches

Push trigger now only fires on main, development and production.
Feature branches are covered by the pull_request trigger alone,
so CI no longer runs twice when pushing to an open PR.

* 📝 Add docstrings to `main` (#2)

* ci: add CI workflow with type check, build, verify and dry-run publish

Runs on every push and PR across all branches. Checks:
- TypeScript (server + admin)
- Build
- Strapi plugin verify
- Version not already published on npm
- Dry run publish

publish.yml now requires CI to pass before publishing to npm.

* fix: replace yarn run -T with npx tsc and fix implicit any type errors

- Fix test:ts:front and test:ts:back scripts to use npx tsc (was yarn-only syntax)
- Add explicit types for implicit any parameters caught by the type check:
  MouseEvent on DropZone drag handle click
  boolean on Modal.Root onOpenChange in EmbedModal and FormPreview
  string | number on SingleSelect onChange in FieldSettingsPanel and SubmissionsPage

* ci: add Dependabot for npm and GitHub Actions weekly updates

* fix: remove stale compiled JS files from src and ignore them in .gitignore

Rollup was resolving register.js (and other compiled .js files) instead
of the .ts sources, causing 'default is not exported' build failures in CI.
Deleted all .js artifacts from server/src and admin/src and added them
to .gitignore so they are never committed again.

* fix: add --noEmit to tsc type-check scripts to prevent JS file generation

Without --noEmit, tsc outputs .js files next to the .ts sources.
Rollup then resolves the CJS .js files instead of the .ts sources and
fails with 'default is not exported' on the CommonJS interop boundary.

* ci: prevent double CI run on PR branches

Push trigger now only fires on main, development and production.
Feature branches are covered by the pull_request trigger alone,
so CI no longer runs twice when pushing to an open PR.

* 📝 Add docstrings to `main`

Docstrings generation was requested by @devCluna.

* #1 (comment)

The following files were modified:

* `admin/src/components/DropZone.tsx`
* `admin/src/components/EmbedModal.tsx`
* `admin/src/components/FieldSettingsPanel.tsx`
* `admin/src/components/FormPreview.tsx`
* `admin/src/pages/SubmissionsPage.tsx`

---------




* Fix GitHub repository URL in README (#16)

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant