@5minds/processcube_app_sdk 5.1.0-feature-cb46be-lsdaz5gi → 5.1.0-feature-9bc88a-lsdb4mkl

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.
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@app_sdk_internal/client",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "private": true,
6
+ "main": "src/index.ts",
7
+ "scripts": {
8
+ "clean": "rm -rf ../../build/client",
9
+ "build": "concurrently -n=build:esm,build:commonjs,build:types \"npm run build:esm\" \"npm run build:commonjs\" \"npm run build:types\"",
10
+ "build:esm": "NODE_ENV=development esbuild src/index.ts --outdir=../../build/client --packages=external --bundle --format=esm --analyze=verbose --out-extension:.js=.mjs",
11
+ "build:commonjs": "NODE_ENV=development esbuild src/index.ts --outdir=../../build/client --packages=external --bundle --platform=node --out-extension:.js=.cjs --analyze=verbose",
12
+ "build:types": "tsc --emitDeclarationOnly",
13
+ "watch": "concurrently -n=watch:esm,watch:commonjs,watch:types \"npm run watch:esm\" \"npm run watch:commonjs\" \"npm run watch:types\"",
14
+ "watch:esm": "NODE_ENV=development esbuild src/**/*.ts --outdir=../../build/client --packages=external --bundle --format=esm --watch --analyse=verbose --out-extension:.js=.mjs",
15
+ "watch:commonjs": "NODE_ENV=development esbuild src/**/*.ts --outdir=../../build/client --packages=external --bundle --platform=node --watch --out-extension:.js=.cjs --analyse=verbose",
16
+ "watch:types": "tsc --watch --emitDeclarationOnly"
17
+ },
18
+ "keywords": [],
19
+ "author": "",
20
+ "license": "ISC",
21
+ "dependencies": {
22
+ "client-only": "^0.0.1",
23
+ "esbuild": "^0.19.3",
24
+ "jwt-decode": "^4.0.0",
25
+ "openid-client": "^5.5.0"
26
+ },
27
+ "devDependencies": {
28
+ "@types/react": "^18.2.22",
29
+ "concurrently": "^8.2.0",
30
+ "prettier": "^3.0.0",
31
+ "typescript": "^5.2.2"
32
+ },
33
+ "peerDependencies": {
34
+ "next": ">=13.4",
35
+ "next-auth": "^4.23.1",
36
+ "react": ">=18.0.0"
37
+ }
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@app_sdk_internal/common",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "private": true,
6
+ "main": "src/index.ts",
7
+ "scripts": {
8
+ "clean": "rm -rf ../../build/common",
9
+ "build": "concurrently -n=build:esm,build:commonjs,build:types \"npm run build:esm\" \"npm run build:commonjs\" \"npm run build:types\"",
10
+ "build:esm": "NODE_ENV=development esbuild src/index.ts --outdir=../../build/common --packages=external --bundle --format=esm --analyze=verbose --out-extension:.js=.mjs",
11
+ "build:commonjs": "NODE_ENV=development esbuild src/index.ts --outdir=../../build/common --packages=external --bundle --platform=node --out-extension:.js=.cjs --analyze=verbose",
12
+ "build:types": "tsc --emitDeclarationOnly",
13
+ "watch": "concurrently -n=watch:esm,watch:commonjs,watch:types \"npm run watch:esm\" \"npm run watch:commonjs\" \"npm run watch:types\"",
14
+ "watch:esm": "NODE_ENV=development esbuild src/**/*.ts --outdir=../../build/common --packages=external --bundle --format=esm --watch --analyse=verbose --out-extension:.js=.mjs",
15
+ "watch:commonjs": "NODE_ENV=development esbuild src/**/*.ts --outdir=../../build/common --packages=external --bundle --platform=node --watch --out-extension:.js=.cjs --analyse=verbose",
16
+ "watch:types": "tsc --watch --emitDeclarationOnly"
17
+ },
18
+ "keywords": [],
19
+ "author": "",
20
+ "license": "ISC",
21
+ "dependencies": {
22
+ "@5minds/processcube_engine_sdk": "2024-1",
23
+ "esbuild": "^0.19.3",
24
+ "jwt-decode": "^4.0.0"
25
+ },
26
+ "devDependencies": {
27
+ "@types/node": "^20.11.16",
28
+ "@types/react": "^18.2.22",
29
+ "concurrently": "^8.2.0",
30
+ "prettier": "^3.0.0",
31
+ "typescript": "^5.2.2"
32
+ },
33
+ "peerDependencies": {
34
+ "next": ">=13.4",
35
+ "next-auth": "^4.23.1",
36
+ "react": ">=18.0.0"
37
+ }
38
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@app_sdk_internal/server",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "private": true,
6
+ "main": "src/index.ts",
7
+ "scripts": {
8
+ "clean": "rm -rf ../../build/server",
9
+ "build": "concurrently -n=build:esm,build:commonjs,build:types \"npm run build:esm\" \"npm run build:commonjs\" \"npm run build:types\"",
10
+ "build:esm": "NODE_ENV=development esbuild src/index.ts --outdir=../../build/server --bundle --platform=node --format=esm --external:@opentelemetry --external:fsevents --external:@5minds/* --external:next --external:next-auth --external:react --external:jwt-decode --external:openid-client --external:esbuild --analyze=verbose --out-extension:.js=.mjs",
11
+ "build:commonjs": "NODE_ENV=development esbuild src/index.ts --outdir=../../build/server --packages=external --bundle --platform=node --out-extension:.js=.cjs --analyze=verbose",
12
+ "build:types": "tsc --emitDeclarationOnly",
13
+ "watch": "concurrently -n=watch:esm,watch:commonjs,watch:types \"npm run watch:esm\" \"npm run watch:commonjs\" \"npm run watch:types\"",
14
+ "watch:esm": "NODE_ENV=development esbuild src/**/*.ts --outdir=../../build/server --watch --bundle --platform=node --format=esm --external:@opentelemetry --external:fsevents --external:@5minds/* --external:next --external:next-auth --external:react --external:jwt-decode --external:openid-client --external:esbuild --analyze=verbose",
15
+ "watch:commonjs": "NODE_ENV=development esbuild src/**/*.ts --outdir=../../build/server --packages=external --bundle --platform=node --watch --out-extension:.js=.cjs --analyse=verbose",
16
+ "watch:types": "tsc --watch --emitDeclarationOnly"
17
+ },
18
+ "keywords": [],
19
+ "author": "",
20
+ "license": "ISC",
21
+ "dependencies": {
22
+ "@5minds/processcube_engine_sdk": "2024-1",
23
+ "@5minds/processcube_engine_client": "2024-1",
24
+ "@app_sdk_internal/common": "^1.0.0",
25
+ "esbuild": "^0.19.3",
26
+ "jwt-decode": "^4.0.0",
27
+ "chokidar": "^3.5.3",
28
+ "only-server": "^0.0.1",
29
+ "openid-client": "^5.5.0"
30
+ },
31
+ "devDependencies": {
32
+ "@types/node": "^20.11.16",
33
+ "@types/react": "^18.2.22",
34
+ "concurrently": "^8.2.0",
35
+ "prettier": "^3.0.0",
36
+ "typescript": "^5.2.2"
37
+ },
38
+ "peerDependencies": {
39
+ "next": ">=13.4",
40
+ "next-auth": "^4.23.1",
41
+ "react": ">=18.0.0"
42
+ }
43
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/processcube_app_sdk",
3
- "version": "5.1.0-feature-cb46be-lsdaz5gi",
3
+ "version": "5.1.0-feature-9bc88a-lsdb4mkl",
4
4
  "description": "The SDK for ProcessCube Apps",
5
5
  "type": "module",
6
6
  "main": "build/common/index.cjs",
@@ -28,7 +28,7 @@
28
28
  "clean": "concurrently -n clean:server,clean:client,clean:common \"cd packages/client && npm run clean\" \"cd packages/common && npm run clean\" \"cd packages/server && npm run clean\"",
29
29
  "prepare": "npm run build:prod",
30
30
  "test": "echo \"Error: no test specified\" && exit 1",
31
- "build:prod": "npm run clean && cd packages/common && npm run build && cd ../.. && concurrently -n build:client,build:server \"cd packages/client && npm run build\" \"cd packages/server && npm run build\"",
31
+ "build:prod": "npm run clean && cd packages/common && npm run build && cd ../.. && concurrently -n build:client,build:server \"cd packages/client && npm run build\" \"cd packages/server && npm run build\" && cp packages/server/package.json build/server/package.json && cp packages/common/package.json build/common/package.json && cp packages/client/package.json build/client/package.json",
32
32
  "build": "cd packages/common && npm run build && cd ../.. && concurrently -n build:client,build:server \"cd packages/client && npm run build\" \"cd packages/server && npm run build\"",
33
33
  "watch": "concurrently -n watch:client,watch:server,watch:common \"cd packages/client && npm run watch\" \"cd packages/common && npm run watch\" \"cd packages/server && npm run watch\""
34
34
  },
@@ -72,6 +72,9 @@
72
72
  "react": ">=18.0.0"
73
73
  },
74
74
  "dependencies": {
75
+ "@app_sdk_internal/client": "file:./build/client",
76
+ "@app_sdk_internal/common": "file:./build/common",
77
+ "@app_sdk_internal/server": "file:./build/server",
75
78
  "@5minds/processcube_engine_client": "2024-1",
76
79
  "@5minds/processcube_engine_sdk": "2024-1"
77
80
  }