Skip to content

Commit

Permalink
fix: typescript version to 3.9.7, 4.0.x seems to be causing issues fo…
Browse files Browse the repository at this point in the history
…r now
  • Loading branch information
kevindra committed Oct 30, 2020
1 parent fbf5ce5 commit 4930879
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 37 deletions.
12 changes: 6 additions & 6 deletions packages/alexa/package-lock.json

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

4 changes: 2 additions & 2 deletions packages/alexa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"url": "git+https://github.com/chitchatjs/chitchatjs.git"
},
"scripts": {
"build": "npm run clean && tsc",
"build": "npm run clean && npx tsc",
"clean": "rm -rf ./dist",
"test": "mocha --require ts-node/register --watch-extensions ts 'test/**/*.ts'",
"testw": "npm test -- -w",
Expand Down Expand Up @@ -59,6 +59,6 @@
"nyc": "^15.1.0",
"source-map-support": "^0.5.19",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
"typescript": "^3.9.7"
}
}
5 changes: 5 additions & 0 deletions packages/alexa/src/blocks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ export namespace alexa {
}

export function compound() {
// : CompoundBlockBuilder<
// AlexaBuilderContext,
// AlexaDialogContext,
// AlexaEvent
// >
return new CompoundBlockBuilder<
AlexaBuilderContext,
AlexaDialogContext,
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"url": "git+https://github.com/chitchatjs/chitchatjs.git"
},
"scripts": {
"build": "npm run clean && tsc",
"build": "npm run clean && npx tsc",
"clean": "rm -rf ./dist",
"test": "mocha --require ts-node/register --watch-extensions ts 'test/**/*.ts'",
"testw": "npm test -- -w",
Expand Down Expand Up @@ -63,7 +63,7 @@
"sinon": "^9.2.0",
"source-map-support": "^0.5.19",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
"typescript": "^3.9.7"
},
"dependencies": {
"@chitchatjs/alexa": "^0.3.8",
Expand Down
6 changes: 3 additions & 3 deletions packages/core/package-lock.json

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

4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"url": "git+https://github.com/chitchat/chitchatjs.git"
},
"scripts": {
"build": "npm run clean && tsc",
"build": "npm run clean && npx tsc",
"clean": "rm -rf ./dist",
"test": "mocha --require ts-node/register --watch-extensions ts 'test/**/*.ts'",
"testw": "npm test -- -w",
Expand Down Expand Up @@ -57,6 +57,6 @@
"source-map-support": "^0.5.19",
"ts-node": "^9.0.0",
"tslint": "^6.1.3",
"typescript": "^4.0.3"
"typescript": "^3.9.7"
}
}
6 changes: 3 additions & 3 deletions packages/plugin-ax-common/package-lock.json

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

4 changes: 2 additions & 2 deletions packages/plugin-ax-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"url": "git+https://github.com/chitchatjs/chitchatjs.git"
},
"scripts": {
"build": "npm run clean && tsc",
"build": "npm run clean && npx tsc",
"clean": "rm -rf ./dist",
"test": "mocha --require ts-node/register --watch-extensions ts 'test/**/*.ts'",
"testw": "npm test -- -w",
Expand Down Expand Up @@ -63,6 +63,6 @@
"nyc": "^15.1.0",
"source-map-support": "^0.5.19",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
"typescript": "^3.9.7"
}
}
20 changes: 10 additions & 10 deletions packages/plugin-ax-display/package-lock.json

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

4 changes: 2 additions & 2 deletions packages/plugin-ax-display/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"url": "git+https://github.com/chitchatjs/chitchatjs.git"
},
"scripts": {
"build": "npm run clean && tsc",
"build": "npm run clean && npx tsc",
"clean": "rm -rf ./dist",
"test": "mocha --require ts-node/register --watch-extensions ts 'test/**/*.ts'",
"testw": "npm test -- -w",
Expand Down Expand Up @@ -60,6 +60,6 @@
"nyc": "^15.1.0",
"source-map-support": "^0.5.19",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
"typescript": "^3.9.7"
}
}
6 changes: 3 additions & 3 deletions packages/plugin-ax-session/package-lock.json

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

5 changes: 3 additions & 2 deletions packages/plugin-ax-session/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"url": "git+https://github.com/chitchatjs/chitchatjs.git"
},
"scripts": {
"build": "npm run clean && tsc",
"build": "npm run clean && npx tsc",
"clean": "rm -rf ./dist",
"test": "mocha --require ts-node/register --watch-extensions ts 'test/**/*.ts'",
"testw": "npm test -- -w",
Expand All @@ -37,6 +37,7 @@
},
"dependencies": {
"@chitchatjs/alexa": "^0.3.8",
"@chitchatjs/core": "^0.3.4",
"ask-sdk-core": "^2.10.1",
"ask-sdk-model": "^1.33.1",
"ask-smapi-model": "^1.12.3",
Expand All @@ -60,6 +61,6 @@
"nyc": "^15.1.0",
"source-map-support": "^0.5.19",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
"typescript": "^3.9.7"
}
}

0 comments on commit 4930879

Please sign in to comment.