Socket
Socket
Sign inDemoInstall

@cocreate/cli

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocreate/cli - npm Package Compare versions

Comparing version 1.39.2 to 1.39.3

2

package.json
{
"name": "@cocreate/cli",
"version": "1.39.2",
"version": "1.39.3",
"description": "Polyrepo management bash CLI tool. Run all git commands and yarn commands on multiple repositories. Also includes a few custom macros for cloning, installing, etc.",

@@ -5,0 +5,0 @@ "keywords": [

let glob = require("glob");
let fs = require('fs');
const path = require("path")

@@ -11,3 +10,3 @@ function globUpdater(er, files) {

files.forEach(filename => {
update(filename + '/automated.yml')
update(filename + 'automated.yml')
})

@@ -18,2 +17,9 @@ console.log('Completed')

function update(YmlPath) {
let build = `- name: Build
run: yarn build`
let webpackPath = YmlPath.replace('.github/workflows/automated.yml', 'webpack.config.js')
if (!fs.existsSync(webpackPath))
build = ''
let fileContent = `name: Automated Workflow

@@ -79,4 +85,3 @@ on:

run: yarn install
- name: Build
run: yarn build
${build}
- name: Set Environment Variables

@@ -91,3 +96,2 @@ run: |

`;
// process.exit()
if (fs.existsSync(YmlPath))

@@ -103,8 +107,8 @@ fs.unlinkSync(YmlPath)

glob("/home/cocreate/CoCreate/CoCreate-components/*/.github/workflows/", globUpdater)
glob("/home/cocreate/CoCreate/CoCreate-apps/*/.github/workflows/", globUpdater)
glob("/home/cocreate/CoCreate/CoCreate-plugins/*/.github/workflows/", globUpdater)
// glob("/home/cocreate/CoCreate/CoCreate-apps/*/.github/workflows/", globUpdater)
// glob("/home/cocreate/CoCreate/CoCreate-plugins/*/.github/workflows/", globUpdater)
glob("/home/cocreate/CoCreate/CoCreate-admin/.github/workflows/", globUpdater)
glob("/home/cocreate/CoCreate/CoCreateCSS/.github/workflows/", globUpdater)
glob("/home/cocreate/CoCreate/CoCreateJS/.github/workflows/", globUpdater)
glob("/home/cocreate/CoCreate/CoCreate-wesite/.github/workflows/", globUpdater)
// glob("/home/cocreate/CoCreate/CoCreate-admin/.github/workflows/", globUpdater)
// glob("/home/cocreate/CoCreate/CoCreateCSS/.github/workflows/", globUpdater)
// glob("/home/cocreate/CoCreate/CoCreateJS/.github/workflows/", globUpdater)
// glob("/home/cocreate/CoCreate/CoCreate-wesite/.github/workflows/", globUpdater)

Sorry, the diff of this file is too big to display

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