Coder Social home page Coder Social logo

ts-emitter's Introduction

ts-emitter

GitHub license npm Travis codecov Commitizen friendly Standard Version renovate badge

Emitting typescript as back to typescript.

DEPRECATED

ts-emitter is currently not maintained and should be seen as deprecated

Features

  • Keep original source as much as possible and only update whats changed.

Usage

Installation

Install as npm package:

$ npm install ts-emitter

Tests

The typescript compiler test suite is used to test the code generator. To create and run the test harness execute

$ npm run update-harness[coverage-image]: https://coveralls.io/repos/github/KnisterPeter/ts-emitter/badge.svg?branch=master
55
[coverage-link]: https://coveralls.io/github/KnisterPeter/ts-emitter?branch=master
56
​
57
​
58
​
59

$ npm run harness

API

  import { fromPath, toSource } from 'ts-emitter';

  const ast = fromPath('path/to/source-file.ts'));
  // Do something with the AST
  const source = toSource(ast);

ts-emitter's People

Contributors

dependabot[bot] avatar greenkeeper[bot] avatar knisterpeter avatar renovate-bot avatar renovate[bot] avatar zaubernerd avatar

Stargazers

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

Watchers

 avatar  avatar

ts-emitter's Issues

An in-range update of ts-jest is breaking the build 🚨

Version 21.2.0 of ts-jest was just published.

Branch Build failing 🚨
Dependency ts-jest
Current Version 21.1.4
Type devDependency

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

ts-jest 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 could not complete due to an error Details

Release Notes 21.2.0

Enable using "ts-jest" package name directly (#363):

  "jest": {
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    },
Commits

The new version differs by 7 commits.

  • ce41e53 Merge pull request #363 from martijnthe/change-entry-to-preprocessor.js
  • da25825 Allow pre-release Jest in the next minor range
  • 36e5f9c Merge branch 'master' into change-entry-to-preprocessor.js
  • a4e32df Merge pull request #360 from totopsy/master
  • 8cf2d46 Update AUTHORS
  • bad01ec Change the package entry point to preprocessor.js itself
  • 7c24d0d FIX - README.md 2 times the same line

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 🌴

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

Version 2.6.1 of typescript was just published.

Branch Build failing 🚨
Dependency typescript
Current Version 2.5.3
Type devDependency

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

typescript 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 could not complete due to an error Details

Release Notes TypeScript 2.6

For release notes, check out the release announcement

For new features, check out the What's new in TypeScript 2.6.

For breaking changes, check out the Breaking changes in TypeScript 2.6 page.

For API breaking changes, check out the API Breaking changes in TypeScript 2.6 page.

For the complete list of fixed issues, check out the issues fixed in TypeScript 2.6 RC and after TypeScript 2.6 RC.

Download:

Special thanks to all contributors to this release:

  • Adrian Leonhard
  • Alex Chugaev
  • Alex Eagle
  • Anders Hejlsberg
  • Andrew Casey
  • Andy Hanson
  • Armando Aguirre
  • Arthur Ozga
  • Basarat Ali Syed
  • Benjamin Lichtman
  • Charles Pierce
  • Daniel Rosenwasser
  • @falsandtru
  • Filipe Silva
  • Francois Wouts
  • Henry Mercer
  • Herrington Darkholme
  • Ivan Enderlin
  • Joe Calzaretta
  • Klaus Meinhardt
  • Magnus Kulke
  • Matt Bierner
  • Matt Mitchell
  • Mohamed Hegazy
  • Nathan Shively-Sanders
  • Paul van Brenk
  • Ron Buckton
  • Ryan Cavanaugh
  • Sheetal Nandi
  • Stas Vilchik
  • Taras Mankovski
  • Thomas den Hollander
  • Vakhurin Sergey
  • Wesley Wigham
  • Zeeshan Ahmed
  • Zev Spitz
Commits

The new version differs by 1177 commits ahead by 1177, behind by 85.

  • 477bdc7 Update LKG
  • 6bc04a9 Use lowercased names for generated locale directories (#19581)
  • 0f32f55 Make getCompletionEntryDetails and getCompletionEntrySymbol parameters non-optional (#19507) (#19592)
  • 1359a93 Update LKG
  • a7e172b Support multiple completions with the same name but different source module (#19455) (#19496)
  • c35e90e Merge pull request #19484 from Microsoft/reloadScriptsWithoutProject
  • 96c66a6 Add test case to verify reload works without open project
  • b16e6d4 Reload contents of file from disk irrespective of project presence and file already containing its own text
  • 6489a75 Update LKG
  • 1a1c672 Merge pull request #19445 from Microsoft/foundWhileSearchingNodeModules
  • 4e56347 Set the files found during node_modules search correctly when reusing existing program structure
  • aaaa280 Add the test case that fails and reports error for files not in root directory in watch mode
  • 3134111 Merge pull request #19434 from Microsoft/port-master-10-23
  • a362bbf Fix lint error
  • 02cc07c For @types installing quickfix, only activate for implicit-any module (#19394) (#19429)

There are 250 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 🌴

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

An in-range update of @types/node is breaking the build 🚨

Version 8.0.48 of @types/node was just published.

Branch Build failing 🚨
Dependency @types/node
Current Version 8.0.47
Type devDependency

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

@types/node 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 could not complete due to an error 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.