cldrjs: make directory structure match source (#40664)

Move supplemental files into cldr/ subdirectory.

Also make the test reference supplemental instead of relying on it being
in the global namespace.
This commit is contained in:
Nathan Shively-Sanders
2019-11-26 08:48:55 -08:00
committed by GitHub
parent 8502cfd704
commit f2bb28cbd8
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
cldr.js-event.d.ts
cldr/event.d.ts
+2 -2
View File
@@ -1,5 +1,5 @@
import * as Cldr from "cldrjs";
import "cldrjs/cldr/supplemental";
const myCldr = new Cldr("en");
+2 -2
View File
@@ -19,9 +19,9 @@
},
"files": [
"index.d.ts",
"cldr.js-supplemental.d.ts",
"cldr/supplemental.d.ts",
"test/index.ts",
"test/event.ts",
"test/supplemental.ts"
]
}
}