@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.
@@ -1,3 +1,3 @@
1
1
  import type { FontFamily } from "./index.js";
2
- export declare const PACKAGE_VERSION: "0.1.0";
2
+ export declare const PACKAGE_VERSION: "0.1.1";
3
3
  export declare const CATALOG: readonly FontFamily[];
@@ -1,4 +1,4 @@
1
- export const PACKAGE_VERSION = "0.1.0";
1
+ export const PACKAGE_VERSION = "0.1.1";
2
2
  export const CATALOG = [
3
3
  {
4
4
  "slug": "arimo-cf",
package/dist/catalog.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "format": 1,
3
3
  "release": "v0.1.0",
4
- "baseUrl": "https://cdn.jsdelivr.net/gh/osolmaz/compatifont@v0.1.0/fonts",
4
+ "baseUrl": "https://raw.githubusercontent.com/osolmaz/compatifont/v0.1.0/fonts",
5
5
  "families": [
6
6
  {
7
7
  "slug": "arimo-cf",
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 CDN font downloads. */
4
- export declare const DEFAULT_REF: string;
5
- /** Default jsDelivr base URL serving verified Compatifont `.ttf` files. */
6
- export declare const DEFAULT_BASE_URL: string;
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 CDN font downloads. */
4
- export const DEFAULT_REF = `v${PACKAGE_VERSION}`;
5
- /** Default jsDelivr base URL serving verified Compatifont `.ttf` files. */
6
- export const DEFAULT_BASE_URL = `https://cdn.jsdelivr.net/gh/osolmaz/compatifont@${DEFAULT_REF}/fonts`;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compatifont/fonts",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Catalog and SHA-256-verified fetcher for Compatifont open fonts (OFL-1.1), metric-compatible with Microsoft Office fonts.",
5
5
  "license": "MIT",
6
6
  "type": "module",