Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 20, 2015
  1. FIX #67 m.replaceDep does not update properly paths if dependency is …

    authored
    …in lower/same directory #67
    
    travis test on node 0.10 & 0.12
  2. .gitignore wiki

    authored
  3. Merge pull request #62 from paulmillr/master

    authored
    Switch from Gaze to Chokidar.
Commits on Jun 18, 2015
  1. * updated `urequire-example-testbed` example removed `iced-coffee-scr…

    authored
    …ipt` from default ResourceConverter s - its was causing a weird problem on newest npm in some machines. Install it manually if you want it!
    
      ```
      ERR! notarget No compatible version found: iced-coffee-script@'*'
      npm ERR! notarget Valid install targets:
      npm ERR! notarget ["1.6.3-b","1.6.3-c","1.6.3-d","1.6.3-e","1.6.3-f","1.6.3-g","1.6.3-h","1.6.3-i","1.6.3-j","1.7.0-a","1.7.1-a","1.7.1-b","1.7.1-c","1.7.1-d","1.7.1-e","1.7.1-f","1.7.1-g","1.8.0-a","1.8.0-b","1.8.0-c","1.8.0-d","1.8.0-e","1.2.0-c","1.2.0-d","1.2.0-e","1.2.0-f","1.2.0-g","1.2.0-h","1.2.0-i","1.2.0-j","1.2.0-k","1.2.0-l","1.2.0-m","1.2.0-n","1.2.0-o","1.2.0-p","1.2.0-q","1.2.0-r","1.2.0-s","1.2.0-t","1.2.0-u","1.3.1-a","1.3.1-b","1.3.1-c","1.3.3-a","1.3.3-b","1.3.3-c","1.3.3-d","1.3.3-e","1.3.3-f","1.3.3-g","1.3.3-h","1.4.0-a","1.4.0-b","1.4.0-c","1.6.2-a","1.6.2-b","1.6.2-c","1.6.2-d","1.6.3-a"]
      npm ERR! notarget
      npm ERR! notarget This is most likely not a problem with npm itself.
      npm ERR! notarget In most cases you or one of your dependencies are requesting
      npm ERR! notarget a package version that doesn't exist.
      npm ERR! notarget
      npm ERR! notarget It was specified as a dependency of 'urequire-rc-iced-coffee-script'
    ```
  2. * removing `urequire-rc-iced-coffee-script` from deps - causing a wei…

    authored
    …rd problems on newest npm in some machines. Install it manually if you want it!
    
      ```
      ERR! notarget No compatible version found: iced-coffee-script@'*'
      npm ERR! notarget Valid install targets:
      npm ERR! notarget ["1.6.3-b","1.6.3-c","1.6.3-d","1.6.3-e","1.6.3-f","1.6.3-g","1.6.3-h","1.6.3-i","1.6.3-j","1.7.0-a","1.7.1-a","1.7.1-b","1.7.1-c","1.7.1-d","1.7.1-e","1.7.1-f","1.7.1-g","1.8.0-a","1.8.0-b","1.8.0-c","1.8.0-d","1.8.0-e","1.2.0-c","1.2.0-d","1.2.0-e","1.2.0-f","1.2.0-g","1.2.0-h","1.2.0-i","1.2.0-j","1.2.0-k","1.2.0-l","1.2.0-m","1.2.0-n","1.2.0-o","1.2.0-p","1.2.0-q","1.2.0-r","1.2.0-s","1.2.0-t","1.2.0-u","1.3.1-a","1.3.1-b","1.3.1-c","1.3.3-a","1.3.3-b","1.3.3-c","1.3.3-d","1.3.3-e","1.3.3-f","1.3.3-g","1.3.3-h","1.4.0-a","1.4.0-b","1.4.0-c","1.6.2-a","1.6.2-b","1.6.2-c","1.6.2-d","1.6.3-a"]
      npm ERR! notarget
      npm ERR! notarget This is most likely not a problem with npm itself.
      npm ERR! notarget In most cases you or one of your dependencies are requesting
      npm ERR! notarget a package version that doesn't exist.
      npm ERR! notarget
      npm ERR! notarget It was specified as a dependency of 'urequire-rc-iced-coffee-script'
    ```
  3. dependency version updates

    authored
Commits on Jun 14, 2015
  1. * FIX: Module instances beforeBody, afterBody & mergedCode waren't de…

    authored
    …leted at Module ::reset & ::refresh
Commits on Jun 7, 2015
  1. * FIX: noLoaderUMD was breaking on nodejs (due to with `module` and `…

    authored
    …exports` defined in scope)
    
    * CHANGE: Bundle::ensureMain returns `module` instance, not `module.path`
    * FIX: banner is added only if module is non-empty String.
Commits on Apr 10, 2015
  1. @paulmillr
Commits on Mar 5, 2015
  1. update readme.md

    authored
Commits on Mar 4, 2015
  1. update readme.md

    authored
Commits on Mar 3, 2015
  1. * bump version & urequire dep

    authored
    * show srcFilename on parse errors of poor old javascript
Commits on Nov 29, 2014
  1. FIX: almond template: `imports_local_nonNode_deps` replaced by `local…

    authored
    …_nonNode_deps` (reversed as before)
    
    FIX: Module AMD template: allow scan only if @isScanAllow and (not _.any @module.ext_requireDeps, (d)-> d.isNode)
    DOCS: WIP
Commits on Nov 26, 2014
  1. fixed: `imports_local_nonNode` instead of `local_nonNode` in bundleFa…

    authored
    …ctory (AlmondOptimizationTemplate)
  2. * work around jrburke/r.js#747 that erroneously adds `node` deps in A…

    authored
    …MD deps array
    
    * builds with newest urequire, grunt-urequire & urequire-ab-specrunner
Commits on Nov 25, 2014
  1. Config:

    authored
     * blendConfigs: watchBlender, shimBlender & `build: optimize` specs
     * watchBlender for `after`, `before, `files`
    
    Build:
     * `calcRequireJsConfig` neededDeps, strictDeps, shim
     * fixed: `hasErrors` should not be a cached prop
    
    Bundle:
     * loading dependencies.shim from bower paths
     * fillDepsPaths() after all RCs
    
    ResourceConverter.convert(fileResource, callback) accepts a promise returned, uses When.race for promise|callback
    urequire exports 'dependenciesBindingsBlender', 'templateBlender', 'shimBlender', 'watchBlender'
    urequire.addBBCreated & findBBCreated
    
    `afterBuild` throw errors handled gracefully
Commits on Nov 15, 2014
  1. inc mocha timeout

    authored
  2. build with urequire (eat your own dogfood). Allows importing of stand…

    authored
    …ard modules (lodash, uberscore, UError) & use specrunner to autogen specs.
  3. `bundle.main` is no longer mandatory - warning on `combined`, but all…

    authored
    … modules are loaded on AlmondTemplate
Commits on Nov 13, 2014
  1. * fix template.banner moment minutes error

    authored
    * printError if afterBuild rejects
  2. * when@3.6.2 that really solves V8 optmization bug cujojs/when#403

    authored
    * replace 'is_file_in' with 'umatch'
    * automatic `bundle.main` if there's only one module
Commits on Nov 11, 2014
Commits on Nov 10, 2014
  1. updated deps

    authored
Commits on Nov 9, 2014
  1. Unskip NodeRequirer-specs

    authored
Commits on Nov 7, 2014
  1. BundleBuilder

    authored
      - handling exceptions with promises
      - runAfterBuildTasks always
        - callback call version also deals (When.race) with possible returned promise.
      - watch improved
    
    Build:
       - `Build::calcRequireJsConfig()
         - calculates relative paths of local deps to dstPath, blends with another config, merges shims
         - uses `bundle.dependencies.paths.override` always have precedence, then blended, then locals
       - default automatic template.banner (true/function/hash)
       - added `dstMainFilename`, `dstMainFilepath`, `dstMainRealpath`, `dstRealpath`
       - added hasChanged, hasErrors, hasChangedErrors, changedErrorFiles, errors for last build
       - refactored to `combine` and other responsibilities previously on bundle.
       - report:
         - prints files in error in bundle / build & total errors
         - Less verbose on errors & report only 1st time
    
    Bundle:
      - errorFiles `bundle.files` in error,
      - Resaving _combinedTemp always when missing and build.count > 1
      - automatic loading package.json / bower.json
      - improved Bundle::xxx_depVars handling with locals, node, bundle deps etc
     - `Bundle.inferMain()` becomes `Bundle.ensureMain(force=true)`
      - calls `build.finishBuild()` even if no files changed
    
    FileResource / Module:
     - unique rootExports only
     - knows if original AST has really changed.
     - `dstFilenamesSaved` when saved, `clean()` deletes em all, `bundle.dstFilenames` has them all
    
    templates:
     - @globalSelector in both module & almond
     - Almond template: __nodeRequire __throwMissing & __throwExcluded
     - `exportRootCheck` works for non `script` for real
    
    urequire: addBBExecuted(bb) & findBBExecutedBefore(bb) & findBBExecutedLast(bb)
    
    Dependency
     - isLocal (_isInLocals) looks at all paths (bower, package etc)
     - isNode looks at `dependencies.paths.node` (not yet implemented;-(
     - correct translation of './' to './index' if it exists
    
    config:
     - dependencies: paths:
       - added `dependencies: paths: {ovverride, node, bower}`, bower --list paths invoked and paths results cached
       - fill deps paths at start only on first build
     - deprecate 'bundle.dependencies.exports.bundle' in favor of 'bundle.dependencies.imports'
     - deprecate 'bundle.dependencies.exports.root' in favor of 'bundle.dependencies.rootExports'
     - deprecate `buiild.done` in favor of `buiild.afterBuild`
     - deprecate `build.exportsRoot` in favor of 'rootExports.runtimes'
     - deprecate `build.noRootExports` in favor of 'rootExports.ignore'
     - added 'rootExports.noConflict'
     - dependenciesBindingsBlender uses `arrayizeUniqueReversingUnshifter` instead of `arrayizeUniquePusher`
     - blendConfigs: unique cfgs added once only
     - added `build.target`, defaults to @target in grunt
     - `build.watch` is options, properly blended
    
    * project dependencies 'fsp', replaced `./paths/upath` with `upath`
    
    * upath ravamped & spec-ed:
      * `defaultExt` has `ignoredExt` to cater for `.min` / `.dev` extensions
      * normalizeSafe deals correctly with './'
      * trimExt accepts null ext
      * changeExt accepts `ext` or `.ext`
Commits on Oct 16, 2014
  1. BundleBuilder.buildBundle :

    authored
    * promise always returns bb instance
    * runs done() async tasks serially, passing (err, bb) or (err, bb, callback) or compatibility (true/false) with older grunt-urequire / urequire-cli
    * specs for done() tasks, then (bb)->, failing catch(err)
Commits on Oct 15, 2014
  1. * spinned off 'require-clean', 'is_file_in'

    authored
    * ResourceConverters: `runAt` instead of isXXX flags
    * build.done: [], `runPostBuildTasks` run in turn after whole build is done
    * BundleFile.hasChanged reset a start of each build, remains for done()
    * Bundle: `all_depsVars` renamed to `allModule_depsVars`, added real `all_depsVars`
Commits on Oct 12, 2014
  1. * build.done(err, bundleBuilder)

    authored
    * requireUncached missing lines are back
  2. update version

    authored
  3. + `build.watch`:

    authored
     * can be the _.debounce wait, defaults to 1000 (from `urequire-cli`)
     * better logging output
    
    + bundleBuilder.buildBundle().then ()-> resolves it self
    
    + specs:
     * ResourceConverter unskipping
     * blendConfigs with resources as RC-names []
    
    + clean / update deps
Commits on Oct 9, 2014
  1. adding 'urequire-rc-exec' 'urequire-rc-less' & 'urequire-rc-inject-ve…

    authored
    …rsion' as dev deps & all other 'urequire-rc-*' as deps
Something went wrong with that request. Please try again.