Skip to content

Commit

Permalink
fix build problems
Browse files Browse the repository at this point in the history
  • Loading branch information
tanbowensg committed Jan 5, 2024
1 parent 332cc7b commit 176632c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/refine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dovetail-v2/refine",
"version": "0.0.13",
"version": "0.0.14-beta.0",
"type": "module",
"files": [
"dist",
Expand All @@ -20,7 +20,7 @@
"dayjs": "^1.11.10",
"i18next": "^23.2.3",
"js-yaml": "^4.1.0",
"k8s-api-provider": "^0.0.9",
"k8s-api-provider": "0.0.15-beta.0",
"ky": "^0.33.3",
"lodash-es": "^4.17.21",
"mitt": "^3.0.1",
Expand Down
2 changes: 2 additions & 0 deletions packages/refine/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export * from './hooks';
export * from './Dovetail';
export * from './types';
export * from './contexts';
export * from './models';

3 changes: 1 addition & 2 deletions packages/refine/src/models/workload-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ import { cloneDeep, get, set, sumBy } from 'lodash';
import { matchSelector } from '../utils/match-selector';
import { PodModel } from './pod-model';
import { WorkloadBaseModel } from './workload-base-model';
import { TIMESTAMP_LABEL } from '../constants';

type WorkloadTypes = Required<Deployment | StatefulSet | DaemonSet> &
Unstructured;

export const TIMESTAMP_LABEL = 'sks.user.kubesmart.smtx.io/timestamp';

export class WorkloadModel extends WorkloadBaseModel {
public restarts = 0;
declare public spec?: WorkloadTypes['spec'];
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7518,10 +7518,10 @@ jsprim@^1.2.2:
object.assign "^4.1.4"
object.values "^1.1.6"

k8s-api-provider@^0.0.9:
version "0.0.9"
resolved "https://registry.npmjs.org/k8s-api-provider/-/k8s-api-provider-0.0.9.tgz#929f7aa7501609ca15abc05ba67271704fdaf76b"
integrity sha512-7utaLLRDiBCurFs4W1lJUV0a/EL1Uahhzyt0t03cFea+KURtJnk8c3n6sH0GWBTJnAhfmRiefn4F0fj6GHM6gA==
[email protected].15-beta.0:
version "0.0.15-beta.0"
resolved "https://registry.npmmirror.com/k8s-api-provider/-/k8s-api-provider-0.0.15-beta.0.tgz#6bce289e8ab24677ddd7ee4fa3c3cbcb47ce3bbe"
integrity sha512-9IwDoeYDhG/xtlLlp1u+Yj014FBvEKMMa+DkjSBP4z3DyUKmcfvJvsjMVDUOmint7w9FQFfbP1wXxNs7w5P6ow==
dependencies:
kubernetes-types "^1.26.0"
ky "^0.33.3"
Expand Down

0 comments on commit 176632c

Please sign in to comment.