Skip to content

Commit

Permalink
Temporarily apply package fix before it is released
Browse files Browse the repository at this point in the history
colorjs.io is currently incompatible with bundlers.
See color-js/color.js#239
Remove this postinstall script once we upgrade to a version which
includes that PR.
  • Loading branch information
carlobeltrame committed Nov 9, 2022
1 parent 6e475ce commit 74fee90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"test:e2e": "vue-cli-service test:e2e",
"test:e2e:ci": "vue-cli-service test:e2e --headless",
"test:unit:debug": "node --inspect-brk=0.0.0.0:9229 ./node_modules/@vue/cli-service/bin/vue-cli-service.js test:unit --no-cache --runInBand",
"test:unit:watch": "vue-cli-service test:unit --watch"
"test:unit:watch": "vue-cli-service test:unit --watch",
"postinstall": "sed -i 's/Color.extend(contrast);/Color.extend({contrast});/g' node_modules/colorjs.io/dist/color.js"
},
"dependencies": {
"@intlify/core": "9.2.2",
Expand Down

0 comments on commit 74fee90

Please sign in to comment.