feat(Templates): Upgreate nodejs-typescript template (#8543)

This commit is contained in:
Frédéric Barthelet 2020-11-24 17:00:37 +01:00 committed by GitHub
parent 2a9b57b620
commit fef389b770
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 9 deletions

View File

@ -10,9 +10,9 @@
"source-map-support": "^0.5.19"
},
"devDependencies": {
"@serverless/typescript": "^2.12.0",
"@types/aws-lambda": "^8.10.64",
"@types/node": "^14.14.6",
"@types/serverless": "^1.78.8",
"fork-ts-checker-webpack-plugin": "^6.0.0",
"serverless-webpack": "^5.2.0",
"ts-loader": "^8.0.10",

View File

@ -1,12 +1,7 @@
import type { Serverless } from 'serverless/aws';
import type { AWS } from '@serverless/typescript';
const serverlessConfiguration: Serverless = {
service: {
name: 'aws-nodejs-typescript',
// app and org for use with dashboard.serverless.com
// app: your-app-name,
// org: your-org-name,
},
const serverlessConfiguration: AWS = {
service: 'aws-nodejs-typescript',
frameworkVersion: '2',
custom: {
webpack: {