Skip to content

Commit

Permalink
Publish package to npm (#67)
Browse files Browse the repository at this point in the history
* Publish package to npm

* v1.0.73

* v1.0.731

* v1.0.732

* v1.0.733

* v1.0.734

* Publish to npm, rename Graphica component to GraphicaCore
  • Loading branch information
jonasdeluna authored Jan 29, 2024
1 parent 3586bec commit a5759e9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"name": "@kateter-platform/graphica-gemini",
"version": "1.0.71",
"name": "@kateter-platform/graphica",
"version": "1.0.734",
"source": "./src/index.ts",
"description": "A tool for advanced graphing and visualization",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/kateter-platform/graphica-gemini.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/",
"access": "restricted"
"url": "git+https://github.com/kateter-platform/graphica.git"
},
"main": "dist/index.js",
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
Expand Down
4 changes: 2 additions & 2 deletions src/Graphica.ts → src/GraphicaCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const defaultGraphicaOptions: GraphicaOptions = {

//Note for docs: minZoom is how far you are allowed to zoom IN. MaxZoom is how far you are allowed to zoom OUT.

class Graphica {
class GraphicaCore {
components: Component[];
draggables: Component[];
updateComponents: Component[];
Expand Down Expand Up @@ -270,4 +270,4 @@ class Graphica {
}
}

export default Graphica;
export default GraphicaCore;
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { default as Graphica } from "./Graphica";
export { default as GraphicaCore } from "./GraphicaCore";
export { default as Arc } from "./Components/Arc";
export { default as Bracket } from "./Components/Bracket";
export { default as Button } from "./Components/Button";
Expand Down

0 comments on commit a5759e9

Please sign in to comment.