keycloakify 10.0.0-rc.56 → 10.0.0-rc.57
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/bin/526.index.js
CHANGED
@@ -640,7 +640,7 @@ async function command(params) {
|
|
640
640
|
if (internalFilePath === undefined) {
|
641
641
|
return undefined;
|
642
642
|
}
|
643
|
-
const filePath = (0,external_path_.join)(buildContext.cacheDirPath, (0,external_path_.
|
643
|
+
const filePath = (0,external_path_.join)(buildContext.cacheDirPath, (0,external_path_.basename)(internalFilePath));
|
644
644
|
external_fs_.writeFileSync(filePath, Buffer.from(external_fs_.readFileSync(internalFilePath)
|
645
645
|
.toString("utf8")
|
646
646
|
.replace(/keycloakify\-starter/g, buildContext.themeNames[0])), "utf8");
|
package/package.json
CHANGED
@@ -13,7 +13,7 @@ import {
|
|
13
13
|
join as pathJoin,
|
14
14
|
relative as pathRelative,
|
15
15
|
sep as pathSep,
|
16
|
-
|
16
|
+
basename as pathBasename
|
17
17
|
} from "path";
|
18
18
|
import * as child_process from "child_process";
|
19
19
|
import chalk from "chalk";
|
@@ -302,7 +302,7 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
|
|
302
302
|
|
303
303
|
const filePath = pathJoin(
|
304
304
|
buildContext.cacheDirPath,
|
305
|
-
|
305
|
+
pathBasename(internalFilePath)
|
306
306
|
);
|
307
307
|
|
308
308
|
fs.writeFileSync(
|