mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -08:00
add esbuild
This commit is contained in:
parent
bc8adec408
commit
1808c00b01
10 changed files with 138 additions and 0 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -33,3 +33,8 @@ config/local_env.yml
|
|||
/config/credentials/test.key
|
||||
|
||||
/config/credentials/development.key
|
||||
|
||||
/app/assets/builds/*
|
||||
!/app/assets/builds/.keep
|
||||
|
||||
/node_modules
|
||||
|
|
|
|||
2
Gemfile
2
Gemfile
|
|
@ -51,6 +51,8 @@ gem 'twilio-ruby', '~> 4.11.1'
|
|||
|
||||
gem 'activerecord-import'
|
||||
|
||||
gem 'jsbundling-rails'
|
||||
|
||||
group :development, :test do
|
||||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
||||
gem 'byebug', platform: :mri
|
||||
|
|
|
|||
|
|
@ -132,6 +132,8 @@ GEM
|
|||
rails-dom-testing (>= 1, < 3)
|
||||
railties (>= 4.2.0)
|
||||
thor (>= 0.14, < 2.0)
|
||||
jsbundling-rails (0.1.9)
|
||||
railties (>= 6.0.0)
|
||||
jwt (1.5.6)
|
||||
launchy (2.5.0)
|
||||
addressable (~> 2.7)
|
||||
|
|
@ -292,6 +294,7 @@ DEPENDENCIES
|
|||
haml
|
||||
jbuilder (~> 2.5)
|
||||
jquery-rails
|
||||
jsbundling-rails
|
||||
launchy
|
||||
listen (~> 3.0.5)
|
||||
nested_scaffold
|
||||
|
|
|
|||
2
Procfile.dev
Normal file
2
Procfile.dev
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
web: bin/rails server -p 3000
|
||||
js: yarn build --watch
|
||||
0
app/assets/builds/.keep
Normal file
0
app/assets/builds/.keep
Normal file
|
|
@ -1,3 +1,4 @@
|
|||
//= link_tree ../images
|
||||
//= link_directory ../javascripts .js
|
||||
//= link_directory ../stylesheets .css
|
||||
//= link_tree ../builds
|
||||
|
|
|
|||
1
app/javascript/application.js
Normal file
1
app/javascript/application.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
// Entry point for the build script in your package.json
|
||||
3
bin/dev
Executable file
3
bin/dev
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
foreman start -f Procfile.dev
|
||||
10
package.json
Normal file
10
package.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "app",
|
||||
"private": "true",
|
||||
"dependencies": {
|
||||
"esbuild": "^0.13.6"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "esbuild app/javascript/*.* --bundle --outdir=app/assets/builds"
|
||||
}
|
||||
}
|
||||
111
yarn.lock
Normal file
111
yarn.lock
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
esbuild-android-arm64@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.13.6.tgz#a109b4e5203e9ec144cadccdf18a5daf021423e5"
|
||||
integrity sha512-uEwrMRzqNzXxzIi0K/CtHn3/SPoRso4Dd/aJCpf9KuX+kCs9Tlhz29cKbZieznYAekdo36fDUrZyuugAwSdI+A==
|
||||
|
||||
esbuild-darwin-64@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.13.6.tgz#1a00ef4d2b3b1fe9de28a5cf195df113d6461155"
|
||||
integrity sha512-oJdWZn2QV5LTM24/vVWaUFlMVlRhpG9zZIA6Xd+xbCULOURwYnYRQWIzRpXNtTfuAr3+em9PqKUaGtYqvO/DYg==
|
||||
|
||||
esbuild-darwin-arm64@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.13.6.tgz#f48954d441059e2d06c1675ddcc25af00b164935"
|
||||
integrity sha512-+f8Yn5doTEpCWtBaGxciDTikxESdGCNZpLYtXzMJLTWFHr8zqfAf4TAYGvg6T5T6N7OMC8HHy3GM+BijFXDXMg==
|
||||
|
||||
esbuild-freebsd-64@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.13.6.tgz#b3bfea7e21f0d80796220927118fc76170cac06f"
|
||||
integrity sha512-Yb/DgZUX0C6i4vnOymthLzoWAJBYWbn3Y2F4wKEufsx2veGN/wlwO/yz7IWGVVzb2zMUqbt30hCLF61sUFe7gA==
|
||||
|
||||
esbuild-freebsd-arm64@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.13.6.tgz#e6f5777a85012457ada049fc6b1e3e2c36161514"
|
||||
integrity sha512-UKYlEb7mwprSJ9VW9+q3/Mgxest45I6rGMB/hrKY1T6lqoBVhWS4BTbL4EGetWdk05Tw4njFAO9+nmxgl7jMlA==
|
||||
|
||||
esbuild-linux-32@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.13.6.tgz#8b04058312a76faec6964b954f1f02ab32ce43fe"
|
||||
integrity sha512-hQCZfSLBYtn8f1afFT6Dh9KeLsW12xLqrqssbhpi/xfN9c/bbCh/QQZaR9ZOEnmBHHRPb7rbSo3jQqlCWYb7LQ==
|
||||
|
||||
esbuild-linux-64@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.13.6.tgz#554d8edfe3f791f8b26978eb173b2e13643442c0"
|
||||
integrity sha512-bRQwsD+xJoajonfyeq5JpiNRogH4mYFYbYsGhwrtQ4pMGk93V/4KuKQiKEisRZO0hYhZL4MtxufwF195zKlCAw==
|
||||
|
||||
esbuild-linux-arm64@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.13.6.tgz#2142fadbdbc0ebd52a166f956f0ecb1f6602112a"
|
||||
integrity sha512-sRc1lt9ma1xBvInCwpS77ywR6KVdcJNsErsrDkDXx3mVe8DLLEn05TG0nIX9I+s8ouHEepikdKCfe1DZdILRjQ==
|
||||
|
||||
esbuild-linux-arm@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.13.6.tgz#ced8e35a94e0adbf134e5fa4e2b661f897e14b27"
|
||||
integrity sha512-qQUrpL7QoPqujXEFSpeu6QZ43z0+OdDPHDkLO0GPbpV/jebP7J+0FreMqoq7ZxWG4rPigwcRdEyqzHh8Bh4Faw==
|
||||
|
||||
esbuild-linux-mips64le@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.13.6.tgz#e5cbc050f5d44f8ecc0f79b1641bbad3919a2b3a"
|
||||
integrity sha512-1lsHZaIsHlFkHn1QRa/EONPGVHwzdIrkKn6r2m9cYUIn2J+rKtJg0e+WkNG3MaIrxozaGKaiSPGvaG1toCbZjw==
|
||||
|
||||
esbuild-linux-ppc64le@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.13.6.tgz#57868a7eb762c1d19fa6d367b09a4610f0cbf7ca"
|
||||
integrity sha512-x223JNC8XeLDf05zLaKfxqCEWVct4frp8ft8Qc13cha33TMrqMFaSPq6cgpgT2VYuUsXtwoocoWChKfvy+AUQg==
|
||||
|
||||
esbuild-netbsd-64@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.13.6.tgz#1c5daa62571f1065e4a1100a1db5e488ef259024"
|
||||
integrity sha512-TonKf530kT25+zi1Da6esITmuBJe13QiN+QGVch6YE8t720IvIelDGwkOQN3Td7A0JjbSbK3u+Fo6YaL151VxQ==
|
||||
|
||||
esbuild-openbsd-64@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.13.6.tgz#315fd85970365835f6a1eb7b6e9335d59f772564"
|
||||
integrity sha512-WFa5J0IuyER0UJbCGw87gvGWXGfhxeNppYcvQjp0pWYuH4FS+YqphyjV0RJlybzzDpAXkyZ9RzkMFtSAp+6AUA==
|
||||
|
||||
esbuild-sunos-64@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.13.6.tgz#8422eeb9f3712daa4befd19e5da6d7c9af9fc744"
|
||||
integrity sha512-duCL8Ewri+zjKxuN/61maniDxcd8fHwSuubdAPofll0y0E6WcL/R/e/mQzhHIuoguFm5RJkKun1qua54javh7g==
|
||||
|
||||
esbuild-windows-32@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.13.6.tgz#694eb4768ee72219d3bc6415b1d3a0f843aea9ec"
|
||||
integrity sha512-U8RkpT4f0/dygA5ytFyHNZ/fRECU9LWBMrqWflNhM31iTi6RhU0QTuOzFYkmpYnwl358ZZhVoBeEOm313d4u4A==
|
||||
|
||||
esbuild-windows-64@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.13.6.tgz#1adbf5367b08e735262f57098d19c07d0a2fec1c"
|
||||
integrity sha512-A23VyUeyBfSWUYNL0jtrJi5M/2yR/RR8zfpGQ0wU0fldqV2vxnvmBYOBwRxexFYCDRpRWh4cPFsoYoXRCFa8Dg==
|
||||
|
||||
esbuild-windows-arm64@0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.13.6.tgz#9279083740ec90a2d638485c97b1d003771d685a"
|
||||
integrity sha512-K/pFqK/s5C6wXYcFKO9iPY4yU3DI0/Gbl1W2+OhaPHoXu13VGBmqbCiQ5lohHGE72FFQl76naOjEayEiI+gDMQ==
|
||||
|
||||
esbuild@^0.13.6:
|
||||
version "0.13.6"
|
||||
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.13.6.tgz#b9be288108d47e814a6c8729e495dce0fddbf441"
|
||||
integrity sha512-zkMkYwC9ohVe6qxXykKf/4jfbtM/09CL8UEEnwuhO7Xq8NOTN2yAwCrmKKvHlGrEej6Y8e/tAmHB7wMMg7O0ew==
|
||||
optionalDependencies:
|
||||
esbuild-android-arm64 "0.13.6"
|
||||
esbuild-darwin-64 "0.13.6"
|
||||
esbuild-darwin-arm64 "0.13.6"
|
||||
esbuild-freebsd-64 "0.13.6"
|
||||
esbuild-freebsd-arm64 "0.13.6"
|
||||
esbuild-linux-32 "0.13.6"
|
||||
esbuild-linux-64 "0.13.6"
|
||||
esbuild-linux-arm "0.13.6"
|
||||
esbuild-linux-arm64 "0.13.6"
|
||||
esbuild-linux-mips64le "0.13.6"
|
||||
esbuild-linux-ppc64le "0.13.6"
|
||||
esbuild-netbsd-64 "0.13.6"
|
||||
esbuild-openbsd-64 "0.13.6"
|
||||
esbuild-sunos-64 "0.13.6"
|
||||
esbuild-windows-32 "0.13.6"
|
||||
esbuild-windows-64 "0.13.6"
|
||||
esbuild-windows-arm64 "0.13.6"
|
||||
Loading…
Add table
Add a link
Reference in a new issue