jetpacker 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.eslintignore +4 -0
- data/.eslintrc.js +14 -0
- data/.gitignore +11 -11
- data/.node-version +1 -0
- data/.rubocop.yml +125 -0
- data/.travis.yml +54 -5
- data/CHANGELOG.jetpacker.md +7 -0
- data/CHANGELOG.md +1000 -0
- data/CONTRIBUTING.md +33 -0
- data/Gemfile +9 -3
- data/Gemfile.lock +157 -21
- data/MIT-LICENSE +20 -0
- data/README.md +671 -16
- data/Rakefile +8 -3
- data/docs/assets.md +119 -0
- data/docs/cloud9.md +310 -0
- data/docs/css.md +253 -0
- data/docs/deployment.md +130 -0
- data/docs/docker.md +68 -0
- data/docs/engines.md +200 -0
- data/docs/env.md +65 -0
- data/docs/es6.md +72 -0
- data/docs/folder-structure.md +66 -0
- data/docs/misc.md +23 -0
- data/docs/props.md +223 -0
- data/docs/testing.md +137 -0
- data/docs/troubleshooting.md +156 -0
- data/docs/typescript.md +126 -0
- data/docs/v4-upgrade.md +142 -0
- data/docs/webpack-dev-server.md +92 -0
- data/docs/webpack.md +364 -0
- data/docs/yarn.md +23 -0
- data/gemfiles/Gemfile-rails-edge +12 -0
- data/gemfiles/Gemfile-rails.4.2.x +9 -0
- data/gemfiles/Gemfile-rails.5.0.x +9 -0
- data/gemfiles/Gemfile-rails.5.1.x +9 -0
- data/gemfiles/Gemfile-rails.5.2.x +9 -0
- data/gemfiles/Gemfile-rails.6.0.x +9 -0
- data/jetpacker.gemspec +28 -22
- data/lib/install/angular.rb +23 -0
- data/lib/install/bin/webpack +18 -0
- data/lib/install/bin/webpack-dev-server +18 -0
- data/lib/install/binstubs.rb +4 -0
- data/lib/install/coffee.rb +25 -0
- data/lib/install/config/.browserslistrc +1 -0
- data/lib/install/config/babel.config.js +72 -0
- data/lib/install/config/postcss.config.js +12 -0
- data/lib/install/config/webpack/development.js +5 -0
- data/lib/install/config/webpack/environment.js +3 -0
- data/lib/install/config/webpack/production.js +5 -0
- data/lib/install/config/webpack/test.js +5 -0
- data/lib/install/config/webpacker.yml +96 -0
- data/lib/install/elm.rb +39 -0
- data/lib/install/erb.rb +25 -0
- data/lib/install/examples/angular/hello_angular.js +7 -0
- data/lib/install/examples/angular/hello_angular/app/app.component.ts +9 -0
- data/lib/install/examples/angular/hello_angular/app/app.module.ts +16 -0
- data/lib/install/examples/angular/hello_angular/index.ts +8 -0
- data/lib/install/examples/angular/hello_angular/polyfills.ts +73 -0
- data/lib/install/examples/coffee/hello_coffee.coffee +4 -0
- data/lib/install/examples/elm/Main.elm +55 -0
- data/lib/install/examples/elm/hello_elm.js +16 -0
- data/lib/install/examples/erb/hello_erb.js.erb +6 -0
- data/lib/install/examples/react/babel.config.js +87 -0
- data/lib/install/examples/react/hello_react.jsx +26 -0
- data/lib/install/examples/react/tsconfig.json +20 -0
- data/lib/install/examples/stimulus/application.js +1 -0
- data/lib/install/examples/stimulus/controllers/hello_controller.js +18 -0
- data/lib/install/examples/stimulus/controllers/index.js +9 -0
- data/lib/install/examples/svelte/app.svelte +11 -0
- data/lib/install/examples/svelte/hello_svelte.js +20 -0
- data/lib/install/examples/typescript/hello_typescript.ts +4 -0
- data/lib/install/examples/typescript/tsconfig.json +23 -0
- data/lib/install/examples/vue/app.vue +22 -0
- data/lib/install/examples/vue/hello_vue.js +72 -0
- data/lib/install/javascript/packs/application.js +18 -0
- data/lib/install/loaders/coffee.js +6 -0
- data/lib/install/loaders/elm.js +25 -0
- data/lib/install/loaders/erb.js +11 -0
- data/lib/install/loaders/svelte.js +9 -0
- data/lib/install/loaders/typescript.js +11 -0
- data/lib/install/loaders/vue.js +6 -0
- data/lib/install/react.rb +18 -0
- data/lib/install/stimulus.rb +12 -0
- data/lib/install/svelte.rb +29 -0
- data/lib/install/template.rb +55 -0
- data/lib/install/typescript.rb +46 -0
- data/lib/install/vue.rb +49 -0
- data/lib/jetpacker/version.rb +2 -1
- data/lib/tasks/installers.rake +37 -0
- data/lib/tasks/webpacker.rake +28 -0
- data/lib/tasks/webpacker/binstubs.rake +11 -0
- data/lib/tasks/webpacker/check_binstubs.rake +12 -0
- data/lib/tasks/webpacker/check_node.rake +24 -0
- data/lib/tasks/webpacker/check_yarn.rake +24 -0
- data/lib/tasks/webpacker/clean.rake +21 -0
- data/lib/tasks/webpacker/clobber.rake +16 -0
- data/lib/tasks/webpacker/compile.rake +43 -0
- data/lib/tasks/webpacker/info.rake +20 -0
- data/lib/tasks/webpacker/install.rake +13 -0
- data/lib/tasks/webpacker/verify_install.rake +13 -0
- data/lib/tasks/webpacker/yarn_install.rake +21 -0
- data/lib/webpacker.rb +46 -0
- data/lib/webpacker/commands.rb +50 -0
- data/lib/webpacker/compiler.rb +107 -0
- data/lib/webpacker/configuration.rb +113 -0
- data/lib/webpacker/dev_server.rb +66 -0
- data/lib/webpacker/dev_server_proxy.rb +31 -0
- data/lib/webpacker/dev_server_runner.rb +72 -0
- data/lib/webpacker/env.rb +39 -0
- data/lib/webpacker/helper.rb +176 -0
- data/lib/webpacker/instance.rb +37 -0
- data/lib/webpacker/manifest.rb +118 -0
- data/lib/webpacker/railtie.rb +98 -0
- data/lib/webpacker/rake_tasks.rb +6 -0
- data/lib/webpacker/runner.rb +22 -0
- data/lib/webpacker/version.rb +4 -0
- data/lib/webpacker/webpack_runner.rb +32 -0
- data/package.json +82 -0
- data/package/__tests__/config.js +55 -0
- data/package/__tests__/dev_server.js +43 -0
- data/package/__tests__/development.js +30 -0
- data/package/__tests__/env.js +46 -0
- data/package/__tests__/production.js +29 -0
- data/package/__tests__/staging.js +29 -0
- data/package/__tests__/test.js +26 -0
- data/package/config.js +37 -0
- data/package/config_types/__tests__/config_list.js +118 -0
- data/package/config_types/__tests__/config_object.js +43 -0
- data/package/config_types/config_list.js +75 -0
- data/package/config_types/config_object.js +55 -0
- data/package/config_types/index.js +7 -0
- data/package/dev_server.js +20 -0
- data/package/env.js +19 -0
- data/package/environments/__tests__/base.js +74 -0
- data/package/environments/base.js +166 -0
- data/package/environments/development.js +51 -0
- data/package/environments/production.js +79 -0
- data/package/environments/test.js +3 -0
- data/package/index.js +24 -0
- data/package/rules/babel.js +21 -0
- data/package/rules/css.js +3 -0
- data/package/rules/file.js +20 -0
- data/package/rules/index.js +20 -0
- data/package/rules/module.css.js +3 -0
- data/package/rules/module.sass.js +8 -0
- data/package/rules/node_modules.js +24 -0
- data/package/rules/sass.js +8 -0
- data/package/utils/__tests__/deep_assign.js +32 -0
- data/package/utils/__tests__/deep_merge.js +10 -0
- data/package/utils/__tests__/get_style_rule.js +65 -0
- data/package/utils/__tests__/objectify.js +9 -0
- data/package/utils/deep_assign.js +22 -0
- data/package/utils/deep_merge.js +22 -0
- data/package/utils/get_style_rule.js +45 -0
- data/package/utils/helpers.js +58 -0
- data/package/utils/objectify.js +3 -0
- data/test/command_test.rb +33 -0
- data/test/compiler_test.rb +75 -0
- data/test/configuration_test.rb +108 -0
- data/test/dev_server_runner_test.rb +51 -0
- data/test/dev_server_test.rb +47 -0
- data/test/env_test.rb +23 -0
- data/test/helper_test.rb +142 -0
- data/test/manifest_test.rb +42 -0
- data/test/rake_tasks_test.rb +69 -0
- data/test/test_app/Rakefile +3 -0
- data/test/test_app/app/javascript/packs/application.js +10 -0
- data/test/test_app/bin/webpack +14 -0
- data/test/test_app/bin/webpack-dev-server +14 -0
- data/test/test_app/config.ru +5 -0
- data/test/test_app/config/application.rb +12 -0
- data/test/test_app/config/environment.rb +4 -0
- data/test/test_app/config/webpack/development.js +0 -0
- data/test/test_app/config/webpacker.yml +97 -0
- data/test/test_app/config/webpacker_public_root.yml +19 -0
- data/test/test_app/package.json +13 -0
- data/test/test_app/public/packs/manifest.json +31 -0
- data/test/test_app/yarn.lock +11 -0
- data/test/test_helper.rb +33 -0
- data/test/webpack_runner_test.rb +51 -0
- data/test/webpacker_test.rb +13 -0
- data/yarn.lock +8321 -0
- metadata +267 -29
- data/.rspec +0 -3
- data/LICENSE.txt +0 -21
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/lib/jetpacker.rb +0 -6
metadata
CHANGED
@@ -1,57 +1,99 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jetpacker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: railties
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '4.2'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '4.2'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rack-proxy
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.6.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.6.1
|
13
55
|
- !ruby/object:Gem::Dependency
|
14
56
|
name: bundler
|
15
57
|
requirement: !ruby/object:Gem::Requirement
|
16
58
|
requirements:
|
17
|
-
- - "
|
59
|
+
- - ">="
|
18
60
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
61
|
+
version: 1.3.0
|
20
62
|
type: :development
|
21
63
|
prerelease: false
|
22
64
|
version_requirements: !ruby/object:Gem::Requirement
|
23
65
|
requirements:
|
24
|
-
- - "
|
66
|
+
- - ">="
|
25
67
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
68
|
+
version: 1.3.0
|
27
69
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
70
|
+
name: rubocop
|
29
71
|
requirement: !ruby/object:Gem::Requirement
|
30
72
|
requirements:
|
31
|
-
- - "
|
73
|
+
- - "<"
|
32
74
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
75
|
+
version: '0.69'
|
34
76
|
type: :development
|
35
77
|
prerelease: false
|
36
78
|
version_requirements: !ruby/object:Gem::Requirement
|
37
79
|
requirements:
|
38
|
-
- - "
|
80
|
+
- - "<"
|
39
81
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
82
|
+
version: '0.69'
|
41
83
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
84
|
+
name: rubocop-performance
|
43
85
|
requirement: !ruby/object:Gem::Requirement
|
44
86
|
requirements:
|
45
|
-
- - "
|
87
|
+
- - ">="
|
46
88
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
89
|
+
version: '0'
|
48
90
|
type: :development
|
49
91
|
prerelease: false
|
50
92
|
version_requirements: !ruby/object:Gem::Requirement
|
51
93
|
requirements:
|
52
|
-
- - "
|
94
|
+
- - ">="
|
53
95
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
96
|
+
version: '0'
|
55
97
|
description:
|
56
98
|
email:
|
57
99
|
- tongueroo@gmail.com
|
@@ -59,23 +101,195 @@ executables: []
|
|
59
101
|
extensions: []
|
60
102
|
extra_rdoc_files: []
|
61
103
|
files:
|
104
|
+
- ".eslintignore"
|
105
|
+
- ".eslintrc.js"
|
62
106
|
- ".gitignore"
|
63
|
-
- ".
|
107
|
+
- ".node-version"
|
108
|
+
- ".rubocop.yml"
|
64
109
|
- ".travis.yml"
|
110
|
+
- CHANGELOG.jetpacker.md
|
111
|
+
- CHANGELOG.md
|
112
|
+
- CONTRIBUTING.md
|
65
113
|
- Gemfile
|
66
114
|
- Gemfile.lock
|
67
|
-
- LICENSE
|
115
|
+
- MIT-LICENSE
|
68
116
|
- README.md
|
69
117
|
- Rakefile
|
70
|
-
-
|
71
|
-
-
|
118
|
+
- docs/assets.md
|
119
|
+
- docs/cloud9.md
|
120
|
+
- docs/css.md
|
121
|
+
- docs/deployment.md
|
122
|
+
- docs/docker.md
|
123
|
+
- docs/engines.md
|
124
|
+
- docs/env.md
|
125
|
+
- docs/es6.md
|
126
|
+
- docs/folder-structure.md
|
127
|
+
- docs/misc.md
|
128
|
+
- docs/props.md
|
129
|
+
- docs/testing.md
|
130
|
+
- docs/troubleshooting.md
|
131
|
+
- docs/typescript.md
|
132
|
+
- docs/v4-upgrade.md
|
133
|
+
- docs/webpack-dev-server.md
|
134
|
+
- docs/webpack.md
|
135
|
+
- docs/yarn.md
|
136
|
+
- gemfiles/Gemfile-rails-edge
|
137
|
+
- gemfiles/Gemfile-rails.4.2.x
|
138
|
+
- gemfiles/Gemfile-rails.5.0.x
|
139
|
+
- gemfiles/Gemfile-rails.5.1.x
|
140
|
+
- gemfiles/Gemfile-rails.5.2.x
|
141
|
+
- gemfiles/Gemfile-rails.6.0.x
|
72
142
|
- jetpacker.gemspec
|
73
|
-
- lib/
|
143
|
+
- lib/install/angular.rb
|
144
|
+
- lib/install/bin/webpack
|
145
|
+
- lib/install/bin/webpack-dev-server
|
146
|
+
- lib/install/binstubs.rb
|
147
|
+
- lib/install/coffee.rb
|
148
|
+
- lib/install/config/.browserslistrc
|
149
|
+
- lib/install/config/babel.config.js
|
150
|
+
- lib/install/config/postcss.config.js
|
151
|
+
- lib/install/config/webpack/development.js
|
152
|
+
- lib/install/config/webpack/environment.js
|
153
|
+
- lib/install/config/webpack/production.js
|
154
|
+
- lib/install/config/webpack/test.js
|
155
|
+
- lib/install/config/webpacker.yml
|
156
|
+
- lib/install/elm.rb
|
157
|
+
- lib/install/erb.rb
|
158
|
+
- lib/install/examples/angular/hello_angular.js
|
159
|
+
- lib/install/examples/angular/hello_angular/app/app.component.ts
|
160
|
+
- lib/install/examples/angular/hello_angular/app/app.module.ts
|
161
|
+
- lib/install/examples/angular/hello_angular/index.ts
|
162
|
+
- lib/install/examples/angular/hello_angular/polyfills.ts
|
163
|
+
- lib/install/examples/coffee/hello_coffee.coffee
|
164
|
+
- lib/install/examples/elm/Main.elm
|
165
|
+
- lib/install/examples/elm/hello_elm.js
|
166
|
+
- lib/install/examples/erb/hello_erb.js.erb
|
167
|
+
- lib/install/examples/react/babel.config.js
|
168
|
+
- lib/install/examples/react/hello_react.jsx
|
169
|
+
- lib/install/examples/react/tsconfig.json
|
170
|
+
- lib/install/examples/stimulus/application.js
|
171
|
+
- lib/install/examples/stimulus/controllers/hello_controller.js
|
172
|
+
- lib/install/examples/stimulus/controllers/index.js
|
173
|
+
- lib/install/examples/svelte/app.svelte
|
174
|
+
- lib/install/examples/svelte/hello_svelte.js
|
175
|
+
- lib/install/examples/typescript/hello_typescript.ts
|
176
|
+
- lib/install/examples/typescript/tsconfig.json
|
177
|
+
- lib/install/examples/vue/app.vue
|
178
|
+
- lib/install/examples/vue/hello_vue.js
|
179
|
+
- lib/install/javascript/packs/application.js
|
180
|
+
- lib/install/loaders/coffee.js
|
181
|
+
- lib/install/loaders/elm.js
|
182
|
+
- lib/install/loaders/erb.js
|
183
|
+
- lib/install/loaders/svelte.js
|
184
|
+
- lib/install/loaders/typescript.js
|
185
|
+
- lib/install/loaders/vue.js
|
186
|
+
- lib/install/react.rb
|
187
|
+
- lib/install/stimulus.rb
|
188
|
+
- lib/install/svelte.rb
|
189
|
+
- lib/install/template.rb
|
190
|
+
- lib/install/typescript.rb
|
191
|
+
- lib/install/vue.rb
|
74
192
|
- lib/jetpacker/version.rb
|
75
|
-
|
193
|
+
- lib/tasks/installers.rake
|
194
|
+
- lib/tasks/webpacker.rake
|
195
|
+
- lib/tasks/webpacker/binstubs.rake
|
196
|
+
- lib/tasks/webpacker/check_binstubs.rake
|
197
|
+
- lib/tasks/webpacker/check_node.rake
|
198
|
+
- lib/tasks/webpacker/check_yarn.rake
|
199
|
+
- lib/tasks/webpacker/clean.rake
|
200
|
+
- lib/tasks/webpacker/clobber.rake
|
201
|
+
- lib/tasks/webpacker/compile.rake
|
202
|
+
- lib/tasks/webpacker/info.rake
|
203
|
+
- lib/tasks/webpacker/install.rake
|
204
|
+
- lib/tasks/webpacker/verify_install.rake
|
205
|
+
- lib/tasks/webpacker/yarn_install.rake
|
206
|
+
- lib/webpacker.rb
|
207
|
+
- lib/webpacker/commands.rb
|
208
|
+
- lib/webpacker/compiler.rb
|
209
|
+
- lib/webpacker/configuration.rb
|
210
|
+
- lib/webpacker/dev_server.rb
|
211
|
+
- lib/webpacker/dev_server_proxy.rb
|
212
|
+
- lib/webpacker/dev_server_runner.rb
|
213
|
+
- lib/webpacker/env.rb
|
214
|
+
- lib/webpacker/helper.rb
|
215
|
+
- lib/webpacker/instance.rb
|
216
|
+
- lib/webpacker/manifest.rb
|
217
|
+
- lib/webpacker/railtie.rb
|
218
|
+
- lib/webpacker/rake_tasks.rb
|
219
|
+
- lib/webpacker/runner.rb
|
220
|
+
- lib/webpacker/version.rb
|
221
|
+
- lib/webpacker/webpack_runner.rb
|
222
|
+
- package.json
|
223
|
+
- package/__tests__/config.js
|
224
|
+
- package/__tests__/dev_server.js
|
225
|
+
- package/__tests__/development.js
|
226
|
+
- package/__tests__/env.js
|
227
|
+
- package/__tests__/production.js
|
228
|
+
- package/__tests__/staging.js
|
229
|
+
- package/__tests__/test.js
|
230
|
+
- package/config.js
|
231
|
+
- package/config_types/__tests__/config_list.js
|
232
|
+
- package/config_types/__tests__/config_object.js
|
233
|
+
- package/config_types/config_list.js
|
234
|
+
- package/config_types/config_object.js
|
235
|
+
- package/config_types/index.js
|
236
|
+
- package/dev_server.js
|
237
|
+
- package/env.js
|
238
|
+
- package/environments/__tests__/base.js
|
239
|
+
- package/environments/base.js
|
240
|
+
- package/environments/development.js
|
241
|
+
- package/environments/production.js
|
242
|
+
- package/environments/test.js
|
243
|
+
- package/index.js
|
244
|
+
- package/rules/babel.js
|
245
|
+
- package/rules/css.js
|
246
|
+
- package/rules/file.js
|
247
|
+
- package/rules/index.js
|
248
|
+
- package/rules/module.css.js
|
249
|
+
- package/rules/module.sass.js
|
250
|
+
- package/rules/node_modules.js
|
251
|
+
- package/rules/sass.js
|
252
|
+
- package/utils/__tests__/deep_assign.js
|
253
|
+
- package/utils/__tests__/deep_merge.js
|
254
|
+
- package/utils/__tests__/get_style_rule.js
|
255
|
+
- package/utils/__tests__/objectify.js
|
256
|
+
- package/utils/deep_assign.js
|
257
|
+
- package/utils/deep_merge.js
|
258
|
+
- package/utils/get_style_rule.js
|
259
|
+
- package/utils/helpers.js
|
260
|
+
- package/utils/objectify.js
|
261
|
+
- test/command_test.rb
|
262
|
+
- test/compiler_test.rb
|
263
|
+
- test/configuration_test.rb
|
264
|
+
- test/dev_server_runner_test.rb
|
265
|
+
- test/dev_server_test.rb
|
266
|
+
- test/env_test.rb
|
267
|
+
- test/helper_test.rb
|
268
|
+
- test/manifest_test.rb
|
269
|
+
- test/rake_tasks_test.rb
|
270
|
+
- test/test_app/Rakefile
|
271
|
+
- test/test_app/app/javascript/packs/application.js
|
272
|
+
- test/test_app/bin/webpack
|
273
|
+
- test/test_app/bin/webpack-dev-server
|
274
|
+
- test/test_app/config.ru
|
275
|
+
- test/test_app/config/application.rb
|
276
|
+
- test/test_app/config/environment.rb
|
277
|
+
- test/test_app/config/webpack/development.js
|
278
|
+
- test/test_app/config/webpacker.yml
|
279
|
+
- test/test_app/config/webpacker_public_root.yml
|
280
|
+
- test/test_app/package.json
|
281
|
+
- test/test_app/public/packs/manifest.json
|
282
|
+
- test/test_app/yarn.lock
|
283
|
+
- test/test_helper.rb
|
284
|
+
- test/webpack_runner_test.rb
|
285
|
+
- test/webpacker_test.rb
|
286
|
+
- yarn.lock
|
287
|
+
homepage: https://github.com/tonguero/jetpacker
|
76
288
|
licenses:
|
77
289
|
- MIT
|
78
|
-
metadata:
|
290
|
+
metadata:
|
291
|
+
source_code_uri: https://github.com/tongueroo/jetpacker/tree/v0.2.0
|
292
|
+
changelog_uri: https://github.com/tongueroo/jetpacker/blob/v0.2.0/CHANGELOG.md
|
79
293
|
post_install_message:
|
80
294
|
rdoc_options: []
|
81
295
|
require_paths:
|
@@ -84,16 +298,40 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
298
|
requirements:
|
85
299
|
- - ">="
|
86
300
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
301
|
+
version: 2.2.0
|
88
302
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
303
|
requirements:
|
90
304
|
- - ">="
|
91
305
|
- !ruby/object:Gem::Version
|
92
306
|
version: '0'
|
93
307
|
requirements: []
|
94
|
-
|
95
|
-
rubygems_version: 2.7.6
|
308
|
+
rubygems_version: 3.0.6
|
96
309
|
signing_key:
|
97
310
|
specification_version: 4
|
98
|
-
summary:
|
99
|
-
test_files:
|
311
|
+
summary: Use webpack to manage app-like JavaScript modules in Jets
|
312
|
+
test_files:
|
313
|
+
- test/command_test.rb
|
314
|
+
- test/compiler_test.rb
|
315
|
+
- test/configuration_test.rb
|
316
|
+
- test/dev_server_runner_test.rb
|
317
|
+
- test/dev_server_test.rb
|
318
|
+
- test/env_test.rb
|
319
|
+
- test/helper_test.rb
|
320
|
+
- test/manifest_test.rb
|
321
|
+
- test/rake_tasks_test.rb
|
322
|
+
- test/test_app/Rakefile
|
323
|
+
- test/test_app/app/javascript/packs/application.js
|
324
|
+
- test/test_app/bin/webpack
|
325
|
+
- test/test_app/bin/webpack-dev-server
|
326
|
+
- test/test_app/config.ru
|
327
|
+
- test/test_app/config/application.rb
|
328
|
+
- test/test_app/config/environment.rb
|
329
|
+
- test/test_app/config/webpack/development.js
|
330
|
+
- test/test_app/config/webpacker.yml
|
331
|
+
- test/test_app/config/webpacker_public_root.yml
|
332
|
+
- test/test_app/package.json
|
333
|
+
- test/test_app/public/packs/manifest.json
|
334
|
+
- test/test_app/yarn.lock
|
335
|
+
- test/test_helper.rb
|
336
|
+
- test/webpack_runner_test.rb
|
337
|
+
- test/webpacker_test.rb
|
data/.rspec
DELETED
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2018 Tung Nguyen
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "jetpacker"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED