Skip to content

Commit

Permalink
Merge branch 'master' into feature/clean-mill
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrohdezma authored Dec 3, 2022
2 parents 4b093f0 + a5133c2 commit 805c38b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,6 @@ lib/**/*

# Ignore `dist` folder, it is generated only inside tag's commits
dist

# Ignore `tsconfig.json` file, it is generated with `npm run tsconfig`
tsconfig.json
13 changes: 13 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "scala-steward-action",
"description": "A Github Action to launch Scala Steward in your repository",
"scripts": {
"build": "npm run build-main && npm run build-post",
"tsconfig": "echo '{ \"extends\": \"@tsconfig/recommended/tsconfig.json\" }' > tsconfig.json",
"build": "npm run tsconfig && npm run build-main && npm run build-post",
"build-main": "ncc build --target es2019 src/main.ts && mv dist/index.js dist/main.js",
"build-post": "ncc build --target es2019 src/post.ts && mv dist/index.js dist/post.js",
"contributors:add": "all-contributors add",
Expand Down Expand Up @@ -36,6 +37,7 @@
},
"devDependencies": {
"@ava/typescript": "^3.0.1",
"@tsconfig/recommended": "^1.0.1",
"@types/node": "^18.11.10",
"@vercel/ncc": "^0.34.0",
"all-contributors-cli": "^6.24.0",
Expand Down
12 changes: 0 additions & 12 deletions tsconfig.json

This file was deleted.

0 comments on commit 805c38b

Please sign in to comment.