Skip to content

Commit

Permalink
chore: remove examples folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Priestch committed Nov 6, 2023
1 parent 7272150 commit 5952f5a
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 120 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Repo Setup

To develop and test the `@document-kits/viewer`, run `pnpm examples:dev` in the root folder. It will use a custom gulp task
To develop and test the `@document-kits/viewer`, run `pnpm demos:dev` in the root folder. It will use a custom gulp task
to build based on submodule `pdf.js` in `packages/document-viewer/pdf.js`. The specific process is as follows:

1. Install dependencies for PDF.js if `FORCE_INSTALL_DEPENDENCIES` environment was set
Expand Down
24 changes: 0 additions & 24 deletions examples/.gitignore

This file was deleted.

Empty file removed examples/canvas.js
Empty file.
13 changes: 0 additions & 13 deletions examples/index.html

This file was deleted.

14 changes: 0 additions & 14 deletions examples/main.js

This file was deleted.

17 changes: 0 additions & 17 deletions examples/package.json

This file was deleted.

16 changes: 0 additions & 16 deletions examples/style.css

This file was deleted.

32 changes: 0 additions & 32 deletions examples/vite.config.js

This file was deleted.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
"viewer:build": "pnpm --filter @document-kits/viewer run build",
"release": "node scripts/release.mjs",
"cli:build": "pnpm --filter @document-kits/create-viewer run build",
"examples:dev": "pnpm run viewer:build && pnpm --filter examples run dev",
"demos:dev": "pnpm --filter demos run dev",
"demos:build": "pnpm --filter demos run build",
"examples:build": "pnpm --filter examples run build",
"docs:dev": "pnpm --filter viewer-docs run dev",
"docs:extract": "pnpm --filter @document-kits/viewer run api",
"docs:build": "pnpm --filter viewer-docs run build",
Expand Down
1 change: 0 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ packages:
# all packages in direct subdirs of packages/
- 'packages/*'
- 'docs/**'
- 'examples/**'
- 'demos/**'

0 comments on commit 5952f5a

Please sign in to comment.