Skip to content

Commit

Permalink
refactor: library files to external folder
Browse files Browse the repository at this point in the history
  • Loading branch information
dendrofen committed Sep 18, 2023
1 parent 5916145 commit 0ca066f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .npmignore

This file was deleted.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-konva-to-svg",
"version": "1.0.1",
"version": "1.0.2",
"private": false,
"keywords": [
"react-konva",
Expand All @@ -17,6 +17,10 @@
"description": "Extend Konva's functionality to export stages as SVG. Enhance the quality of exported images with SVG format.",
"author": "dendrofen",
"license": "MIT",
"main": "react-konva-to-svg/index.js",
"files": [
"react-konva-to-svg"
],
"repository": {
"type": "git",
"url": "git+https://github.com/dendrofen/react-konva-to-svg.git"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/ProcessButtons.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styles from '@/app/page.module.css';
import { exportStageSVG } from "@/lib";
import { startTransition, useCallback, useState } from "react";
import { exportStageSVG } from '../../react-konva-to-svg';

export default function ProcessButtons() {
const [image, setImage] = useState();
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ react-reconciler@~0.29.0:
loose-envify "^1.1.0"
scheduler "^0.23.0"

[email protected]:
react@^18.2.0:
version "18.2.0"
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
Expand Down

0 comments on commit 0ca066f

Please sign in to comment.