Skip to content

Commit

Permalink
[chore] format and clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain89 committed Dec 29, 2023
1 parent 350a9c0 commit daeef22
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 42 deletions.
16 changes: 11 additions & 5 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,20 @@
},
{
"name": "@kadena/docs",
"version": "0.6.3",
"version": "0.8.0",
"private": true,
"path": "packages/apps/docs"
},
{
"name": "@kadena/graph",
"version": "1.0.7",
"name": "@kadena/docs-tools",
"version": "0.1.0",
"private": true,
"path": "packages/tools/docs-tools"
},
{
"name": "@kadena/graph",
"version": "1.0.6",
"private": false,
"path": "packages/apps/graph"
},
{
Expand All @@ -73,7 +79,7 @@
},
{
"name": "@kadena/hd-wallet",
"version": "0.0.1",
"version": "0.2.0",
"private": true,
"path": "packages/libs/hd-wallet"
},
Expand Down Expand Up @@ -109,7 +115,7 @@
},
{
"name": "@kadena/proof-of-us",
"version": "0.1.0",
"version": "0.2.0",
"private": true,
"path": "packages/apps/proof-of-us"
},
Expand Down
33 changes: 0 additions & 33 deletions packages/apps/docs/playwright.config.ts

This file was deleted.

6 changes: 3 additions & 3 deletions packages/tools/e2e-tests/src/helpers/markdown.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export async function extractMetadataFromMarkdown(
parentPath: string,
childPath?: string,
grandChildPath?: string,
): Promise<_IMetadata[]> {
const metadata: _IMetadata[] = [];
): Promise<IMetadata[]> {
const metadata: IMetadata[] = [];

const parentFile = fs.readFileSync(parentPath, 'utf8');
const parent = parseMD(parentFile);
Expand All @@ -26,7 +26,7 @@ export async function extractMetadataFromMarkdown(
return metadata;
}

export interface _IMetadata {
export interface IMetadata {
title: string;
description: string;
menu: string;
Expand Down
1 change: 0 additions & 1 deletion packages/tools/e2e-tests/src/helpers/tree.helper.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { Page } from '@playwright/test';
import { expect } from '@playwright/test';
import dirTree from 'directory-tree';
import { join } from 'path';
import { extractMetadataFromMarkdown } from './markdown.helper';

export default class TreeHelper {
Expand Down

0 comments on commit daeef22

Please sign in to comment.