Skip to content

Commit

Permalink
upgrade @hyparam/components to v0.1.4 (#84)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
severo authored Nov 27, 2024
1 parent 0877508 commit 786dab4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_common_jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: npm i
- run: tsc
- run: npx tsc

test:
defaults:
Expand Down
2 changes: 1 addition & 1 deletion apps/hightable-demo/test/package.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from 'vitest'
import packageJson from '../package.json'
import packageJson from '../package.json' with { type: 'json' }

describe('package.json', () => {
it('should have the correct name', () => {
Expand Down
2 changes: 1 addition & 1 deletion apps/hyparquet-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test": "vitest run --dir test"
},
"dependencies": {
"@hyparam/components": "0.1.3",
"@hyparam/components": "0.1.4",
"hyparquet": "1.6.1",
"hyparquet-compressors": "0.1.4",
"hightable": "0.7.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/hyparquet-demo/test/package.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from 'vitest'
import packageJson from '../package.json'
import packageJson from '../package.json' with { type: 'json' }

describe('package.json', () => {
it('should have the correct name', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"dependencies": {
"highlight.js": "11.10.0",
"@hyparam/components": "0.1.3",
"@hyparam/components": "0.1.4",
"react": "18.3.1",
"react-dom": "18.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/test/package.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from 'vitest'
import packageJson from '../package.json'
import packageJson from '../package.json' with { type: 'json' }

describe('package.json', () => {
it('should have the correct name', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/test/package.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from 'vitest'
import packageJson from '../package.json'
import packageJson from '../package.json' with { type: 'json' }

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

0 comments on commit 786dab4

Please sign in to comment.