Skip to content

Commit 27c951f

Browse files
authored
Feat/log app registration and version 0.12.30 (#677)
* log app registration and printgit push * v0.12.30
1 parent 76cda50 commit 27c951f

File tree

10 files changed

+25
-31
lines changed

10 files changed

+25
-31
lines changed

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"packages": ["packages/*"],
3-
"version": "0.12.29",
3+
"version": "0.12.30",
44
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
55
}

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gen3/core",
3-
"version": "0.12.29",
3+
"version": "0.12.30",
44
"author": "CTDS",
55
"description": "Core module for Gen3.2. Packages provides an interface for interacting with the gen3 API, various types, and a redux store for managing state.",
66
"license": "Apache-2.0",

packages/core/src/features/gen3Apps/Gen3App.tsx

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@ import React, { ComponentType, useEffect } from 'react';
22
import { coreStore } from '../../store';
33
import { v5 as uuidv5 } from 'uuid';
44
import { addGen3AppMetadata, EntityType } from './gen3AppsSlice';
5-
import {
6-
configureStore,
7-
Dispatch,
8-
Middleware,
9-
UnknownAction,
10-
} from '@reduxjs/toolkit';
5+
import { configureStore, Dispatch, Middleware, UnknownAction, } from '@reduxjs/toolkit';
116
import { Action, Store } from 'redux';
127
import {
138
createDispatchHook,
@@ -17,14 +12,7 @@ import {
1712
ReactReduxContextValue,
1813
TypedUseSelectorHook,
1914
} from 'react-redux';
20-
import {
21-
FLUSH,
22-
PAUSE,
23-
PERSIST,
24-
PURGE,
25-
REGISTER,
26-
REHYDRATE,
27-
} from 'redux-persist';
15+
import { FLUSH, PAUSE, PERSIST, PURGE, REGISTER, REHYDRATE, } from 'redux-persist';
2816
import { registerGen3App } from './gen3AppRegistry';
2917
import { DataStatus } from '../../dataAccess';
3018
import { CookiesProvider } from 'react-cookie';
@@ -90,6 +78,8 @@ export const createGen3App = <
9078
requiredEntityTypes,
9179
}),
9280
);
81+
82+
console.log(`Registered Gen3 app: ${name} v${version}`);
9383
registerGen3App(name, Gen3AppWrapper as unknown as React.ReactNode);
9484

9585
return Gen3AppWrapper;

packages/core/src/features/gen3Apps/gen3AppRegistry.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ export const lookupGen3App = (id: string): React.ReactNode => {
1515
export const computeGen3AppId = (name: string, version: string): string => {
1616
return `${name}@${version}`;
1717
};
18+
19+
export const printRegistry = (): void => {
20+
console.log(REGISTRY);
21+
};

packages/core/src/features/gen3Apps/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ import {
77
type UseAppDataHook,
88
type UseAppDataResponse,
99
} from './Gen3App.tsx';
10-
import {
11-
selectGen3AppByName,
12-
selectGen3AppMetadataByName,
13-
} from './gen3AppsSlice';
10+
import { selectGen3AppByName, selectGen3AppMetadataByName, } from './gen3AppsSlice';
11+
12+
import { printRegistry } from './gen3AppRegistry';
1413

1514
import { createAppApiForRTKQ } from './Gen3AppRTKQ';
1615

@@ -22,6 +21,7 @@ export {
2221
getGen3AppId,
2322
createAppStore,
2423
createAppApiForRTKQ,
24+
printRegistry,
2525
type AppDataSelectorResponse,
2626
type UseAppDataResponse,
2727
type UseAppDataHook,

packages/frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gen3/frontend",
3-
"version": "0.12.29",
3+
"version": "0.12.30",
44
"description": "Gen3 frontend components, content management, and pages",
55
"keywords": [],
66
"author": "Center for Translational Data Science",
@@ -62,7 +62,7 @@
6262
"@dnd-kit/core": "^6.3.1",
6363
"@dnd-kit/modifiers": "^9.0.0",
6464
"@dnd-kit/sortable": "^10.0.0",
65-
"@gen3/core": "^0.12.29",
65+
"@gen3/core": "^0.12.30",
6666
"@graphiql/react": "^0.23.1",
6767
"@hello-pangea/dnd": "^17.0.0",
6868
"@iconify-icon/react": "^3.0.3",

packages/sampleCommons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gen3/samplecommons",
3-
"version": "0.12.29",
3+
"version": "0.12.30",
44
"private": true,
55
"scripts": {
66
"analyze": "ANALYZE=true npm run build",

packages/storybook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gen3/storybook",
3-
"version": "0.12.29",
3+
"version": "0.12.30",
44
"private": true,
55
"description": "Storybook for testing and CI/CD",
66
"keywords": [

packages/tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gen3/toolsff",
3-
"version": "0.12.29",
3+
"version": "0.12.30",
44
"description": "tools for processing Gen3 commons content: color theme, icons, sharedFilters",
55
"main": "index.js",
66
"type": "module",

0 commit comments

Comments
 (0)