@telegraph/helpers 0.0.12 → 0.0.13

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @telegraph/helpers
2
2
 
3
+ ## 0.0.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [#494](https://github.com/knocklabs/telegraph/pull/494) [`e769470`](https://github.com/knocklabs/telegraph/commit/e7694701fb63ebc65d9fe77d9a89c8f0bf557b67) Thanks [@kylemcd](https://github.com/kylemcd)! - update package exports to be in the correct order
8
+
3
9
  ## 0.0.12
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  declare const RefToTgphRef: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<any>>;
4
3
  export { RefToTgphRef };
5
4
  //# sourceMappingURL=RefToTgphRef.d.ts.map
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export type Required<T, K = Record<string, unknown>> = K extends keyof T ? Omit<T, K> & Required<Pick<T, K>> : {
4
3
  [P in keyof T]-?: T[P];
5
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telegraph/helpers",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "repository": "https://github.com/knocklabs/telegraph/tree/main/packages/helpers",
5
5
  "author": "@knocklabs",
6
6
  "license": "MIT",
@@ -9,9 +9,9 @@
9
9
  "types": "./dist/types/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
+ "types": "./dist/types/index.d.ts",
12
13
  "import": "./dist/esm/index.mjs",
13
- "require": "./dist/cjs/index.js",
14
- "types": "./dist/types/index.d.ts"
14
+ "require": "./dist/cjs/index.js"
15
15
  }
16
16
  },
17
17
  "files": [
@@ -29,10 +29,10 @@
29
29
  "preview": "vite preview"
30
30
  },
31
31
  "devDependencies": {
32
- "@knocklabs/eslint-config": "^0.0.3",
32
+ "@knocklabs/eslint-config": "^0.0.4",
33
33
  "@knocklabs/typescript-config": "^0.0.2",
34
34
  "@telegraph/prettier-config": "^0.0.7",
35
- "@telegraph/vite-config": "^0.0.14",
35
+ "@telegraph/vite-config": "^0.0.15",
36
36
  "@types/react": "^18.3.18",
37
37
  "eslint": "^8.56.0",
38
38
  "react": "^18.3.1",