Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@muse.js/ng-sls

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@muse.js/ng-sls - npm Package Compare versions

Comparing version 0.0.4 to 0.1.0

src/generators/application/templates/serverless.ts__tmpl__

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc