Skip to content

Commit

Permalink
Merge pull request #234 from zazuko/core-ts
Browse files Browse the repository at this point in the history
feat: type declarations in core package
  • Loading branch information
tpluscode authored Dec 14, 2023
2 parents f14e380 + 132ca52 commit 8ffdff1
Show file tree
Hide file tree
Showing 70 changed files with 976 additions and 786 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-ladybugs-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"barnard59-env": minor
---

Added type namespace builders of Zazuko vocabularies
5 changes: 5 additions & 0 deletions .changeset/flat-baboons-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"barnard59-core": patch
---

Updated `rdf-loaders-registry`
7 changes: 7 additions & 0 deletions .changeset/fuzzy-meals-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"barnard59-validation": patch
"barnard59-core": patch
"barnard59-test-e2e": patch
---

Updated `rdf-loader-code`
5 changes: 5 additions & 0 deletions .changeset/heavy-planes-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"barnard59-core": patch
---

Replace `lodash/once` with `onetime`
6 changes: 6 additions & 0 deletions .changeset/tricky-apes-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"barnard59-core": minor
"barnard59-env": minor
---

Bundle type declarations (source migrated to TypeScript)
9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,19 @@
"env": {
"mocha": true
},
"rules": {
"import/no-unresolved": "warn"
},
"overrides": [{
"files": "**/test/**",
"rules": {
"no-console": "off"
}
}, {
"files": "**/*.ts",
"extends": "@tpluscode",
"parserOptions": {
"project": "./tsconfig.json"
}
}]
}
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
with:
node-version: ${{ matrix.node }}
- run: npm install
- name: Compile TypeScript packages
run: npx wsrun -mc prepack --sourceMap
- run: npx c8 --all --src packages/${{ matrix.package }} -x "packages/!(${{ matrix.package }})" --reporter lcovonly --reporter text wsrun --no-prefix -p barnard59-${{ matrix.package }} -c test
- name: Codecov
uses: codecov/codecov-action@v3
Expand All @@ -50,6 +52,8 @@ jobs:
with:
node-version: ${{ matrix.node }}
- run: npm install
- name: Compile TypeScript packages
run: npx wsrun -mc prepack --sourceMap
- run: npx c8 --all --src packages/cli -x "packages/!(cli)" --reporter lcovonly --reporter text wsrun --no-prefix -p barnard59 -c test
- name: Codecov
uses: codecov/codecov-action@v3
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
coverage
node_modules
*.tgz
*.d.ts
*.js.map
Loading

0 comments on commit 8ffdff1

Please sign in to comment.