@compatifont/fonts 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalog.generated.d.ts +1 -1
- package/dist/catalog.generated.js +1 -1
- package/dist/catalog.json +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/catalog.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CATALOG, PACKAGE_VERSION } from "./catalog.generated.js";
|
|
2
2
|
export { CATALOG, PACKAGE_VERSION };
|
|
3
|
-
/** Default git tag used for
|
|
4
|
-
export declare const DEFAULT_REF
|
|
5
|
-
/** Default
|
|
6
|
-
export declare const DEFAULT_BASE_URL
|
|
3
|
+
/** Default git tag used for font downloads. */
|
|
4
|
+
export declare const DEFAULT_REF = "v0.1.0";
|
|
5
|
+
/** Default CORS-enabled raw GitHub URL serving verified Compatifont `.ttf` files. */
|
|
6
|
+
export declare const DEFAULT_BASE_URL = "https://raw.githubusercontent.com/osolmaz/compatifont/v0.1.0/fonts";
|
|
7
7
|
/** Metadata for one `.ttf` face inside a Compatifont family. */
|
|
8
8
|
export interface FontFile {
|
|
9
9
|
readonly filename: string;
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CATALOG, PACKAGE_VERSION } from "./catalog.generated.js";
|
|
2
2
|
export { CATALOG, PACKAGE_VERSION };
|
|
3
|
-
/** Default git tag used for
|
|
4
|
-
export const DEFAULT_REF =
|
|
5
|
-
/** Default
|
|
6
|
-
export const DEFAULT_BASE_URL = `https://
|
|
3
|
+
/** Default git tag used for font downloads. */
|
|
4
|
+
export const DEFAULT_REF = "v0.1.0";
|
|
5
|
+
/** Default CORS-enabled raw GitHub URL serving verified Compatifont `.ttf` files. */
|
|
6
|
+
export const DEFAULT_BASE_URL = `https://raw.githubusercontent.com/osolmaz/compatifont/${DEFAULT_REF}/fonts`;
|
|
7
7
|
const SYMBOL_ALIASES = [
|
|
8
8
|
"symbol",
|
|
9
9
|
"wingdings",
|
package/package.json
CHANGED