snowpacker 0.0.4.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.codeclimate.yml +3 -0
- data/.dockerignore +22 -0
- data/.github/workflows/build.yml +20 -0
- data/.gitignore +65 -0
- data/CHANGELOG.md +28 -0
- data/Dockerfile +38 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +199 -0
- data/LICENSE.txt +21 -0
- data/README.md +156 -0
- data/Rakefile +32 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/docker-compose.yml +17 -0
- data/docker.env +8 -0
- data/examples/rails-without-webpack/.gitignore +34 -0
- data/examples/rails-without-webpack/.ruby-version +1 -0
- data/examples/rails-without-webpack/Gemfile +33 -0
- data/examples/rails-without-webpack/Gemfile.lock +225 -0
- data/examples/rails-without-webpack/README.md +24 -0
- data/examples/rails-without-webpack/Rakefile +6 -0
- data/examples/rails-without-webpack/app/assets/config/manifest.js +2 -0
- data/examples/rails-without-webpack/app/assets/images/.keep +0 -0
- data/examples/rails-without-webpack/app/assets/stylesheets/application.css +15 -0
- data/examples/rails-without-webpack/app/assets/stylesheets/static_pages.scss +3 -0
- data/examples/rails-without-webpack/app/channels/application_cable/channel.rb +4 -0
- data/examples/rails-without-webpack/app/channels/application_cable/connection.rb +4 -0
- data/examples/rails-without-webpack/app/controllers/application_controller.rb +2 -0
- data/examples/rails-without-webpack/app/controllers/concerns/.keep +0 -0
- data/examples/rails-without-webpack/app/controllers/static_pages_controller.rb +4 -0
- data/examples/rails-without-webpack/app/helpers/application_helper.rb +2 -0
- data/examples/rails-without-webpack/app/helpers/static_pages_helper.rb +2 -0
- data/examples/rails-without-webpack/app/javascript/channels/consumer.js +6 -0
- data/examples/rails-without-webpack/app/javascript/channels/index.js +6 -0
- data/examples/rails-without-webpack/app/javascript/packs/application.js +17 -0
- data/examples/rails-without-webpack/app/javascript/stylesheets/index.css +3 -0
- data/examples/rails-without-webpack/app/jobs/application_job.rb +7 -0
- data/examples/rails-without-webpack/app/mailers/application_mailer.rb +4 -0
- data/examples/rails-without-webpack/app/models/application_record.rb +3 -0
- data/examples/rails-without-webpack/app/models/concerns/.keep +0 -0
- data/examples/rails-without-webpack/app/views/layouts/application.html.erb +16 -0
- data/examples/rails-without-webpack/app/views/layouts/mailer.html.erb +13 -0
- data/examples/rails-without-webpack/app/views/layouts/mailer.text.erb +1 -0
- data/examples/rails-without-webpack/app/views/static_pages/index.html.erb +2 -0
- data/examples/rails-without-webpack/bin/bundle +114 -0
- data/examples/rails-without-webpack/bin/rails +9 -0
- data/examples/rails-without-webpack/bin/rake +9 -0
- data/examples/rails-without-webpack/bin/setup +36 -0
- data/examples/rails-without-webpack/bin/spring +17 -0
- data/examples/rails-without-webpack/bin/yarn +9 -0
- data/examples/rails-without-webpack/config.ru +5 -0
- data/examples/rails-without-webpack/config/application.rb +20 -0
- data/examples/rails-without-webpack/config/boot.rb +4 -0
- data/examples/rails-without-webpack/config/cable.yml +10 -0
- data/examples/rails-without-webpack/config/credentials.yml.enc +1 -0
- data/examples/rails-without-webpack/config/database.yml +25 -0
- data/examples/rails-without-webpack/config/environment.rb +5 -0
- data/examples/rails-without-webpack/config/environments/development.rb +62 -0
- data/examples/rails-without-webpack/config/environments/production.rb +112 -0
- data/examples/rails-without-webpack/config/environments/test.rb +49 -0
- data/examples/rails-without-webpack/config/initializers/application_controller_renderer.rb +8 -0
- data/examples/rails-without-webpack/config/initializers/assets.rb +14 -0
- data/examples/rails-without-webpack/config/initializers/backtrace_silencers.rb +7 -0
- data/examples/rails-without-webpack/config/initializers/content_security_policy.rb +31 -0
- data/examples/rails-without-webpack/config/initializers/cookies_serializer.rb +5 -0
- data/examples/rails-without-webpack/config/initializers/filter_parameter_logging.rb +4 -0
- data/examples/rails-without-webpack/config/initializers/inflections.rb +16 -0
- data/examples/rails-without-webpack/config/initializers/mime_types.rb +4 -0
- data/examples/rails-without-webpack/config/initializers/snowpacker.rb +19 -0
- data/examples/rails-without-webpack/config/initializers/wrap_parameters.rb +14 -0
- data/examples/rails-without-webpack/config/locales/en.yml +33 -0
- data/examples/rails-without-webpack/config/puma.rb +38 -0
- data/examples/rails-without-webpack/config/routes.rb +4 -0
- data/examples/rails-without-webpack/config/snowpacker/.browserslistrc +1 -0
- data/examples/rails-without-webpack/config/snowpacker/babel.config.js +76 -0
- data/examples/rails-without-webpack/config/snowpacker/postcss.config.js +12 -0
- data/examples/rails-without-webpack/config/snowpacker/snowpack.config.js +42 -0
- data/examples/rails-without-webpack/config/spring.rb +6 -0
- data/examples/rails-without-webpack/config/storage.yml +34 -0
- data/examples/rails-without-webpack/db/seeds.rb +7 -0
- data/examples/rails-without-webpack/lib/assets/.keep +0 -0
- data/examples/rails-without-webpack/lib/tasks/.keep +0 -0
- data/examples/rails-without-webpack/package.json +33 -0
- data/examples/rails-without-webpack/storage/.keep +0 -0
- data/examples/rails-without-webpack/test/application_system_test_case.rb +5 -0
- data/examples/rails-without-webpack/test/channels/application_cable/connection_test.rb +11 -0
- data/examples/rails-without-webpack/test/controllers/.keep +0 -0
- data/examples/rails-without-webpack/test/controllers/static_pages_controller_test.rb +8 -0
- data/examples/rails-without-webpack/test/fixtures/.keep +0 -0
- data/examples/rails-without-webpack/test/fixtures/files/.keep +0 -0
- data/examples/rails-without-webpack/test/helpers/.keep +0 -0
- data/examples/rails-without-webpack/test/integration/.keep +0 -0
- data/examples/rails-without-webpack/test/mailers/.keep +0 -0
- data/examples/rails-without-webpack/test/models/.keep +0 -0
- data/examples/rails-without-webpack/test/system/.keep +0 -0
- data/examples/rails-without-webpack/test/test_helper.rb +13 -0
- data/examples/rails-without-webpack/tmp/.keep +0 -0
- data/examples/rails-without-webpack/tmp/pids/.keep +0 -0
- data/examples/rails-without-webpack/vendor/.keep +0 -0
- data/examples/rails-without-webpack/yarn.lock +4254 -0
- data/lib/snowpacker.rb +24 -0
- data/lib/snowpacker/configuration.rb +19 -0
- data/lib/snowpacker/engine.rb +9 -0
- data/lib/snowpacker/env.rb +23 -0
- data/lib/snowpacker/runner.rb +51 -0
- data/lib/snowpacker/snowpacker_generator.rb +58 -0
- data/lib/snowpacker/snowpacker_proxy.rb +48 -0
- data/lib/snowpacker/templates/babel.config.js +76 -0
- data/lib/snowpacker/templates/postcss.config.js +12 -0
- data/lib/snowpacker/templates/snowpack.config.js +42 -0
- data/lib/snowpacker/templates/snowpacker.rb +19 -0
- data/lib/snowpacker/version.rb +5 -0
- data/lib/tasks/snowpacker_tasks.rake +30 -0
- data/snowpacker.gemspec +45 -0
- data/yarn.lock +6211 -0
- metadata +299 -0
metadata
ADDED
@@ -0,0 +1,299 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: snowpacker
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4.alpha1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Konnor Rogers
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-07-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rack-proxy
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.6.4
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.6.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: conventional-changelog
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.2'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: minitest
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '5.14'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '5.14'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.12'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.12'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '6'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '6'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '13.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '13.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: standardrb
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: yard
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
description: Rails integration of Snowpack
|
154
|
+
email:
|
155
|
+
- konnor7414@gmail.com
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- ".codeclimate.yml"
|
161
|
+
- ".dockerignore"
|
162
|
+
- ".github/workflows/build.yml"
|
163
|
+
- ".gitignore"
|
164
|
+
- CHANGELOG.md
|
165
|
+
- Dockerfile
|
166
|
+
- Gemfile
|
167
|
+
- Gemfile.lock
|
168
|
+
- LICENSE.txt
|
169
|
+
- README.md
|
170
|
+
- Rakefile
|
171
|
+
- bin/console
|
172
|
+
- bin/setup
|
173
|
+
- docker-compose.yml
|
174
|
+
- docker.env
|
175
|
+
- examples/rails-without-webpack/.gitignore
|
176
|
+
- examples/rails-without-webpack/.ruby-version
|
177
|
+
- examples/rails-without-webpack/Gemfile
|
178
|
+
- examples/rails-without-webpack/Gemfile.lock
|
179
|
+
- examples/rails-without-webpack/README.md
|
180
|
+
- examples/rails-without-webpack/Rakefile
|
181
|
+
- examples/rails-without-webpack/app/assets/config/manifest.js
|
182
|
+
- examples/rails-without-webpack/app/assets/images/.keep
|
183
|
+
- examples/rails-without-webpack/app/assets/stylesheets/application.css
|
184
|
+
- examples/rails-without-webpack/app/assets/stylesheets/static_pages.scss
|
185
|
+
- examples/rails-without-webpack/app/channels/application_cable/channel.rb
|
186
|
+
- examples/rails-without-webpack/app/channels/application_cable/connection.rb
|
187
|
+
- examples/rails-without-webpack/app/controllers/application_controller.rb
|
188
|
+
- examples/rails-without-webpack/app/controllers/concerns/.keep
|
189
|
+
- examples/rails-without-webpack/app/controllers/static_pages_controller.rb
|
190
|
+
- examples/rails-without-webpack/app/helpers/application_helper.rb
|
191
|
+
- examples/rails-without-webpack/app/helpers/static_pages_helper.rb
|
192
|
+
- examples/rails-without-webpack/app/javascript/channels/consumer.js
|
193
|
+
- examples/rails-without-webpack/app/javascript/channels/index.js
|
194
|
+
- examples/rails-without-webpack/app/javascript/packs/application.js
|
195
|
+
- examples/rails-without-webpack/app/javascript/stylesheets/index.css
|
196
|
+
- examples/rails-without-webpack/app/jobs/application_job.rb
|
197
|
+
- examples/rails-without-webpack/app/mailers/application_mailer.rb
|
198
|
+
- examples/rails-without-webpack/app/models/application_record.rb
|
199
|
+
- examples/rails-without-webpack/app/models/concerns/.keep
|
200
|
+
- examples/rails-without-webpack/app/views/layouts/application.html.erb
|
201
|
+
- examples/rails-without-webpack/app/views/layouts/mailer.html.erb
|
202
|
+
- examples/rails-without-webpack/app/views/layouts/mailer.text.erb
|
203
|
+
- examples/rails-without-webpack/app/views/static_pages/index.html.erb
|
204
|
+
- examples/rails-without-webpack/bin/bundle
|
205
|
+
- examples/rails-without-webpack/bin/rails
|
206
|
+
- examples/rails-without-webpack/bin/rake
|
207
|
+
- examples/rails-without-webpack/bin/setup
|
208
|
+
- examples/rails-without-webpack/bin/spring
|
209
|
+
- examples/rails-without-webpack/bin/yarn
|
210
|
+
- examples/rails-without-webpack/config.ru
|
211
|
+
- examples/rails-without-webpack/config/application.rb
|
212
|
+
- examples/rails-without-webpack/config/boot.rb
|
213
|
+
- examples/rails-without-webpack/config/cable.yml
|
214
|
+
- examples/rails-without-webpack/config/credentials.yml.enc
|
215
|
+
- examples/rails-without-webpack/config/database.yml
|
216
|
+
- examples/rails-without-webpack/config/environment.rb
|
217
|
+
- examples/rails-without-webpack/config/environments/development.rb
|
218
|
+
- examples/rails-without-webpack/config/environments/production.rb
|
219
|
+
- examples/rails-without-webpack/config/environments/test.rb
|
220
|
+
- examples/rails-without-webpack/config/initializers/application_controller_renderer.rb
|
221
|
+
- examples/rails-without-webpack/config/initializers/assets.rb
|
222
|
+
- examples/rails-without-webpack/config/initializers/backtrace_silencers.rb
|
223
|
+
- examples/rails-without-webpack/config/initializers/content_security_policy.rb
|
224
|
+
- examples/rails-without-webpack/config/initializers/cookies_serializer.rb
|
225
|
+
- examples/rails-without-webpack/config/initializers/filter_parameter_logging.rb
|
226
|
+
- examples/rails-without-webpack/config/initializers/inflections.rb
|
227
|
+
- examples/rails-without-webpack/config/initializers/mime_types.rb
|
228
|
+
- examples/rails-without-webpack/config/initializers/snowpacker.rb
|
229
|
+
- examples/rails-without-webpack/config/initializers/wrap_parameters.rb
|
230
|
+
- examples/rails-without-webpack/config/locales/en.yml
|
231
|
+
- examples/rails-without-webpack/config/puma.rb
|
232
|
+
- examples/rails-without-webpack/config/routes.rb
|
233
|
+
- examples/rails-without-webpack/config/snowpacker/.browserslistrc
|
234
|
+
- examples/rails-without-webpack/config/snowpacker/babel.config.js
|
235
|
+
- examples/rails-without-webpack/config/snowpacker/postcss.config.js
|
236
|
+
- examples/rails-without-webpack/config/snowpacker/snowpack.config.js
|
237
|
+
- examples/rails-without-webpack/config/spring.rb
|
238
|
+
- examples/rails-without-webpack/config/storage.yml
|
239
|
+
- examples/rails-without-webpack/db/seeds.rb
|
240
|
+
- examples/rails-without-webpack/lib/assets/.keep
|
241
|
+
- examples/rails-without-webpack/lib/tasks/.keep
|
242
|
+
- examples/rails-without-webpack/package.json
|
243
|
+
- examples/rails-without-webpack/storage/.keep
|
244
|
+
- examples/rails-without-webpack/test/application_system_test_case.rb
|
245
|
+
- examples/rails-without-webpack/test/channels/application_cable/connection_test.rb
|
246
|
+
- examples/rails-without-webpack/test/controllers/.keep
|
247
|
+
- examples/rails-without-webpack/test/controllers/static_pages_controller_test.rb
|
248
|
+
- examples/rails-without-webpack/test/fixtures/.keep
|
249
|
+
- examples/rails-without-webpack/test/fixtures/files/.keep
|
250
|
+
- examples/rails-without-webpack/test/helpers/.keep
|
251
|
+
- examples/rails-without-webpack/test/integration/.keep
|
252
|
+
- examples/rails-without-webpack/test/mailers/.keep
|
253
|
+
- examples/rails-without-webpack/test/models/.keep
|
254
|
+
- examples/rails-without-webpack/test/system/.keep
|
255
|
+
- examples/rails-without-webpack/test/test_helper.rb
|
256
|
+
- examples/rails-without-webpack/tmp/.keep
|
257
|
+
- examples/rails-without-webpack/tmp/pids/.keep
|
258
|
+
- examples/rails-without-webpack/vendor/.keep
|
259
|
+
- examples/rails-without-webpack/yarn.lock
|
260
|
+
- lib/snowpacker.rb
|
261
|
+
- lib/snowpacker/configuration.rb
|
262
|
+
- lib/snowpacker/engine.rb
|
263
|
+
- lib/snowpacker/env.rb
|
264
|
+
- lib/snowpacker/runner.rb
|
265
|
+
- lib/snowpacker/snowpacker_generator.rb
|
266
|
+
- lib/snowpacker/snowpacker_proxy.rb
|
267
|
+
- lib/snowpacker/templates/babel.config.js
|
268
|
+
- lib/snowpacker/templates/postcss.config.js
|
269
|
+
- lib/snowpacker/templates/snowpack.config.js
|
270
|
+
- lib/snowpacker/templates/snowpacker.rb
|
271
|
+
- lib/snowpacker/version.rb
|
272
|
+
- lib/tasks/snowpacker_tasks.rake
|
273
|
+
- snowpacker.gemspec
|
274
|
+
- yarn.lock
|
275
|
+
homepage: http://github.com/paramagicdev/snowpacker
|
276
|
+
licenses:
|
277
|
+
- MIT
|
278
|
+
metadata:
|
279
|
+
allowed_push_host: https://rubygems.org
|
280
|
+
post_install_message:
|
281
|
+
rdoc_options: []
|
282
|
+
require_paths:
|
283
|
+
- lib
|
284
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
285
|
+
requirements:
|
286
|
+
- - ">="
|
287
|
+
- !ruby/object:Gem::Version
|
288
|
+
version: '0'
|
289
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
290
|
+
requirements:
|
291
|
+
- - ">"
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: 1.3.1
|
294
|
+
requirements: []
|
295
|
+
rubygems_version: 3.0.3
|
296
|
+
signing_key:
|
297
|
+
specification_version: 4
|
298
|
+
summary: Rails integration of Snowpack
|
299
|
+
test_files: []
|