Skip to content

Commit

Permalink
Remove “assets” entry in package.json scripts
Browse files Browse the repository at this point in the history
We no longer need this. Instead, our assets CLI commands are detecting the `config/assets.js` file and calling it directly.
  • Loading branch information
timriley committed Feb 11, 2024
1 parent 6a9fd19 commit 646b92c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions lib/hanami/cli/generators/gem/app/package.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "<%= underscored_app_name %>",
"private": true,
"type": "module",
"scripts": {
"assets": "node config/assets.js"
},
"dependencies": {
<%= hanami_assets_npm_package %>
}
Expand Down
3 changes: 0 additions & 3 deletions spec/unit/hanami/cli/commands/gem/new_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@
"name": "#{app}",
"private": true,
"type": "module",
"scripts": {
"assets": "node config/assets.js"
},
"dependencies": {
"hanami-assets": "#{hanami_npm_version}"
}
Expand Down

0 comments on commit 646b92c

Please sign in to comment.