New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dealmore/terraform-next-build

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dealmore/terraform-next-build - npm Package Compare versions

Comparing version 0.0.4 to 0.1.0

README.md

10

dist/commands/build.js

@@ -35,3 +35,3 @@ "use strict";

cwd: basePath,
ignore: ['node_modules/**/*', '.next/**/*', '.next-tf/**/*'],
ignore: ['node_modules/**', '.next/**', '.next-tf/**'],
});

@@ -67,2 +67,3 @@ }

lambdas: {},
staticRoutes: [],
routes: props.routes,

@@ -83,2 +84,9 @@ buildId: props.buildId,

}
config.staticRoutes = Object.keys(props.staticWebsiteFiles)
.filter(
// Remove paths that are not routed from the proxy
// - _next/static/ -> Is routed directly by CloudFront
(fileName) => !fileName.startsWith('_next/static/'))
// Add leading / to the route
.map((path) => `/${path}`);
const staticFilesArchive = writeStaticWebsiteFiles(path.join(props.outputDir, config.staticFilesArchive), props.staticWebsiteFiles);

@@ -85,0 +93,0 @@ // Write config.json

6

dist/index.js

@@ -26,4 +26,3 @@ "use strict";

const yargs_1 = __importDefault(require("yargs"));
yargs_1.default
.command('build', 'Build the next.js project', (yargs_) => {
yargs_1.default.command('build', 'Build the next.js project', (yargs_) => {
return yargs_

@@ -45,5 +44,2 @@ .option('skipDownload', {

});
})
.command('sync <bucket>', 'Syncs the static files with S3', () => { }, async ({ bucket }) => {
(await Promise.resolve().then(() => __importStar(require('./commands/sync')))).default({ Bucket: bucket });
}).argv;
{
"name": "@dealmore/terraform-next-build",
"version": "0.0.4",
"version": "0.1.0",
"description": "CLI build tool for AWS Next.js Terraform module",
"homepage": "https://github.com/dealmore/terraform-aws-next-js",
"main": "index.js",

@@ -25,3 +27,2 @@ "license": "Apache-2.0",

"archiver": "^4.0.1",
"aws-sdk": "^2.706.0",
"fs-extra": "^9.0.1",

@@ -28,0 +29,0 @@ "glob": "^7.1.6",

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