GithubHelp home page GithubHelp logo

marko-js-archive / marko-prettyprint Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 6.0 356 KB

Prettyprint Marko template files in the syntax of your choice

License: MIT License

JavaScript 62.70% HTML 37.30%

marko-prettyprint's People

Contributors

austinkelleher avatar dylanpiercey avatar garajo avatar greenkeeper[bot] avatar mlrawlings avatar patrick-steele-idem avatar sidsakhadeo avatar yomed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

marko-prettyprint's Issues

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! ๐ŸŽŠ

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml

If youโ€™re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didnโ€™t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didnโ€™t touch job or matrix configurations because these tend to be quite specific and complex, and itโ€™s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what youโ€™re doing it may require additional work or may not be applicable at all. Weโ€™re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, Iโ€™m a humble robot and wonโ€™t feel rejected ๐Ÿค–


FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

class, static {} add brackets when printing concise

In (HTML)

class {
    constructor() {
        this.state = {
            count:0
        };
    }
    increment() {
        this.state.count++;
    }
}
 
<div>The current count is ${state.count}</div>
<button on-click('increment')>+1</button>

Out (target:concise):

class [
        {
    constructor() {
        this.state = {
            count:0
        };
    }
    increment() {
        this.state.count++;
    }
}
    ]
div -- The current count is ${state.count}
button on-click('increment') -- +1

An in-range update of marko is breaking the build ๐Ÿšจ

Version 4.2.3 of marko just got published.

Branch Build failing ๐Ÿšจ
Dependency marko
Current Version 4.2.2
Type dependency

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

As marko 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
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details
Commits

The new version differs by 3 commits .

  • ff9334f 4.2.3
  • fc5c04c Updated CHANGELOG.md
  • 698746f Fixes #649 - New line always added to textarea and other elements for single line/delimited HTML blocks

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 ๐ŸŒด

Keep empty lines in some cases

Thanks for making this tool!

It would be great if you could configure this with something like maxEmptyLines to have it preserve empty lines in some cases. In its current state, everything becomes so overly compact removing every empty line in the template.

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
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed 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 ๐ŸŒด

An in-range update of js-beautify is breaking the build ๐Ÿšจ

Version 1.7.5 of js-beautify was just published.

Branch Build failing ๐Ÿšจ
Dependency js-beautify
Current Version 1.7.4
Type dependency

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

js-beautify is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 24 commits.

  • cebf32b 1.7.5
  • dc4c9dc Python 1.7.5
  • cda60ff Bump version numbers in README.md
  • 788cae0 Update Changelog for 1.7.5
  • ac3b099 Merge pull request #1279 from Hirse/whitespace-important
  • f6ffd38 Merge branch 'master' into whitespace-important
  • 7a008ce Fix to use correct variable name. js_source_text > source_text
  • a4d7bc6 Improve invalid option output
  • 6b60339 Merge pull request #1281 from sandrosc/test-for-preserve-newlines
  • c662b5a new test for preserve new lines
  • 49aa620 Merge branch 'master' into whitespace-important
  • 873da98 Merge pull request #1277 from Coburn37/master
  • b411058 Merge branch 'master' into master
  • fb3e48d Merge branch 'master' into whitespace-important
  • 4c54364 Add another space before inline comment

There are 24 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Option to keep empty lines

It would be great if we can have an option to keep the empty lines.

Example input:

<var config=data.config/>
<var pageQuery=data.pageQuery/>

<div class="reset-link" if(filterGroup.resetLink)>
          <shui-textual-display model=filterGroup.resetLink/>
</div>

Current output:

<var config=data.config/>
<var pageQuery=data.pageQuery/>
<div class="reset-link" if(filterGroup.resetLink)>
  <shui-textual-display model=filterGroup.resetLink/>
</div>

Output (Keep the empty lines):

<var config=data.config/>
<var pageQuery=data.pageQuery/>

<div class="reset-link" if(filterGroup.resetLink)>
  <shui-textual-display model=filterGroup.resetLink/>
</div>

An in-range update of prettier is breaking the build ๐Ÿšจ

Version 1.8.2 of prettier was just published.

Branch Build failing ๐Ÿšจ
Dependency prettier
Current Version 1.8.1
Type devDependency

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

prettier is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of mocha is breaking the build ๐Ÿšจ

Version 3.3.0 of mocha just got published.

Branch Build failing ๐Ÿšจ
Dependency mocha
Current Version 3.2.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 - โŒ **continuous-integration/travis-ci/push** The Travis CI build failed [Details](https://travis-ci.org/marko-js/marko-prettyprint/builds/225184103)

Release Notes coverave

Thanks to all our contributors, maintainers, sponsors, and users! โค๏ธ

As highlights:

  • We've got coverage now!
  • Testing is looking less flaky \o/.
  • No more nitpicking about "mocha.js" build on PRs.

๐ŸŽ‰ Enhancements

  • #2659: Adds support for loading reporter from an absolute or relative path (@sul4bh)
  • #2769: Support --inspect-brk on command-line (@igwejk)

๐Ÿ› Fixes

  • #2662: Replace unicode chars w/ hex codes in HTML reporter (@rotemdan)

๐Ÿ” Coverage

๐Ÿ”ฉ Other

Commits

The new version differs by 89 commits0.

  • fb1687e :ship: Release v3.3.0
  • 1943e02 Add Changelog for v3.3.0
  • 861e968 Refactor literal play-icon hex code to a var
  • 1d3c5bc Fix typo in karma.conf.js
  • 9bd9389 Fix spec paths in test HTML files
  • 0a93024 Adds tests for loading reporters w/ relative/absolute paths (#2773)
  • 73929ad Comment special treatment of '+' in URL query parsing
  • e2c9514 Merge pull request #2769 from igwejk/support_inspect_break_in_opts
  • 038c636 Support --inspect-brk on command-line
  • b4ebabd Merge pull request #2727 from lamby/reproducible-build
  • 882347b Please make the build reproducible.
  • a2fc76c Merge pull request #2703 from seppevs/cover_utils_some_fn_with_tests
  • ed61cd0 cover .some() function in utils.js with tests
  • f42cbf4 Merge pull request #2701 from craigtaub/landingSpec
  • 6065242 use stubbed symbol

There are 89 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 ๐ŸŒด

An in-range update of editorconfig is breaking the build ๐Ÿšจ

The dependency editorconfig was updated from 0.15.0 to 0.15.1.

๐Ÿšจ View failing branch.

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

editorconfig is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

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.