webpacker 5.0.1 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/Gemfile.lock +1 -1
- data/README.md +9 -22
- data/docs/env.md +0 -2
- data/docs/testing.md +1 -2
- data/docs/typescript.md +4 -20
- data/lib/install/config/webpacker.yml +0 -4
- data/lib/install/examples/react/tsconfig.json +2 -1
- data/lib/install/examples/typescript/tsconfig.json +2 -1
- data/lib/install/typescript.rb +8 -12
- data/lib/webpacker/compiler.rb +2 -3
- data/lib/webpacker/configuration.rb +1 -5
- data/lib/webpacker/dev_server_proxy.rb +3 -1
- data/lib/webpacker/helper.rb +8 -8
- data/lib/webpacker/railtie.rb +0 -43
- data/lib/webpacker/version.rb +1 -1
- data/package.json +1 -1
- data/package/__tests__/dev_server.js +2 -0
- data/package/dev_server.js +1 -1
- data/package/rules/babel.js +1 -1
- data/test/test_app/config/application.rb +0 -1
- data/yarn.lock +3 -3
- metadata +4 -5
- data/lib/install/loaders/typescript.js +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f40a6c8d18cf109b9dcd47ffcd683eed4937e7a270d4b7012bbe19ef7c949801
|
4
|
+
data.tar.gz: be53580b891326ee7001338bc4a74304055910cb504f1cacf1f10315bb02287c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de6712a73fdcfa58bcfd45928884e252dbc1ab17f8caaa3c8494d8dd90e505070b160e182bb74ae3afac6fc14560fa38c72436c997a5cb0df054b4df3ff0d5e1
|
7
|
+
data.tar.gz: 11cc1597eaa0a29581670ceb03c3c30b3aabe509d272563e285eac57c04d9eba0dd4db991834074fc180df07294cabd9d06ded3179f79b6960070ccfccf0c61c
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,13 @@
|
|
2
2
|
|
3
3
|
**Please note that Webpacker 4.1.0 has an installer bug. Please use 4.2.0 or above**
|
4
4
|
|
5
|
-
## [[5.0
|
5
|
+
## [[5.1.0]](https://github.com/rails/webpacker/compare/v5.0.1...v5.1.0) - 2020-04-19
|
6
|
+
|
7
|
+
- Remove yarn integrity check [#2518](https://github.com/rails/webpacker/pull/2518)
|
8
|
+
- Switch from ts-loader to babel-loader [#2449](https://github.com/rails/webpacker/pull/2449)
|
9
|
+
- Resolve multi-word snakecase WEBPACKER_DEV_SERVER env values [#2528](https://github.com/rails/webpacker/pull/2528)
|
10
|
+
|
11
|
+
## [[5.0.1]](https://github.com/rails/webpacker/compare/v5.0.0...v5.0.1) - 2020-03-22
|
6
12
|
|
7
13
|
- Upgrade deps and fix sass loader config options bug [#2508](https://github.com/rails/webpacker/pull/2508)
|
8
14
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -28,7 +28,6 @@ in which case you may not even need the asset pipeline. This is mostly relevant
|
|
28
28
|
- [Webpack Configuration](#webpack-configuration)
|
29
29
|
- [Custom Rails environments](#custom-rails-environments)
|
30
30
|
- [Upgrading](#upgrading)
|
31
|
-
- [Yarn Integrity](#yarn-integrity)
|
32
31
|
- [Integrations](#integrations)
|
33
32
|
- [React](./docs/integrations.md#react)
|
34
33
|
- [Angular with TypeScript](./docs/integrations.md#angular-with-typescript)
|
@@ -83,7 +82,7 @@ Or add it to your `Gemfile`:
|
|
83
82
|
|
84
83
|
```ruby
|
85
84
|
# Gemfile
|
86
|
-
gem 'webpacker', '~>
|
85
|
+
gem 'webpacker', '~> 5.x'
|
87
86
|
|
88
87
|
# OR if you prefer to use master
|
89
88
|
gem 'webpacker', git: 'https://github.com/rails/webpacker.git'
|
@@ -107,6 +106,12 @@ Optional: To fix ["unmet peer dependency" warnings](https://github.com/rails/web
|
|
107
106
|
yarn upgrade
|
108
107
|
```
|
109
108
|
|
109
|
+
When `package.json` and/or `yarn.lock` changes, such as when pulling down changes to your local environment in a team settings, be sure to keep your NPM packages up-to-date:
|
110
|
+
|
111
|
+
```bash
|
112
|
+
yarn install
|
113
|
+
```
|
114
|
+
|
110
115
|
### Usage
|
111
116
|
|
112
117
|
Once installed, you can start writing modern ES6-flavored JavaScript apps right away:
|
@@ -300,26 +305,6 @@ yarn upgrade webpack-dev-server --latest
|
|
300
305
|
yarn add @rails/webpacker@next
|
301
306
|
```
|
302
307
|
|
303
|
-
### Yarn Integrity
|
304
|
-
|
305
|
-
By default, in development, webpacker runs a yarn integrity check to ensure that all local JavaScript packages are up-to-date. This is similar to what bundler does currently in Rails, but for JavaScript packages. If your system is out of date, then Rails will not initialize. You will be asked to upgrade your local JavaScript packages by running `yarn install`.
|
306
|
-
|
307
|
-
To turn off this option, you will need to change the default setting in `config/webpacker.yml`:
|
308
|
-
|
309
|
-
```yaml
|
310
|
-
# config/webpacker.yml
|
311
|
-
development:
|
312
|
-
...
|
313
|
-
# Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules
|
314
|
-
check_yarn_integrity: false
|
315
|
-
```
|
316
|
-
|
317
|
-
You may also turn on this feature by adding the config option for any Rails environment in `config/webpacker.yml`:
|
318
|
-
|
319
|
-
```yaml
|
320
|
-
check_yarn_integrity: true
|
321
|
-
```
|
322
|
-
|
323
308
|
## Integrations
|
324
309
|
|
325
310
|
Webpacker ships with basic out-of-the-box integration. You can see a list of available commands/tasks by running `bundle exec rails webpacker`.
|
@@ -413,6 +398,8 @@ Webpacker::Compiler.watched_paths << 'bower_components'
|
|
413
398
|
|
414
399
|
Webpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).
|
415
400
|
|
401
|
+
When compiling assets for production on a remote server, such as a continuous integration environment, it's recommended to use `yarn install --frozen-lockfile` to install NPM packages on the remote host to ensure that the installed packages match the `yarn.lock` file.
|
402
|
+
|
416
403
|
## Docs
|
417
404
|
|
418
405
|
- [Development](https://github.com/rails/webpacker#development)
|
data/docs/env.md
CHANGED
@@ -49,8 +49,6 @@ dotenvFiles.forEach((dotenvFile) => {
|
|
49
49
|
dotenv.config({ path: dotenvFile, silent: true })
|
50
50
|
})
|
51
51
|
|
52
|
-
environment.plugins.prepend('Environment', new webpack.EnvironmentPlugin(JSON.parse(JSON.stringify(process.env))))
|
53
|
-
|
54
52
|
module.exports = environment
|
55
53
|
```
|
56
54
|
|
data/docs/testing.md
CHANGED
@@ -10,8 +10,7 @@ Webpacker does not setup `Karma` by default, so you've to manually install it al
|
|
10
10
|
"test": "NODE_ENV=test karma start"
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
|
-
"typescript": "^2.5.2"
|
14
|
-
"ts-loader": "^2.3.7"
|
13
|
+
"typescript": "^2.5.2"
|
15
14
|
},
|
16
15
|
"devDependencies": {
|
17
16
|
"karma": "^1.7.1",
|
data/docs/typescript.md
CHANGED
@@ -21,35 +21,19 @@ bundle exec rails webpacker:install:typescript
|
|
21
21
|
```
|
22
22
|
|
23
23
|
2. Rename generated `hello_vue.js` to `hello_vue.ts`.
|
24
|
-
3.
|
25
|
-
4. Change the generated `config/webpack/loaders/typescript.js` from
|
24
|
+
3. Change the generated `babel.config.js` from
|
26
25
|
|
27
26
|
```js
|
28
|
-
|
29
|
-
test: /\.tsx?(\.erb)?$/,
|
30
|
-
use: [{
|
31
|
-
loader: 'ts-loader'
|
32
|
-
}]
|
33
|
-
}
|
27
|
+
["@babel/preset-typescript", { "allExtensions": true, "isTSX": true }]
|
34
28
|
```
|
35
29
|
|
36
30
|
to
|
37
31
|
|
38
32
|
```js
|
39
|
-
|
40
|
-
|
41
|
-
module.exports = {
|
42
|
-
test: /\.tsx?(\.erb)?$/,
|
43
|
-
use: [{
|
44
|
-
loader: 'ts-loader',
|
45
|
-
options: PnpWebpackPlugin.tsLoaderOptions({
|
46
|
-
appendTsSuffixTo: [/\.vue$/]
|
47
|
-
})
|
48
|
-
}]
|
49
|
-
}
|
33
|
+
["babel-preset-typescript-vue", { "allExtensions": true, "isTSX": true }]
|
50
34
|
```
|
51
35
|
|
52
|
-
and now you can use `<script lang="ts">` in your `.vue` component files. See [the
|
36
|
+
and now you can use `<script lang="ts">` in your `.vue` component files. See [the babel-preset-typescript-vue docs](https://www.npmjs.com/package/babel-preset-typescript-vue) for more info.
|
53
37
|
|
54
38
|
## HTML templates with Typescript and Angular
|
55
39
|
|
@@ -6,7 +6,6 @@ default: &default
|
|
6
6
|
public_root_path: public
|
7
7
|
public_output_path: packs
|
8
8
|
cache_path: tmp/cache/webpacker
|
9
|
-
check_yarn_integrity: false
|
10
9
|
webpack_compile_output: true
|
11
10
|
|
12
11
|
# Additional paths webpack should lookup modules
|
@@ -52,9 +51,6 @@ development:
|
|
52
51
|
<<: *default
|
53
52
|
compile: true
|
54
53
|
|
55
|
-
# Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules
|
56
|
-
check_yarn_integrity: true
|
57
|
-
|
58
54
|
# Reference: https://webpack.js.org/configuration/dev-server/
|
59
55
|
dev_server:
|
60
56
|
https: false
|
data/lib/install/typescript.rb
CHANGED
@@ -15,17 +15,10 @@ if File.exist?(package_json)
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
say "
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
insert_into_file Rails.root.join("config/webpack/environment.js").to_s,
|
23
|
-
"const typescript = require('./loaders/typescript')\n",
|
24
|
-
after: /require\(('|")@rails\/webpacker\1\);?\n/
|
25
|
-
|
26
|
-
insert_into_file Rails.root.join("config/webpack/environment.js").to_s,
|
27
|
-
"environment.loaders.prepend('typescript', typescript)\n",
|
28
|
-
before: "module.exports"
|
18
|
+
say "Adding TypeScript preset to babel.config.js"
|
19
|
+
insert_into_file Rails.root.join("babel.config.js").to_s,
|
20
|
+
",\n ['@babel/preset-typescript', { 'allExtensions': true, 'isTSX': true }]",
|
21
|
+
before: /\s*\].filter\(Boolean\),\n\s*plugins: \[/
|
29
22
|
|
30
23
|
say "Copying tsconfig.json to the Rails root directory for typescript"
|
31
24
|
copy_file "#{__dir__}/examples/#{example_source}/tsconfig.json", "tsconfig.json"
|
@@ -41,6 +34,9 @@ copy_file "#{__dir__}/examples/typescript/hello_typescript.ts",
|
|
41
34
|
"#{Webpacker.config.source_entry_path}/hello_typescript.ts"
|
42
35
|
|
43
36
|
say "Installing all typescript dependencies"
|
44
|
-
run "yarn add typescript
|
37
|
+
run "yarn add typescript #{additional_packages}"
|
38
|
+
|
39
|
+
say "Installing all typescript dev-dependencies"
|
40
|
+
run "yarn add @babel/preset-typescript babel-preset-typescript-vue -D"
|
45
41
|
|
46
42
|
say "Webpacker now supports typescript 🎉", :green
|
data/lib/webpacker/compiler.rb
CHANGED
@@ -20,9 +20,8 @@ class Webpacker::Compiler
|
|
20
20
|
if stale?
|
21
21
|
run_webpack.tap do |success|
|
22
22
|
# We used to only record the digest on success
|
23
|
-
# However, the output file is still written on error,
|
24
|
-
#
|
25
|
-
# take place when it should.
|
23
|
+
# However, the output file is still written on error, meaning that the digest should still be updated.
|
24
|
+
# If it's not, you can end up in a situation where a recompile doesn't take place when it should.
|
26
25
|
# See https://github.com/rails/webpacker/issues/2113
|
27
26
|
record_compilation_digest
|
28
27
|
end
|
@@ -64,11 +64,7 @@ class Webpacker::Configuration
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def check_yarn_integrity=(value)
|
67
|
-
|
68
|
-
end
|
69
|
-
|
70
|
-
def check_yarn_integrity?
|
71
|
-
fetch(:check_yarn_integrity)
|
67
|
+
warn "Webpacker::Configuration#check_yarn_integrity=(value) has been deprecated. The integrity check has been removed from Webpacker so changing this setting will have no effect."
|
72
68
|
end
|
73
69
|
|
74
70
|
def webpack_compile_output?
|
@@ -11,7 +11,9 @@ class Webpacker::DevServerProxy < Rack::Proxy
|
|
11
11
|
|
12
12
|
def perform_request(env)
|
13
13
|
if env["PATH_INFO"].start_with?("/#{public_output_uri_path}") && dev_server.running?
|
14
|
-
env["HTTP_HOST"] = env["HTTP_X_FORWARDED_HOST"] =
|
14
|
+
env["HTTP_HOST"] = env["HTTP_X_FORWARDED_HOST"] = dev_server.host
|
15
|
+
env["HTTP_X_FORWARDED_SERVER"] = dev_server.host_with_port
|
16
|
+
env["HTTP_PORT"] = env["HTTP_X_FORWARDED_PORT"] = dev_server.port.to_s
|
15
17
|
env["HTTP_X_FORWARDED_PROTO"] = env["HTTP_X_FORWARDED_SCHEME"] = dev_server.protocol
|
16
18
|
unless dev_server.https?
|
17
19
|
env["HTTPS"] = env["HTTP_X_FORWARDED_SSL"] = "off"
|
data/lib/webpacker/helper.rb
CHANGED
@@ -7,8 +7,8 @@ module Webpacker::Helper
|
|
7
7
|
end
|
8
8
|
|
9
9
|
# Computes the relative path for a given Webpacker asset.
|
10
|
-
# Returns the relative path using manifest.json and passes it to
|
11
|
-
# This will use
|
10
|
+
# Returns the relative path using manifest.json and passes it to path_to_asset helper.
|
11
|
+
# This will use path_to_asset internally, so most of their behaviors will be the same.
|
12
12
|
#
|
13
13
|
# Example:
|
14
14
|
#
|
@@ -19,13 +19,13 @@ module Webpacker::Helper
|
|
19
19
|
# <%= asset_pack_path 'calendar.css' %> # => "/packs/calendar-1016838bab065ae1e122.css"
|
20
20
|
def asset_pack_path(name, **options)
|
21
21
|
if current_webpacker_instance.config.extract_css? || !stylesheet?(name)
|
22
|
-
|
22
|
+
path_to_asset(current_webpacker_instance.manifest.lookup!(name), options)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
26
|
# Computes the absolute path for a given Webpacker asset.
|
27
|
-
# Returns the absolute path using manifest.json and passes it to
|
28
|
-
# This will use
|
27
|
+
# Returns the absolute path using manifest.json and passes it to url_to_asset helper.
|
28
|
+
# This will use url_to_asset internally, so most of their behaviors will be the same.
|
29
29
|
#
|
30
30
|
# Example:
|
31
31
|
#
|
@@ -36,7 +36,7 @@ module Webpacker::Helper
|
|
36
36
|
# <%= asset_pack_url 'calendar.css' %> # => "http://example.com/packs/calendar-1016838bab065ae1e122.css"
|
37
37
|
def asset_pack_url(name, **options)
|
38
38
|
if current_webpacker_instance.config.extract_css? || !stylesheet?(name)
|
39
|
-
|
39
|
+
url_to_asset(current_webpacker_instance.manifest.lookup!(name), options)
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
@@ -169,8 +169,8 @@ module Webpacker::Helper
|
|
169
169
|
|
170
170
|
def resolve_path_to_image(name)
|
171
171
|
path = name.starts_with?("media/images/") ? name : "media/images/#{name}"
|
172
|
-
|
172
|
+
path_to_asset(current_webpacker_instance.manifest.lookup!(path))
|
173
173
|
rescue
|
174
|
-
|
174
|
+
path_to_asset(current_webpacker_instance.manifest.lookup!(name))
|
175
175
|
end
|
176
176
|
end
|
data/lib/webpacker/railtie.rb
CHANGED
@@ -7,49 +7,6 @@ class Webpacker::Engine < ::Rails::Engine
|
|
7
7
|
# Allows Webpacker config values to be set via Rails env config files
|
8
8
|
config.webpacker = ActiveSupport::OrderedOptions.new
|
9
9
|
|
10
|
-
initializer "webpacker.set_configs" do |app|
|
11
|
-
if app.config.webpacker.key?(:check_yarn_integrity)
|
12
|
-
Webpacker.config.check_yarn_integrity = app.config.webpacker.check_yarn_integrity
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
# ================================
|
17
|
-
# Check Yarn Integrity Initializer
|
18
|
-
# ================================
|
19
|
-
#
|
20
|
-
# development (on by default):
|
21
|
-
#
|
22
|
-
# to turn off:
|
23
|
-
# - edit config/environments/development.rb
|
24
|
-
# - add `config.webpacker.check_yarn_integrity = false`
|
25
|
-
#
|
26
|
-
# production (off by default):
|
27
|
-
#
|
28
|
-
# to turn on:
|
29
|
-
# - edit config/environments/production.rb
|
30
|
-
# - add `config.webpacker.check_yarn_integrity = true`
|
31
|
-
initializer "webpacker.yarn_check" do |app|
|
32
|
-
if File.exist?("yarn.lock") && Webpacker.config.config_path.exist? && Webpacker.config.check_yarn_integrity?
|
33
|
-
output = `yarn check --integrity && yarn check --verify-tree 2>&1`
|
34
|
-
|
35
|
-
unless $?.success?
|
36
|
-
$stderr.puts "\n\n"
|
37
|
-
$stderr.puts "========================================"
|
38
|
-
$stderr.puts " Your Yarn packages are out of date!"
|
39
|
-
$stderr.puts " Please run `yarn install --check-files` to update."
|
40
|
-
$stderr.puts "========================================"
|
41
|
-
$stderr.puts "\n\n"
|
42
|
-
$stderr.puts "To disable this check, please change `check_yarn_integrity`"
|
43
|
-
$stderr.puts "to `false` in your webpacker config file (config/webpacker.yml)."
|
44
|
-
$stderr.puts "\n\n"
|
45
|
-
$stderr.puts output
|
46
|
-
$stderr.puts "\n\n"
|
47
|
-
|
48
|
-
exit(1)
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
10
|
initializer "webpacker.proxy" do |app|
|
54
11
|
insert_middleware = Webpacker.config.dev_server.present? rescue nil
|
55
12
|
if insert_middleware
|
data/lib/webpacker/version.rb
CHANGED
data/package.json
CHANGED
@@ -13,11 +13,13 @@ describe('DevServer', () => {
|
|
13
13
|
process.env.RAILS_ENV = 'development'
|
14
14
|
process.env.WEBPACKER_DEV_SERVER_HOST = '0.0.0.0'
|
15
15
|
process.env.WEBPACKER_DEV_SERVER_PORT = 5000
|
16
|
+
process.env.WEBPACKER_DEV_SERVER_DISABLE_HOST_CHECK = false
|
16
17
|
|
17
18
|
const devServer = require('../dev_server')
|
18
19
|
expect(devServer).toBeDefined()
|
19
20
|
expect(devServer.host).toEqual('0.0.0.0')
|
20
21
|
expect(devServer.port).toEqual('5000')
|
22
|
+
expect(devServer.disable_host_check).toBe(false)
|
21
23
|
})
|
22
24
|
|
23
25
|
test('with custom env prefix', () => {
|
data/package/dev_server.js
CHANGED
@@ -12,7 +12,7 @@ if (devServerConfig) {
|
|
12
12
|
const envPrefix = config.dev_server.env_prefix || 'WEBPACKER_DEV_SERVER'
|
13
13
|
|
14
14
|
Object.keys(devServerConfig).forEach((key) => {
|
15
|
-
const envValue = fetch(`${envPrefix}_${key.toUpperCase()
|
15
|
+
const envValue = fetch(`${envPrefix}_${key.toUpperCase()}`)
|
16
16
|
if (envValue !== undefined) devServerConfig[key] = envValue
|
17
17
|
})
|
18
18
|
}
|
data/package/rules/babel.js
CHANGED
@@ -5,7 +5,7 @@ const { nodeEnv } = require('../env')
|
|
5
5
|
// Process application Javascript code with Babel.
|
6
6
|
// Uses application .babelrc to apply any transformations
|
7
7
|
module.exports = {
|
8
|
-
test: /\.(js|jsx|mjs)?(\.erb)?$/,
|
8
|
+
test: /\.(js|jsx|mjs|ts|tsx)?(\.erb)?$/,
|
9
9
|
include: [sourcePath, ...resolvedPaths].map((p) => resolve(p)),
|
10
10
|
exclude: /node_modules/,
|
11
11
|
use: [
|
data/yarn.lock
CHANGED
@@ -1495,9 +1495,9 @@ acorn-walk@^6.0.1:
|
|
1495
1495
|
integrity sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA==
|
1496
1496
|
|
1497
1497
|
acorn@^6.0.1, acorn@^6.2.1:
|
1498
|
-
version "6.
|
1499
|
-
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.
|
1500
|
-
integrity sha512
|
1498
|
+
version "6.4.1"
|
1499
|
+
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.1.tgz#531e58ba3f51b9dacb9a6646ca4debf5b14ca474"
|
1500
|
+
integrity sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==
|
1501
1501
|
|
1502
1502
|
acorn@^7.1.0:
|
1503
1503
|
version "7.1.0"
|
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: 5.0
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-04-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -193,7 +193,6 @@ files:
|
|
193
193
|
- lib/install/loaders/elm.js
|
194
194
|
- lib/install/loaders/erb.js
|
195
195
|
- lib/install/loaders/svelte.js
|
196
|
-
- lib/install/loaders/typescript.js
|
197
196
|
- lib/install/loaders/vue.js
|
198
197
|
- lib/install/react.rb
|
199
198
|
- lib/install/stimulus.rb
|
@@ -301,8 +300,8 @@ homepage: https://github.com/rails/webpacker
|
|
301
300
|
licenses:
|
302
301
|
- MIT
|
303
302
|
metadata:
|
304
|
-
source_code_uri: https://github.com/rails/webpacker/tree/v5.0
|
305
|
-
changelog_uri: https://github.com/rails/webpacker/blob/v5.0
|
303
|
+
source_code_uri: https://github.com/rails/webpacker/tree/v5.1.0
|
304
|
+
changelog_uri: https://github.com/rails/webpacker/blob/v5.1.0/CHANGELOG.md
|
306
305
|
post_install_message:
|
307
306
|
rdoc_options: []
|
308
307
|
require_paths:
|