@opencloning/ui 1.6.0 → 1.7.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @opencloning/ui
2
2
 
3
+ ## 1.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`cfe95f5`](https://github.com/manulera/OpenCloning_frontend/commit/cfe95f5d79a4f147646d46d51b19a155941b2ad8)]:
8
+ - @opencloning/utils@1.7.1
9
+ - @opencloning/store@1.7.1
10
+
11
+ ## 1.7.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#670](https://github.com/manulera/OpenCloning_frontend/pull/670) [`2943c1c`](https://github.com/manulera/OpenCloning_frontend/commit/2943c1c3a8b29a7081841d8ca9e2b36a2ad14a61) Thanks [@manulera](https://github.com/manulera)! - Fix import structure
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [[`2943c1c`](https://github.com/manulera/OpenCloning_frontend/commit/2943c1c3a8b29a7081841d8ca9e2b36a2ad14a61)]:
20
+ - @opencloning/store@1.7.0
21
+ - @opencloning/utils@1.7.0
22
+
3
23
  ## 1.6.0
4
24
 
5
25
  ### Minor Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "MIT",
3
3
  "name": "@opencloning/ui",
4
- "version": "1.6.0",
4
+ "version": "1.7.1",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
7
7
  "scripts": {
@@ -19,7 +19,7 @@
19
19
  "./components/form/PostRequestSelect": "./src/components/form/PostRequestSelect.jsx",
20
20
  "./providers/ConfigProvider": "./src/providers/index.js",
21
21
  "./providers/DatabaseContext": "./src/providers/DatabaseContext.jsx",
22
- "./hooks/useConfig": "./src/hooks/useConfig.js",
22
+ "./hooks": "./src/hooks/index.js",
23
23
  "./standalone": "./src/StandAloneOpenCloning.js"
24
24
  },
25
25
  "repository": {
@@ -33,8 +33,8 @@
33
33
  "@mui/icons-material": "^5.15.17",
34
34
  "@mui/material": "^5.15.17",
35
35
  "@mui/x-data-grid": "^8.25.0",
36
- "@opencloning/store": "1.6.0",
37
- "@opencloning/utils": "1.6.0",
36
+ "@opencloning/store": "1.7.1",
37
+ "@opencloning/utils": "1.7.1",
38
38
  "@teselagen/bio-parsers": "^0.4.34",
39
39
  "@teselagen/ove": "^0.8.34",
40
40
  "@teselagen/range-utils": "^0.3.20",
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ConfigProvider } from '@opencloning/ui/providers/ConfigProvider';
3
- import { localFilesHttpClient } from '@opencloning/ui/hooks/useServerStaticFiles';
3
+ import { localFilesHttpClient } from '@opencloning/ui/hooks';
4
4
  import UploadPlasmidsButton from './UploadPlasmidsButton';
5
5
  import mocloSyntax from '../../../../../cypress/test_files/syntax/moclo_syntax.json';
6
6
 
@@ -0,0 +1,2 @@
1
+ export { useConfig } from './useConfig.js';
2
+ export { default as useServerStaticFiles, localFilesHttpClient } from './useServerStaticFiles.js';
package/src/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Version placeholder - replaced at publish time via prepack script
2
- export const version = "1.6.0";
2
+ export const version = "1.7.1";
package/vitest.config.js CHANGED
@@ -1,16 +1,8 @@
1
1
  import { defineConfig } from 'vitest/config';
2
- import { resolve } from 'path';
3
2
  import { testConfig } from '../../vitest.common.config';
4
3
 
5
4
  export default defineConfig({
6
5
  test: {
7
6
  ...testConfig,
8
7
  },
9
- resolve: {
10
- alias: {
11
- '@opencloning/ui': resolve(__dirname, './src'),
12
- '@opencloning/store': resolve(__dirname, '../store/src'),
13
- '@opencloning/utils': resolve(__dirname, '../utils/src/utils'),
14
- },
15
- },
16
8
  });