Skip to content

Commit

Permalink
release: 16.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Nov 12, 2023
1 parent b4485bd commit 02fa798
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ npx tsc -d
cp LICENSE dist/LICENSE
cp package.json dist/package.json
cp README.md dist/README.md
node ./fix.mjs

if [[ ${TEST} == true ]]; then
cp -fr dist/* ../ng-alain/node_modules/ng-alain-plugin-theme
Expand Down
11 changes: 11 additions & 0 deletions fix.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { readFileSync, writeFileSync } from "fs";

function main() {
const filePath = "./dist/package.json"
const content = JSON.parse(readFileSync(filePath).toString('utf8'));
delete content.scripts;
delete content.devDependencies;
writeFileSync(filePath, JSON.stringify(content, null, 2));
}

main();
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-alain-plugin-theme",
"version": "16.0.1",
"version": "16.0.2",
"description": "NG-ALAIN theme plugin",
"keywords": [
"delon",
Expand Down

0 comments on commit 02fa798

Please sign in to comment.