build: temporarily disable dynamic queries migration (#32837)

Disables the dynamic queries migration until we can land the relevant framework changes (#32686 and #32720).

PR Close #32837
This commit is contained in:
crisbeto 2019-09-24 20:28:14 +02:00 committed by Andrew Kushnir
parent 948714c17c
commit 39bc6f7bea
4 changed files with 11 additions and 6 deletions

View File

@ -34,11 +34,6 @@
"version": "9-beta", "version": "9-beta",
"description": "Adds an Angular decorator to undecorated classes that have decorated fields", "description": "Adds an Angular decorator to undecorated classes that have decorated fields",
"factory": "./migrations/undecorated-classes-with-decorated-fields/index" "factory": "./migrations/undecorated-classes-with-decorated-fields/index"
},
"migration-v9-dynamic-queries": {
"version": "9-beta",
"description": "Removes the `static` flag from dynamic queries.",
"factory": "./migrations/dynamic-queries/index"
} }
} }
} }

View File

@ -5,6 +5,7 @@ ts_library(
testonly = True, testonly = True,
srcs = glob(["**/*.ts"]), srcs = glob(["**/*.ts"]),
data = [ data = [
"test-migrations.json",
"//packages/core/schematics:migrations.json", "//packages/core/schematics:migrations.json",
], ],
deps = [ deps = [

View File

@ -20,7 +20,7 @@ describe('dynamic queries migration', () => {
let previousWorkingDir: string; let previousWorkingDir: string;
beforeEach(() => { beforeEach(() => {
runner = new SchematicTestRunner('test', require.resolve('../migrations.json')); runner = new SchematicTestRunner('test', require.resolve('./test-migrations.json'));
host = new TempScopedNodeJsSyncHost(); host = new TempScopedNodeJsSyncHost();
tree = new UnitTestTree(new HostTree(host)); tree = new UnitTestTree(new HostTree(host));

View File

@ -0,0 +1,9 @@
{
"schematics": {
"migration-v9-dynamic-queries": {
"version": "9-beta",
"description": "Removes the `static` flag from dynamic queries.",
"factory": "../migrations/dynamic-queries/index"
}
}
}