intl-schematic
Advanced tools
Comparing version 1.0.0-rc.4 to 1.0.0-rc.5
@@ -1,1 +0,1 @@ | ||
{"inputs":{"packages/core/src/index.ts":{"bytes":5076,"imports":[],"format":"esm"},"packages/core/src/plugins.ts":{"bytes":8631,"imports":[],"format":"esm"}},"outputs":{"packages/core/dist/index.cjs":{"imports":[],"exports":[],"entryPoint":"packages/core/src/index.ts","inputs":{"packages/core/src/index.ts":{"bytesInOutput":2216}},"bytes":3046},"packages/core/dist/plugins.cjs":{"imports":[],"exports":[],"entryPoint":"packages/core/src/plugins.ts","inputs":{"packages/core/src/plugins.ts":{"bytesInOutput":273}},"bytes":1105}}} | ||
{"inputs":{"packages/core/src/index.ts":{"bytes":5076,"imports":[],"format":"esm"},"packages/core/src/plugins.ts":{"bytes":8726,"imports":[],"format":"esm"}},"outputs":{"packages/core/dist/index.cjs":{"imports":[],"exports":[],"entryPoint":"packages/core/src/index.ts","inputs":{"packages/core/src/index.ts":{"bytesInOutput":2216}},"bytes":3046},"packages/core/dist/plugins.cjs":{"imports":[],"exports":[],"entryPoint":"packages/core/src/plugins.ts","inputs":{"packages/core/src/plugins.ts":{"bytesInOutput":273}},"bytes":1105}}} |
@@ -1,1 +0,1 @@ | ||
{"inputs":{"packages/core/src/index.ts":{"bytes":5076,"imports":[],"format":"esm"},"packages/core/src/plugins.ts":{"bytes":8631,"imports":[],"format":"esm"}},"outputs":{"packages/core/dist/index.js":{"imports":[],"exports":["createTranslator"],"entryPoint":"packages/core/src/index.ts","inputs":{"packages/core/src/index.ts":{"bytesInOutput":2079}},"bytes":2140},"packages/core/dist/plugins.js":{"imports":[],"exports":["createPlugin"],"entryPoint":"packages/core/src/plugins.ts","inputs":{"packages/core/src/plugins.ts":{"bytesInOutput":132}},"bytes":191}}} | ||
{"inputs":{"packages/core/src/index.ts":{"bytes":5076,"imports":[],"format":"esm"},"packages/core/src/plugins.ts":{"bytes":8726,"imports":[],"format":"esm"}},"outputs":{"packages/core/dist/index.js":{"imports":[],"exports":["createTranslator"],"entryPoint":"packages/core/src/index.ts","inputs":{"packages/core/src/index.ts":{"bytesInOutput":2079}},"bytes":2140},"packages/core/dist/plugins.js":{"imports":[],"exports":["createPlugin"],"entryPoint":"packages/core/src/plugins.ts","inputs":{"packages/core/src/plugins.ts":{"bytesInOutput":132}},"bytes":191}}} |
{ | ||
"name": "intl-schematic", | ||
"version": "1.0.0-rc.4", | ||
"version": "1.0.0-rc.5", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -18,2 +18,4 @@ <h1 align="center"> | ||
- ๐ **Tree-shakable**: only take what you need; | ||
- ๐ **Incredibly lightweight**: less than 1kb for the core package, less than 5kb for [every feature imaginable](#list). | ||
- ๐งฉ **Easily integrates with UI-frameworks**: we don't play favorites here - [every framework can use this](#using-with-reactive-frameworks); | ||
- ๐ **Pluginable**: extend any processing step without limits - see the [plugins API](/packages/plugins/) for more; | ||
@@ -20,0 +22,0 @@ - ๐ **JSON-validation using a [JSON-schema](#using-with-json-schema)**: intellisense and popup hints right in the translation document; |
@@ -191,2 +191,6 @@ import type { LocaleKey } from './'; | ||
export type TypeOfKeys<O, T> = { | ||
[K in keyof O]: O[K] extends T ? K : never | ||
}[keyof O]; | ||
/** | ||
@@ -193,0 +197,0 @@ * Gets a name of a plugin that processes a specific key |
34967
556
265