mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
feat(Templates): Upgreate nodejs-typescript template (#8543)
This commit is contained in:
parent
2a9b57b620
commit
fef389b770
@ -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",
|
||||
|
||||
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user