@travetto/transformer
Advanced tools
Comparing version 1.0.0-rc.7 to 1.0.0-rc.8
@@ -10,3 +10,3 @@ { | ||
"dependencies": { | ||
"@travetto/base": "^1.0.0-rc.6" | ||
"@travetto/base": "^1.0.0-rc.7" | ||
}, | ||
@@ -31,4 +31,4 @@ "description": "Functionality for AST transformations, with transformer registration, and general utils", | ||
}, | ||
"version": "1.0.0-rc.7", | ||
"gitHead": "ecdcabf5eb948f12ce7c6c284307a3d4c238edc6" | ||
"version": "1.0.0-rc.8", | ||
"gitHead": "44aa8234585c1d9269eafe919ee26365c365ebca" | ||
} |
@@ -59,2 +59,3 @@ /* eslint-disable no-bitwise */ | ||
} | ||
console.log('Resolving here'); | ||
@@ -61,0 +62,0 @@ if (!resolvedType.isClass()) { // Real type |
@@ -55,3 +55,3 @@ import * as ts from 'typescript'; | ||
if (resolved.key !== 'external') { | ||
throw new Error(`Unable to import non-external type: ${node.getText()}`); | ||
throw new Error(`Unable to import non-external type: ${node.getText()} ${resolved.key}`); | ||
} | ||
@@ -58,0 +58,0 @@ return resolved; |
@@ -71,3 +71,3 @@ import * as ts from 'typescript'; | ||
ts.createImportClause(undefined, ts.createNamespaceImport(ident)), | ||
ts.createLiteral(require.resolve(path)) | ||
ts.createLiteral(path.replace(/^.*node_modules\//, '').replace(FsUtil.cwd, '@app')) | ||
); | ||
@@ -74,0 +74,0 @@ return imptStmt; |
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
53622
1529
Updated@travetto/base@^1.0.0-rc.7