details: https://code.tryton.org/tryton/commit/a072b431ccd5
branch: default
user: Cédric Krier <[email protected]>
date: Wed Oct 14 12:37:19 2026 +0200
description:
Move grunt dependencies to dev dependencies
grunt command are only needed for development when building from source.
diffstat:
sao/Gruntfile.js | 2 +-
sao/package.json | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (39 lines):
diff -r e0edc315b985 -r a072b431ccd5 sao/Gruntfile.js
--- a/sao/Gruntfile.js Wed Nov 04 11:47:33 2026 +0100
+++ b/sao/Gruntfile.js Wed Oct 14 12:37:19 2026 +0200
@@ -123,7 +123,7 @@
grunt.loadNpmTasks('grunt-po2json');
grunt.loadNpmTasks('grunt-qunit-junit');
- grunt.registerTask('default', 'Build for production.', function() {
+ grunt.registerTask('default', 'Build', function() {
grunt.task.run(['concat', 'less', 'po2json']);
});
grunt.registerTask('watch', 'Watch development', function() {
diff -r e0edc315b985 -r a072b431ccd5 sao/package.json
--- a/sao/package.json Wed Nov 04 11:47:33 2026 +0100
+++ b/sao/package.json Wed Oct 14 12:37:19 2026 +0200
@@ -38,6 +38,10 @@
"devDependencies": {
"eslint": "^9.24.0",
"globals": "^16.0.0",
+ "grunt": "^1.6",
+ "grunt-cli": "^1.5",
+ "grunt-contrib-concat": "^2.1",
+ "grunt-contrib-less": "^3.0",
"grunt-contrib-nodeunit": "^5.0",
"grunt-contrib-qunit": "^10.1",
"grunt-contrib-watch": "^1.1",
@@ -60,11 +64,7 @@
"fullcalendar": "^3.10.2",
"mousetrap": "^1.6",
"bootstrap-rtl-ondemand": "^3.3.4-ondemand",
- "sortablejs": "^1.8.4",
- "grunt": "^1.6",
- "grunt-cli": "^1.5",
- "grunt-contrib-concat": "^2.1",
- "grunt-contrib-less": "^3.0"
+ "sortablejs": "^1.8.4"
},
"allowScripts": {
"puppeteer": true