jsbundling-rails 1.3.0 → 1.3.1

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: c5eb0a7f2f82b82a508d4640babe1980234db73e9f97f2bcdd08db417ad1dfee
4
- data.tar.gz: 9ba266bcf549a314d0968705626021566c993a1c7e771ecf886627c307c0300a
3
+ metadata.gz: 0f7a7198c114c9497a7bd5f14f0757f10b2d62ab9fad59a539c34c1c46a7f685
4
+ data.tar.gz: 5cb3d42e10398e2413bc2072a537171ff0ca72ad90e5d22de5a99368390879ce
5
5
  SHA512:
6
- metadata.gz: b9f055b3a8a676d91e3fb421e757a5e81e6b01b4c165c8f45f889de1a2c0bbdcf574c6934d17c7b39006ad05a87b52be9e5c4429f0265ddd87888129fc472c3c
7
- data.tar.gz: a07320167dc646b5b9792e8d02c770b2e4c40283a5219baf92cfca6b29ae04c54b2d2ab7e0c995514b4bf646b092272f9a3133cd46b0571ebd9190d57682a3d2
6
+ metadata.gz: c154edf1116b480421286d4cb398ef052c46ee9555da212ef553f53d19be4ceadbf8e2b0d70c4248daa76c3a08688ae70d51d7d45e2fdd1334081104d5675b7e
7
+ data.tar.gz: 0daf53c907b3364dd55d41bb5141d883755240ac6d4e1105a65db3cf56b813f8bdfea66be183595b7ef513d60165dfbaad2e7036acc5d1ce0d4fca63e60a40ce
@@ -0,0 +1,2 @@
1
+ # See https://bun.sh/docs/install/lockfile
2
+ *.lockb diff=lockb
data/lib/install/dev CHANGED
@@ -8,4 +8,4 @@ fi
8
8
  # Default to port 3000 if not specified
9
9
  export PORT="${PORT:-3000}"
10
10
 
11
- exec foreman start -f Procfile.dev "$@"
11
+ exec foreman start -f Procfile.dev --env /dev/null "$@"
@@ -2,7 +2,7 @@ apply "#{__dir__}/../install.rb"
2
2
  apply "#{__dir__}/../install_procfile.rb"
3
3
 
4
4
  say "Install esbuild"
5
- run "yarn add esbuild"
5
+ run "yarn add --dev esbuild"
6
6
 
7
7
  say "Add build script"
8
8
  build_script = "esbuild app/javascript/*.* --bundle --sourcemap --format=esm --outdir=app/assets/builds --public-path=/assets"
@@ -32,5 +32,5 @@ unless Rails.root.join("package.json").exist?
32
32
  end
33
33
 
34
34
  say "Add bin/dev to start foreman"
35
- copy_file "#{__dir__}/dev", "bin/dev"
35
+ copy_file "#{__dir__}/dev", "bin/dev", force: true
36
36
  chmod "bin/dev", 0755, verbose: false
@@ -3,7 +3,7 @@ apply "#{__dir__}/../install_procfile.rb"
3
3
 
4
4
  say "Install rollup with config"
5
5
  copy_file "#{__dir__}/rollup.config.js", "rollup.config.js"
6
- run "yarn add rollup @rollup/plugin-node-resolve"
6
+ run "yarn add --dev rollup @rollup/plugin-node-resolve"
7
7
 
8
8
  say "Add build script"
9
9
  build_script = "rollup -c --bundleConfigAsCjs rollup.config.js"
@@ -3,7 +3,7 @@ apply "#{__dir__}/../install_procfile.rb"
3
3
 
4
4
  say "Install Webpack with config"
5
5
  copy_file "#{__dir__}/webpack.config.js", "webpack.config.js"
6
- run "yarn add webpack webpack-cli"
6
+ run "yarn add --dev webpack webpack-cli"
7
7
 
8
8
  say "Add build script"
9
9
  build_script = "webpack --config webpack.config.js"
@@ -1,3 +1,3 @@
1
1
  module Jsbundling
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsbundling-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-21 00:00:00.000000000 Z
11
+ date: 2024-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -34,6 +34,7 @@ files:
34
34
  - README.md
35
35
  - lib/install/Procfile.dev
36
36
  - lib/install/application.js
37
+ - lib/install/bun/.gitattributes
37
38
  - lib/install/bun/Procfile.dev
38
39
  - lib/install/bun/bun.config.js
39
40
  - lib/install/bun/install.rb
@@ -55,7 +56,8 @@ files:
55
56
  homepage: https://github.com/rails/jsbundling-rails
56
57
  licenses:
57
58
  - MIT
58
- metadata: {}
59
+ metadata:
60
+ changelog_uri: https://github.com/rails/jsbundling-rails/releases
59
61
  post_install_message:
60
62
  rdoc_options: []
61
63
  require_paths:
@@ -71,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
73
  - !ruby/object:Gem::Version
72
74
  version: '0'
73
75
  requirements: []
74
- rubygems_version: 3.4.20
76
+ rubygems_version: 3.5.11
75
77
  signing_key:
76
78
  specification_version: 4
77
79
  summary: Bundle and transpile JavaScript in Rails with bun, esbuild, rollup.js, or