quankee-framework-common-ts 1.3.3 → 1.4.1

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/README.md CHANGED
@@ -22,6 +22,15 @@ ng generate library quankee-framework-language
22
22
  # create lib for keycloak integration
23
23
  ng generate library quankee-framework-keycloak
24
24
 
25
+ # create lib for interceptor
26
+ ng generate library quankee-framework-interceptor
27
+
28
+ # create lib for keycloak integration
29
+ ng generate library quankee-framework-user
30
+
31
+
32
+
33
+
25
34
  # Keycloak
26
35
  npm install keycloak-angular keycloak-js
27
36
 
package/angular.json CHANGED
@@ -101,6 +101,72 @@
101
101
  }
102
102
  }
103
103
  }
104
+ },
105
+ "quankee-framework-interceptor": {
106
+ "projectType": "library",
107
+ "root": "projects/quankee-framework-interceptor",
108
+ "sourceRoot": "projects/quankee-framework-interceptor/src",
109
+ "prefix": "lib",
110
+ "architect": {
111
+ "build": {
112
+ "builder": "@angular-devkit/build-angular:ng-packagr",
113
+ "options": {
114
+ "project": "projects/quankee-framework-interceptor/ng-package.json"
115
+ },
116
+ "configurations": {
117
+ "production": {
118
+ "tsConfig": "projects/quankee-framework-interceptor/tsconfig.lib.prod.json"
119
+ },
120
+ "development": {
121
+ "tsConfig": "projects/quankee-framework-interceptor/tsconfig.lib.json"
122
+ }
123
+ },
124
+ "defaultConfiguration": "production"
125
+ },
126
+ "test": {
127
+ "builder": "@angular-devkit/build-angular:karma",
128
+ "options": {
129
+ "tsConfig": "projects/quankee-framework-interceptor/tsconfig.spec.json",
130
+ "polyfills": [
131
+ "zone.js",
132
+ "zone.js/testing"
133
+ ]
134
+ }
135
+ }
136
+ }
137
+ },
138
+ "quankee-framework-user": {
139
+ "projectType": "library",
140
+ "root": "projects/quankee-framework-user",
141
+ "sourceRoot": "projects/quankee-framework-user/src",
142
+ "prefix": "lib",
143
+ "architect": {
144
+ "build": {
145
+ "builder": "@angular-devkit/build-angular:ng-packagr",
146
+ "options": {
147
+ "project": "projects/quankee-framework-user/ng-package.json"
148
+ },
149
+ "configurations": {
150
+ "production": {
151
+ "tsConfig": "projects/quankee-framework-user/tsconfig.lib.prod.json"
152
+ },
153
+ "development": {
154
+ "tsConfig": "projects/quankee-framework-user/tsconfig.lib.json"
155
+ }
156
+ },
157
+ "defaultConfiguration": "production"
158
+ },
159
+ "test": {
160
+ "builder": "@angular-devkit/build-angular:karma",
161
+ "options": {
162
+ "tsConfig": "projects/quankee-framework-user/tsconfig.spec.json",
163
+ "polyfills": [
164
+ "zone.js",
165
+ "zone.js/testing"
166
+ ]
167
+ }
168
+ }
169
+ }
104
170
  }
105
171
  },
106
172
  "cli": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quankee-framework-common-ts",
3
3
  "description": "Quankee Framework Typescript Lib",
4
- "version": "1.3.3",
4
+ "version": "1.4.1",
5
5
  "author": {
6
6
  "email": "info@quankee.co.mz",
7
7
  "name": "Quankee Software, Lda",
@@ -17,7 +17,7 @@
17
17
  "scripts": {
18
18
  "ng": "ng",
19
19
  "start": "ng serve",
20
- "build": "ng build quankee-framework-response && ng build quankee-framework-language && ng build quankee-framework-keycloak",
20
+ "build": "ng build quankee-framework-response && ng build quankee-framework-language && ng build quankee-framework-keycloak && ng build quankee-framework-interceptor && ng build quankee-framework-user",
21
21
  "watch": "ng build --watch --configuration development",
22
22
  "test": "echo",
23
23
  "publish:libs": "node publish-all.js",
@@ -27,7 +27,6 @@
27
27
  "bump:patch": "npm version patch && node sync-versions.js"
28
28
  },
29
29
  "dependencies": {
30
- "@angular/common": "^19.2.0",
31
30
  "@angular/compiler": "^19.2.0",
32
31
  "@angular/core": "^19.2.0",
33
32
  "@angular/forms": "^19.2.0",
@@ -44,6 +43,7 @@
44
43
  "devDependencies": {
45
44
  "@angular-devkit/build-angular": "^19.2.15",
46
45
  "@angular/cli": "^19.2.11",
46
+ "@angular/common": "19.2.14",
47
47
  "@angular/compiler-cli": "^19.2.0",
48
48
  "@types/jasmine": "~5.1.0",
49
49
  "@types/jest": "30.0.0",
@@ -0,0 +1,15 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2025 Quankee Software, Lda
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "dest": "../../dist/quankee-framework-interceptor",
4
+ "lib": {
5
+ "entryFile": "src/public-api.ts"
6
+ }
7
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "quankee-framework-interceptor",
3
+ "version": "0.0.1",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "quankee-framework-interceptor",
9
+ "version": "0.0.1",
10
+ "dependencies": {
11
+ "tslib": "^2.3.0"
12
+ },
13
+ "devDependencies": {
14
+ "@angular/common": "19.2.14"
15
+ },
16
+ "peerDependencies": {
17
+ "@angular/common": "^19.2.0",
18
+ "@angular/core": "^19.2.0"
19
+ }
20
+ },
21
+ "node_modules/@angular/common": {
22
+ "version": "19.2.14",
23
+ "resolved": "https://registry.npmjs.org/@angular/common/-/common-19.2.14.tgz",
24
+ "integrity": "sha512-NcNklcuyqaTjOVGf7aru8APX9mjsnZ01gFZrn47BxHozhaR0EMRrotYQTdi8YdVjPkeYFYanVntSLfhyobq/jg==",
25
+ "dev": true,
26
+ "license": "MIT",
27
+ "dependencies": {
28
+ "tslib": "^2.3.0"
29
+ },
30
+ "engines": {
31
+ "node": "^18.19.1 || ^20.11.1 || >=22.0.0"
32
+ },
33
+ "peerDependencies": {
34
+ "@angular/core": "19.2.14",
35
+ "rxjs": "^6.5.3 || ^7.4.0"
36
+ }
37
+ },
38
+ "node_modules/tslib": {
39
+ "version": "2.8.1",
40
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
41
+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
42
+ "license": "0BSD"
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "quankee-framework-interceptor",
3
+ "description": "Quankee Framework Interceptor Lib",
4
+ "version": "1.4.1",
5
+ "author": {
6
+ "email": "info@quankee.co.mz",
7
+ "name": "Quankee Software, Lda",
8
+ "license": "MIT",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://gitlab.com/quankee-framework/quankee-framework-common-ts"
12
+ },
13
+ "homepage": "https://gitlab.com/quankee-framework/quankee-framework-common-ts#readme",
14
+ "publishConfig": {
15
+ "registry": "https://registry.npmjs.org/"
16
+ }
17
+ },
18
+ "peerDependencies": {
19
+ "@angular/common": "^19.2.0",
20
+ "@angular/core": "^19.2.0"
21
+ },
22
+ "dependencies": {
23
+ "tslib": "^2.3.0"
24
+ },
25
+ "ngPackage": {
26
+ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
27
+ "dest": "../../dist/quankee-framework-keycloak",
28
+ "lib": {
29
+ "entryFile": "src/public-api.ts"
30
+ }
31
+ },
32
+ "sideEffects": false
33
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quankee-framework-keycloak",
3
3
  "description": "Quankee Framework Keycloak Lib",
4
- "version": "1.3.3",
4
+ "version": "1.4.1",
5
5
  "author": {
6
6
  "email": "info@quankee.co.mz",
7
7
  "name": "Quankee Software, Lda",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quankee-framework-language",
3
3
  "description": "Quankee Framework Language Lib",
4
- "version": "1.3.3",
4
+ "version": "1.4.1",
5
5
  "author": {
6
6
  "email": "info@quankee.co.mz",
7
7
  "name": "Quankee Software, Lda",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quankee-framework-response",
3
3
  "description": "Quankee Framework Response Lib",
4
- "version": "1.3.3",
4
+ "version": "1.4.1",
5
5
  "author": {
6
6
  "email": "info@quankee.co.mz",
7
7
  "name": "Quankee Software, Lda",
@@ -0,0 +1,15 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2025 Quankee Software, Lda
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "dest": "../../dist/quankee-framework-user",
4
+ "lib": {
5
+ "entryFile": "src/public-api.ts"
6
+ }
7
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "quankee-framework-user",
3
+ "description": "Quankee Framework User Lib",
4
+ "version": "1.4.1",
5
+ "author": {
6
+ "email": "info@quankee.co.mz",
7
+ "name": "Quankee Software, Lda",
8
+ "license": "MIT",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://gitlab.com/quankee-framework/quankee-framework-common-ts"
12
+ },
13
+ "homepage": "https://gitlab.com/quankee-framework/quankee-framework-common-ts#readme",
14
+ "publishConfig": {
15
+ "registry": "https://registry.npmjs.org/"
16
+ }
17
+ },
18
+ "peerDependencies": {
19
+ "@angular/common": "^19.2.0",
20
+ "@angular/core": "^19.2.0"
21
+ },
22
+ "dependencies": {
23
+ "tslib": "^2.3.0"
24
+ },
25
+ "ngPackage": {
26
+ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
27
+ "dest": "../../dist/quankee-framework-keycloak",
28
+ "lib": {
29
+ "entryFile": "src/public-api.ts"
30
+ }
31
+ },
32
+ "sideEffects": false
33
+ }
package/publish-all.js CHANGED
@@ -2,7 +2,9 @@ const { execSync } = require('child_process');
2
2
  const libs = [
3
3
  'quankee-framework-response',
4
4
  'quankee-framework-language',
5
- 'quankee-framework-keycloak'
5
+ 'quankee-framework-keycloak',
6
+ 'quankee-framework-interceptor',
7
+ 'quankee-framework-user'
6
8
  ];
7
9
 
8
10
  for (const lib of libs) {