Skip to content

Commit 786dab4

Browse files
authored
upgrade @hyparam/components to v0.1.4 (#84)
* upgrade @hyparam/components to v0.1.4 * fix CI error (JSON import) + use locally installed typescript anyway Fix two errors: 1. we should check the types with the locally installed typescript, not the globally installed one on the CI machine. Currently, the local one is 5.6.3, while the current one on ubuntu-latest is 5.7.0, released 5 days ago. 2. specify the type when importing a JSON. It will be mandatory in typescript 5.7.0.
1 parent 0877508 commit 786dab4

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.github/workflows/_common_jobs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626
- run: npm i
27-
- run: tsc
27+
- run: npx tsc
2828

2929
test:
3030
defaults:

apps/hightable-demo/test/package.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it } from 'vitest'
2-
import packageJson from '../package.json'
2+
import packageJson from '../package.json' with { type: 'json' }
33

44
describe('package.json', () => {
55
it('should have the correct name', () => {

apps/hyparquet-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "vitest run --dir test"
1414
},
1515
"dependencies": {
16-
"@hyparam/components": "0.1.3",
16+
"@hyparam/components": "0.1.4",
1717
"hyparquet": "1.6.1",
1818
"hyparquet-compressors": "0.1.4",
1919
"hightable": "0.7.0",

apps/hyparquet-demo/test/package.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it } from 'vitest'
2-
import packageJson from '../package.json'
2+
import packageJson from '../package.json' with { type: 'json' }
33

44
describe('package.json', () => {
55
it('should have the correct name', () => {

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"dependencies": {
2626
"highlight.js": "11.10.0",
27-
"@hyparam/components": "0.1.3",
27+
"@hyparam/components": "0.1.4",
2828
"react": "18.3.1",
2929
"react-dom": "18.3.1"
3030
},

packages/cli/test/package.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it } from 'vitest'
2-
import packageJson from '../package.json'
2+
import packageJson from '../package.json' with { type: 'json' }
33

44
describe('package.json', () => {
55
it('should have the correct name', () => {

packages/components/test/package.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it } from 'vitest'
2-
import packageJson from '../package.json'
2+
import packageJson from '../package.json' with { type: 'json' }
33

44
describe('package.json', () => {
55
it('should have the correct name', () => {

0 commit comments

Comments
 (0)