Skip to content

Commit

Permalink
Update version for default packages (#524)
Browse files Browse the repository at this point in the history
* chore: update default versions

* chore: try node 10

* chore: allow legacy peer deps

* chore: check

* chore: update typedoc

* chore: fix readonly path error

* Revert "chore: fix readonly path error"

This reverts commit 6992d27.

* chore: fix express type

* chore: fix express type

* chore: fix express type

* chore: update compiler target

* chore: changesets

* chore: use es2018
  • Loading branch information
victoray authored Aug 1, 2024
1 parent 1ff630e commit f30d928
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 9 deletions.
9 changes: 9 additions & 0 deletions .changeset/flat-boxes-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@twilio-labs/serverless-runtime-types': patch
'create-twilio-function': patch
'@twilio/runtime-handler': patch
'twilio-run': patch
---

- update default version for new projects
- bump dev dependencies @types/express and typedoc
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-jest": "^29.1.2",
"typedoc": "^0.25.12",
"typedoc": "^0.26.5",
"typescript": "^5.3.3"
},
"lint-staged": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ module.exports = {
twilioRun: pkgJson.dependencies['twilio-run'],
node: '18',
typescript: '^5.3.3',
serverlessRuntimeTypes: '^1.1',
copyfiles: '^2.2.0',
serverlessRuntimeTypes: '^4.0.0',
copyfiles: '^2.4.1',
};
3 changes: 2 additions & 1 deletion packages/runtime-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"@types/cookie-parser": "^1.4.2",
"@types/debug": "^4.1.4",
"@types/express-useragent": "^0.2.21",
"@types/express-serve-static-core": "4.17.33",
"@types/jest": "^26.0.24",
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^18.0.0",
Expand All @@ -58,7 +59,7 @@
},
"dependencies": {
"@twilio-labs/serverless-runtime-types": "^4.0.0",
"@types/express": "4.17.7",
"@types/express": "4.17.21",
"chalk": "^4.1.1",
"common-tags": "^1.8.0",
"cookie-parser": "^1.4.5",
Expand Down
3 changes: 1 addition & 2 deletions packages/serverless-runtime-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@
"url": "https://github.com/twilio-labs/serverless-toolkit/issues"
},
"dependencies": {
"@types/express": "^4.17.11",
"@types/express": "^4.17.21",
"@types/qs": "^6.9.4",
"twilio": "^4.23.0"
},
"devDependencies": {
"@types/express": "^4.17.11",
"all-contributors-cli": "^6.7.0",
"typescript": "^5.3.3"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/twilio-run/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"@twilio-labs/serverless-api": "^5.5.2",
"@twilio-labs/serverless-runtime-types": "4.0.0",
"@types/express": "4.17.7",
"@types/express": "4.17.21",
"@types/inquirer": "^6.0.3",
"@types/is-ci": "^2.0.0",
"@types/qs": "^6.9.4",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"compilerOptions": {
/* Basic Options */
"incremental": false /* Enable incremental compilation */,
"target": "es2015" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
"target": "es2018" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
"lib": [
"es2017",
"es2018",
"dom"
] /* Specify library files to be included in the compilation. */,
// "allowJs": true /* Allow javascript files to be compiled. */,
Expand Down

0 comments on commit f30d928

Please sign in to comment.