Skip to content

Commit f30d928

Browse files
authored
Update version for default packages (#524)
* 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
1 parent 1ff630e commit f30d928

File tree

7 files changed

+18
-9
lines changed

7 files changed

+18
-9
lines changed

Diff for: .changeset/flat-boxes-run.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@twilio-labs/serverless-runtime-types': patch
3+
'create-twilio-function': patch
4+
'@twilio/runtime-handler': patch
5+
'twilio-run': patch
6+
---
7+
8+
- update default version for new projects
9+
- bump dev dependencies @types/express and typedoc

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"prettier": "^2.2.1",
4343
"rimraf": "^3.0.2",
4444
"ts-jest": "^29.1.2",
45-
"typedoc": "^0.25.12",
45+
"typedoc": "^0.26.5",
4646
"typescript": "^5.3.3"
4747
},
4848
"lint-staged": {

Diff for: packages/create-twilio-function/src/create-twilio-function/versions.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ module.exports = {
88
twilioRun: pkgJson.dependencies['twilio-run'],
99
node: '18',
1010
typescript: '^5.3.3',
11-
serverlessRuntimeTypes: '^1.1',
12-
copyfiles: '^2.2.0',
11+
serverlessRuntimeTypes: '^4.0.0',
12+
copyfiles: '^2.4.1',
1313
};

Diff for: packages/runtime-handler/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"@types/cookie-parser": "^1.4.2",
4545
"@types/debug": "^4.1.4",
4646
"@types/express-useragent": "^0.2.21",
47+
"@types/express-serve-static-core": "4.17.33",
4748
"@types/jest": "^26.0.24",
4849
"@types/lodash.debounce": "^4.0.6",
4950
"@types/node": "^18.0.0",
@@ -58,7 +59,7 @@
5859
},
5960
"dependencies": {
6061
"@twilio-labs/serverless-runtime-types": "^4.0.0",
61-
"@types/express": "4.17.7",
62+
"@types/express": "4.17.21",
6263
"chalk": "^4.1.1",
6364
"common-tags": "^1.8.0",
6465
"cookie-parser": "^1.4.5",

Diff for: packages/serverless-runtime-types/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@
2828
"url": "https://github.com/twilio-labs/serverless-toolkit/issues"
2929
},
3030
"dependencies": {
31-
"@types/express": "^4.17.11",
31+
"@types/express": "^4.17.21",
3232
"@types/qs": "^6.9.4",
3333
"twilio": "^4.23.0"
3434
},
3535
"devDependencies": {
36-
"@types/express": "^4.17.11",
3736
"all-contributors-cli": "^6.7.0",
3837
"typescript": "^5.3.3"
3938
},

Diff for: packages/twilio-run/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"dependencies": {
3737
"@twilio-labs/serverless-api": "^5.5.2",
3838
"@twilio-labs/serverless-runtime-types": "4.0.0",
39-
"@types/express": "4.17.7",
39+
"@types/express": "4.17.21",
4040
"@types/inquirer": "^6.0.3",
4141
"@types/is-ci": "^2.0.0",
4242
"@types/qs": "^6.9.4",

Diff for: tsconfig.base.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"compilerOptions": {
33
/* Basic Options */
44
"incremental": false /* Enable incremental compilation */,
5-
"target": "es2015" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
5+
"target": "es2018" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
66
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
77
"lib": [
8-
"es2017",
8+
"es2018",
99
"dom"
1010
] /* Specify library files to be included in the compilation. */,
1111
// "allowJs": true /* Allow javascript files to be compiled. */,

0 commit comments

Comments
 (0)