Skip to content

Commit

Permalink
Bump 0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
skryukov committed Sep 24, 2024
1 parent 608017c commit 09f9181
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning].

## [Unreleased]

## [0.3.3] - 2024-09-24

### Added

- Support components in nested directories. ([@skryukov])
Expand Down Expand Up @@ -73,8 +75,9 @@ and this project adheres to [Semantic Versioning].
[@jkogara]: https://github.com/jkogara
[@skryukov]: https://github.com/skryukov

[Unreleased]: https://github.com/skryukov/turbo-mount/compare/v0.3.2...HEAD
[0.3.1]: https://github.com/skryukov/turbo-mount/compare/v0.3.1...v0.3.2
[Unreleased]: https://github.com/skryukov/turbo-mount/compare/v0.3.3...HEAD
[0.3.3]: https://github.com/skryukov/turbo-mount/compare/v0.3.2...v0.3.3
[0.3.2]: https://github.com/skryukov/turbo-mount/compare/v0.3.1...v0.3.2
[0.3.1]: https://github.com/skryukov/turbo-mount/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/skryukov/turbo-mount/compare/v0.2.3...v0.3.0
[0.2.3]: https://github.com/skryukov/turbo-mount/compare/v0.2.2...v0.2.3
Expand Down
4 changes: 2 additions & 2 deletions app/assets/javascripts/turbo-mount.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class TurboMount {
}
this.components.set(name, { component, plugin });
if (controller) {
const controllerName = `turbo-mount-${camelToKebabCase(name)}`;
const controllerName = `turbo-mount-${camelToKebabCase(name).replace("/", "--")}`;
this.application.register(controllerName, controller);
}
}
Expand All @@ -108,7 +108,7 @@ function buildRegisterFunction(plugin) {
}

const identifierNames = (name) => {
const controllerName = camelToKebabCase(name);
const controllerName = camelToKebabCase(name).replace("/", "--");
return [`turbo-mount--${controllerName}`, `turbo-mount-${controllerName}`];
};
const registerComponentsBase = ({ plugin, turboMount, components, controllers, }) => {
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/turbo-mount.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/assets/javascripts/turbo-mount.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/turbo/mount/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Turbo
module Mount
VERSION = "0.3.2"
VERSION = "0.3.3"
end
end
2 changes: 1 addition & 1 deletion packages/turbo-mount/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "turbo-mount",
"version": "0.3.2",
"version": "0.3.3",
"license": "MIT",
"description": "Use React, Vue, and other components with Hotwire",
"author": "Svyatoslav Kryukov <[email protected]>",
Expand Down

0 comments on commit 09f9181

Please sign in to comment.