keycloakify 4.5.3 → 4.5.4
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/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
### **4.5.4** (2022-03-06)
|
2
|
+
|
3
|
+
- Remove tss-react from peerDependencies (it becomes a dependency)
|
4
|
+
- (dev script) Use tsconfig.json to tell we are at the root of the project
|
5
|
+
|
1
6
|
### **4.5.3** (2022-01-26)
|
2
7
|
|
3
8
|
- Themes no longer have to break on minor Keycloakify update
|
package/README.md
CHANGED
@@ -133,7 +133,7 @@ separate module. Checkout [ts_ci](https://github.com/garronej/ts_ci), it can hel
|
|
133
133
|
## Setting up the build tool
|
134
134
|
|
135
135
|
```bash
|
136
|
-
yarn add keycloakify @emotion/react
|
136
|
+
yarn add keycloakify @emotion/react powerhooks
|
137
137
|
```
|
138
138
|
|
139
139
|
[`package.json`](https://github.com/garronej/keycloakify-demo-app/blob/main/package.json)
|
@@ -23,7 +23,7 @@ exports.getProjectRoot = void 0;
|
|
23
23
|
var fs = __importStar(require("fs"));
|
24
24
|
var path = __importStar(require("path"));
|
25
25
|
function getProjectRootRec(dirPath) {
|
26
|
-
if (fs.existsSync(path.join(dirPath, "
|
26
|
+
if (fs.existsSync(path.join(dirPath, "tsconfig.json"))) {
|
27
27
|
return dirPath;
|
28
28
|
}
|
29
29
|
return getProjectRootRec(path.join(dirPath, ".."));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getProjectRoot.js","sourceRoot":"","sources":["../../src/bin/tools/getProjectRoot.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAyB;AACzB,yCAA6B;AAE7B,SAAS,iBAAiB,CAAC,OAAe;IACtC,IAAI,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"getProjectRoot.js","sourceRoot":"","sources":["../../src/bin/tools/getProjectRoot.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAyB;AACzB,yCAA6B;AAE7B,SAAS,iBAAiB,CAAC,OAAe;IACtC,IAAI,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC,EAAE;QACpD,OAAO,OAAO,CAAC;KAClB;IACD,OAAO,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;AACvD,CAAC;AAED,IAAI,MAAM,GAAuB,SAAS,CAAC;AAE3C,SAAgB,cAAc;IAC1B,IAAI,MAAM,KAAK,SAAS,EAAE;QACtB,OAAO,MAAM,CAAC;KACjB;IAED,OAAO,CAAC,MAAM,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC;AACnD,CAAC;AAND,wCAMC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "keycloakify",
|
3
|
-
"version": "4.5.
|
3
|
+
"version": "4.5.4",
|
4
4
|
"description": "Keycloak theme generator for Reacts app",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -336,8 +336,7 @@
|
|
336
336
|
"peerDependencies": {
|
337
337
|
"@emotion/react": "^11.4.1",
|
338
338
|
"powerhooks": "^0.10.0",
|
339
|
-
"react": "^16.8.0 || ^17.0.0"
|
340
|
-
"tss-react": "^1.1.0 || ^3.0.0"
|
339
|
+
"react": "^16.8.0 || ^17.0.0"
|
341
340
|
},
|
342
341
|
"devDependencies": {
|
343
342
|
"@emotion/react": "^11.4.1",
|
@@ -351,7 +350,6 @@
|
|
351
350
|
"properties-parser": "^0.3.1",
|
352
351
|
"react": "^17.0.1",
|
353
352
|
"rimraf": "^3.0.2",
|
354
|
-
"tss-react": "^3.0.0",
|
355
353
|
"typescript": "^4.2.3"
|
356
354
|
},
|
357
355
|
"dependencies": {
|
@@ -361,6 +359,7 @@
|
|
361
359
|
"path-browserify": "^1.0.1",
|
362
360
|
"react-markdown": "^5.0.3",
|
363
361
|
"scripting-tools": "^0.19.13",
|
364
|
-
"tsafe": "^0.9.0"
|
362
|
+
"tsafe": "^0.9.0",
|
363
|
+
"tss-react": "^3.5.1"
|
365
364
|
}
|
366
365
|
}
|
@@ -2,7 +2,7 @@ import * as fs from "fs";
|
|
2
2
|
import * as path from "path";
|
3
3
|
|
4
4
|
function getProjectRootRec(dirPath: string): string {
|
5
|
-
if (fs.existsSync(path.join(dirPath, "
|
5
|
+
if (fs.existsSync(path.join(dirPath, "tsconfig.json"))) {
|
6
6
|
return dirPath;
|
7
7
|
}
|
8
8
|
return getProjectRootRec(path.join(dirPath, ".."));
|