Git Product home page Git Product logo

gulp-xml-transformer's People

Contributors

dependabot[bot] avatar perrin4869 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gulp-xml-transformer's Issues

Any way to indicate that a path is optional?

Currently I am trying to use this as part of a build script where I want to basically read some environmental config files and for any correlating appSetting or connectionString nodes in a web/app.config file replace them.

The problem is there will probably be a lot of environmental variables which are not going to be in the web.config files and currently it reports an error that it cannot find the path, so is there a way for me to build all possible paths but indicate that if it doesn't find a match just skip it and continue?

== Edit

It seems like https://github.com/perrin4869/gulp-xml-transformer/blob/master/src/transformers.js#L21 could be updated in some way to basically check for an isRequired property or something, but let me know your thoughts on it.

Any way to ignore non xml files in a stream?

So I have a weird scenario where I need to:

  • Crack open a zip file
  • Transform some xml files in there
  • Re-zip up the file
  • Output it somewhere

Problem is I will have a stream which will contain a myriad of files with only some being XML, so is there a way to be able to infer to it a filter of files to process, or some way for it to just bypass any non xml files in the stream?

gulp-util deprecated

Please replace gulp-util with the following API replacements

gutil.File => https://www.npmjs.com/package/vinyl
gutil.replaceExtension => The .extname property on Vinyl objects or https://www.npmjs.com/package/replace-ext
gutil.colors => https://www.npmjs.com/package/ansi-colors
gutil.date => https://www.npmjs.com/package/date-format
gutil.log => https://www.npmjs.com/package/fancy-log
gutil.template => https://www.npmjs.com/package/lodash.template
gutil.env => https://www.npmjs.com/package/minimist
gutil.beep => https://www.npmjs.com/package/beeper
gutil.noop => https://www.npmjs.com/package/through2
gutil.isStream => Use the .isStream() method on Vinyl objects
gutil.isBuffer => Use the .isBuffer() method on Vinyl objects
gutil.isNull => Use the .isNull() method on Vinyl objects
gutil.linefeed => Use the string '\n' in your code
gutil.combine => https://www.npmjs.com/package/multipipe
gutil.buffer => https://www.npmjs.com/package/list-stream
gutil.PluginError => https://www.npmjs.com/package/plugin-error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.