simpacker 0.3.0 → 1.0.0

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: 444b754848602fa63f5531bc7beb0d50714a686ff63bd58192373bac6c66c40f
4
- data.tar.gz: 1fca8576ce3d3d982ab9b23ca043757e98d3bc5af35522cff0f4e2615323b4e6
3
+ metadata.gz: e23b7c5891f8dd786aeb87c9ffe96ffb523869165a2e7ba3f6092530f6fe555c
4
+ data.tar.gz: f9c22f0d68c5642f2f8fcb7cad20811aba7a792a0f3d461da1ee177400ffee4d
5
5
  SHA512:
6
- metadata.gz: 84a3dfc8d926d60e407e0b6c34527e4ba153165f6143f2a5d406cf02d276e69bb19c2b9112c01e89b5c200ce2676d2bc0f9349d203f805c8804cad6599fb35b2
7
- data.tar.gz: 6fa86aa1d886cdc732a94b9c90ca3961d427472ef98a30eb67931ef0fd78d5914dd591a3f0ac9fe0ba32a8049fd678b4d7e603e693860ba23870b5995acf9f75
6
+ metadata.gz: 84e25b65c83b399fb97fbb586d4f6bf324eeef0a93e7524a0eed978498b0f435ac56e4e3a4c16e85206f55379cd51ae685d9aa74b293840dedeb65f3b08a8e82
7
+ data.tar.gz: 7e20cd2635db6e5afeabd72c98f6a3b613236f00032be79df011fe59f771c53b2441304607f154e9bba7607322c9aa87dd4f1cd337fa09fa6241c2364e557287
@@ -0,0 +1 @@
1
+ language: ruby
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Simpacker
2
2
 
3
+ [![Build Status](https://travis-ci.org/hokaccha/simpacker.svg?branch=master)](https://travis-ci.org/hokaccha/simpacker) [![Gem Version](https://badge.fury.io/rb/simpacker.svg)](https://badge.fury.io/rb/simpacker)
4
+
3
5
  Simpacker provides the feature to integrate modern JavaScript build system with Rails, like a [webpacker](https://github.com/rails/webpacker).
4
6
 
5
7
  ## Installation
@@ -34,9 +36,34 @@ Run the folloing command to build JavaScript.
34
36
  $ ./node_modules/.bin/wabpack --watch
35
37
  ```
36
38
 
37
- ## Integrations
39
+ ## Examples
40
+
41
+ - Webpack settings
42
+ - [webpack-dev-server](https://github.com/hokaccha/simpacker/tree/master/example/webpack-dev-server)
43
+ - [Multiple Entry Point](https://github.com/hokaccha/simpacker/tree/master/example/multiple-entry-points)
44
+ - Languages
45
+ - [TypeScript](https://github.com/hokaccha/simpacker/tree/master/example/typescript)
46
+ - [Babel](https://github.com/hokaccha/simpacker/tree/master/example/babel)
47
+ - [Sass](https://github.com/hokaccha/simpacker/tree/master/example/sass)
48
+ - Frameworks
49
+ - [React](https://github.com/hokaccha/simpacker/tree/master/example/react)
50
+ - [Vue.js](https://github.com/hokaccha/simpacker/tree/master/example/vue)
51
+ - [Angular](https://github.com/hokaccha/simpacker/tree/master/example/angular)
52
+ - Deployment
53
+ - [CDN](https://github.com/hokaccha/simpacker/tree/master/example/asset-host)
54
+ - [Heroku](https://github.com/hokaccha/simpacker/tree/master/example/heroku)
55
+ - [Docker](https://github.com/hokaccha/simpacker/tree/master/example/docker)
56
+ - Others
57
+ - [Rails Engines](https://github.com/hokaccha/simpacker/tree/master/example/engines)
58
+ - [Parcel](https://github.com/hokaccha/simpacker/tree/master/example/parcel)
59
+
60
+ ## VS. Webpacker
38
61
 
39
- See [examples](https://github.com/hokaccha/simpacker/tree/master/example).
62
+ Webpacker is a great product that you can easily use webpack without knowing it. It also provides many useful features. The difficulty with Webpacker is that you need to configure webpack via webpacker's own DSL and webpacker.yml. If you know how to configure webpack, you need to convert it to webpacker configuration. I want to edit webpack.config.js directly!
63
+
64
+ Simpacker provides only minimal features that lookup the manifest.json output by webpack and a create script tag through javascript_pack_tag. You need to know about webpack, but there is little to know about Simpacker.
65
+
66
+ However, some useful features of Webpacker, such as yarn integrity and compilation on request, are not available in Simpacker.
40
67
 
41
68
  ## Deployment
42
69
 
@@ -47,6 +74,8 @@ $ npm install
47
74
  $ NODE_ENV=production ./node_modules/.bin/webpack
48
75
  ```
49
76
 
77
+ See also: [CDN](https://github.com/hokaccha/simpacker/tree/master/example/asset-host), [Heroku](https://github.com/hokaccha/simpacker/tree/master/example/heroku), [Docker](https://github.com/hokaccha/simpacker/tree/master/example/docker)
78
+
50
79
  ## Contributing
51
80
 
52
81
  Bug reports and pull requests are welcome on GitHub at https://github.com/hokaccha/simpacker.
@@ -1,3 +1,3 @@
1
1
  module Simpacker
2
- VERSION = "0.3.0"
2
+ VERSION = "1.0.0"
3
3
  end
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: 0.3.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuhito Hokamura
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-29 00:00:00.000000000 Z
11
+ date: 2019-07-02 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
+ - ".travis.yml"
91
92
  - Gemfile
92
93
  - README.md
93
94
  - Rakefile