@formatjs/ts-transformer
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.0.12](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.11...@formatjs/ts-transformer@1.0.12) (2020-03-18) | ||
**Note:** Version bump only for package @formatjs/ts-transformer | ||
## [1.0.11](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.10...@formatjs/ts-transformer@1.0.11) (2019-11-26) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@formatjs/ts-transformer", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "TS Compiler transformer for formatjs", | ||
@@ -33,3 +33,3 @@ "main": "dist/index.js", | ||
"homepage": "https://github.com/formatjs/formatjs#readme", | ||
"gitHead": "1d25bb5035be83f1b92d98013f0bd1542448eb16" | ||
"gitHead": "42e02426fd9a41b160ffbb8980c8ea77a252e174" | ||
} |
import {join} from 'path'; | ||
import {Project} from 'ts-morph'; | ||
import {transform, Opts} from '../src'; | ||
import {transform, Opts, MessageDescriptor} from '../src'; | ||
import * as ts from 'typescript'; | ||
import {MessageDescriptor} from '../../eslint-plugin-formatjs/src/util'; | ||
@@ -93,3 +92,3 @@ const FILES_TO_TESTS: Record<string, Partial<Opts>> = { | ||
}); | ||
project.addExistingSourceFile(filePath); | ||
project.addSourceFileAtPathIfExists(filePath); | ||
@@ -96,0 +95,0 @@ let msgs: MessageDescriptor[] = []; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67432
1230