webpacker 3.2.0 → 3.2.1
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/.gitignore +3 -0
- data/.travis.yml +3 -0
- data/CHANGELOG.md +28 -3
- data/Gemfile.lock +8 -9
- data/docs/deployment.md +2 -2
- data/docs/typescript.md +5 -33
- data/docs/webpack.md +5 -5
- data/lib/install/angular.rb +2 -17
- data/lib/install/coffee.rb +3 -0
- data/lib/install/config/webpacker.yml +0 -5
- data/lib/install/elm.rb +1 -1
- data/lib/install/erb.rb +4 -1
- data/lib/install/examples/react/tsconfig.json +20 -0
- data/lib/install/examples/typescript/hello_typescript.ts +4 -0
- data/lib/install/examples/{angular → typescript}/tsconfig.json +0 -0
- data/lib/install/examples/vue/hello_vue.js +3 -2
- data/lib/install/loaders/elm.js +1 -1
- data/lib/install/react.rb +3 -0
- data/lib/install/template.rb +8 -9
- data/lib/install/typescript.rb +46 -0
- data/lib/install/vue.rb +3 -0
- data/lib/tasks/installers.rake +19 -5
- data/lib/tasks/webpacker.rake +2 -1
- data/lib/tasks/webpacker/check_binstubs.rake +1 -1
- data/lib/tasks/webpacker/compile.rake +1 -1
- data/lib/tasks/webpacker/yarn_install.rake +2 -2
- data/lib/webpacker/dev_server.rb +6 -2
- data/lib/webpacker/helper.rb +14 -2
- data/lib/webpacker/railtie.rb +4 -2
- data/lib/webpacker/version.rb +1 -1
- data/package.json +10 -9
- data/package/environments/production.js +17 -10
- data/package/rules/file.js +1 -1
- data/test/dev_server_test.rb +7 -0
- data/test/test_app/config/webpacker.yml +0 -5
- data/yarn.lock +737 -393
- metadata +6 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webpacker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-01-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -126,13 +126,15 @@ files:
|
|
126
126
|
- lib/install/examples/angular/hello_angular/app/app.module.ts
|
127
127
|
- lib/install/examples/angular/hello_angular/index.ts
|
128
128
|
- lib/install/examples/angular/hello_angular/polyfills.ts
|
129
|
-
- lib/install/examples/angular/tsconfig.json
|
130
129
|
- lib/install/examples/coffee/hello_coffee.coffee
|
131
130
|
- lib/install/examples/elm/Main.elm
|
132
131
|
- lib/install/examples/elm/hello_elm.js
|
133
132
|
- lib/install/examples/erb/hello_erb.js.erb
|
134
133
|
- lib/install/examples/react/.babelrc
|
135
134
|
- lib/install/examples/react/hello_react.jsx
|
135
|
+
- lib/install/examples/react/tsconfig.json
|
136
|
+
- lib/install/examples/typescript/hello_typescript.ts
|
137
|
+
- lib/install/examples/typescript/tsconfig.json
|
136
138
|
- lib/install/examples/vue/app.vue
|
137
139
|
- lib/install/examples/vue/hello_vue.js
|
138
140
|
- lib/install/javascript/packs/application.js
|
@@ -143,6 +145,7 @@ files:
|
|
143
145
|
- lib/install/loaders/vue.js
|
144
146
|
- lib/install/react.rb
|
145
147
|
- lib/install/template.rb
|
148
|
+
- lib/install/typescript.rb
|
146
149
|
- lib/install/vue.rb
|
147
150
|
- lib/tasks/installers.rake
|
148
151
|
- lib/tasks/webpacker.rake
|