Skip to content

Commit 09f9181

Browse files
committed
Bump 0.3.3
1 parent 608017c commit 09f9181

File tree

6 files changed

+11
-8
lines changed

6 files changed

+11
-8
lines changed

CHANGELOG.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning].
77

88
## [Unreleased]
99

10+
## [0.3.3] - 2024-09-24
11+
1012
### Added
1113

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

76-
[Unreleased]: https://github.com/skryukov/turbo-mount/compare/v0.3.2...HEAD
77-
[0.3.1]: https://github.com/skryukov/turbo-mount/compare/v0.3.1...v0.3.2
78+
[Unreleased]: https://github.com/skryukov/turbo-mount/compare/v0.3.3...HEAD
79+
[0.3.3]: https://github.com/skryukov/turbo-mount/compare/v0.3.2...v0.3.3
80+
[0.3.2]: https://github.com/skryukov/turbo-mount/compare/v0.3.1...v0.3.2
7881
[0.3.1]: https://github.com/skryukov/turbo-mount/compare/v0.3.0...v0.3.1
7982
[0.3.0]: https://github.com/skryukov/turbo-mount/compare/v0.2.3...v0.3.0
8083
[0.2.3]: https://github.com/skryukov/turbo-mount/compare/v0.2.2...v0.2.3

app/assets/javascripts/turbo-mount.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class TurboMount {
8181
}
8282
this.components.set(name, { component, plugin });
8383
if (controller) {
84-
const controllerName = `turbo-mount-${camelToKebabCase(name)}`;
84+
const controllerName = `turbo-mount-${camelToKebabCase(name).replace("/", "--")}`;
8585
this.application.register(controllerName, controller);
8686
}
8787
}
@@ -108,7 +108,7 @@ function buildRegisterFunction(plugin) {
108108
}
109109

110110
const identifierNames = (name) => {
111-
const controllerName = camelToKebabCase(name);
111+
const controllerName = camelToKebabCase(name).replace("/", "--");
112112
return [`turbo-mount--${controllerName}`, `turbo-mount-${controllerName}`];
113113
};
114114
const registerComponentsBase = ({ plugin, turboMount, components, controllers, }) => {

app/assets/javascripts/turbo-mount.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/javascripts/turbo-mount.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/turbo/mount/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Turbo
44
module Mount
5-
VERSION = "0.3.2"
5+
VERSION = "0.3.3"
66
end
77
end

packages/turbo-mount/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "turbo-mount",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"license": "MIT",
55
"description": "Use React, Vue, and other components with Hotwire",
66
"author": "Svyatoslav Kryukov <[email protected]>",

0 commit comments

Comments
 (0)