- feat: parse ~ prefix css deps as module, else as file
- feat(package): don't throw error for recursive dependency
- feat(file): export File.extend
- feat(file): improve file object
feat(file) get hash from File object
feat(file): filename should be case sensitive on cross-platform
Detect spm_modules of current package before one of root package
add detecting spm_modules of current package
SpmPackage parse spm.buildArgs
fix require cache delete for symlink deps
support parsing spm.engines
searequire -> crequire
- use spm_modules as moduleDir by default
- parse package when initialization, not lazy
- file object extend vinyl
- change api: get -> getPackage, set -> setPackage
- new api: getFile, getFiles
- file will not be parsed when ignore
Improve require priority
do not parse require.async now
add fullpath when lookup fileObj
fix error when require package that name has .
miss extend 😄
ignore package but still parse files
use file cache in package scope not global
- now support require file in package just like node
- file refactor
option moduleDir
give fileInfo ignore option when lookup
parse entry from pkg.output in the package of the dependencies
for windows test
dependencies can be set
upgrade searequire@1.5.0
extra argument to lookup
- move extraDeps to transport
- add file object that can lookup all dependencies
upgrade searequire@1.3.0
searequire instead of requires
output support glob
Change option: ignore -> skip
- add devDependencies property
- handle none extension path in spm.main
hanlde relative file path in spm.main
support require directory
update npmignore
fix windows path
add ignore option, can ignore file or package
only father package will concat option.entry and pkg.output
should not throw when not specifing pkg.main
test file exist first¬
require other extension
- change order of parseFiles
- throw when recursive dependency
only father package will concat options.entry
fix componentPackage and improve coverage
- option change: output -> entry
- update readme
- improve code structure
- testcase coverage
- export getPackages
- no dependency will throw
- ignore extraDeps
- unmatched version will throw
detect main/output type in spm package
requires not support Buffer now
upgrade css-import@0.2.0
add output option
- pass extraDeps to sub package
- only show css required by js in dependencies
- resolve dependent file path
- refactor lookupFiles
- parse css dependency
- add output as same as main
- move main to spm.main
fix versionCache, use dest as key instead
- lazy parse
- trigger
notfound
event when parse a not existed file - support handlebars, add extra
handlebars
to deps - add debug
fix replace .js
add pkg.files
First commit