Skip to content

Commit

Permalink
Merge pull request #5855 from jathushan-r/fix-copy-themes
Browse files Browse the repository at this point in the history
Remove copy themes in console/src
  • Loading branch information
brionmario committed Apr 1, 2024
2 parents 9ff5eba + ec544a8 commit 8622fec
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 134 deletions.
5 changes: 1 addition & 4 deletions apps/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,19 @@
"scripts": {
"build": "pnpm build:prod",
"build:prod": "pnpm nx run console:build",
"clean": "pnpm clean:build && pnpm clean:lock-files && pnpm clean:maven-folders && pnpm clean:themes:src && pnpm clean:node-modules",
"clean": "pnpm clean:build && pnpm clean:lock-files && pnpm clean:maven-folders && pnpm clean:node-modules",
"clean:build": "pnpm rimraf build",
"clean:lock-files": "pnpm rimraf package-lock.json && pnpm rimraf pnpm-lock.yaml && pnpm rimraf yarn.lock",
"clean:maven-folders": "pnpm rimraf target",
"clean:node-modules": "pnpm rimraf node_modules",
"clean:themes:src": "pnpm rimraf src/themes",
"compile": "pnpm tsc -p tsconfig.json --incremental",
"compile:i18n": "pnpm tsc -p src/extensions/i18n",
"clean:i18n:dist": "rimraf src/extensions/i18n/dist",
"copy:themes:src": "node scripts/copy-themes-to-source.js",
"copy:branding:i18n:defaults": "node scripts/populate-branding-i18n-defaults.js",
"lint": "pnpm run lint:all",
"lint:all": "pnpm run lint:targeted -- .",
"lint:autofix": "pnpm run lint:all -- --fix",
"lint:targeted": "eslint --ext .js,.jsx,.ts,.tsx --quiet --resolve-plugins-relative-to .",
"postinstall": "node scripts/post-install.js",
"prestart": "pnpm run prebuild",
"prebuild": "node scripts/pre-build.js",
"postbuild": "node scripts/post-build.js",
Expand Down
98 changes: 0 additions & 98 deletions apps/console/scripts/copy-themes-to-source.js

This file was deleted.

29 changes: 0 additions & 29 deletions apps/console/scripts/post-install.js

This file was deleted.

3 changes: 0 additions & 3 deletions apps/console/scripts/pre-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ log("Pre build script started.....");
// Run the clean script.
execSync("pnpm clean:build");

// Run theme content copying to source script.
execSync("pnpm copy:themes:src");

// Copy i18n defaults used for text branding from login app.
execSync("pnpm copy:branding:i18n:defaults");

Expand Down

0 comments on commit 8622fec

Please sign in to comment.