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

deploy-website

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deploy-website - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

0

lib/bin.d.ts
#!/usr/bin/env node
export {};

10

lib/bin.js

@@ -26,11 +26,8 @@ #!/usr/bin/env node

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const GH = __importStar(require("./services/github"));
const AWS = __importStar(require("./services/aws"));
const path_1 = __importDefault(require("path"));
const path_1 = require("path");
const github = async (directory) => {
const basePath = path_1.default.resolve(process.cwd(), directory);
const basePath = (0, path_1.resolve)(process.cwd(), directory);
await GH.publish(basePath);

@@ -42,3 +39,3 @@ };

AWS.readFile(p, data => {
const Key = p.replace(path_1.default.resolve(directory) + '/', '');
const Key = p.replace((0, path_1.resolve)(directory) + '/', '');
AWS.upload(Key, data);

@@ -55,2 +52,3 @@ });

const invalidate = (args[2] || 'false') === 'true';
console.log('DEPLOY:', JSON.stringify({ service, directory, invalidate }));
const main = async () => {

@@ -57,0 +55,0 @@ if (service === 'gh') {

@@ -0,0 +0,0 @@ import type { PathLike, StatOptions } from 'fs';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

{
"name": "deploy-website",
"version": "0.0.2",
"version": "0.0.3",
"description": "Deploy your static website to AWS S3 or GitHub Pages.",

@@ -15,3 +15,4 @@ "main": "lib/index.js",

"build": "tsc",
"prepublishOnly": "npm run build",
"prepublishOnly": "npm run build && npm install",
"preReleaseHook": "prepublishOnly",
"publish": "npx publish-cli"

@@ -18,0 +19,0 @@ },

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