Skip to content

Commit

Permalink
removed ChessgroundUnstyled component
Browse files Browse the repository at this point in the history
  • Loading branch information
gtim committed Apr 9, 2023
1 parent 1ac2cb0 commit 7147d70
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 32 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,3 @@ node_modules
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# file generated by generate-ChessgroundUnstyled.js
/src/lib/ChessgroundUnstyled.svelte
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Chessground can be completely restyled through CSS. The component imports defaul
</div>
<style>
div.override_background :global(.cg-wrap cg-board) {
background-image:url("/my-board.jpg");
background-image:url("/my-board.jpg"); /* replace chessboard image */
}
</style>

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
"chessground",
"chessboard"
],
"version": "0.1.1",
"version": "0.2.0",
"license": "GPL-3.0",
"scripts": {
"dev": "vite dev",
"build": "vite build && npm run package",
"preview": "vite preview",
"package": "svelte-kit sync && svelte-package && publint",
"prepackage": "node ./scripts/generate-ChessgroundUnstyled.js",
"prepublishOnly": "npm run package",
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch"
Expand Down
24 changes: 0 additions & 24 deletions scripts/generate-ChessgroundUnstyled.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
export { default as Chessground } from './Chessground.svelte'
export { default as ChessgroundUnstyled } from './ChessgroundUnstyled.svelte'

0 comments on commit 7147d70

Please sign in to comment.