Skip to content

Commit

Permalink
chore: move build into its own task
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcath committed Apr 14, 2021
1 parent 718d7e1 commit 610f5f3
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 74 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ jobs:
branch: gh-pages
folder: docs

- name: 🏗 Build
run: npm run build

- name: 🚢 Release
uses: cycjimmy/semantic-release-action@v2
with:
Expand Down
118 changes: 52 additions & 66 deletions package-lock.json

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

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
"scripts": {
"test": "kcd-scripts test --runInBand --detectOpenHandles",
"lint": "kcd-scripts lint",
"prepublishOnly": "tsc",
"build": "tsc",
"document": "typedoc --out ./docs --entryPoints src/index.ts --name Utils --readme Readme.md && echo utils.arcath.net > ./docs/CNAME",
"validate": "kcd-scripts validate"
},
"author": "Adam Laycock <adam@arcath.net>",
"license": "MIT",
"devDependencies": {
"@types/chalk": "^2.2.0",
"@types/jest": "^26.0.20",
"@types/jest": "^26.0.22",
"@types/left-pad": "^1.2.0",
"@types/node": "^14.14.22",
"@types/node": "^14.14.37",
"jest": "^26.6.3",
"kcd-scripts": "^8.1.0",
"ts-jest": "^26.5.0",
"typedoc": "^0.20.20",
"typescript": "^4.1.3"
"ts-jest": "^26.5.4",
"typedoc": "^0.20.35",
"typescript": "^4.2.4"
},
"dependencies": {
"chalk": "^4.1.0"
Expand Down
19 changes: 17 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"extends": "./node_modules/kcd-scripts/shared-tsconfig.json",
"compilerOptions": {
"isolatedModules": false
}
"isolatedModules": false,
"outDir": "./lib",
"noEmit": false,
"target": "es5",
"declaration": true
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx"
],
"exclude": [
"lib",
"node_modules",
"src/**/*.spec.ts",
"src/**/*.spec.tsx"
]
}

0 comments on commit 610f5f3

Please sign in to comment.