-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: remove webpack from dependencies #1304
Conversation
This change removes webpack from the dependencies. It also upgrades bootstrap to 5.0 using cdn links.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it, thanks for doing this!
Do you think it's really advantageous to change the default db to sqlite from PG?
I don't think this is a breaking change, it only effects newly generated apps. Existing apps won't see a difference. I have this change listed under the roadmap for v1.5
You might be right about the breaking change. It still a significant change that we should look through the documentation and see if we need any updates. I will work on fixing the tests and adding htmx for delete functionality next. |
@crimson-knight do you know if the tests passing in master? I'm getting all kinds of errors:
For example the PoweredByAmber Pipe is not passing and it looks like its not configured. Let me know if I need to fix these first. |
@drujensen yes I have 100% passing tests on master on my local when I run |
which version of crystal are you running? |
The latest 1.6.2. All tests passed originally when I updated everything on 1.5 though |
ok, maybe its crystal 1.6.2? I can't get them to pass locally. I will track them down. Thanks. |
It's passing for me with 1.6.2. I think a large part of it is around the DB being changed from PG to sqlite. There are a lot of tests around PG being the default DB and relying on that being present. |
not related. I'm trying to get master to pass locally. no worries. I will figure it out. Thanks for checking. |
No worries. I'll be putting around tomorrow working on my bulldozer if you need anything, just message me in Discord |
Looks like the redis tests are failing in github actions. I've open an issue #1305 to address that. |
9f10215
to
f6864a1
Compare
@marccremer Thanks. I will look into it. I moved the logo into the Or are you saying for the amberframework.org website? |
@marccremer nice catch! 💯 Looks like I missed adding these changes back to the templates. Fixing... |
@marccremer should be fixed: |
Did you push your changes? |
strange. checking |
ok, found |
lgtm |
@drujensen FWIW I had added the CLI binary to the .gitignore because it's compiled as arch specific, and not everyone is on the same architecture. I've had a fair amount of people on linux/intel mac and myself on M1 mac trying to run the cli tool in dev, so my thought was to ignore the CLI binary and always recompile after pulling changes to ensure you have the correct binary. May not matter since you'd get an error trying to run a binary for an arch you don't have and you'd know to re-compile anyway |
@crimson-knight makes sense. The |
Woops! :) I thought I had specified only the binary and ensure it's compiling into the |
* fix: remove garnet_spec shard as dependency * fix: specs
* fix: check for false * fix: #1227 support LAYOUT=false
Description of the Change
This change removes webpack from the dependencies. It also upgrades bootstrap to 5.0 using cdn links in the main template.
Alternate Designs
Keep it as is
Benefits
Removing webpack, nodejs, and npm dependencies simplifies amber templates and decouples from the developers choice on frontend solutions.
Possible Drawbacks
This is a BREAKING CHANGE and requires a MAJOR version upgrade.