Skip to content

Commit

Permalink
build: small improvements for package.json run scripts (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlj95 authored Nov 11, 2024
1 parent afb53c7 commit 498ddf9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions .idea/runConfigurations/Compile_scripts.xml

This file was deleted.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"prebuild": "pnpm run '/prebuild:.*/'",
"build": "ng build",
"build:pullRequest": "pnpm run build --configuration pullRequest,production",
"build:scripts": "cd scripts && tsc",
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
"commitlint:edit-msg": "commitlint --verbose --edit",
"commitlint:last": "commitlint --verbose --last",
Expand All @@ -34,12 +35,10 @@
"lint:code": "ng lint --max-warnings 0",
"lint:commit-message": "pnpm run commitlint:edit-msg",
"lint:gh-actions": "actionlint || true",
"ng": "ng",
"prebuild:font-subsets": "tsm scripts/src/generate-font-subsets.ts",
"prebuild:release-file": "tsx scripts/src/generate-release-file.mts",
"prebuild:render-templates": "tsm scripts/src/generate-templated-files.ts",
"prebuild:simple-icons": "tsm scripts/src/generate-simple-icons.ts",
"scripts:tsc": "cd scripts && tsc",
"security-txt": "tsm scripts/src/generate-security-txt.ts",
"serve:ssr:@davidlj95/website": "node dist/@davidlj95/website/server/server.mjs",
"start": "ng serve",
Expand All @@ -49,8 +48,9 @@
"test": "pnpm run '/test:.*/'",
"test:components": "cypress run --component",
"test:unit": "ng test --code-coverage --watch false",
"validate-codecov-yml": "curl -X POST --data-binary @codecov.yml https://codecov.io/validate",
"validate-renovate-config": "pnpm --package renovate dlx renovate-config-validator",
"validate": "pnpm run '/^validate:.*/'",
"validate:codecov-yml": "curl -X POST --data-binary @codecov.yml https://codecov.io/validate",
"validate:renovate-config": "pnpm --package renovate dlx renovate-config-validator",
"watch": "ng build --watch --configuration development"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions scripts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"strict": true,
"skipLibCheck": true,
// -- Our configs
"noEmit": true,
"lib": ["esnext"],
"outDir": "dist",
//👇 So we can use imports without extension with ESM
Expand Down

0 comments on commit 498ddf9

Please sign in to comment.