@ham2k/lib-cqmag-data 0.2.0 → 0.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ham2k/lib-cqmag-data",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "exports": {
@@ -9,8 +9,8 @@
9
9
  "devDependencies": {
10
10
  "@ham2k/lib-country-files": "^0.8",
11
11
  "@ham2k/lib-dxcc-data": "^0.0.1",
12
- "jest": "^29.5.0",
13
- "standard": "^17.0.0"
12
+ "jest": "^29",
13
+ "standard": "^17"
14
14
  },
15
15
  "scripts": {
16
16
  "generate": "node ./scripts/generate.js",
@@ -7,9 +7,9 @@ console.log('Generating CQWW json')
7
7
  const cqww = preprocessCQWWData(ENTITIES)
8
8
 
9
9
  fs.writeFileSync('src/data/cqwwByPrefix.json', JSON.stringify(cqww), 'utf8')
10
- fs.writeFileSync('src/data/cqwwByPrefix.js', `export const CQWW_BY_PREFIX = ${JSON.stringify(cqww)}`, 'utf8')
10
+ fs.writeFileSync('src/data/cqwwByPrefix.js', `export const CQWW_ENTITIES_BY_PREFIX = ${JSON.stringify(cqww)}`, 'utf8')
11
11
  fs.writeFileSync('src/data/cqww.json', JSON.stringify(Object.values(cqww)), 'utf8')
12
- fs.writeFileSync('src/data/cqww.js', `export const CQWW = ${JSON.stringify(Object.values(cqww))}`, 'utf8')
12
+ fs.writeFileSync('src/data/cqww.js', `export const CQWW_ENTITIES = ${JSON.stringify(Object.values(cqww))}`, 'utf8')
13
13
 
14
14
  console.log('CQ WW Entities written to data/cqww.json and cqwwByPrefix.json')
15
15
  console.log('')