simpacker 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0523cb48ed8bb338019021e9fb4a1753f891cc2a02b314204641f78751bef706
4
- data.tar.gz: 11ba83077029dc703d72d8bdeca29967fb93326805a03f0c463e311cd3f075c5
3
+ metadata.gz: c3cb3ad3505e3888c12a5684f094f2a5f051299ca3ebd3cda5440459a0183055
4
+ data.tar.gz: 7de94dbbc14ba099dca995ebe03186b1e3ce9c2cf05fa99059dbce9dd61e36e4
5
5
  SHA512:
6
- metadata.gz: c8359e0a9512f9ac4cd3afd44ae2471b777d33dd89b9493265951e12a82acc8b4e6f27b8a6acc456a2e9fdf62e2cd655f3e3d792897af1803657be24d6fe5b41
7
- data.tar.gz: 8b6b9d1326a9da1e1439240acaecd77e7fd2f8cf114c66d19b4fcb02fde7c72a7d2a8479411afc85cc6b8a2c0adb6e35714459da2ee80e98c3e510250b348af4
6
+ metadata.gz: f1c2090cc19f6c64457514550456b888c87ec49c89a053d5bff3c3d1c761e493e6c28e772f4be5c3b3686aaeccf4b3e9cc000d416fdaffe1ccc4377b74ac6729
7
+ data.tar.gz: e873dd15a63c99184ecf743de842325a6fadcfc21b0660172700d8c0565fa5550a852bd332eabc45cd9b1e2c84b1ba47d97c9e81953cea94ac3947046f04a51d
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  /Gemfile.lock
10
+ /node_modules/
@@ -0,0 +1 @@
1
+ **/public/packs/
@@ -1 +1,8 @@
1
1
  language: ruby
2
+ cache: bundler
3
+
4
+ rvm:
5
+ - 2.5
6
+ - 2.6
7
+ - 2.7
8
+ - 3.0
@@ -1,3 +1,7 @@
1
+ ## v1.1.2
2
+
3
+ - Set output option to manifest.json in webpack.config.js
4
+
1
5
  ## v1.1.1
2
6
 
3
7
  - Fix deprecation warnings for Ruby 2.7 keyword arguments
data/README.md CHANGED
@@ -41,6 +41,7 @@ $ ./node_modules/.bin/webpack --watch
41
41
  - Webpack settings
42
42
  - [webpack-dev-server](https://github.com/hokaccha/simpacker/tree/master/example/webpack-dev-server)
43
43
  - [Multiple Entry Point](https://github.com/hokaccha/simpacker/tree/master/example/multiple-entry-points)
44
+ - [Split Chunks](https://github.com/hokaccha/simpacker/tree/master/example/split-chunks)
44
45
  - Transpilers
45
46
  - [TypeScript](https://github.com/hokaccha/simpacker/tree/master/example/typescript)
46
47
  - [Babel](https://github.com/hokaccha/simpacker/tree/master/example/babel)
@@ -59,7 +60,6 @@ $ ./node_modules/.bin/webpack --watch
59
60
  - [Docker](https://github.com/hokaccha/simpacker/tree/master/example/docker)
60
61
  - Advanced settings
61
62
  - [Rails Engines](https://github.com/hokaccha/simpacker/tree/master/example/engines)
62
- - [Custom helper](https://github.com/hokaccha/simpacker/tree/master/example/custom-helper)
63
63
  - Bundler
64
64
  - [Parcel](https://github.com/hokaccha/simpacker/tree/master/example/parcel)
65
65
 
@@ -8,15 +8,20 @@ module.exports = {
8
8
  mode: isProd ? "production" : "development",
9
9
  devtool: "source-map",
10
10
  entry: {
11
- application: path.resolve(__dirname, "app/javascript/application.js")
11
+ application: path.resolve(__dirname, "app/javascript/application.js"),
12
12
  },
13
13
  output: {
14
14
  path: path.resolve(__dirname, "public/packs"),
15
15
  publicPath: "/packs/",
16
- filename: isProd ? "[name]-[hash].js" : "[name].js"
16
+ filename: isProd ? "[name]-[hash].js" : "[name].js",
17
17
  },
18
18
  resolve: {
19
- extensions: [".js"]
19
+ extensions: [".js"],
20
20
  },
21
- plugins: [new WebpackAssetsManifest({ publicPath: true })]
21
+ plugins: [
22
+ new WebpackAssetsManifest({
23
+ publicPath: true,
24
+ output: "manifest.json",
25
+ }),
26
+ ],
22
27
  };
@@ -1,3 +1,3 @@
1
1
  module Simpacker
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
@@ -0,0 +1,9 @@
1
+ {
2
+ "private": true,
3
+ "scripts": {
4
+ "format": "prettier --list-different --write '**/*.{js,ts,jsx,tsx}'"
5
+ },
6
+ "devDependencies": {
7
+ "prettier": "^2.2.1"
8
+ }
9
+ }
@@ -0,0 +1,8 @@
1
+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+ # yarn lockfile v1
3
+
4
+
5
+ prettier@^2.2.1:
6
+ version "2.2.1"
7
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
8
+ integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simpacker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuhito Hokamura
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-08 00:00:00.000000000 Z
11
+ date: 2021-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -88,6 +88,7 @@ extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
90
  - ".gitignore"
91
+ - ".prettierignore"
91
92
  - ".travis.yml"
92
93
  - CHANGELOG.md
93
94
  - Gemfile
@@ -109,12 +110,14 @@ files:
109
110
  - lib/simpacker/railtie.rb
110
111
  - lib/simpacker/version.rb
111
112
  - lib/tasks/simpacker.rake
113
+ - package.json
112
114
  - simpacker.gemspec
115
+ - yarn.lock
113
116
  homepage: https://github.com/hokaccha/simpacker
114
117
  licenses:
115
118
  - MIT
116
119
  metadata: {}
117
- post_install_message:
120
+ post_install_message:
118
121
  rdoc_options: []
119
122
  require_paths:
120
123
  - lib
@@ -129,8 +132,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
132
  - !ruby/object:Gem::Version
130
133
  version: '0'
131
134
  requirements: []
132
- rubygems_version: 3.1.2
133
- signing_key:
135
+ rubygems_version: 3.2.3
136
+ signing_key:
134
137
  specification_version: 4
135
138
  summary: Integrate modern JavaScript build system with Rails.
136
139
  test_files: []