mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06:00
DEV: Remove handlebars from the old package.json (#17319)
This commit is contained in:
parent
999865401c
commit
c5f0aa2f32
@ -4,7 +4,7 @@
|
||||
|
||||
class Barber::Precompiler
|
||||
def sources
|
||||
[File.open("#{Rails.root}/vendor/assets/javascripts/handlebars.js"),
|
||||
[File.open("#{Rails.root}/app/assets/javascripts/node_modules/handlebars/dist/handlebars.js"),
|
||||
precompiler]
|
||||
end
|
||||
|
||||
|
@ -86,10 +86,6 @@ def dependencies
|
||||
}, {
|
||||
source: 'pikaday/pikaday.js',
|
||||
public: true
|
||||
}, {
|
||||
source: 'handlebars/dist/handlebars.js'
|
||||
}, {
|
||||
source: 'handlebars/dist/handlebars.runtime.js'
|
||||
}, {
|
||||
source: '@highlightjs/cdn-assets/.',
|
||||
destination: 'highlightjs'
|
||||
|
@ -16,7 +16,6 @@
|
||||
"chartjs-plugin-datalabels": "^2.0.0",
|
||||
"diffhtml": "^1.0.0-beta.20",
|
||||
"eslint-config-discourse": "^2.0.0",
|
||||
"handlebars": "^4.7.7",
|
||||
"magnific-popup": "1.1.0",
|
||||
"markdown-it": "13.0.1",
|
||||
"moment": "2.29.2",
|
||||
|
@ -28,7 +28,7 @@ describe ThemeJavascriptCompiler do
|
||||
|
||||
let(:mini_racer) {
|
||||
ctx = MiniRacer::Context.new
|
||||
ctx.eval(File.open("#{Rails.root}/vendor/assets/javascripts/handlebars.js").read)
|
||||
ctx.eval(File.open("#{Rails.root}/app/assets/javascripts/node_modules/handlebars/dist/handlebars.js").read)
|
||||
ctx.eval(helpers)
|
||||
ctx
|
||||
}
|
||||
|
5210
vendor/assets/javascripts/handlebars.js
vendored
5210
vendor/assets/javascripts/handlebars.js
vendored
File diff suppressed because one or more lines are too long
@ -1079,7 +1079,7 @@ globby@^11.0.1:
|
||||
merge2 "^1.3.0"
|
||||
slash "^3.0.0"
|
||||
|
||||
handlebars@^4.7.4, handlebars@^4.7.7:
|
||||
handlebars@^4.7.4:
|
||||
version "4.7.7"
|
||||
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1"
|
||||
integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==
|
||||
|
Loading…
Reference in New Issue
Block a user