Comparing version 1.0.2 to 1.0.3
#!/usr/bin/env node | ||
const { program } = require("commander"); | ||
const yml = require("./commands/yml"); | ||
// Colors to style console logs | ||
const colors = require("colors"); | ||
@@ -5,0 +7,0 @@ colors.setTheme({ |
@@ -22,16 +22,6 @@ /* | ||
// Colors to style console logs | ||
const colors = require("colors"); | ||
colors.setTheme({ | ||
info: "cyan", | ||
highlight: "bgCyan", | ||
meta: "grey", | ||
warn: "yellow", | ||
success: "bgGreen", | ||
error: "red", | ||
}); | ||
// Emoji function | ||
const emoji = require("node-emoji"); | ||
const e = (n) => emoji.get(n); | ||
function init(options) { | ||
@@ -103,3 +93,3 @@ /* ********************************** */ | ||
execSync( | ||
"echo 'on: push\nname: 🚀 Deploy website on push\njobs:\n web-deploy:\n name: 🎉 Deploy\n runs-on: ubuntu-latest\n steps:\n - name: 🚚 Get latest code\n uses: actions/checkout@v2\n - uses: actions/setup-node@v2\n with:\n node-version: '14'\n cache: 'yarn'\n\n - name: 🧐 Check for node_modules cache\n id: cache-node-modules\n uses: actions/cache@v2\n with:\n path: node_modules\n key: node-modules-${{ hashFiles('package-lock.json') }}\n\n - name: 😅 Installing node_modules\n if: steps.cache.outputs.cache-hit != 'true'\n run: yarn install\n\n - name: 🔨 Building project!\n run: yarn build\n\n - name: 📂 Sync files through ftp\n uses: SamKirkland/FTP-Deploy-Action@4.1.0\n with:\n local-dir: ./build/\n server: " + | ||
"echo 'on: push\nname: 🚀 Deploy website on push\njobs:\n web-deploy:\n name: 🎉 Deploy\n runs-on: ubuntu-latest\n steps:\n - name: 🚚 Get latest code\n uses: actions/checkout@v2\n - uses: actions/setup-node@v2\n with:\n node-version: '14'\n cache: 'yarn'\n\n - name: 🧐 Check for node_modules cache\n id: cache-node-modules\n uses: actions/cache@v2\n with:\n path: node_modules\n key: node-modules-${{ hashFiles('package-lock.json') }}\n\n - name: 😅 Installing node_modules\n if: steps.cache.outputs.cache-hit != 'true'\n run: yarn install\n\n - name: 🔨 Building project!\n run: yarn build\n\n - name: 📂 Sync files through ftp\n uses: SamKirkland/FTP-Deploy-Action@4.1.0\n with:\n local-dir: ./build/\n server: " + | ||
`${host}` + | ||
@@ -106,0 +96,0 @@ "\n state-name: ../.ftp-deploy-sync-state.json\n server-dir: umbraco/w" + |
{ | ||
"name": "07-cli", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
8
9
52295
239