Skip to content

Commit

Permalink
Minor monorepo tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc committed Aug 21, 2023
1 parent 1f8bb6f commit d88cd33
Show file tree
Hide file tree
Showing 8 changed files with 342 additions and 622 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
run: pnpm build

- name: Serve ⚡️
run: pnpm serve & pnpm dlx wait-on http://localhost:5173
run: pnpm serve & pnpm wait-on http://localhost:5173

- name: Run Cypress 🌳
run: pnpm cypress:run --env requireSnapshots=true
Expand Down
12 changes: 1 addition & 11 deletions apps/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,7 @@
"name": "demo",
"private": true,
"version": "0.0.1",
"description": "H5Web demo",
"author": "European Synchrotron Radiation Facility",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/silx-kit/h5web"
},
"engines": {
"node": "18.x",
"pnpm": "8.x"
},
"description": "H5Web demo site",
"scripts": {
"start": "vite",
"build": "vite build",
Expand Down
1 change: 0 additions & 1 deletion apps/demo/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import eslintPlugin from 'vite-plugin-eslint';

export default defineConfig({
server: { open: true },
preview: { open: true },
plugins: [
react(),
{ ...eslintPlugin(), apply: 'serve' }, // dev only to reduce build time
Expand Down
10 changes: 0 additions & 10 deletions apps/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@
"private": true,
"version": "0.0.1",
"description": "Storybook for @h5web/lib",
"author": "European Synchrotron Radiation Facility",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/silx-kit/h5web"
},
"engines": {
"node": "18.x",
"pnpm": "8.x"
},
"scripts": {
"start": "storybook dev -p 6006",
"build": "storybook build -o build",
Expand Down
1 change: 0 additions & 1 deletion cypress/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
declare namespace Cypress {
interface Chainable {
waitForStableDOM(iteration?: number): void;
findExplorerNode(name: string): ReturnType<typeof cy.findByRole>;
selectExplorerNode(name: string): void;
selectVisTab(name: string): void;
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"npm-run-all": "4.1.5",
"prettier": "3.0.0",
"ts-jest": "29.1.1",
"typescript": "5.0.4"
"typescript": "5.0.4",
"wait-on": "7.0.1"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
6 changes: 0 additions & 6 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
"private": true,
"version": "0.0.1",
"description": "Shared models, guards and utilities",
"author": "European Synchrotron Radiation Facility",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/silx-kit/h5web"
},
"type": "module",
"sideEffects": false,
"main": "src/index.ts",
Expand Down
Loading

0 comments on commit d88cd33

Please sign in to comment.