chore(dart) Update dev dependency on code_tranformers
Closes https://github.com/angular/angular/issues/6665
This commit is contained in:
parent
19a08f3a43
commit
579b890446
|
@ -21,7 +21,7 @@ dependencies:
|
||||||
source_span: '^1.0.0'
|
source_span: '^1.0.0'
|
||||||
stack_trace: '^1.1.1'
|
stack_trace: '^1.1.1'
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
code_transformers: '>=0.2.9+4 <0.4.0'
|
transformer_test: '^0.2.0'
|
||||||
guinness: '^0.1.18'
|
guinness: '^0.1.18'
|
||||||
quiver: '^0.21.4'
|
quiver: '^0.21.4'
|
||||||
test: '^0.12.6'
|
test: '^0.12.6'
|
||||||
|
|
|
@ -5,9 +5,8 @@ environment:
|
||||||
dependencies:
|
dependencies:
|
||||||
angular2:
|
angular2:
|
||||||
path: ../../dist/dart/angular2
|
path: ../../dist/dart/angular2
|
||||||
analyzer: '>=0.24.4 <0.27.0'
|
analyzer: '>=0.24.4 <0.28.0'
|
||||||
barback: '^0.15.2+2'
|
barback: '^0.15.2+2'
|
||||||
code_transformers: '^0.2.8'
|
|
||||||
dart_style: '>=0.1.8 <0.3.0'
|
dart_style: '>=0.1.8 <0.3.0'
|
||||||
glob: '^1.0.0'
|
glob: '^1.0.0'
|
||||||
html: '^0.12.0'
|
html: '^0.12.0'
|
||||||
|
@ -19,5 +18,6 @@ dependencies:
|
||||||
source_span: '^1.0.0'
|
source_span: '^1.0.0'
|
||||||
stack_trace: '^1.1.1'
|
stack_trace: '^1.1.1'
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
|
transformer_test: '^0.2.0'
|
||||||
guinness: any
|
guinness: any
|
||||||
test: '>=0.12.0 <0.13.0'
|
test: '>=0.12.0 <0.13.0'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library angular2.test.transform.common.read_file;
|
library angular2.test.transform.common.recording_logger;
|
||||||
|
|
||||||
import 'package:barback/barback.dart';
|
import 'package:barback/barback.dart';
|
||||||
import 'package:source_span/source_span.dart';
|
import 'package:source_span/source_span.dart';
|
||||||
|
|
|
@ -4,9 +4,9 @@ import 'dart:async';
|
||||||
import 'dart:convert' show LineSplitter;
|
import 'dart:convert' show LineSplitter;
|
||||||
|
|
||||||
import 'package:barback/barback.dart';
|
import 'package:barback/barback.dart';
|
||||||
import 'package:code_transformers/tests.dart';
|
|
||||||
import 'package:guinness/guinness.dart';
|
import 'package:guinness/guinness.dart';
|
||||||
import 'package:dart_style/dart_style.dart';
|
import 'package:dart_style/dart_style.dart';
|
||||||
|
import 'package:transformer_test/utils.dart';
|
||||||
|
|
||||||
import 'package:angular2/src/transform/common/annotation_matcher.dart';
|
import 'package:angular2/src/transform/common/annotation_matcher.dart';
|
||||||
import 'package:angular2/src/transform/common/asset_reader.dart';
|
import 'package:angular2/src/transform/common/asset_reader.dart';
|
||||||
|
@ -26,7 +26,7 @@ DartFormatter formatter = new DartFormatter();
|
||||||
AnnotationMatcher annotationMatcher;
|
AnnotationMatcher annotationMatcher;
|
||||||
|
|
||||||
void allTests() {
|
void allTests() {
|
||||||
AssetReader absoluteReader;
|
TestAssetReader absoluteReader;
|
||||||
|
|
||||||
beforeEach(() {
|
beforeEach(() {
|
||||||
absoluteReader = new TestAssetReader();
|
absoluteReader = new TestAssetReader();
|
||||||
|
@ -198,8 +198,7 @@ void _runAbsoluteUrlEndToEndTest() {
|
||||||
[transformer]
|
[transformer]
|
||||||
],
|
],
|
||||||
inputMap,
|
inputMap,
|
||||||
outputMap,
|
outputMap);
|
||||||
[]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void _runMultiStylesEndToEndTest() {
|
void _runMultiStylesEndToEndTest() {
|
||||||
|
@ -224,8 +223,7 @@ void _runMultiStylesEndToEndTest() {
|
||||||
[transformer]
|
[transformer]
|
||||||
],
|
],
|
||||||
inputMap,
|
inputMap,
|
||||||
outputMap,
|
outputMap);
|
||||||
[]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Smooths over differences in CWD between IDEs and running tests in Travis.
|
/// Smooths over differences in CWD between IDEs and running tests in Travis.
|
||||||
|
|
|
@ -2,8 +2,8 @@ library angular2.test.transform.integration;
|
||||||
|
|
||||||
import 'package:angular2/src/platform/server/html_adapter.dart';
|
import 'package:angular2/src/platform/server/html_adapter.dart';
|
||||||
import 'package:angular2/transformer.dart';
|
import 'package:angular2/transformer.dart';
|
||||||
import 'package:code_transformers/tests.dart';
|
|
||||||
import 'package:dart_style/dart_style.dart';
|
import 'package:dart_style/dart_style.dart';
|
||||||
|
import 'package:transformer_test/utils.dart';
|
||||||
|
|
||||||
import '../common/read_file.dart';
|
import '../common/read_file.dart';
|
||||||
import 'deferred_files/expected/output.dart' as deferredOuts;
|
import 'deferred_files/expected/output.dart' as deferredOuts;
|
||||||
|
@ -205,8 +205,7 @@ void allTests() {
|
||||||
[transform]
|
[transform]
|
||||||
],
|
],
|
||||||
config.assetPathToInputPath,
|
config.assetPathToInputPath,
|
||||||
config.assetPathToExpectedOutputPath,
|
config.assetPathToExpectedOutputPath);
|
||||||
[]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -233,8 +232,7 @@ void _testDeferredRewriter() {
|
||||||
[transform]
|
[transform]
|
||||||
],
|
],
|
||||||
inputs,
|
inputs,
|
||||||
outputs,
|
outputs);
|
||||||
[]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Smooths over differences in CWD between IDEs and running tests in Travis.
|
/// Smooths over differences in CWD between IDEs and running tests in Travis.
|
||||||
|
|
Loading…
Reference in New Issue