@keycloakify/angular 0.0.1-rc.15 → 0.0.1-rc.16
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/package.json +1 -1
- package/scripts/build.ts +6 -2
package/package.json
CHANGED
package/scripts/build.ts
CHANGED
|
@@ -43,6 +43,10 @@ import { getThisCodebaseRootDirPath } from './tools/getThisCodebaseRootDirPath';
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
if (fileRelativePath.endsWith('/index.ts')) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
|
|
46
50
|
return { modifiedSourceCode: sourceCode };
|
|
47
51
|
}
|
|
48
52
|
});
|
|
@@ -115,12 +119,12 @@ import { getThisCodebaseRootDirPath } from './tools/getThisCodebaseRootDirPath';
|
|
|
115
119
|
|
|
116
120
|
modifiedSourceCode_str = modifiedSourceCode_str.replaceAll(
|
|
117
121
|
`@keycloakify/angular/${themeType}/i18n`,
|
|
118
|
-
getRelativeTo('i18n')
|
|
122
|
+
getRelativeTo('i18n') === 'i18n' ? './i18n' : getRelativeTo('i18n')
|
|
119
123
|
);
|
|
120
124
|
|
|
121
125
|
modifiedSourceCode_str = modifiedSourceCode_str.replaceAll(
|
|
122
126
|
`@keycloakify/angular/${themeType}/KcContext`,
|
|
123
|
-
getRelativeTo('KcContext')
|
|
127
|
+
getRelativeTo('KcContext') === 'KcContext' ? './KcContext' : getRelativeTo('KcContext')
|
|
124
128
|
);
|
|
125
129
|
|
|
126
130
|
return {
|