File tree Expand file tree Collapse file tree 4 files changed +51
-0
lines changed Expand file tree Collapse file tree 4 files changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ # @graphprotocol/guides
2
+
3
+ A collection of guides and utilities for The Graph documentation site.
4
+
5
+ ## Development
6
+
7
+ ```
8
+ # Install dependencies (from project root)
9
+ pnpm install
10
+
11
+ # In watch mode (inside this package)
12
+ pnpm --filter @graphprotocol/guides dev
13
+ ```
14
+
15
+ ## Build
16
+
17
+ ```
18
+ # Build the TypeScript sources
19
+ pnpm --filter @graphprotocol/guides build
20
+ ```
21
+
22
+ The compiled JavaScript files and type declarations will be output to ` dist/ ` .
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " @graphprotocol/guides" ,
3
+ "version" : " 0.1.0" ,
4
+ "private" : true ,
5
+ "main" : " dist/index.js" ,
6
+ "types" : " dist/index.d.ts" ,
7
+ "files" : [" dist" ],
8
+ "scripts" : {
9
+ "build" : " tsc -p tsconfig.json" ,
10
+ "dev" : " tsc -w -p tsconfig.json" ,
11
+ "typecheck" : " tsc --noEmit -p tsconfig.json"
12
+ },
13
+ "dependencies" : {},
14
+ "devDependencies" : {
15
+ "typescript" : " ^5.8.3"
16
+ }
17
+ }
Original file line number Diff line number Diff line change
1
+ export const hello = ( ) : string => 'Hello from @graphprotocol/guides' ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ../../tsconfig.json" ,
3
+ "compilerOptions" : {
4
+ "rootDir" : " src" ,
5
+ "outDir" : " dist" ,
6
+ "declaration" : true ,
7
+ "declarationMap" : true ,
8
+ "sourceMap" : true
9
+ },
10
+ "include" : [" src" ]
11
+ }
You can’t perform that action at this time.
0 commit comments