@muse.js/ng-sls
Advanced tools
Comparing version 0.0.4 to 0.1.0
{ | ||
"name": "@muse.js/ng-sls", | ||
"version": "0.0.4", | ||
"version": "0.1.0", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "generators": "./generators.json", |
@@ -5,6 +5,9 @@ "use strict"; | ||
exports.DEV_DEPENDENCIES = { | ||
"@types/serverless": "^3.12.2", | ||
"serverless": "^3.15.2", | ||
"@serverless/components": "^3.18.2" | ||
"@types/serverless": "^3.12.7", | ||
"serverless": "^3.21.0", | ||
"serverless-finch": "^4.0.0", | ||
"serverless-offline": "^9.0.0", | ||
"serverless-plugin-optimize": "^4.2.1-rc.1", | ||
"serverless-plugin-typescript": "^2.1.2" | ||
}; | ||
//# sourceMappingURL=dependencies.js.map |
@@ -22,5 +22,6 @@ "use strict"; | ||
executor: '@nrwl/workspace:run-commands', | ||
dependsOn: ['build'], | ||
options: { | ||
commands: [ | ||
'components deploy' | ||
'sls client deploy --no-confirm --verbose' | ||
], | ||
@@ -35,3 +36,3 @@ cwd: normalizedOptions.projectRoot, | ||
commands: [ | ||
'components remove' | ||
'sls client remove --no-confirm' | ||
], | ||
@@ -56,2 +57,11 @@ cwd: normalizedOptions.projectRoot, | ||
const installTask = (0, devkit_1.addDependenciesToPackageJson)(host, {}, dependencies_1.DEV_DEPENDENCIES); | ||
/* | ||
* Improving default TypeScript configuration to be able | ||
* to work with a serverless.ts file | ||
*/ | ||
(0, devkit_1.updateJson)(host, (0, devkit_1.joinPathFragments)(normalizedOptions.projectRoot, 'tsconfig.json'), (json) => { | ||
return Object.assign(Object.assign({}, json), { compilerOptions: { | ||
module: 'commonjs' | ||
} }); | ||
}); | ||
// Generating files from templates | ||
@@ -58,0 +68,0 @@ (0, mneme_1.addFiles)(host, normalizedOptions, path.join(__dirname, 'templates')); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9670
190