Giter VIP home page Giter VIP logo

directory-metagen's People

Contributors

agamemnus avatar akrion avatar daedalus28 avatar frozegnome avatar greenkeeper[bot] avatar sadasant avatar sean-clayton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

directory-metagen's Issues

Improvements to documentation README

While the documentation is pretty good, there are a few things we could add to improve it. This thread will keep track of those things.

  • Provide a more detailed version of example output for the different formats

  • Clarify potential questions regarding ES2015 (Is it a requirement? etc.)

  • Flesh out the example with Gulp at the end

  • Fix dependency tag, broken link

Document the index.js use case.

In case where there's an external javascript with the same name as a folder in the same root, the correct way to approach this with the current way directory-metagen works is by making the external javascript file to be within the folder with it's same name, but renamed as index.js

This information should be better explained in the README.md

An in-range update of bluebird is breaking the build 🚨

Version 3.5.0 of bluebird just got published.

Branch Build failing 🚨
Dependency bluebird
Current Version 3.4.7
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

As bluebird is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this πŸ’ͺ


Status Details
  • ❌ ci/circleci Your tests failed on CircleCI Details
Release Notes v3.5.0

Features:

Bugfixes:

  • Fixed streamline benchmarks (#1233)
  • Fixed yielding a function calling the function (#1314, #1315)
  • Fixed confusing error message when calling .catch with non function predicate (#1350)
  • Fixed .props resolving to empty object when called with empty Map (#1338)
  • Fixed confusing error message when invoking Promise directly without new (#1320)
  • Added dedicated webpack entry point (#1318)
Commits

The new version differs by 23 commits .

  • 0b281e6 Release v3.5.0
  • 053d02e add tapCatch (#1220)
  • 8d52820 Added dedicated webpack entry point. (#1318)
  • 6bdc243 fixes #1320
  • c5b3ef3 fixes #1338
  • 1d9cba4 Fix typo which mentioned that tap was called for rejections. (#1343)
  • 901a563 Reword the catch predicate TypeError message for clarity (#1350)
  • b6a1b33 update benchmarks
  • 08ae83f Update LICENSE (#1349)
  • 4a4429e Update README.md
  • 0566325 Fixed #1314: yielding a function should not call the function (#1315)
  • f1409ba fix typo (#1325)
  • a9af75f Update promise.each.md (#1317)
  • d9a3a62 add isCancelled() regression tests (#1239)
  • d020e49 Update disposer.md (#1255)

There are 23 commits in total. See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

Output option does not work

{
    path: __dirname + '/public/react-components/babel-src/reports/apps',
    output: '__reportCatalog.js',
    format: es6Format,
    exclusions: [
        '__reportCatalog.js'
    ]
}

In the above scenario the output ends up being apps__reportCatalog.js file located in the reports folder. The desired result is a file named __reportCatalog.js located in the apps folder.

Include files from ancestor directories

I have a situation where I'd like to generate a file deep within a directory tree that searches the parent, grandparent, etc directories.

like:

a/
  b1/
  b2/
  b3/
    c1/
       all_from_b123.js

I tried to achieve this with something like metagen assets/javascripts/dashboard_2 commonJS a/b3/c1/app_from_b123.js --filter="../../examples.js" but it didn't work. I tried various combinations of the command. Is this something the tool supports? Thank you!

An in-range update of mocha is breaking the build 🚨

Version 3.4.0 of mocha just got published.

Branch Build failing 🚨
Dependency mocha
Current Version 3.3.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As mocha is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this πŸ’ͺ

Status Details
  • ❌ ci/circleci Your tests failed on CircleCI Details

Release Notes v3.4.0

Mocha is now moving to a quicker release schedule: when non-breaking changes are merged, a release should happen that week.

This week's highlights:

  • allowUncaught added to commandline as --allow-uncaught (and bugfixed)
  • warning-related Node flags

πŸŽ‰ Enhancements

πŸ› Fixes

πŸ”© Other

Commits

The new version differs by 9 commits0.

  • 7554b31 Add Changelog for v3.4.0
  • 9f7f7ed Add --trace-warnings flag
  • 92561c8 Add --no-warnings flag
  • ceee976 lint test/integration/fixtures/simple-reporter.js
  • dcfc094 Revert "use semistandard directly"
  • 93392dd no special case for macOS running Karma locally
  • 4d1d91d --allow-uncaught cli option
  • fb1e083 fix allowUncaught in browser
  • 4ed3fc5 Add license report and scan status

false

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

Provide more explicit usage examples for CLI

Hello,

I've been toying around with metagen but can't get it to work - it always outputs an empty file. My hunch is that somehow I am not putting the path correctly - running from CLI it throws out a "folder not found" error, and running from package.json the same command runs but generates an empty file.

I think it would help a lot if the README would include more info on how the path is processed (relative to script directory ? relative to current folder ? absolute?)

Use standard as the formatter

Standard provides an API which might allow us to format all the output code with standard by default (we'll make sure we provide an optional parameter with the formatting function, so users can use their own). However, standard uses the file system API in their lintText and lintTextSync functions, which makes our unit tests fail, since we need to mock the fs API.

I opened an issue in the standard repo asking if we could optionally disallow lintText and lintTextSync to interact with the file system api: standard/standard#904

Let's see what happens!

Should we output arrow functions?

I'm thinking this could look a bit better if we used es6+'s features, however, the output would be very limiting afterward (but it will still work for our use cases).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.