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

build-workflow

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

build-workflow - npm Package Compare versions

Comparing version 0.0.17 to 0.0.19

tasks/run-i18n-targets.js

70

configs/exec.js

@@ -89,40 +89,40 @@ module.exports = function ( grunt, pkg, options ) {

},
// ## exec:codepainter
// Codepainter is a utility similar to jsbeautifier it format the code to
// follow a given set of styles. It is similar to jsbeautifier. It actually
// complements it, since we're using it to make sure we always use single
// quotes in our strings in javascript.
// // ## exec:codepainter
// // Codepainter is a utility similar to jsbeautifier it format the code to
// // follow a given set of styles. It is similar to jsbeautifier. It actually
// // complements it, since we're using it to make sure we always use single
// // quotes in our strings in javascript.
// //
// // Call it executing `grunt exec:codepainter` or `grunt exec:codepainter:glob`
// //
// // The first call beautify all the source files, by application group
// // to avoid an issue with opening too many file descriptors. The second one will
// // beautify all the files that match the passed glob only.
// //
// // **Note**:
// //
// // a glob is a string that represent a set of files or directories
// // something like: `some/path/**/*.js` which will match all files inside some path that
// // have the js extension.
// codepainter: {
// command: function ( glob ) {
// var codepainterJSON = path.resolve( __dirname, '../resources/json-configs/codepainter.json' );
// if ( glob ) {
// return lib.format( 'node_modules/codepainter/bin/codepaint xform -j {0} "{1}"',
// codepainterJSON, glob );
// }
//
// Call it executing `grunt exec:codepainter` or `grunt exec:codepainter:glob`
// // ** sourceFilesGlobs**
// //
// // globs to point to all the source files in this project
// var codepainter = commonConfig.codepainter || {};
// var sourceFilesGlobs = grunt.file.expand( codepainter.sources );
//
// The first call beautify all the source files, by application group
// to avoid an issue with opening too many file descriptors. The second one will
// beautify all the files that match the passed glob only.
//
// **Note**:
//
// a glob is a string that represent a set of files or directories
// something like: `some/path/**/*.js` which will match all files inside some path that
// have the js extension.
codepainter: {
command: function ( glob ) {
var codepainterJSON = path.resolve( __dirname, '../resources/json-configs/codepainter.json' );
if ( glob ) {
return lib.format( 'node_modules/codepainter/bin/codepaint xform -j {0} "{1}"',
codepainterJSON, glob );
}
// return sourceFilesGlobs.map(function ( glob ) {
// return lib.format( 'node_modules/codepainter/bin/codepaint xform -j {0} "{1}"',
// codepainterJSON, glob );
// } ).join( ' && ' );
// }
// },
// ** sourceFilesGlobs**
//
// globs to point to all the source files in this project
var codepainter = commonConfig.codepainter || {};
var sourceFilesGlobs = grunt.file.expand( codepainter.sources );
return sourceFilesGlobs.map(function ( glob ) {
return lib.format( 'node_modules/codepainter/bin/codepaint xform -j {0} "{1}"',
codepainterJSON, glob );
} ).join( ' && ' );
}
},
yuidoc: {

@@ -129,0 +129,0 @@ command: function ( glob ) {

{
"name": "build-workflow",
"version": "0.0.17",
"version": "0.0.19",
"description": "Simple gruntfile helper to define build workflows",

@@ -5,0 +5,0 @@ "main": "config-loader.js",

@@ -24,3 +24,3 @@ #!/usr/bin/env node

var regex = /was\snot\sbeautified/g;
console.error( err );

@@ -27,0 +27,0 @@ showErrorBlock( 'Review your errors and try again', 'VALIDATION FAILED :' );

@@ -24,4 +24,2 @@ {

"requireSpaceBeforeBinaryOperators": [

@@ -28,0 +26,0 @@ "=",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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