@truvity/sdk 0.28.1 → 0.28.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.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@truvity/sdk",
3
- "version": "0.28.1",
3
+ "version": "0.28.2",
4
4
  "repository": "https://github.com/truvity/sdk-typescript-internal",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
7
7
  "scripts": {
8
8
  "format": "prettier . --cache --write --log-level warn --ignore-path .gitignore --ignore-path .prettierignore",
9
9
  "build": "tsc",
10
- "prepack": "cp -rv dist/. .",
10
+ "prepack": "tsc --project tsconfig.sdk.json && cp -rv dist/. .",
11
11
  "test": "jest"
12
12
  },
13
13
  "dependencies": {
@@ -20,39 +20,21 @@
20
20
  "uuid": "^10.0.0"
21
21
  },
22
22
  "devDependencies": {
23
- "@faker-js/faker": "^8.4.1",
24
- "@truvity/jsonld-testing-library": "git@github.com:truvity/jsonld-testing-library.git#tag=v1.0.11",
25
23
  "@types/jest": "29.5.5",
26
- "@types/jsonld": "^1.5.13",
27
- "@types/lodash": "4.17.5",
28
24
  "@types/node": "17.0.33",
29
25
  "@types/node-fetch": "2.6.9",
30
- "@types/ps-tree": "^1.1.6",
31
26
  "@types/qs": "6.9.8",
32
27
  "@types/url-join": "4.0.1",
33
28
  "@types/uuid": "^9.0.8",
34
- "glob": "^7.2.3",
35
- "handlebars": "^4.7.8",
36
- "handlebars-helpers": "^0.10.0",
37
- "hbs-cli": "^1.4.1",
38
29
  "jest": "29.7.0",
39
- "jest-environment-jsdom": "29.7.0",
40
- "jsonld": "^8.3.2",
41
- "lodash": "^4.17.21",
42
30
  "prettier": "^3.1.0",
43
- "ps-tree": "^1.2.0",
44
- "run-if-changed": "^0.0.9",
45
31
  "ts-jest": "29.1.1",
46
- "typescript": "4.6.4",
47
- "yarn-berry-deduplicate": "^6.1.1",
48
- "zod": "^3.22.4"
32
+ "ts-node": "^10.9.2",
33
+ "typescript": "4.6.4"
49
34
  },
50
35
  "browser": {
51
36
  "fs": false,
52
37
  "os": false,
53
38
  "path": false
54
- },
55
- "resolutions": {
56
- "glob-promise": "^2.0.0"
57
39
  }
58
40
  }
package/devbox.lock DELETED
@@ -1,118 +0,0 @@
1
- {
2
- "lockfile_version": "1",
3
- "packages": {
4
- "nodejs@20.10": {
5
- "last_modified": "2024-01-14T03:55:27Z",
6
- "plugin_version": "0.0.2",
7
- "resolved": "github:NixOS/nixpkgs/dd5621df6dcb90122b50da5ec31c411a0de3e538#nodejs_20",
8
- "source": "devbox-search",
9
- "version": "20.10.0",
10
- "systems": {
11
- "aarch64-darwin": {
12
- "outputs": [
13
- {
14
- "name": "out",
15
- "path": "/nix/store/m8s1dj96nbackrk4gk1bsn8hlfcggg4b-nodejs-20.10.0",
16
- "default": true
17
- },
18
- {
19
- "name": "libv8",
20
- "path": "/nix/store/bz3b8fdv6wimcinaabk7xaxgz2im5br2-nodejs-20.10.0-libv8"
21
- }
22
- ],
23
- "store_path": "/nix/store/m8s1dj96nbackrk4gk1bsn8hlfcggg4b-nodejs-20.10.0"
24
- },
25
- "aarch64-linux": {
26
- "outputs": [
27
- {
28
- "name": "out",
29
- "path": "/nix/store/n0i45l9cma3yyv6jqkd450xa7aqlxa2m-nodejs-20.10.0",
30
- "default": true
31
- },
32
- {
33
- "name": "libv8",
34
- "path": "/nix/store/7x3j6m1blyp7j4sg9i0p3qpmzax5m63l-nodejs-20.10.0-libv8"
35
- }
36
- ],
37
- "store_path": "/nix/store/n0i45l9cma3yyv6jqkd450xa7aqlxa2m-nodejs-20.10.0"
38
- },
39
- "x86_64-darwin": {
40
- "outputs": [
41
- {
42
- "name": "out",
43
- "path": "/nix/store/ni7ks4fvk23gz4ik4x0kgpjmiqbzan30-nodejs-20.10.0",
44
- "default": true
45
- },
46
- {
47
- "name": "libv8",
48
- "path": "/nix/store/3kpq8xm7g33i1dcqhhfr1wlx503zr9cw-nodejs-20.10.0-libv8"
49
- }
50
- ],
51
- "store_path": "/nix/store/ni7ks4fvk23gz4ik4x0kgpjmiqbzan30-nodejs-20.10.0"
52
- },
53
- "x86_64-linux": {
54
- "outputs": [
55
- {
56
- "name": "out",
57
- "path": "/nix/store/hdq16s6vq9smhmcyl4ipmwfp9f2558rc-nodejs-20.10.0",
58
- "default": true
59
- },
60
- {
61
- "name": "libv8",
62
- "path": "/nix/store/k82l5mnknxcab0595j4r7filvdl3lj77-nodejs-20.10.0-libv8"
63
- }
64
- ],
65
- "store_path": "/nix/store/hdq16s6vq9smhmcyl4ipmwfp9f2558rc-nodejs-20.10.0"
66
- }
67
- }
68
- },
69
- "yarn-berry@4.3": {
70
- "last_modified": "2024-08-14T11:41:26Z",
71
- "resolved": "github:NixOS/nixpkgs/0cb2fd7c59fed0cd82ef858cbcbdb552b9a33465#yarn-berry",
72
- "source": "devbox-search",
73
- "version": "4.3.1",
74
- "systems": {
75
- "aarch64-darwin": {
76
- "outputs": [
77
- {
78
- "name": "out",
79
- "path": "/nix/store/4iw3r2shyjdbf2jamj4ycnmg9z234lbj-yarn-berry-4.3.1",
80
- "default": true
81
- }
82
- ],
83
- "store_path": "/nix/store/4iw3r2shyjdbf2jamj4ycnmg9z234lbj-yarn-berry-4.3.1"
84
- },
85
- "aarch64-linux": {
86
- "outputs": [
87
- {
88
- "name": "out",
89
- "path": "/nix/store/04xbvg2lxd6flfirkdfzg2kppj289m5m-yarn-berry-4.3.1",
90
- "default": true
91
- }
92
- ],
93
- "store_path": "/nix/store/04xbvg2lxd6flfirkdfzg2kppj289m5m-yarn-berry-4.3.1"
94
- },
95
- "x86_64-darwin": {
96
- "outputs": [
97
- {
98
- "name": "out",
99
- "path": "/nix/store/mlkqk6appvr9njd8m7030rcj7nslx6xh-yarn-berry-4.3.1",
100
- "default": true
101
- }
102
- ],
103
- "store_path": "/nix/store/mlkqk6appvr9njd8m7030rcj7nslx6xh-yarn-berry-4.3.1"
104
- },
105
- "x86_64-linux": {
106
- "outputs": [
107
- {
108
- "name": "out",
109
- "path": "/nix/store/q0dfws2cs3xmn9mip05g5xz1ylsg0dad-yarn-berry-4.3.1",
110
- "default": true
111
- }
112
- ],
113
- "store_path": "/nix/store/q0dfws2cs3xmn9mip05g5xz1ylsg0dad-yarn-berry-4.3.1"
114
- }
115
- }
116
- }
117
- }
118
- }
package/jest.config.ts DELETED
@@ -1,38 +0,0 @@
1
- import type { JestConfigWithTsJest } from 'ts-jest';
2
- import type { Config } from '@jest/types';
3
-
4
- // Type converter
5
- const toJestTransform = (input: JestConfigWithTsJest['transform']) => input as Config.InitialOptions['transform'];
6
-
7
- const customTransform: JestConfigWithTsJest['transform'] = {
8
- '^.+\\.tsx?$': [
9
- 'ts-jest',
10
- {
11
- compiler: 'typescript', // using native tsc
12
- isolatedModules: true,
13
- diagnostics: false,
14
- },
15
- ],
16
- };
17
-
18
- const config: JestConfigWithTsJest = {
19
- preset: 'ts-jest',
20
- testEnvironment: 'node',
21
- testTimeout: 50000,
22
- globalSetup: '<rootDir>/tests/global-setup.ts',
23
- projects: [
24
- {
25
- displayName: 'e2e',
26
- globalTeardown: '<rootDir>/tests/e2e/resource-cleanup.ts',
27
- roots: ['<rootDir>/tests/e2e/'],
28
- transform: toJestTransform(customTransform),
29
- },
30
- {
31
- displayName: 'other',
32
- roots: ['<rootDir>/src/', '<rootDir>/tests/sdk/', '<rootDir>/tests/jsonld-testing-library/'],
33
- transform: toJestTransform(customTransform),
34
- },
35
- ],
36
- };
37
-
38
- export default config;
@@ -1 +0,0 @@
1
- 3ccf8a07ec3e5858e28f16076389d9b8