Skip to content

Commit

Permalink
Resolved svg build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyMitch committed Nov 3, 2023
1 parent 5492803 commit bf4a6e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
``` JSON5
{
"dependencies": {
"@bcgov/citz-imb-richtexteditor": "https://github.com/bcgov/citz-imb-richtexteditor/releases/download/<VERSION>/bcgov-citz-imb-richtexteditor-<VERSION>.tgz",
"@bcgov/citz-imb-richtexteditor": "https://github.com/bcgov/citz-imb-richtexteditor/releases/download/v<VERSION>/bcgov-citz-imb-richtexteditor-<VERSION>.tgz",
// The rest of your dependencies...
},
}
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"name": "@bcgov/citz-imb-richtexteditor",
"version": "1.0.0",
"version": "0.0.0",
"description": "BCGov Rich Text Editor for React",
"author": "Brady Mitchell <braden.mitchell@gov.bc.ca>",
"license": "Apache-2.0",
"main": "build/index.js",
"types": "build/index.d.ts",
"type": "module",
"scripts": {
"bundle:dts": "node bundle-dts.js && rollup -c rollup.config.js && node remove-dts.js && rm build/utils/*.d.ts",
"build": "rm -rf build && tsc && npm run bundle:dts && rm tsconfig.tsbuildinfo && cp src/styles.css build/styles.css",
"bundle:dts": "node bundle-dts.js && rollup -c rollup.config.js && node remove-dts.js && rm build/utils/*.d.ts && rm build/assets/*.d.ts",
"build:cp": "cp src/styles.css build/styles.css && cp src/assets/*.svg build/assets",
"build": "rm -rf build && tsc && npm run bundle:dts && rm tsconfig.tsbuildinfo && npm run build:cp",
"pack": "npm i && npm run build && npm cache clean --force && npm pack && mkdir -p releases && mv *.tgz ./releases/"
},
"dependencies": {
Expand Down

0 comments on commit bf4a6e0

Please sign in to comment.