Skip to content

Conversation

@SanderVanRiessen
Copy link
Collaborator

No description provided.

emielwit and others added 30 commits August 4, 2025 11:10
- Updated all instances of `import program from 'commander'` to `import { Command } from 'commander'` across multiple files.
- Introduced a new build script using Bun to compile TypeScript files from the `src` directory to the `build` directory.
- Changed the main entry point in `package.json` to point to the new TypeScript file structure.
- Added `@types/bun` as a development dependency.
- Removed deprecated files related to function testing and icon conversion.
- Enhanced error handling in various files to provide clearer feedback.
- Removes obsolete `runtimeVersion` option and v2 specific logic.
- Updates dependencies and file handling for increased reliability.
- Ensures consistent error handling by wrapping errors in a standard format.
- Fixes prefab filtering to avoid errors.
- Updates component serving port
Updates `@betty-blocks/cli` and `@betty-blocks/component-sdk` dependencies to their latest versions.

Refactors command argument parsing to use explicit `argument` definitions, improving clarity and maintainability.
Migrates the CI/CD pipeline from Node.js and Yarn to Bun
for improved performance and maintainability.

Updates dependencies and scripts to be compatible with Bun.
Migrates from the deprecated `.eslintrc.js` style to the new flat config file `eslint.config.mjs`.
This involves updating eslint, typescript-eslint and prettier related dependencies to latest version and adjusting the configuration.
Updates prettier scripts for improved readability and maintainability.
Updates the prettier execution command in the CI workflow to use the `fix` script.
Addresses potential null/undefined values by incorporating nullish coalescing operators and optional chaining.

Also, applies minor cleanup:
- Adds missing return type annotations for better type safety.
- Uses destructuring for more concise variable assignment.
- Removes unused imports.
Updates the `validatePrefabs` function to accept a single object containing prefabs, styles, and other configuration options, instead of multiple arguments.

This change improves code readability and maintainability by grouping related parameters into a single object.

Updates tests to reflect the new signature of `validatePrefabs`.
Updates linting and formatting setup.

- Adds prettierignore to ignore build files, node_modules, lock files, changelog, coverage and readme files.
- Updates ci.yml to use format:check and lint:check scripts for checking formatting and linting.
- Updates lint and format scripts in package.json
- Fixes minor code style issues.
This resolves compatibility issues and ensures the application
benefits from the latest features and security patches.
Refactors the `validatePrefabs` and `publish` functions to
accept options objects, improving code clarity and maintainability.
- @babel
- form-data
- fs-extra
- joi
- ora
- prismjs
- serve-handler
Updates minimist dependency to version 1.2.8 for security fixes.

Refactors eslint configuration to improve performance by removing unnecessary ignored paths and simplifies JSDoc comment processing by using TypeScript's factory for more concise object creation.
Refactors code structure for better readability and maintainability across multiple test files.
Updates dependencies to their latest versions, including @types/adm-zip, adm-zip, @types/babel__generator, and @types/babel__traverse.

Increases the timeout for block validation tests to prevent failures due to slow validation.

Adds instructions for local development in the README.
- Improves error handling throughout the CLI, ensuring more informative error messages.
- Moves `stripVTControlCharacters` to `__tests__/utils.ts`
- Updates dependencies in `bun.lock` and `package.json`.
Replaces lodash's kebabCase and other string manipulation libraries with the 'case' package for consistent and more comprehensive string case conversions.

The 'pick' utility function is also introduced to replace lodash's pick.
Refactors test file imports for consistency and improves test assertions for component and interaction compatibility.
Removes the interaction command and related files.

This feature is being removed due to lack of use and to reduce
code complexity.
…NGE: now requires bun instead of yarn and the deprecated commands are removed
s.vanriessen and others added 22 commits September 25, 2025 07:51
* feat: remove custom functions from cli

* chore: remove custom functions code

* feat: add wasm functions template

* chore: remove unused files and functions

* chore: init wasm files

* feat: can init, add new and bump wasm functions

* chore: correct typing and remove isolatedvm test

* feat: publish wasm functions to blockstore

* chore: move wasm functions structure function to functiondef

* test: select js-template in test

* chore: use case lib

* chore: update deps

* fix: split up validation function

* chore: do not retry login for native publish

* chore: resolve feedback

* test: use absolute path for block def

* chore: return empty list if dir not exists

---------

Co-authored-by: s.vanriessen <sander.vanriessen@bettyblocks.com>
# [26.0.0-beta.19](v26.0.0-beta.18...v26.0.0-beta.19) (2025-10-07)

### Bug Fixes

* deploy beta ([0c839ad](0c839ad))
# [26.0.0-beta.20](v26.0.0-beta.19...v26.0.0-beta.20) (2025-10-07)

### Bug Fixes

* split up validation function ([02fca16](02fca16))
* wasm template and validate wasm with validate wasm command ([663eb0b](663eb0b))

### Features

* add wasm functions template ([4df3712](4df3712))
* can init, add new and bump wasm functions ([7becd9b](7becd9b))
* publish wasm functions to blockstore ([9c1dd61](9c1dd61))
* remove custom functions from cli ([159e827](159e827))
@bettyblocks-release-bot
Copy link
Collaborator

🎉 This PR is included in version 26.0.0-beta.20 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 7, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots
13.4% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@jrquak jrquak merged commit eb6ee09 into master Oct 7, 2025
1 check failed
@jrquak jrquak deleted the beta branch October 7, 2025 11:00
@bettyblocks-release-bot
Copy link
Collaborator

🎉 This PR is included in version 26.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants