component-builder
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -509,3 +509,3 @@ (function( | ||
exports.rewriteUrl = function (branch) { | ||
if (branch.type === 'local') return branch.relativePath || branch.name; | ||
if (branch.type === 'local') return (branch.relativePath || branch.name).replace(/\\/g, '/'); | ||
if (branch.type === 'dependency') return branch.name + '/' + branch.ref; | ||
@@ -512,0 +512,0 @@ } |
@@ -49,3 +49,3 @@ var fs = require('graceful-fs') | ||
exports.rewriteUrl = function (branch) { | ||
if (branch.type === 'local') return branch.relativePath || branch.name; | ||
if (branch.type === 'local') return (branch.relativePath || branch.name).replace(/\\/g, '/'); | ||
if (branch.type === 'dependency') return branch.name + '/' + branch.ref; | ||
@@ -52,0 +52,0 @@ } |
{ | ||
"name": "component-builder", | ||
"description": "builder for component", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Jonathan Ong", |
@@ -23,2 +23,8 @@ # component-builder2 [![Build Status](https://travis-ci.org/component/builder2.js.png)](https://travis-ci.org/component/builder2.js) | ||
## Installation | ||
npm install --save-dev component-builder | ||
_NOTE_: Don't use the npm repo ~~[component-builder2](https://www.npmjs.org/package/component-builder2)~~ anymore. You get both versions [component/builder.js](https://github.com/component/builder.js) and [component/builder2.js](https://github.com/component/builder2.js) at this npm repo now: [component-builder](https://www.npmjs.org/package/component-builder) | ||
## Example | ||
@@ -61,6 +67,2 @@ | ||
You might also want more thorough examples: | ||
- [simple-builder2-demo](http://github.com/mnmly/simple-builder2-demo): Simple demo that shows how to use plugins and build as bundles. | ||
## Builders | ||
@@ -67,0 +69,0 @@ |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
204739
101
10