Skip to content

Commit d3dbc2b

Browse files
committed
Fix latent typescript generation errors
1 parent ee83de2 commit d3dbc2b

File tree

5 files changed

+31
-8
lines changed

5 files changed

+31
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
run: |
4242
npm ci
4343
npm run build
44+
npm run validate-types:strict
4445
npm run test
4546
npm run test:integration
4647
- name: Lint

RELEASE_NOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# TerminusDB Client v11.1.2
2+
## Fixes
3+
* Adjust the release process to include version update task
4+
* Fix typescript generation and add ci tests to prevent similar errors
5+
16
# TerminusDB Client v11.1.1
27
## Fixes
38
* Update dependencies follow-redirects, webpack-dev-middleware, axios, braces, semver, micromatch, cross-spawn, word-wrap, on-headers, compression, form-data

docs/release_process.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Releasing a new version of the client
22

3-
1. Review the changelog between last tagged release v10.0.34..HEAD
4-
1. Create a branch and update RELEASE_NOTES.md based on changes
5-
1. Add target version number to release notes
6-
1. Check in and merge
7-
1. Pick the latest version from the RELEASE_NOTES.md file
8-
1. Update package.json version and run npm install
9-
1. Tag the repo locally and push the tag, align the release (git tag -s v11.x.x)
10-
1. The new release will be built and published 🎉
3+
1. Review the changelog between last tagged release v11.1.x..HEAD
4+
2. Pick the next version number, update package.json, and run `npm install`
5+
3. Create a branch and update RELEASE_NOTES.md based on changes
6+
4. Add target version number to release notes
7+
5. Check in and merge
8+
6. Pick the latest version from the RELEASE_NOTES.md file
9+
7. Update package.json version and run npm install
10+
8. Tag the repo locally and push the tag, align the release (git tag -s v11.x.x)
11+
9. The new release will be built and published 🎉

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"cover": "nyc --check-coverage --lines 30 npm run test:only ",
7272
"lint:check": "eslint .",
7373
"lint": "eslint --fix .",
74+
"validate-types:strict": "tsc && tsc --project tsconfig.validate.json",
7475
"build": "webpack --mode production && tsc",
7576
"coveralls-after": "nyc --reporter=lcov mocha --require @babel/register --require @babel/preset-env",
7677
"npm:publish": "npm publish --access public",

tsconfig.validate.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"include": ["dist/typescript/**/*.d.ts", "index.js"],
4+
"compilerOptions": {
5+
"allowJs": true,
6+
"declaration": false,
7+
"emitDeclarationOnly": false,
8+
"noEmit": true,
9+
"skipLibCheck": false,
10+
"strict": true,
11+
"esModuleInterop": true,
12+
"moduleResolution": "node",
13+
"resolveJsonModule": true
14+
}
15+
}

0 commit comments

Comments
 (0)