@sorrell/code-hike 1.0.13 → 1.0.14

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.
@@ -13,4 +13,9 @@ import type { FC } from "react";
13
13
  */
14
14
  export declare function RunStudio(PresentationComponent: FC): void;
15
15
  export * from "./CodePresentation";
16
+ declare module "*.md"
17
+ {
18
+ const Content: unknown;
19
+ export default Content;
20
+ }
16
21
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@sorrell/code-hike",
3
3
  "private": false,
4
- "version": "1.0.13",
4
+ "version": "1.0.14",
5
5
  "description": "A helper library for making animations with Code Hike.",
6
6
  "scripts": {
7
- "build": "tsc -p ./tsconfig.json"
7
+ "build": "tsc -p ./tsconfig.json",
8
+ "postbuild": "ts-node --project ./tsconfig.script.json ./Script/AppendMarkdownModule.ts"
8
9
  },
9
10
  "keywords": [
10
11
  "code-hike",
@@ -16,6 +17,7 @@
16
17
  "next"
17
18
  ],
18
19
  "homepage": "https://github.com/GageSorrell/SorrellWm/tree/Master/Package/CodeHike#ReadMe",
20
+ "type": "module",
19
21
  "bugs": {
20
22
  "url": "https://github.com/GageSorrell/SorrellWm/issues"
21
23
  },
@@ -39,24 +41,21 @@
39
41
  }
40
42
  },
41
43
  "devDependencies": {
42
- "remotion": "4.0.177",
43
44
  "@types/react": "^18.0.0",
45
+ "remotion": "4.0.177",
46
+ "ts-node": "^10.9.2",
44
47
  "typescript": "^6.0.3"
45
48
  },
46
49
  "files": [
47
- "index.d.ts",
48
50
  "Distribution",
49
51
  "Distribution/**/*",
50
52
  "Remotion.js",
51
53
  "Remotion.d.ts",
52
54
  "tsconfig.remotion.json"
53
55
  ],
54
- "types": "./index.d.ts",
56
+ "types": "./Distribution/Source/index.d.ts",
55
57
  "exports": {
56
- ".": {
57
- "default": "./Distribution/Source/index.js",
58
- "types": "./index.d.ts"
59
- },
58
+ ".": "./Distribution/Source/index.js",
60
59
  "./tsconfig": "./tsconfig.remotion.json",
61
60
  "./remotion": "./Remotion.js"
62
61
  },
package/index.d.ts DELETED
@@ -1,14 +0,0 @@
1
- /**
2
- * @file Declarations.d.ts
3
- * @author Gage Sorrell <gage@sorrell.sh>
4
- * @copyright (c) 2026 Gage Sorrell
5
- * @license MIT
6
- */
7
-
8
- export * from "./Distribution/Source/index";
9
-
10
- declare module "*.md"
11
- {
12
- const Content: unknown;
13
- export default Content;
14
- }