@postgres.ai/shared 4.0.1-pr-1054.1 → 4.0.1-pr-1056
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
CHANGED
|
@@ -15,6 +15,7 @@ const dockerImagesConfig = {
|
|
|
15
15
|
'15': ['0.5.3', '0.5.2', '0.5.1'],
|
|
16
16
|
'16': ['0.5.3', '0.5.2', '0.5.1'],
|
|
17
17
|
'17': ['0.5.3', '0.5.2', '0.5.1'],
|
|
18
|
+
'18rc1': ['0.5.3', '0.5.2', '0.5.1'],
|
|
18
19
|
};
|
|
19
20
|
export const uniqueChipValue = (values) => {
|
|
20
21
|
const splitChipArray = values.split(/[,(\s)(\n)(\r)(\t)(\r\n)]/);
|
|
@@ -119,7 +120,7 @@ export const postUniqueCustomOptions = (options) => {
|
|
|
119
120
|
};
|
|
120
121
|
export const customOrGenericImage = (dockerImage) => dockerImage === 'Generic Postgres' || dockerImage === 'custom';
|
|
121
122
|
export const createFallbackDockerImage = (dockerPath, dockerTag) => {
|
|
122
|
-
const majorVersion = getImageMajorVersion(dockerPath) || '
|
|
123
|
+
const majorVersion = getImageMajorVersion(dockerPath) || '18'; // Default to 18 if version can't be extracted
|
|
123
124
|
return {
|
|
124
125
|
package_group: 'postgresai',
|
|
125
126
|
pg_major_version: majorVersion,
|