smartprocure / directory-metagen Goto Github PK
View Code? Open in Web Editor NEWGenerates directory meta files for things such as including entire directories in requirejs
License: MIT License
Generates directory meta files for things such as including entire directories in requirejs
License: MIT License
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
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
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 πͺ
Features:
Bugfixes:
Map
(#1338)Promise
directly without new
(#1320)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.
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
{
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.
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!
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 πͺ
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)--no-warnings
and --trace-warnings
flags (@sonicdoe)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
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
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?)
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!
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).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.