simpacker 1.1.1 → 1.1.2
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 +1 -0
- data/.prettierignore +1 -0
- data/.travis.yml +7 -0
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/install/root/webpack.config.js +9 -4
- data/lib/simpacker/version.rb +1 -1
- data/package.json +9 -0
- data/yarn.lock +8 -0
- metadata +9 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c3cb3ad3505e3888c12a5684f094f2a5f051299ca3ebd3cda5440459a0183055
|
|
4
|
+
data.tar.gz: 7de94dbbc14ba099dca995ebe03186b1e3ce9c2cf05fa99059dbce9dd61e36e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1c2090cc19f6c64457514550456b888c87ec49c89a053d5bff3c3d1c761e493e6c28e772f4be5c3b3686aaeccf4b3e9cc000d416fdaffe1ccc4377b74ac6729
|
|
7
|
+
data.tar.gz: e873dd15a63c99184ecf743de842325a6fadcfc21b0660172700d8c0565fa5550a852bd332eabc45cd9b1e2c84b1ba47d97c9e81953cea94ac3947046f04a51d
|
data/.gitignore
CHANGED
data/.prettierignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
**/public/packs/
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
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: [
|
|
21
|
+
plugins: [
|
|
22
|
+
new WebpackAssetsManifest({
|
|
23
|
+
publicPath: true,
|
|
24
|
+
output: "manifest.json",
|
|
25
|
+
}),
|
|
26
|
+
],
|
|
22
27
|
};
|
data/lib/simpacker/version.rb
CHANGED
data/package.json
ADDED
data/yarn.lock
ADDED
|
@@ -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.
|
|
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:
|
|
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.
|
|
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: []
|