svelte-on-rails 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af8d4bb8fb9c9601a9aaf54fedf5e7f419ce3320b1f729fd35032e10fe3486cf
|
4
|
+
data.tar.gz: 6fea536491f0493e574a0432a7a2b9f2bbf2d28b8e0dab806585695da011d212
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec46124593dc6d40cf8ea051872746bc7070d9e2adec974c1ca7910645030e6324c5f7a280264cef4289dd99fdf60b1dd201291bae55e2aea01189bf5d6ec2fa
|
7
|
+
data.tar.gz: c7f5a5a822fc1e1f5cb961dcd4158808fdcc1ee8303ba5e2fc0d4a0c52f50cd4abe1fa8b426ea43798bdc4daa777b6fd3165c2f65057471a504fbc46cbba34d9
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Svelte on Rails
|
2
2
|
|
3
|
-
|
3
|
+
Rock-solid and seamless integration of Svelte Components into Rails views, based on `vite_rails`.
|
4
4
|
|
5
5
|
By default, and when installed together with `@hotwired/turbo-rails`, it renders
|
6
6
|
svelte components on the first request server side («SSR») and for subsequent
|
@@ -18,7 +18,7 @@ and [ElMassimo](https://github.com/ElMassimo) for inspiring and helping me with
|
|
18
18
|
It has a 100% test coverage, all tests pass.
|
19
19
|
It is not yet implemented on my customer projects, but this will follow soon.
|
20
20
|
|
21
|
-
If you have issues, please open one and contributors are welcome!
|
21
|
+
If you have issues, please open one, and contributors are welcome!
|
22
22
|
|
23
23
|
## Requirements
|
24
24
|
|
@@ -201,8 +201,7 @@ rake svelte_on_rails:create_contributor_configs_file
|
|
201
201
|
and define a `generated_test_app_folder_path` (required) for apps, generated for the testings.
|
202
202
|
|
203
203
|
For development of the **npm package @csedl/svelte-on-rails** (optional) please download the source code of the
|
204
|
-
npm package and set
|
205
|
-
`local_npm_package_path` and set the path to the npm package on your local machine.
|
204
|
+
npm package and set `local_npm_package_path` on the config file to the path to the npm package on your local machine.
|
206
205
|
This will cause the installer, to install the npm package from a local path instead from the npm registry.
|
207
206
|
|
208
207
|
Then run the tests and start contributing.
|
@@ -247,9 +246,9 @@ side could live on the same assets and manifest like svelte components that are
|
|
247
246
|
compiled as chunks which each is its own entry point. This failed:
|
248
247
|
|
249
248
|
- The `vite-plugin-ruby` did not support this: it constrained all to one entry point.
|
250
|
-
- See how fat the `vite-ssr.config.ts
|
249
|
+
- See how fat the `vite-ssr.config.ts` is. For the client side this is not necessary.
|
251
250
|
|
252
|
-
At the end, I decided to split the process. But that is not the last decision.
|
251
|
+
At the end, I decided to split the process. For now it is cleaner. But that is not the last decision.
|
253
252
|
|
254
253
|
**Why not compiling server side purely by rollup?**
|
255
254
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: svelte-on-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Sedlmair
|
@@ -95,6 +95,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
requirements: []
|
96
96
|
rubygems_version: 3.6.7
|
97
97
|
specification_version: 4
|
98
|
-
summary:
|
98
|
+
summary: Rock-solid and seamless integration of Svelte Components into Rails views,
|
99
99
|
based on vite_rails.
|
100
100
|
test_files: []
|