@pushwoosh/spa-context 1.8.0 → 2.0.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 (1) hide show
  1. package/package.json +24 -22
package/package.json CHANGED
@@ -1,36 +1,29 @@
1
1
  {
2
2
  "name": "@pushwoosh/spa-context",
3
+ "version": "2.0.0",
4
+ "description": "React context giving every micro-frontend its HTTP/RPC clients, session store, routing, event bus and key-value storage",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://gitlab.corp.pushwoosh.com/frontend/frontend-monorepo.git",
8
+ "directory": "packages/spa-context"
9
+ },
3
10
  "main": "index.js",
4
11
  "module": "index.js",
5
12
  "types": "index.d.ts",
6
13
  "sideEffects": false,
7
14
  "publishConfig": {
8
- "access": "public"
9
- },
10
- "scripts": {
11
- "build": "pushwoosh-engine lib:build",
12
- "check": "npm run check:lint && npm run check:types",
13
- "check:lint": "echo \"Run check:lint\" && NODE_ENV=production eslint src",
14
- "check:lint-fix": "echo \"Run check:lint\" && NODE_ENV=production eslint src --fix",
15
- "check:types": "echo \"Run check:types\" && pushwoosh-engine lib:check-types"
16
- },
17
- "pre-commit": "check",
18
- "engines": {
19
- "node": ">= 22",
20
- "npm": ">= 7"
15
+ "access": "public",
16
+ "directory": "dist"
21
17
  },
22
18
  "dependencies": {
23
19
  "idb-keyval": "^6.2.2"
24
20
  },
25
21
  "devDependencies": {
26
- "@pushwoosh/frontend-builder-engine": "^3.1.0",
27
- "@pushwoosh/http-client": "^2.10.0",
22
+ "@pushwoosh/http-client": "^2.11.3",
28
23
  "@pushwoosh/rpc-v2-http-api-data": "^0.2.265",
29
- "@pushwoosh/session-store": "^2.8.0",
24
+ "@pushwoosh/session-store": "^2.9.0",
30
25
  "@types/history": "^4.7.11",
31
- "@types/react": "^18.3.27",
32
- "pre-commit": "^1.2.2",
33
- "typescript": "^6.0.3"
26
+ "@types/react": "^18.3.31"
34
27
  },
35
28
  "peerDependencies": {
36
29
  "@pushwoosh/http-client": "^2.5.0",
@@ -42,8 +35,17 @@
42
35
  "@pushwoosh/rpc-gateway-statistics-api": "^1.3.692",
43
36
  "@pushwoosh/rpc-gateway-subscription-form": "^0.1.0",
44
37
  "@pushwoosh/rpc-v2-http-api-data": "^0.2.7",
45
- "@pushwoosh/session-store": "^2.7.0",
38
+ "@pushwoosh/session-store": "^2.9.0",
46
39
  "react": "^16.14.0 || ^18.0.0"
47
40
  },
48
- "version": "1.8.0"
49
- }
41
+ "engines": {
42
+ "node": ">= 24"
43
+ },
44
+ "scripts": {
45
+ "build": "pushwoosh-engine lib:build",
46
+ "check": "pnpm run check:lint && pnpm run check:types",
47
+ "check:lint": "echo \"Run check:lint\" && NODE_ENV=production eslint ./src",
48
+ "check:lint-fix": "echo \"Run check:lint\" && NODE_ENV=production eslint ./src --fix",
49
+ "check:types": "echo \"Run check:types\" && pushwoosh-engine lib:check-types"
50
+ }
51
+ }