Skip to content

Commit

Permalink
fix(webapps): add direct dependency to dmn-font
Browse files Browse the repository at this point in the history
related to CAM-13946, closes camunda#1624
  • Loading branch information
tasso94 authored Sep 27, 2021
1 parent 376d2f3 commit cfe7e64
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions webapps/package-lock.json

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

1 change: 1 addition & 0 deletions webapps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"camunda-webapp-translations": "git://github.com/camunda/camunda-webapp-translations#master",
"clipboard": "2.0.6",
"cmmn-js": "0.20.0",
"dmn-font": "0.5.0",
"dmn-js": "10.0.0",
"dmn-js-decision-table": "10.0.0",
"dmn-js-drd": "10.0.0",
Expand Down
15 changes: 7 additions & 8 deletions webapps/ui/cockpit/grunt/config/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,22 +116,21 @@ module.exports = function(config, copyConf) {
{
expand: true,
cwd: 'node_modules/bpmn-font/dist/font',
src: ['*.{eot,ttf,svg,woff}'],
src: ['*.{eot,svg,ttf,woff,woff2}'],
dest: '<%= pkg.gruntConfig.cockpitBuildTarget %>/fonts/'
},
// open sans
// dmn fonts
{
expand: true,
cwd: '<%= pkg.gruntConfig.commonsUiDir %>/vendor/fonts',
src: ['*.{eot,svg,ttf,woff,woff2,otf}'],
cwd: 'node_modules/dmn-font/dist/font',
src: ['*.{eot,svg,ttf,woff,woff2}'],
dest: '<%= pkg.gruntConfig.cockpitBuildTarget %>/fonts/'
},
// dmn
// open sans
{
expand: true,
cwd:
'node_modules/dmn-js/dist/assets/dmn-font/font/',
src: ['*.{eot,svg,ttf,woff,woff2}'],
cwd: '<%= pkg.gruntConfig.commonsUiDir %>/vendor/fonts',
src: ['*.{eot,svg,ttf,woff,woff2,otf}'],
dest: '<%= pkg.gruntConfig.cockpitBuildTarget %>/fonts/'
}
]
Expand Down

0 comments on commit cfe7e64

Please sign in to comment.