chore: bump dependencies in tests/apps/multi

While not in the build path, we should try and avoid unsupported dependencies where possible.
This commit is contained in:
Jose Diaz-Gonzalez committed 2026-04-14 03:14:11 -04:00
1 parent e04f285c00
commit be14329b9a
14 files changed
+442 -3093

No files matched your search

-3
View File
@@ -1,3 +0,0 @@
{
"directory": "static/components"
}
+1 -1
View File
@@ -1,6 +1,6 @@
node_modules node_modules
static/components
static/.tmp static/.tmp
.sass-cache .sass-cache
.bundle .bundle
.DS_Store .DS_Store
templates/content.html
+2 -3
View File
@@ -1,6 +1,5 @@
source "https://rubygems.org" source "https://rubygems.org"
ruby '3.1.4' ruby '4.0.2'
gem 'compass', ">= 1.0.1" gem 'kramdown', '~> 2.5'
gem 'sass-globbing'
+10 -25
View File
@@ -1,37 +1,22 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
chunky_png (1.4.0) kramdown (2.5.2)
compass (1.0.3) rexml (>= 3.4.4)
chunky_png (~> 1.2) rexml (3.4.4)
compass-core (~> 1.0.2)
compass-import-once (~> 1.0.5)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
sass (>= 3.3.13, < 3.5)
compass-core (1.0.3)
multi_json (~> 1.0)
sass (>= 3.3.0, < 3.5)
compass-import-once (1.0.5)
sass (>= 3.2, < 3.5)
ffi (1.15.5)
multi_json (1.15.0)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
sass (3.4.25)
sass-globbing (1.1.5)
sass (>= 3.1)
PLATFORMS PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
compass (>= 1.0.1) kramdown (~> 2.5)
sass-globbing
CHECKSUMS
kramdown (2.5.2) sha256=1ba542204c66b6f9111ff00dcc26075b95b220b07f2905d8261740c82f7f02fa
rexml (3.4.4) sha256=19e0a2c3425dfbf2d4fc1189747bdb2f849b6c5e74180401b15734bc97b5d142
RUBY VERSION RUBY VERSION
ruby 3.1.4p223 ruby 4.0.2
BUNDLED WITH BUNDLED WITH
2.3.26 4.0.6
-43
View File
@@ -1,43 +0,0 @@
'use strict';
module.exports = function (grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
compass: {
options: {
sassDir: 'static/styles',
cssDir: 'static/.tmp/styles',
generatedImagesDir: 'static/.tmp/images/generated',
imagesDir: 'static/images',
javascriptsDir: 'static/scripts',
fontsDir: 'static/styles/fonts',
importPath: 'static/components',
httpImagesPath: '/images',
httpGeneratedImagesPath: '/images/generated',
httpFontsPath: '/styles/fonts',
relativeAssets: false,
assetCacheBuster: false,
bundleExec: true,
raw: 'Sass::Script::Number.precision = 10\n'
},
dist: {
options: {
// generatedImagesDir: '<%= yeoman.dist %>/static/images/generated'
}
},
server: {
options: {
debugInfo: false
}
}
}
});
grunt.registerTask('heroku', [
'compass:server'
]);
};
+1 -1
View File
@@ -1,3 +1,3 @@
This is a sample application to test heroku buildpack multi for integrating with [herokuish](https://github.com/gliderlabs/herokuish) This is a sample application to test heroku buildpack multi for integrating with [herokuish](https://github.com/gliderlabs/herokuish)
I am choosing to use the python, nodejs, and ruby buildpacks to create a very simple flask app that performs a bower install and a simple grunt task using compass. It uses the python, nodejs, and ruby buildpacks to create a simple flask app. The ruby buildpack provides kramdown for Markdown-to-HTML conversion. The node buildpack manages Bootstrap via npm and compiles SCSS with dart-sass. The python buildpack runs the Flask application.
+3 -6
View File
@@ -1,9 +1,6 @@
import os import os
from flask import Flask, render_template from flask import Flask, render_template
try: from werkzeug.middleware.shared_data import SharedDataMiddleware
from werkzeug.wsgi import SharedDataMiddleware
except ImportError:
from werkzeug.middleware.shared_data import SharedDataMiddleware
app = Flask(__name__) app = Flask(__name__)
@@ -11,8 +8,8 @@ app = Flask(__name__)
def hello_world(): def hello_world():
return render_template('index.html') return render_template('index.html')
app.wsgi_app = SharedDataMiddleware(app.wsgi_app, { '/': os.path.join(os.path.dirname(__file__), 'static') }) app.wsgi_app = SharedDataMiddleware(app.wsgi_app, {'/': os.path.join(os.path.dirname(__file__), 'static')})
app.wsgi_app = SharedDataMiddleware(app.wsgi_app, { '/': os.path.join(os.path.dirname(__file__), 'static/.tmp') }) app.wsgi_app = SharedDataMiddleware(app.wsgi_app, {'/': os.path.join(os.path.dirname(__file__), 'static/.tmp')})
if __name__ == '__main__': if __name__ == '__main__':
app.run(host='0.0.0.0', debug=True) app.run(host='0.0.0.0', debug=True)
-21
View File
@@ -1,21 +0,0 @@
{
"name": "test-buildpack-multi",
"version": "0.0.0",
"authors": [
"Al Johri <al.johri@gmail.com>"
],
"license": "MIT",
"private": true,
"directory": "static/components",
"ignore": [
"**/.*",
"node_modules",
"statc/components",
"test",
"tests"
],
"dependencies": {
"bootstrap-sass": "twbs/bootstrap-sass#~3.1.1"
},
"registry": "https://registry.bower.io"
}
+3
View File
@@ -0,0 +1,3 @@
# Hello, world!
This is a sample website using the Heroku Multi Buildpack on Dokku. It uses the Python, Ruby, and Node buildpacks. The Node buildpack compiles SCSS stylesheets with dart-sass and manages frontend dependencies. The Ruby buildpack converts Markdown content to HTML with kramdown. And last but not least, the Python buildpack runs the Flask application.
+10
View File
@@ -0,0 +1,10 @@
require 'kramdown'
input_path = File.join(__dir__, 'content.md')
output_path = File.join(__dir__, 'templates', 'content.html')
markdown = File.read(input_path)
html = Kramdown::Document.new(markdown).to_html
File.write(output_path, html)
puts "Generated #{output_path} from #{input_path}"
+391 -2956
View File
File diff suppressed because it is too large. Load diff
+6 -10
View File
@@ -1,22 +1,18 @@
{ {
"author": "Al Johri", "author": "Al Johri",
"dependencies": { "dependencies": {
"bower": "^1.8.14", "bootstrap": "^5.3.8",
"grunt": "~1.6.1", "sass": "^1.99.0"
"grunt-cli": "~1.5.0",
"grunt-contrib-compass": "~1.1.1",
"load-grunt-tasks": "~5.1.0",
"tmp": "0.2.5"
}, },
"description": "Test application for heroku multi buildpack.", "description": "Test application for heroku multi buildpack.",
"engines": { "engines": {
"node": "12.x.x", "node": "24.x.x",
"npm": "6.x.x" "npm": "11.x.x"
}, },
"license": "ISC", "license": "ISC",
"name": "test-buildpack-multi", "name": "test-buildpack-multi",
"scripts": { "scripts": {
"postinstall": "echo $PATH && ./node_modules/bower/bin/bower install --allow-root && ./node_modules/grunt-cli/bin/grunt --verbose --debug heroku" "postinstall": "bundle exec ruby generate_content.rb && mkdir -p static/.tmp/styles && npx sass static/styles/main.scss static/.tmp/styles/main.css --load-path=node_modules"
}, },
"version": "0.0.0" "version": "0.0.0"
} }
+2 -5
View File
@@ -1,6 +1,3 @@
// override scss variables within bootsrap by declaring them $primary: #428bca;
// before importing bootstrap
$brand-primary: #428bca !default; @import "bootstrap/scss/bootstrap";
@import "bootstrap-sass/vendor/assets/stylesheets/bootstrap";
+13 -19
View File
@@ -6,29 +6,23 @@
<title>Sample Webpage</title> <title>Sample Webpage</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content=""> <meta name="description" content="">
<meta name="author" content=""> <meta name="author" content="">
<link rel="stylesheet" type="text/css" href="/styles/main.css"> <link rel="stylesheet" type="text/css" href="/styles/main.css">
<script type="text/javascript" src="/components/bootstap-sass/vendor/assets/javascripts/bootstrap/bootstrap.js"></script>
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<div class="row clearfix"> <div class="row">
<div class="col-md-12 column"> <div class="col-md-12">
<div class="jumbotron"> <div class="p-5 mb-4 bg-body-tertiary rounded-3">
<h1> {% include 'content.html' %}
Hello, world! <p>
</h1> <a class="btn btn-primary btn-lg" href="#">Learn more</a>
<p> </p>
This is a sample website using the Heroku Multi Buildpack on Dokku. It uses the python, ruby, and node buildpacks. The node buildpack is for using bower and grunt. The ruby buildpack is for running compass. And last but not last, the python buildpack is to run the flask application. </div>
</p> </div>
<p> </div>
<a class="btn btn-primary btn-large" href="#">Learn more</a> </div>
</p>
</div>
</div>
</div>
</div>
</body> </body>
</html> </html>