Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

depcheck


Collective - Host: opensource - https://opencollective.com/depcheck - Code: https://github.com/depcheck

Add documentation for the pluggable design.

github.com/depcheck/depcheck - 45ec5a5357b0293320203bd5a58fc74de00b55c4 authored over 9 years ago by Junle Li <[email protected]>
Merge pull request #69 from lijunle/full-tests

Add special parsers tests.

github.com/depcheck/depcheck - 18cc8a2a99f56c6a2ac558c921c4df1a7f32366d authored over 9 years ago by Junle Li <[email protected]>
Add test case about bin special parser.

- Fix two bugs in bin special parser.
- Full test coverage on bin special parser.

github.com/depcheck/depcheck - a7fe45821fa2ef5a6634f68e06059e104b380cd5 authored over 9 years ago by Junle <[email protected]>
Update test commands to run special parser tests.

github.com/depcheck/depcheck - 4437b771b03d2b5e69928877c3c362f2f942bd19 authored over 9 years ago by Junle <[email protected]>
Add ESLint special parser test cases.

- This single special parser is 100% test coverage
- Update production code to be clean.

github.com/depcheck/depcheck - cb68db175e1c8ce8d937f2254d5dad82ba8e7ce4 authored over 9 years ago by Junle <[email protected]>
Add test case about passing special to CLI.

- Add eslint special parser to `src/component.json` file.
- Add `eslint_airbnb` as test modules....

github.com/depcheck/depcheck - bf7881fbf9431bf876deb9b3054d1c73ea094440 authored over 9 years ago by Junle <[email protected]>
Add test case about handling plain dep list.

- Extend `importListParser` to two version - full and lite.
- In the lite version, it only retur...

github.com/depcheck/depcheck - 56b23ddcd2eed9f6fbc997710e916742adeb2972 authored over 9 years ago by Junle <[email protected]>
Merge pull request #68 from lijunle/remove-lcov-reporter

Finally find that, mocha-lcov-reporter is useless.

github.com/depcheck/depcheck - 7c21ae1b117a7a99ed5ad4d442d4671f77a9a262 authored over 9 years ago by Junle Li <[email protected]>
Finally find that, mocha-lcov-reporter is useless.

- The `lcovonly` reporter is provided by Istanbul
- Istanbul has not install `mocha-lcov-reporte...

github.com/depcheck/depcheck - 7e1b023ad5dae9f148fbf05979f030dae9f522d7 authored over 9 years ago by Junle <[email protected]>
Merge pull request #67 from lijunle/special-eslint

Add ESLint Special parser.

github.com/depcheck/depcheck - 235658210197e74cc6c25944ccb35a70f2a149cc authored over 9 years ago by Junle Li <[email protected]>
Add ESlint special parser.

- Fix a comma in `.eslintrc` file.
- Add eslint special parser to self check.
- Now, there is on...

github.com/depcheck/depcheck - dc74d8fcaf4b44f1f2e7e86e813ddc21ca0cb313 authored over 9 years ago by Junle <[email protected]>
Move the MakeRequireNode logic to index.

- After that, each special parser only need to return a string array.
- The caller is responsibl...

github.com/depcheck/depcheck - 384ad465861fd3908ced6f41fdb5483538fdd9a3 authored over 9 years ago by Junle <[email protected]>
Merge pull request #66 from lijunle/upgrade-packages

Upgrade packages.

github.com/depcheck/depcheck - 54027b73f477cbc7e92ca5224726eae5d2232d1c authored over 9 years ago by Junle Li <[email protected]>
Upgrade packages.

- Minimatch -> 3.0.0
- ESLint-config-airbnb -> 0.1.0

github.com/depcheck/depcheck - d094663f8d727763dabe10ff33b59a75b4748218 authored over 9 years ago by Junle <[email protected]>
Merge pull request #65 from lijunle/special-bin

Add the first special parser - bin.

github.com/depcheck/depcheck - d1ec1ba2b0c4b9c30c1f48bac8872fb83cf5c55a authored over 9 years ago by Junle Li <[email protected]>
Extend the bin special parser to support YAML.

- Install `js-yaml` to parse YAML file.
- The `.travis.yml` file is supported.

github.com/depcheck/depcheck - 64234c83f28bf36714ca50fa66fe45ba50c35d80 authored over 9 years ago by Junle <[email protected]>
Resolve minimatch to match everything for star.

- Reference: https://github.com/isaacs/minimatch/issues/51

github.com/depcheck/depcheck - 3cc303e9b54f3efb0e4d80f9e84c84fa835d40b3 authored over 9 years ago by Junle <[email protected]>
Enable bin special parser in self check.

- Remove some excit ignore packages.

github.com/depcheck/depcheck - 60859d528f9c03a554440478d5f3ef048263df83 authored over 9 years ago by Junle <[email protected]>
Implement the bin special parser.

- Pass enough information to special parser.
- Do bin check on `package.json` file.

github.com/depcheck/depcheck - 0b760b90cb41da432d723d011bbd7db5e83c7cf0 authored over 9 years ago by Junle <[email protected]>
Add special build and pass infrastruture.

- Add `special` to API and CLI option.
- Add `special` folder to build `component.json`
- Expose...

github.com/depcheck/depcheck - 36b66daf767e2a2f8427ee8a55be3d3c9d9166c2 authored over 9 years ago by Junle <[email protected]>
Merge pull request #64 from lijunle/self-check

Self check this project.

github.com/depcheck/depcheck - c1775189c93b4a244cb1a56d5771ee60ba34ca0f authored over 9 years ago by Junle Li <[email protected]>
Integrate seld depcheck to build script.

github.com/depcheck/depcheck - c95a703eff1c4c890e65251e2e0f28a5ce999ddb authored over 9 years ago by Junle <[email protected]>
Add self check script to npm scripts.

- Not ignore bin package to show more false alerts.
- But excitly ignore the undetected packages...

github.com/depcheck/depcheck - 83138570a9fa2e53ba735e8585be35b234b6b88b authored over 9 years ago by Junle <[email protected]>
Merge pull request #63 from lijunle/refactor-test-code

Refactor test code.

github.com/depcheck/depcheck - 4d92e9e1485e102fb495f534207622d155cbced2 authored over 9 years ago by Junle Li <[email protected]>
Merge pull request #62 from lijunle/cli-parser-detector

Accept parser and detector from CLI options.

github.com/depcheck/depcheck - 6d479c602a61c699e6017377f32f35b44ad65b79 authored over 9 years ago by Junle Li <[email protected]>
Support define "only" property in sepc.json

github.com/depcheck/depcheck - f1676b66576631aa7d243d7a97a3addce901fa2a authored over 9 years ago by Junle <[email protected]>
Refactor test code.

- Extract to two common helper function - `makeArgv` and `testCli`.

github.com/depcheck/depcheck - 8eb0684c264f819e609a82f059a78e01a92d256c authored over 9 years ago by Junle <[email protected]>
Add test case about passing parsers and detectors.

github.com/depcheck/depcheck - 2ce75f0bc1c3c8f1e50f8da579793d9c31d93793 authored over 9 years ago by Junle <[email protected]>
Accept parsers and detectors from CLI.

- CLI options are plain string, so only out-of-box parsers and detectors
can be accessed.

- D...

github.com/depcheck/depcheck - 9ef9d73e5db90366d87258ff9f35151896052056 authored over 9 years ago by Junle <[email protected]>
Merge pull request #61 from lijunle/not-ignore-bin

Add ignore-bin-package switch to options.

github.com/depcheck/depcheck - 9269172082e9d419c7d6cefc26cda9fe7610ecd5 authored over 9 years ago by Junle Li <[email protected]>
Use an-option as option name for yargs.

- Yargs will convert it to anOption for js access, anything not break.
- The `an-option` syntax ...

github.com/depcheck/depcheck - e3c5e7ead209fee44b535058689bbac2258b5d2d authored over 9 years ago by Junle <[email protected]>
Add test case to ignore Bin package.

github.com/depcheck/depcheck - 1aba0dde7682295a7331c9032ed20a314185d31c authored over 9 years ago by Junle <[email protected]>
Add ignoreBinPackage to CLI.

- Import `index` as depcheck, instead of `checkDirectory`.

github.com/depcheck/depcheck - fe7bfbb4bb19f3f55f68e8d784dea4f7acb656a5 authored over 9 years ago by Junle <[email protected]>
Add ignoreBinPackage switch option.

- Set its default value to `true` for backward compatible.
- All existing test cases are passed.

github.com/depcheck/depcheck - b4c952be114bf49d59cbecb3a10a09499ff26ad4 authored over 9 years ago by Junle <[email protected]>
Excitly set default values for options.

- Add `getOrDefault` helper function.

github.com/depcheck/depcheck - 23c195cc4c69a1700bce8206874f9e17f202d5ad authored over 9 years ago by Junle <[email protected]>
Merge pull request #60 from lijunle/component-glob

Accept glob from the options.parsers key

github.com/depcheck/depcheck - 0f365f0477da8dca1849e5b873c522b6e105fb21 authored over 9 years ago by Junle Li <[email protected]>
Remove the support for package is number.

- According to docs, package name must be a string.
- Remove the corresponding code logic.
- Ref...

github.com/depcheck/depcheck - 7375e72977631dd6b3f2ea4ca7808d58592d70d3 authored over 9 years ago by Junle <[email protected]>
Refine the checkDirectory code.

github.com/depcheck/depcheck - f913c771e58558634aa4fd6eb7a5d4e6527f85f5 authored over 9 years ago by Junle <[email protected]>
Add test about handle parser exception.

- Modify production code to meet the test spec requirement.
- When a file has multiple parsers, ...

github.com/depcheck/depcheck - d16f53cb23b1224ea231892cfc6eddccbc110b12 authored over 9 years ago by Junle <[email protected]>
Add test about filename matches multiple globs.

github.com/depcheck/depcheck - b084c2b5eb58e89146bfcd81f563f0d7b3a3e2ed authored over 9 years ago by Junle <[email protected]>
Add test case about supporting multiple parsers.

github.com/depcheck/depcheck - 7d9ad78415fc422a7e0810ad3614f71ce4e19f40 authored over 9 years ago by Junle <[email protected]>
Change the options.parsers key to a glob.

- Use minimatch to filter target parsers.
- Update related test cases.

github.com/depcheck/depcheck - 7cbbf71fe64c07bb24685ba3bf79b58dbe15a5f6 authored over 9 years ago by Junle <[email protected]>
Add support for multiple AST from one source file.

- Follow the pluggable design to add the support to generate multiple
ASTs from one source file.

github.com/depcheck/depcheck - d208ab22f4d6eb6eb8713ef2883e2b89c9db8b47 authored over 9 years ago by Junle <[email protected]>
Merge pull request #59 from lijunle/npm-ingore-build

Ignore build folder in NPM publish package.

github.com/depcheck/depcheck - cce454f10c905a1bff57fb94e5adc4d777c4af79 authored over 9 years ago by Junle Li <[email protected]>
Ignore build folder in NPM publish package.

github.com/depcheck/depcheck - ad8268fc4485dbcb292bba73c8dccc3110047359 authored over 9 years ago by Junle <[email protected]>
Merge pull request #58 from lijunle/component

Generate component list from file system.

github.com/depcheck/depcheck - 95b2f4b2488f1413927fc7d267732a4890f2dea0 authored over 9 years ago by Junle Li <[email protected]>
Rename: depCheck -> depcheck.

- Let function name same as package name.
- Remove the `s` from `depcheck.parser` and `depcheck....

github.com/depcheck/depcheck - 2b9f4a7d025a947e8a4ba1c0f519d21de4c8cedd authored over 9 years ago by Junle <[email protected]>
Generate the production component.json from FS.

- Add a build script `build/component.js` to build list.

github.com/depcheck/depcheck - 8c0b58acb2dbb2c2ddf72960b212f77561cb4bf1 authored over 9 years ago by Junle <[email protected]>
Extract the parser and detector to component.json.

- The `component.json` file is for development.
- Another script is needed to generate full comp...

github.com/depcheck/depcheck - ca690c05cbbae6c31fca6fa1709520285de89cc2 authored over 9 years ago by Junle <[email protected]>
Remove the 's' from parser and detector.

- Follow the pluggable design.
- Make them automatically load from file structure.

github.com/depcheck/depcheck - a4fdbf650142149619d079283c630b3ea4458045 authored over 9 years ago by Junle <[email protected]>
Merge pull request #57 from lijunle/cli-ignore-dirs

Accept ignore dirs from CLI.

github.com/depcheck/depcheck - d6f2606fbd7a18d43f5ccf7372144cc3e34f7f9f authored over 9 years ago by Junle Li <[email protected]>
Accept ignoreDirs from CLI.

- Update production code and test code.

github.com/depcheck/depcheck - 60cdb67d6b91e2ebd056b280d08e5d64257672ac authored over 9 years ago by Junle <[email protected]>
Remove the ignoreDirs hack in test code.

- The test case will fail.

github.com/depcheck/depcheck - 9c9f03842d1da10672e023c55223a2de6ba152a5 authored over 9 years ago by Junle <[email protected]>
Merge pull request #55 from lijunle/fix-require-dynamic

Fix a bug about require dynamic expression.

github.com/depcheck/depcheck - 7dee7598b94d92546a443560fbe08a6f53c86667 authored over 9 years ago by Junle Li <[email protected]>
Add test case about require dynamic expression.

github.com/depcheck/depcheck - 7dd00940065504b13920e7ef1c4f7285902ae508 authored over 9 years ago by Junle <[email protected]>
Fix the bug from two aspect.

- Only detect the require call with plain string text.
- When call dep.replace, check dep is not...

github.com/depcheck/depcheck - 550a41fec57a4e9ea48473746158586c9987c342 authored over 9 years ago by Junle <[email protected]>
Merge pull request #54 from lijunle/avoid-mocha-done

Convert all test cases to promise-async mode.

github.com/depcheck/depcheck - fb0b0f8bd9a800e36958cdb12692595415471d85 authored over 9 years ago by Junle Li <[email protected]>
For the path.resolve, relative to __dirname.

- Avoid resolve depends on current directory.

github.com/depcheck/depcheck - 652f43d570a81c4805fa5f239c0ce11a7221a36f authored over 9 years ago by Junle <[email protected]>
Use promise async pattern in mocha test cases.

- Avoid mocha done async pattern. It will hit timeout when the async
test case fail, and lost ...

github.com/depcheck/depcheck - 993f1f1c29adb6c6548a0698bbd329e17f9f9940 authored over 9 years ago by Junle <[email protected]>
Merge pull request #53 from lijunle/yargs

Migrate optimist to yargs.

github.com/depcheck/depcheck - 0f823e43d5c6fe98ea466deee4f93f109afe1198 authored over 9 years ago by Junle Li <[email protected]>
Migrate optimist to yargs.

- Show help doc for `dev`, remove `no-dev` description.

github.com/depcheck/depcheck - 2f6988cec44e0b1702015e6d30dd1a5da3f90cb6 authored over 9 years ago by Junle <[email protected]>
Merge pull request #52 from lijunle/jsx-support

Support JSX syntax.

github.com/depcheck/depcheck - d822085d1756119b1b47b4a7c7426fb43d8b5a32 authored over 9 years ago by Junle Li <[email protected]>
Add test case about JSX syntax support.

github.com/depcheck/depcheck - 3753abfb9d67901e72a008285ba7183e5a42af41 authored over 9 years ago by JunLe Li <[email protected]>
Implement jsx parser and add it to default option.

- Install acorn-jsx to parser JSX file.
- Test case passed.

github.com/depcheck/depcheck - ba33021c84010d5391e8e0d6a0c4ae12d92f500a authored over 9 years ago by Junle <[email protected]>
Merge pull request #51 from lijunle/fix-babel-transform

Fix babel transform.

github.com/depcheck/depcheck - 8aa90987c733962310efb016e648468a4e836ec0 authored over 9 years ago by Junle Li <[email protected]>
Use Array#indexOf instead of #includes.

- Bacause babel does not provide a way to tranform it.

github.com/depcheck/depcheck - 1a6bc8d955cb30df8b7a932ade86a26ab1e4235c authored over 9 years ago by Junle <[email protected]>
Ignore some folder when publish NPM packages.

- Reference: http://blog.xebia.com/2015/09/22/publishing-es6-code-to-npm/

github.com/depcheck/depcheck - 82c8f292e8c83e95e59c723d36a90192b4d6012f authored over 9 years ago by Junle <[email protected]>
Install babel-runtime and add it to transform.

- The new ES6 API will come from `babel-runtime` instead of node.

github.com/depcheck/depcheck - d3147710e9055a95ce2bcd7ac72e4e0a713861b6 authored over 9 years ago by Junle <[email protected]>
Add E2E test case.

- They run slow, so only cover the most important scenarios.
- Currently, the E2E run is broken.

github.com/depcheck/depcheck - 7ffc2ad9bba50bb8f72e33a3ebcb636ecd36676d authored over 9 years ago by Junle <[email protected]>
Merge pull request #50 from lijunle/rename-es6-parser

Refine CLI code.

github.com/depcheck/depcheck - 824e775fc18eb8f9ebc1f549a3fdcd34207bf96c authored over 9 years ago by Junle Li <[email protected]>
Remove defaultParser to es6Parser.

- Still make it as the default parse.
- May change default parser to jsxParser after implemented...

github.com/depcheck/depcheck - 5ffb9953d6f69b1983d3a3239f9795b32a0a714e authored over 9 years ago by Junle <[email protected]>
Refine cli.js code.

- Avoid callback hell, use Promise
- Own the `log`, `exit` functions in the `cli` function level.

github.com/depcheck/depcheck - d1dd80c78156e833fead39a6c5932a4fe7fdcde6 authored over 9 years ago by Junle <[email protected]>
Refine index.js.

- Move the configuration to the top of index.js
- Keep depCheck logic ande exports at the end.

github.com/depcheck/depcheck - fa8ce64ccdb0ee2c189ea0026d875ce4e141fb6b authored over 9 years ago by Junle <[email protected]>
Merge pull request #48 from lijunle/more-tests

Add more test cases.

github.com/depcheck/depcheck - 3453d41dcbdad6c8280caf8e2062d556d65fb235 authored over 9 years ago by Junle Li <[email protected]>
Remove a TODO and refine the test cases.

github.com/depcheck/depcheck - f169759a9510e77eae018c694d404cb19f91dead authored over 9 years ago by Junle <[email protected]>
Add test case about passing custom parsers.

github.com/depcheck/depcheck - cba4f3472fef5f1e3375b91474729dc0eac145c1 authored over 9 years ago by Junle <[email protected]>
Add test case about passing custom parsers.

github.com/depcheck/depcheck - 31017bb0dc555dc00447668a6a9a60e4b4df0b30 authored over 9 years ago by Junle <[email protected]>
Add test case about throwing exception detector.

- It should handle fine even it throws exception.

github.com/depcheck/depcheck - d98cbabfb54af17e4f50b2b438f34619d8c195e6 authored over 9 years ago by Junle <[email protected]>
Some test refinements.

- Should package not exposes as `assert` any more.

github.com/depcheck/depcheck - 6eb5e8d8873030d7be5b6e82b1615d9a20fb6f61 authored over 9 years ago by Junle <[email protected]>
Add test case about accessing unreadable file.

github.com/depcheck/depcheck - ca1f4acf253af9b451c3493eb887b34832acd7ef authored over 9 years ago by Junle <[email protected]>
Use dedicated folder for unreadable test.

github.com/depcheck/depcheck - fafecee2545daa457fed6ca2469df2a3cd21cb4c authored over 9 years ago by Junle <[email protected]>
Add test case to cover not specified directory.

github.com/depcheck/depcheck - 8eb8bf7c4cd9956365905a6fd527a039f34f278a authored over 9 years ago by Junle <[email protected]>
Merge pull request #47 from lijunle/update-deps

Update dependencies to up-to-date versions

github.com/depcheck/depcheck - eb1e6af98309c59454761dd34bbfa93d7dea1191 authored over 9 years ago by Junle Li <[email protected]>
Remove the id-length violation warnings.

- This rule is new added in airbnb 0.0.9.

github.com/depcheck/depcheck - 445696fcdbf9b27f9e8b55bd01a2a64aa103f6b0 authored over 9 years ago by Junle <[email protected]>
No need to specify no-undef rule explictly.

- Airbnb has handle it.

github.com/depcheck/depcheck - 345c932ba811e5fc680750d2789f704abcf9eb6c authored over 9 years ago by Junle <[email protected]>
Update pacakges to up-to-date

- Walkdir -> 0.0.7
- Eslint-config-airbnb -> 0.0.9
- Mocha-lcov-reporter -> 1.0.0

github.com/depcheck/depcheck - 7b22395f0c01558be868c058366f41d7a2a36d9f authored over 9 years ago by Junle <[email protected]>
Add dependencies update-to-date badges.

- Both dependencies and devDependencies.

github.com/depcheck/depcheck - 6b617bfb9c9f0a7d06ff70a30e7daebbb3eaeb1d authored over 9 years ago by Junle <[email protected]>
Merge pull request #46 from lijunle/remove-lodash-dep

Remove lodash from package dependencies.

github.com/depcheck/depcheck - 888f343e65866e3239584bba13661d52945a77d0 authored over 9 years ago by Junle Li <[email protected]>
Remove lodash dependency from package.json

github.com/depcheck/depcheck - f5256c1b49e5dff4a18305a67e69e05b824b6ff6 authored over 9 years ago by Junle <[email protected]>
Remove lodash dependency from production code.

github.com/depcheck/depcheck - 5da1cca701282f493e916f59f3e0ca7cb2322490 authored over 9 years ago by Junle <[email protected]>
Merge pull request #45 from lijunle/refactor-promise

Refactor Code and Implement Pluggable Design.

github.com/depcheck/depcheck - 8e8b75a6d9b257ba9af44fea516d59d6ee1e1db2 authored over 9 years ago by Junle Li <[email protected]>
Accept parsers and detectors from options.

- Implement pluggable design (#27)
- Move the default options to `defaultOptions` object at root...

github.com/depcheck/depcheck - d9d1eea0ab7a5be529653c5a9dda99a52589d0d1 authored over 9 years ago by Junle <[email protected]>
Make parsers and detectors as parameters.

- Refactor all finder event code to expressions.

github.com/depcheck/depcheck - 34131e058e0813782234e2c4b9e0123a9b35dec9 authored over 9 years ago by Junle <[email protected]>
Remove q from dependecies.

github.com/depcheck/depcheck - 8902aba31312d92f6db949a772690f76feb56a0c authored over 9 years ago by Junle <[email protected]>
Refactor the unreadable directory tests.

- Use node native async function.
- No need to reference q any more.

github.com/depcheck/depcheck - 2f04d19d23fe53cc06cb3d27b57143ac274a0809 authored over 9 years ago by Junle <[email protected]>
Leverage ES6 promise and remove q.

- Babel promise a ES6 promise, q is unnecessary any more.

github.com/depcheck/depcheck - a1694c8e78de3769112aac66290b4209edcd3fb1 authored over 9 years ago by JunLe Li <[email protected]>
Avoid let variables - unusedDeps and unusedDevDeps

- Remove the `isEmpty`, which in most cases are useless.
- Use passed parameter `deps` and `devD...

github.com/depcheck/depcheck - d35240e434043bbfdbfa502f8b9b8da41cd50812 authored over 9 years ago by JunLe Li <[email protected]>
Use reduce to merge multiple promise results.

- Avoid local variables - `invalidFiles` and `invalidDirs`.
- The reduce and promise evaluate ca...

github.com/depcheck/depcheck - 85f50f10ed6beddfa6ddf52d186d373dca4c6b89 authored over 9 years ago by JunLe Li <[email protected]>
Convert the read file logic to async pattern.

- Convert all operations to promise, and handle at `end` event.
- Move the parsers options to `c...

github.com/depcheck/depcheck - 3334d565e1c9188ad16e11a4765fe35f30ae30e4 authored over 9 years ago by Junle <[email protected]>
Merge pull request #44 from lijunle/fix-invalid-dir-bug

Fix invalidDir bug.

github.com/depcheck/depcheck - 5c9b5b60fe1de5e82804284c66267df2afb73400 authored over 9 years ago by Junle Li <[email protected]>