cdk-nuxt 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cli/deploy.js CHANGED
@@ -54,8 +54,8 @@ shell.cp('.yarnclean', deploymentLayerFolder);
54
54
  shell.cd(deploymentLayerFolder);
55
55
 
56
56
  // We do not want to install any dependencies listed under 'devDendencies'
57
- // Usually the --production flag should do the trick but somehow still installs more dependencies as required
58
- shell.exec('sed -i \'\' \'/\\"devDependencies\\"/,/}/ d\' package.json')
57
+ // Usually the --production flag should do the trick but somehow still installs some dev dependencies in some cases
58
+ shell.exec('sed -i \'\' \'/\\"devDependencies\\"/,/}/ d; /^$/d\' package.json')
59
59
  if (shell.exec('yarn install --production --frozen-lockfile').code !== 0) {
60
60
  shell.echo(`${logPrefix} Error: Installation of lambda layer failed.`);
61
61
  shell.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdk-nuxt",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "lib",