@arken/forge-protocol 0.1.1 → 0.1.2

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,4 +1,4 @@
1
- import type * as Arken from '@arken/types';
1
+ import type * as Arken from '@arken/seer-protocol/types';
2
2
  import { z } from 'zod';
3
3
 
4
4
  export const createRouter = (t: any) =>
package/package.json CHANGED
@@ -1,13 +1,26 @@
1
1
  {
2
2
  "name": "@arken/forge-protocol",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "main": "src/index.ts",
5
- "scripts": {},
5
+ "scripts": {
6
+ "build": "npm-run-all dist",
7
+ "clean": "del-cli ./build && make-dir ./build",
8
+ "dist": "npm-run-all clean tsc:*",
9
+ "publish": "npm publish --access=public",
10
+ "tsc:1": "rm -rf ./build && mkdir ./build && cp package.json ./build && NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 tsc"
11
+ },
6
12
  "dependencies": {
13
+ "@arken/node": "^1.5.3",
14
+ "@arken/seer-protocol": "^0.1.2",
7
15
  "@trpc/client": "11.0.0-rc.660",
8
16
  "@trpc/server": "11.0.0-rc.660",
17
+ "make-dir-cli": "^3",
18
+ "jest": "^29",
19
+ "@types/jest": "^29",
20
+ "@types/node": "^20",
9
21
  "zod": "^3",
10
22
  "dotenv": "^16"
11
23
  },
12
- "devDependencies": {}
24
+ "devDependencies": {
25
+ "del-cli": "^5"}
13
26
  }
package/tsconfig.json CHANGED
@@ -1,25 +1,42 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "module": "CommonJS",
4
- "preserveSymlinks": true,
5
3
  "esModuleInterop": true,
4
+ "module": "CommonJS",
5
+ "lib": ["ES2020"],
6
+ "noImplicitAny": false,
7
+ "outDir": "build",
8
+ "preserveSymlinks": false,
9
+ "preserveConstEnums": true,
6
10
  "experimentalDecorators": true,
7
11
  "emitDecoratorMetadata": true,
12
+ "removeComments": true,
13
+ "skipLibCheck": true,
14
+ "forceConsistentCasingInFileNames": true,
15
+ "strict": false,
16
+ "checkJs": true,
17
+ "sourceMap": true,
18
+ "target": "ES2020",
19
+ "moduleResolution": "Node",
8
20
  "resolveJsonModule": true,
9
21
  "allowSyntheticDefaultImports": true,
10
- "noImplicitAny": false,
11
- "sourceMap": true,
12
- "strictNullChecks": false,
13
- "outDir": "./dist",
14
- "baseUrl": ".",
15
- "types": ["node", "jest"],
22
+ "types": ["jest", "node"],
23
+ "typeRoots": ["./node_modules/@types", "./types"],
16
24
  "paths": {
17
- "~/*": ["./*"]
18
25
  },
19
- "target": "ESNext",
20
- "lib": ["ESNext"],
21
- "moduleResolution": "Node"
26
+ "allowJs": true,
27
+ "declaration": false,
28
+ "isolatedModules": true,
29
+ "noFallthroughCasesInSwitch": true,
30
+ "noEmit": true,
31
+ "noImplicitReturns": false,
32
+ "noImplicitThis": false,
33
+ "alwaysStrict": false,
34
+ "noUnusedLocals": false,
35
+ "noUnusedParameters": false,
36
+ "pretty": true
22
37
  },
23
- "include": ["./core/**/*"],
24
- "exclude": []
38
+ "include": [
39
+ "./core/**/*"
40
+ ],
41
+ "exclude": ["node_modules", "build"]
25
42
  }