Skip to content

Commit

Permalink
[improve-build] Fix issues with packaging the theme
Browse files Browse the repository at this point in the history
  • Loading branch information
JayaShakthi97 committed Sep 8, 2023
1 parent aeb5a65 commit d0bd4af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion identity-apps-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "WSO2",
"license": "Apache-2.0",
"scripts": {
"build": "node theme-distribute.js",
"build": "pnpm nx run theme:build && node theme-distribute.js",
"clean": "pnpm clean:lock-files && pnpm clean:maven-folders && pnpm clean:node-modules",
"clean:lock-files": "pnpm rimraf package-lock.json && pnpm rimraf pnpm-lock.yaml && pnpm rimraf yarn.lock",
"clean:maven-folders": "pnpm rimraf target",
Expand Down
1 change: 1 addition & 0 deletions identity-apps-core/theme-distribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ apps.forEach((app) => {
.catch((error) => {
// eslint-disable-next-line no-console
console.error(error);
throw new Error("Error while copying theme files.");
});
});

0 comments on commit d0bd4af

Please sign in to comment.