Skip to content

Commit

Permalink
chore: Make h2o-wave npm package direct part of Wave UI instead of de…
Browse files Browse the repository at this point in the history
…pending on external dep.
  • Loading branch information
mturoci committed Oct 10, 2023
1 parent b3387a5 commit 2f868a3
Show file tree
Hide file tree
Showing 171 changed files with 166 additions and 461 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/release-wave-npm.yml

This file was deleted.

5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ clean: ## Clean
cd tools/showcase && $(MAKE) clean
rm -f waved

setup-ts: ## Set up NPM package and symlinks
cd ts && npm ci && npm run build-dev
cd ts && npm link
cd ui && npm link h2o-wave

setup-ui:
cd ui && $(MAKE) setup

Expand Down
1 change: 0 additions & 1 deletion ts/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions ts/dev.tsconfig.json

This file was deleted.

142 changes: 0 additions & 142 deletions ts/package-lock.json

This file was deleted.

25 changes: 0 additions & 25 deletions ts/package.json

This file was deleted.

75 changes: 0 additions & 75 deletions ts/tsconfig.json

This file was deleted.

11 changes: 0 additions & 11 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"@mui/x-date-pickers": "^5.0.0-beta.3",
"d3": "^7.8.5",
"date-fns": "^2.29.1",
"h2o-wave": "^1.1.0",
"handlebars": "^4.7.7",
"highlight.js": "^11.8.0",
"markdown-it": "^12.3.2",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

import * as Fluent from '@fluentui/react'
import { box, WaveErrorCode, WaveEventType } from 'h2o-wave'
import { box, WaveErrorCode, WaveEventType } from './core'
import React from 'react'
import { stylesheet } from 'typestyle'
import Dialog from './dialog'
Expand Down
2 changes: 1 addition & 1 deletion ui/src/article.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

import { render } from '@testing-library/react'
import * as T from 'h2o-wave'
import * as T from './core'
import React from 'react'
import { View } from './article'

Expand Down
2 changes: 1 addition & 1 deletion ui/src/article.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import { Model, S } from 'h2o-wave'
import { Model, S } from './core'
import React from 'react'
import { stylesheet } from 'typestyle'
import { Component, XComponents } from './form'
Expand Down
2 changes: 1 addition & 1 deletion ui/src/audio_annotator.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as Fluent from '@fluentui/react'
import { B, F, Id, Rec, S, U } from 'h2o-wave'
import { B, F, Id, Rec, S, U } from './core'
import React from 'react'
import { stylesheet } from 'typestyle'
import { averageChannels } from './parts/audioUtils'
Expand Down
2 changes: 1 addition & 1 deletion ui/src/breadcrumbs.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import { initializeIcons } from '@fluentui/react'
import { fireEvent, render } from '@testing-library/react'
import * as T from 'h2o-wave'
import * as T from './core'
import React from 'react'
import { View } from './breadcrumbs'
import { wave } from './ui'
Expand Down
2 changes: 1 addition & 1 deletion ui/src/breadcrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

import * as Fluent from '@fluentui/react'
import { Id, Model, S } from 'h2o-wave'
import { Id, Model, S } from './core'
import React from 'react'
import { stylesheet } from 'typestyle'
import { CardEffect, cards } from './layout'
Expand Down
2 changes: 1 addition & 1 deletion ui/src/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

import * as Fluent from '@fluentui/react'
import { B, Dict, Id, S } from 'h2o-wave'
import { B, Dict, Id, S } from './core'
import React from 'react'
import { stylesheet } from 'typestyle'
import { Component } from './form'
Expand Down
Loading

0 comments on commit 2f868a3

Please sign in to comment.