@exodus/ui-config 3.7.2 → 3.8.0

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
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.8.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/ui-config@3.7.2...@exodus/ui-config@3.8.0) (2024-08-13)
7
+
8
+ ### Features
9
+
10
+ - make ui-config a proper ESM module ([#8375](https://github.com/ExodusMovement/exodus-hydra/issues/8375)) ([cad73a5](https://github.com/ExodusMovement/exodus-hydra/commit/cad73a538a120ada3e97d6dc24691491e9b9cddf))
11
+
6
12
  ## [3.7.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/ui-config@3.7.1...@exodus/ui-config@3.7.2) (2024-07-25)
7
13
 
8
14
  ### Bug Fixes
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import uiConfigApiDefinition from './api'
1
+ import uiConfigApiDefinition from './api/index.js'
2
2
 
3
3
  type Config = { config: Record<string, any> }
4
4
 
package/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import createUiConfigApiDefinition from './api'
2
- import createUiConfigAtomDefinitions from './atoms'
3
- import createUiConfigPluginDefinition from './plugin'
4
- import { getAtomId } from './utils'
1
+ import createUiConfigApiDefinition from './api/index.js'
2
+ import createUiConfigAtomDefinitions from './atoms/index.js'
3
+ import createUiConfigPluginDefinition from './plugin/index.js'
4
+ import { getAtomId } from './utils.js'
5
5
 
6
- export { getConfigReduxEvents, getEventReduxMap } from './utils'
6
+ export { getConfigReduxEvents, getEventReduxMap } from './utils.js'
7
7
 
8
8
  const createUiConfigFeatureDefinition = ({ config }) => {
9
9
  const configValues = Object.values(config).map((v) => ({ ...v, atomId: getAtomId(v.id) }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ui-config",
3
- "version": "3.7.2",
3
+ "version": "3.8.0",
4
4
  "description": "Helper for storing various UI-specific settings/config.",
5
5
  "author": "Exodus Movement, Inc.",
6
6
  "license": "UNLICENSED",
@@ -12,6 +12,7 @@
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/ExodusMovement/exodus-hydra.git"
14
14
  },
15
+ "type": "module",
15
16
  "main": "index.js",
16
17
  "files": [
17
18
  "api",
@@ -28,7 +29,7 @@
28
29
  "scripts": {
29
30
  "lint": "run -T eslint . --ignore-path ../../.gitignore",
30
31
  "lint:fix": "yarn lint --fix",
31
- "test": "run -T exodus-test --jest --esbuild"
32
+ "test": "run -T exodus-test --jest"
32
33
  },
33
34
  "dependencies": {
34
35
  "@exodus/atoms": "^8.0.0",
@@ -37,8 +38,8 @@
37
38
  "lodash": "^4.17.21"
38
39
  },
39
40
  "devDependencies": {
40
- "@exodus/redux-dependency-injection": "^3.2.3",
41
+ "@exodus/redux-dependency-injection": "^4.0.0",
41
42
  "redux": "^4.2.1"
42
43
  },
43
- "gitHead": "3995391eb48639b2d60ced5224a6a8f4902a2466"
44
+ "gitHead": "1b9bb5f104adcda9284bf5a5bdec7c87fd88dc29"
44
45
  }
package/redux/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import id from './id'
1
+ import id from './id.js'
2
2
 
3
3
  const createUiConfigReduxDefinition = (config) => {
4
4
  const loadedIds = new Set()