Skip to content

Commit

Permalink
Clean on dependecy, remove svgr
Browse files Browse the repository at this point in the history
  • Loading branch information
konrad-k committed Nov 20, 2023
1 parent d026729 commit 292551c
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 454 deletions.
2 changes: 1 addition & 1 deletion dist/components/RoomGallery.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export declare const GalleryContext: React.Context<{
position: import("./Item").Position | undefined;
zoom: boolean;
}>;
export declare const RoomGallery: React.ForwardRefExoticComponent<Pick<RoomGalleryProps, "fetch" | "items" | "styles" | "children" | "settings"> & React.RefAttributes<HTMLDivElement>>;
export declare const RoomGallery: React.ForwardRefExoticComponent<Pick<RoomGalleryProps, "items" | "fetch" | "styles" | "children" | "settings"> & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=RoomGallery.d.ts.map
2 changes: 1 addition & 1 deletion dist/jQueryRoomGallery.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/roomGallery.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/RoomGallery.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/demo.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/jQueryRoomGallery.js

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "room-gallery",
"version": "1.0.3-beta",
"version": "1.0.4-beta",
"description": "Room Gallery: A 3D Exhibit - A Responsive 3D Image Slider Implemented in TypeScript as a React Component, Utilizing Vanilla JavaScript and jQuery",
"keywords": [
"slider",
Expand Down Expand Up @@ -39,12 +39,18 @@
"build": "webpack --mode production && yarn docs",
"test": "jest"
},
"dependencies": {
"react-swipeable": "^7.0.1"
},
"peerDependencies": {
"react": "^16 || ^17 || ^18",
"typescript": "^5"
},
"devDependencies": {
"@babel/core": "^7.22.11",
"@babel/preset-env": "^7.23.2",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.2",
"@svgr/webpack": "^8.1.0",
"@types/dompurify": "^3.0.2",
"@types/jest": "^29.5.6",
"@types/jquery": "^3.5.19",
Expand All @@ -67,7 +73,6 @@
"prettier": "3.0.3",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-swipeable": "^7.0.1",
"sass": "^1.66.1",
"sass-loader": "^13.3.2",
"style-loader": "^3.3.3",
Expand Down
5 changes: 0 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ module.exports = (env, argv) => {
filename : "img/[name][ext][query]",
}
},
{
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
use: [{ loader: "@svgr/webpack", options: { icon: true } }],
},
{
test: /\.(ts|tsx)$/,
exclude: /node_modules/,
Expand Down
452 changes: 12 additions & 440 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 292551c

Please sign in to comment.