vite_rails 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +7 -3
- data/lib/vite_rails/version.rb +1 -1
- metadata +19 -56
- data/CONTRIBUTING.md +0 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6bd0ba71782fc5f805aaa491a323dd54fa53cdb1a4eec20280dac1240ba3eaa
|
4
|
+
data.tar.gz: 732b25178ea38456fb779e132d3c9b1b3a0d51bf08c09b4bfabb99f91bbb9b03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 681ab6f425a853f1f95a0ee3ef4308c56406b5e298c906f56558ff8898dcc155271de4e80dc2f4bdeb77343651ff24a58c300c4c05748a5ca9177bd0fc4f520d
|
7
|
+
data.tar.gz: c57fbf21518f89a2c7d171095802feef551422f0c6ac32b4d1a0875d4b4e41e981aac3cb72c4e2df1e7fca301fa5443b6c843eb0cf8c2469ce72720fcd41cf9a
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## [2.0.3](https://github.com/ElMassimo/vite_ruby/compare/vite_rails@2.0.2...vite_rails@2.0.3) (2021-03-07)
|
2
|
+
|
3
|
+
- Add a bounded requirement to `vite_ruby` dependency.
|
4
|
+
|
1
5
|
## Vite Rails 2.0.2 (2020-02-11)
|
2
6
|
|
3
7
|
- Automatically infer `app/javascript` as the `sourceCodeDir` if it exists.
|
data/README.md
CHANGED
@@ -59,8 +59,11 @@ dev server is extremely __fast to start__, and your changes will be __updated in
|
|
59
59
|
In production, Vite [bundles your code][bundling]
|
60
60
|
with tree-shaking, lazy-loading, and common chunk splitting out of the box, to achieve optimal loading performance.
|
61
61
|
|
62
|
-
|
63
|
-
|
62
|
+
It also provides great defaults, and is easier to configure than similar tools like webpack.
|
63
|
+
|
64
|
+
Check [this video comparison with webpack](https://github.com/ElMassimo/jumpstart-vite)
|
65
|
+
which demonstrates the difference in boot time, or [this one](https://github.com/ElMassimo/pingcrm-vite/pull/1)
|
66
|
+
with the difference in speed during development.
|
64
67
|
|
65
68
|
## Features ⚡️
|
66
69
|
|
@@ -79,7 +82,7 @@ Visit the [documentation website][website] to check out the [guides] and searcha
|
|
79
82
|
Add this line to your application's Gemfile:
|
80
83
|
|
81
84
|
```ruby
|
82
|
-
gem 'vite_rails'
|
85
|
+
gem 'vite_rails' # vite_rails_legacy if using Rails 4
|
83
86
|
```
|
84
87
|
|
85
88
|
Then, run:
|
@@ -107,6 +110,7 @@ Please use [Issues] to report bugs you find, and [Discussions] to make feature r
|
|
107
110
|
|
108
111
|
Don't hesitate to _⭐️ star the project_ if you find it useful!
|
109
112
|
|
113
|
+
Using it in production? Always love to hear about it! 😃
|
110
114
|
|
111
115
|
## Special Thanks 🙏
|
112
116
|
|
data/lib/vite_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vite_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Máximo Mussini
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '5.1'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '8'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,76 +27,37 @@ dependencies:
|
|
24
27
|
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '5.1'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '8'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: vite_ruby
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "
|
37
|
+
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
39
|
+
version: '1.0'
|
34
40
|
type: :runtime
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
|
-
- - "
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bundler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 1.3.0
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
44
|
+
- - "~>"
|
53
45
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
46
|
+
version: '1.0'
|
55
47
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
48
|
+
name: spring
|
57
49
|
requirement: !ruby/object:Gem::Requirement
|
58
50
|
requirements:
|
59
|
-
- - "
|
51
|
+
- - "~>"
|
60
52
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
53
|
+
version: '2.1'
|
62
54
|
type: :development
|
63
55
|
prerelease: false
|
64
56
|
version_requirements: !ruby/object:Gem::Requirement
|
65
57
|
requirements:
|
66
|
-
- - "
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rubocop-minitest
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rubocop-performance
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
58
|
+
- - "~>"
|
95
59
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
60
|
+
version: '2.1'
|
97
61
|
description:
|
98
62
|
email:
|
99
63
|
- maximomussini@gmail.com
|
@@ -102,7 +66,6 @@ extensions: []
|
|
102
66
|
extra_rdoc_files: []
|
103
67
|
files:
|
104
68
|
- CHANGELOG.md
|
105
|
-
- CONTRIBUTING.md
|
106
69
|
- LICENSE.txt
|
107
70
|
- README.md
|
108
71
|
- lib/tasks/vite.rake
|
@@ -118,8 +81,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
|
|
118
81
|
licenses:
|
119
82
|
- MIT
|
120
83
|
metadata:
|
121
|
-
source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_rails@2.0.
|
122
|
-
changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_rails@2.0.
|
84
|
+
source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_rails@2.0.3/vite_rails
|
85
|
+
changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_rails@2.0.3/vite_rails/CHANGELOG.md
|
123
86
|
post_install_message:
|
124
87
|
rdoc_options: []
|
125
88
|
require_paths:
|
data/CONTRIBUTING.md
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
## Setting Up a Development Environment
|
2
|
-
|
3
|
-
1. Install [Yarn](https://yarnpkg.com/)
|
4
|
-
|
5
|
-
2. Run the following commands to set up the development environment.
|
6
|
-
|
7
|
-
```
|
8
|
-
bundle install
|
9
|
-
```
|
10
|
-
|
11
|
-
## Making sure your changes pass all tests
|
12
|
-
There are a number of automated checks which run on GitHub Actions when a pull request is created.
|
13
|
-
You can run those checks on your own locally to make sure that your changes would not break the CI build.
|
14
|
-
|
15
|
-
### 1. Check the code for JavaScript style violations
|
16
|
-
```
|
17
|
-
yarn lint
|
18
|
-
```
|
19
|
-
|
20
|
-
### 2. Check the code for Ruby style violations
|
21
|
-
```
|
22
|
-
bundle exec rubocop
|
23
|
-
```
|
24
|
-
|
25
|
-
### 3. Run the JavaScript test suite
|
26
|
-
```
|
27
|
-
yarn test
|
28
|
-
```
|
29
|
-
|
30
|
-
### 4. Run the Ruby test suite
|
31
|
-
```
|
32
|
-
bundle exec rake test
|
33
|
-
```
|