jetpacker 0.2.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/.eslintrc.js +8 -8
  3. data/.github/workflows/jest.yml +38 -0
  4. data/.github/workflows/js-lint.yml +39 -0
  5. data/.github/workflows/rubocop.yml +39 -0
  6. data/.github/workflows/ruby.yml +70 -0
  7. data/.node-version +1 -1
  8. data/.travis.yml +8 -21
  9. data/CHANGELOG.jetpacker.md +18 -0
  10. data/CHANGELOG.md +44 -2
  11. data/Gemfile +1 -0
  12. data/Gemfile.lock +115 -101
  13. data/README.md +24 -649
  14. data/docs/css.md +58 -3
  15. data/docs/deployment.md +2 -2
  16. data/docs/docker.md +17 -17
  17. data/docs/engines.md +13 -0
  18. data/docs/env.md +0 -2
  19. data/docs/integrations.md +220 -0
  20. data/docs/target.md +22 -0
  21. data/docs/testing.md +2 -3
  22. data/docs/troubleshooting.md +3 -1
  23. data/docs/typescript.md +92 -28
  24. data/docs/webpack-dev-server.md +1 -1
  25. data/jetpacker.gemspec +6 -5
  26. data/lib/install/config/babel.config.js +1 -3
  27. data/lib/install/config/webpacker.yml +11 -6
  28. data/lib/install/examples/react/tsconfig.json +2 -1
  29. data/lib/install/examples/typescript/tsconfig.json +2 -1
  30. data/lib/install/loaders/svelte.js +2 -2
  31. data/lib/install/template.rb +7 -7
  32. data/lib/install/typescript.rb +5 -1
  33. data/lib/jetpacker.rb +1 -0
  34. data/lib/jetpacker/version.rb +1 -1
  35. data/lib/tasks/webpacker/check_node.rake +15 -8
  36. data/lib/tasks/webpacker/check_yarn.rake +17 -10
  37. data/lib/tasks/webpacker/clean.rake +12 -8
  38. data/lib/tasks/webpacker/clobber.rake +8 -4
  39. data/lib/tasks/webpacker/yarn_install.rake +5 -16
  40. data/lib/webpacker.rb +1 -1
  41. data/lib/webpacker/commands.rb +33 -9
  42. data/lib/webpacker/compiler.rb +9 -5
  43. data/lib/webpacker/configuration.rb +13 -9
  44. data/lib/webpacker/dev_server_proxy.rb +3 -1
  45. data/lib/webpacker/dev_server_runner.rb +2 -2
  46. data/lib/webpacker/helper.rb +37 -18
  47. data/lib/webpacker/manifest.rb +4 -4
  48. data/lib/webpacker/railtie.rb +0 -43
  49. data/lib/webpacker/runner.rb +1 -0
  50. data/lib/webpacker/turbine.rb +36 -0
  51. data/lib/webpacker/version.rb +1 -1
  52. data/lib/webpacker/webpack_runner.rb +2 -2
  53. data/package.json +39 -39
  54. data/package/__tests__/config.js +12 -1
  55. data/package/__tests__/dev_server.js +2 -0
  56. data/package/__tests__/development.js +14 -1
  57. data/package/config.js +4 -1
  58. data/package/configPath.js +3 -0
  59. data/package/dev_server.js +1 -1
  60. data/package/env.js +1 -2
  61. data/package/environments/__tests__/base.js +29 -2
  62. data/package/environments/base.js +17 -7
  63. data/package/environments/development.js +39 -37
  64. data/package/environments/production.js +1 -3
  65. data/package/rules/babel.js +12 -5
  66. data/package/rules/file.js +1 -0
  67. data/package/rules/node_modules.js +1 -3
  68. data/package/rules/sass.js +7 -1
  69. data/package/utils/helpers.js +1 -1
  70. data/test/compiler_test.rb +8 -3
  71. data/test/configuration_test.rb +8 -7
  72. data/test/dev_server_runner_test.rb +1 -1
  73. data/test/helper_test.rb +3 -0
  74. data/test/manifest_test.rb +37 -6
  75. data/test/rake_tasks_test.rb +11 -0
  76. data/test/test_app/app/javascript/packs/multi_entry.css +4 -0
  77. data/test/test_app/app/javascript/packs/multi_entry.js +4 -0
  78. data/test/test_app/config/application.rb +0 -1
  79. data/test/test_app/config/webpacker.yml +7 -1
  80. data/test/test_app/public/packs/manifest.json +1 -0
  81. data/test/webpack_runner_test.rb +1 -1
  82. data/yarn.lock +3405 -2836
  83. metadata +38 -16
  84. data/gemfiles/Gemfile-rails.4.2.x +0 -9
  85. data/gemfiles/Gemfile-rails.5.0.x +0 -9
  86. data/gemfiles/Gemfile-rails.5.1.x +0 -9
  87. data/lib/install/javascript/packs/application.js +0 -18
  88. data/lib/install/loaders/typescript.js +0 -11

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.