Skip to content

Commit

Permalink
Fixes #22950: In rudder 7.3, we need to use npm for jsondiffpatch
Browse files Browse the repository at this point in the history
  • Loading branch information
fanf committed Jun 23, 2023
1 parent 85d5a03 commit a6152c0
Show file tree
Hide file tree
Showing 7 changed files with 160 additions and 5,041 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@

package com.normation.rudder.domain.properties

import com.normation.rudder.domain.policies.PolicyMode.Audit
import com.normation.rudder.domain.policies.PolicyMode.Enforce
import net.liftweb.common._
import org.junit.runner.RunWith
import org.specs2.mutable._
Expand Down
2 changes: 2 additions & 0 deletions webapp/sources/rudder/rudder-web/src/main/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ const paths = {
'node_modules/*/*.min.js*',
'node_modules/datatables.net-plugins/sorting/natural.js',
'node_modules/showdown-xss-filter/showdown-xss-filter.js',
'node_modules/jsondiffpatch/dist/jsondiffpatch.umd.slim.js',
],
'dest': 'webapp/javascript/libs',
},
'vendor_css': {
'src': [
'node_modules/*/dist/**/*.min.css*',
'node_modules/jsondiffpatch/dist/formatters-styles/html.css',
],
'dest': 'webapp/style/libs',
},
Expand Down
152 changes: 152 additions & 0 deletions webapp/sources/rudder/rudder-web/src/main/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion webapp/sources/rudder/rudder-web/src/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"jstree": "^3.3.12",
"showdown": "^2.1.0",
"showdown-xss-filter": "^0.2.0",
"xss": "^1.0.14"
"xss": "^1.0.14",
"jsondiffpatch": "0.4.1"
},
"devDependencies": {
"better-npm-audit": "^3.7.3",
Expand Down

0 comments on commit a6152c0

Please sign in to comment.