Skip to content

Commit

Permalink
feat(@formatjs/intl-datetimeformat): generate rolluped d.ts
Browse files Browse the repository at this point in the history
fix(react-intl): fix generated d.ts, fix #1739
  • Loading branch information
Long Ho committed Jun 23, 2020
1 parent 4dbac29 commit c6c9b19
Show file tree
Hide file tree
Showing 10 changed files with 1,376 additions and 1,395 deletions.
3 changes: 2 additions & 1 deletion packages/intl-datetimeformat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.1.1",
"description": "Intl.DateTimeFormat polyfill",
"main": "dist/index.js",
"types": "lib/intl-datetimeformat.d.ts",
"scripts": {
"iana": "rimraf iana-data/* && ts-node ./scripts/iana --version 2020a",
"zone": "ts-node scripts/zone --input iana-data/zone.tab --output src/zones.ts",
Expand All @@ -16,7 +17,7 @@
"link-gen": "ts-node scripts/link --input iana-data/backward --output src/links.ts",
"compile": "NODE_OPTIONS=--max-old-space-size=8192 tsc && tsc -p tsconfig.esm.json && tsc -p tsconfig.es6.json && api-extractor run --local",
"rollup": "NODE_OPTIONS=--max-old-space-size=8192 rollup -c rollup.config.js",
"build": "yarn process-zdump-polyfill && yarn process-zdump-golden-polyfill && yarn cldr && yarn compile && yarn rollup",
"build": "yarn process-zdump-polyfill && yarn process-zdump-golden-polyfill && yarn cldr && yarn compile && api-extractor run --local && yarn rollup",
"test": "cross-env cross-env NODE_ENV=test jest",
"cldr": "ts-node scripts/cldr",
"test262": "cross-env ts-node tests/runner"
Expand Down
Loading

0 comments on commit c6c9b19

Please sign in to comment.