@verii/endpoints-event-processing 1.2.0-pre.1780532621 → 1.2.0-pre.1781692398.0

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.
Files changed (2) hide show
  1. package/README.md +5 -9
  2. package/package.json +28 -29
package/README.md CHANGED
@@ -20,23 +20,19 @@ of what defines a package for us.
20
20
 
21
21
  ## Some points to take note of:
22
22
 
23
- * `"repository"` field in `package.json` is important and is used
24
- later when we setup scopes with [`lerna`](https://lerna.js.org/)
25
-
26
- * They packages actually get published, but we don't consume the
27
- packages directly from their publish location, instead we rely
28
- on `lerna` cli within the repository like so:
23
+ * Packages are published, but local development should consume
24
+ workspace packages through pnpm workspace dependencies:
29
25
 
30
- `lerna add [CONSUMED-PACKAGE-NAME] --scope [CONSUMING-PACKAGE-NAME]`
26
+ `pnpm --filter [CONSUMING-PACKAGE-NAME] add [CONSUMED-PACKAGE-NAME]@workspace:*`
31
27
 
32
28
  So if you want `did-docs` package to use the `crypto` package,
33
29
  you would do:
34
30
 
35
- `lerna add @verii/crypto --scope @verii/did-docs`
31
+ `pnpm --filter @verii/did-docs add @verii/crypto@workspace:*`
36
32
 
37
33
  * Packages uses standard structure, of `src` directory,
38
34
  and then `test` directory for corresponding tests
39
35
 
40
36
  * Tests can be run from `package.json` script
41
37
 
42
- * Tests will be automatically included in global test suite and run in CI
38
+ * Tests will be automatically included in global test suite and run in CI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verii/endpoints-event-processing",
3
- "version": "1.2.0-pre.1780532621",
3
+ "version": "1.2.0-pre.1781692398.0",
4
4
  "description": "Event processing",
5
5
  "repository": "https://github.com/LFDT-Verii/core",
6
6
  "main": "src/index.js",
@@ -8,13 +8,6 @@
8
8
  "publishConfig": {
9
9
  "access": "public"
10
10
  },
11
- "scripts": {
12
- "test": "cross-env NODE_ENV=test node --test --test-concurrency=1 --experimental-test-module-mocks --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout 'test/**/*.test.js'",
13
- "test:ci": "NODE_ENV=test node --test --test-concurrency=1 --experimental-test-module-mocks --experimental-test-coverage --test-coverage-include='src/**' --test-reporter=spec --test-reporter=junit --test-reporter-destination=stdout --test-reporter-destination=test-results.junit.xml --test-reporter=lcov --test-reporter-destination=lcov.info 'test/**/*.test.js'",
14
- "lint": "eslint .",
15
- "lint:ci": "eslint . --format json >> eslint-results.json",
16
- "lint:fix": "eslint --fix ."
17
- },
18
11
  "dependencies": {
19
12
  "@fastify/autoload": "^6.3.1",
20
13
  "@fastify/basic-auth": "^6.2.0",
@@ -23,31 +16,28 @@
23
16
  "@fastify/swagger": "^9.7.0",
24
17
  "@fastify/swagger-ui": "^5.2.6",
25
18
  "@spencejs/spence-mongo-repos": "^1.1.0",
26
- "@verii/auth": "1.2.0-pre.1780532621",
27
- "@verii/aws-clients": "1.2.0-pre.1780532621",
28
- "@verii/base-contract-io": "1.2.0-pre.1780532621",
29
- "@verii/blockchain-functions": "1.2.0-pre.1780532621",
30
- "@verii/config": "1.2.0-pre.1780532621",
31
- "@verii/crypto": "1.2.0-pre.1780532621",
32
- "@verii/did-doc": "1.2.0-pre.1780532621",
33
- "@verii/endpoints-organizations-registrar": "1.2.0-pre.1780532621",
34
- "@verii/fastify-plugins": "1.2.0-pre.1780532621",
35
- "@verii/fineract-client": "1.2.0-pre.1780532621",
36
- "@verii/jwt": "1.2.0-pre.1780532621",
37
- "@verii/math": "1.2.0-pre.1780532621",
38
- "@verii/metadata-registration": "1.2.0-pre.1780532621",
39
- "@verii/spencer-mongo-extensions": "1.2.0-pre.1780532621",
40
19
  "date-fns": "^4.1.0",
41
20
  "env-var": "^7.5.0",
42
21
  "fastify": "^5.8.5",
43
22
  "fastify-plugin": "^5.1.0",
44
- "lodash": "^4.18.0"
23
+ "lodash": "^4.18.0",
24
+ "@verii/auth": "1.2.0-pre.1781692398.0",
25
+ "@verii/aws-clients": "1.2.0-pre.1781692398.0",
26
+ "@verii/config": "1.2.0-pre.1781692398.0",
27
+ "@verii/base-contract-io": "1.2.0-pre.1781692398.0",
28
+ "@verii/blockchain-functions": "1.2.0-pre.1781692398.0",
29
+ "@verii/crypto": "1.2.0-pre.1781692398.0",
30
+ "@verii/did-doc": "1.2.0-pre.1781692398.0",
31
+ "@verii/endpoints-organizations-registrar": "1.2.0-pre.1781692398.0",
32
+ "@verii/fastify-plugins": "1.2.0-pre.1781692398.0",
33
+ "@verii/fineract-client": "1.2.0-pre.1781692398.0",
34
+ "@verii/jwt": "1.2.0-pre.1781692398.0",
35
+ "@verii/math": "1.2.0-pre.1781692398.0",
36
+ "@verii/metadata-registration": "1.2.0-pre.1781692398.0",
37
+ "@verii/spencer-mongo-extensions": "1.2.0-pre.1781692398.0"
45
38
  },
46
39
  "devDependencies": {
47
40
  "@spencejs/spence-factories": "^1.1.0",
48
- "@verii/common-functions": "1.2.0-pre.1780532621",
49
- "@verii/server-provider": "1.2.0-pre.1780532621",
50
- "@verii/tests-helpers": "1.2.0-pre.1780532621",
51
41
  "eslint": "9.39.4",
52
42
  "eslint-config-airbnb-extended": "3.1.0",
53
43
  "eslint-config-prettier": "10.1.8",
@@ -60,7 +50,16 @@
60
50
  "expect": "30.4.1",
61
51
  "globals": "17.6.0",
62
52
  "mongodb": "^7.1.1",
63
- "prettier": "3.8.3"
53
+ "prettier": "3.8.3",
54
+ "@verii/common-functions": "1.2.0-pre.1781692398.0",
55
+ "@verii/server-provider": "1.2.0-pre.1781692398.0",
56
+ "@verii/tests-helpers": "1.2.0-pre.1781692398.0"
64
57
  },
65
- "gitHead": "19eddbdfc4512af35a3ec3a09c68358a4fe9365c"
66
- }
58
+ "scripts": {
59
+ "test": "cross-env NODE_ENV=test node --test --test-concurrency=1 --experimental-test-module-mocks --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout 'test/**/*.test.js'",
60
+ "test:ci": "NODE_ENV=test node --test --test-concurrency=1 --experimental-test-module-mocks --experimental-test-coverage --test-coverage-include='src/**' --test-reporter=spec --test-reporter=junit --test-reporter-destination=stdout --test-reporter-destination=test-results.junit.xml --test-reporter=lcov --test-reporter-destination=lcov.info 'test/**/*.test.js'",
61
+ "lint": "eslint .",
62
+ "lint:ci": "eslint . --format json >> eslint-results.json",
63
+ "lint:fix": "eslint --fix ."
64
+ }
65
+ }