Skip to content

Commit

Permalink
changed source file names to kebab case (fix #152)
Browse files Browse the repository at this point in the history
  • Loading branch information
hgwood authored and phated committed Nov 28, 2017
1 parent 94d2237 commit 90cc0ee
Show file tree
Hide file tree
Showing 21 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions lib/dest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ var through2 = require('through2');
var sourcemaps = require('gulp-sourcemaps');
var duplexify = require('duplexify');
var sink = require('../sink');
var prepareWrite = require('../prepareWrite');
var writeContents = require('./writeContents');
var prepareWrite = require('../prepare-write');
var writeContents = require('./write-contents');

function dest(outFolder, opt) {
if (!opt) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';

var writeDir = require('./writeDir');
var writeStream = require('./writeStream');
var writeBuffer = require('./writeBuffer');
var writeSymbolicLink = require('./writeSymbolicLink');
var writeDir = require('./write-dir');
var writeStream = require('./write-stream');
var writeBuffer = require('./write-buffer');
var writeSymbolicLink = require('./write-symbolic-link');

function writeContents(writePath, file, callback) {
// If directory then mkdirp it
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var fo = require('../../fileOperations');
var fo = require('../../file-operations');

function writeBuffer(writePath, file, written) {
var opt = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var fs = require('graceful-fs');
var mkdirp = require('mkdirp');

var fo = require('../../fileOperations');
var fo = require('../../file-operations');

function writeDir(writePath, file, written) {
var mkdirpOpts = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

var fs = require('graceful-fs');

var fo = require('../../fileOperations');
var streamFile = require('../../src/getContents/streamFile');
var fo = require('../../file-operations');
var streamFile = require('../../src/get-contents/stream-file');

function writeStream(writePath, file, written) {
var opt = {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use strict';

var through2 = require('through2');
var readDir = require('./readDir');
var readSymbolicLink = require('./readSymbolicLink');
var bufferFile = require('./bufferFile');
var streamFile = require('./streamFile');
var readDir = require('./read-dir');
var readSymbolicLink = require('./read-symbolic-link');
var bufferFile = require('./buffer-file');
var streamFile = require('./stream-file');

function getContents(opt) {
return through2.obj(opt, function(file, enc, cb) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions lib/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ var gs = require('glob-stream');
var duplexify = require('duplexify');
var merge = require('merge-stream');
var sourcemaps = require('gulp-sourcemaps');
var filterSince = require('../filterSince');
var filterSince = require('../filter-since');
var isValidGlob = require('is-valid-glob');

var getContents = require('./getContents');
var wrapWithVinylFile = require('./wrapWithVinylFile');
var getContents = require('./get-contents');
var wrapWithVinylFile = require('./wrap-with-vinyl-file');

function src(glob, opt) {
var options = assign({
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/symlink/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var through2 = require('through2');
var fs = require('graceful-fs');
var prepareWrite = require('../prepareWrite');
var prepareWrite = require('../prepare-write');

function symlink(outFolder, opt) {
function linkFile(file, enc, cb) {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/fileOperations.js → test/file-operations.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var File = require('vinyl');
var buffer = require('buffer');
var defaultResolution = require('default-resolution');

var fo = require('../lib/fileOperations');
var fo = require('../lib/file-operations');

var closeFd = fo.closeFd;
var isOwner = fo.isOwner;
Expand Down
File renamed without changes.

0 comments on commit 90cc0ee

Please sign in to comment.