diff --git a/packages/components/package.json b/packages/components/package.json index 2f808f17..f9f48de7 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -3,10 +3,13 @@ "version": "0.0.19", "description": "Components for front-ends on NEAR blockchain", "source": "src/index.ts", - "main": "dist/index.js", + "main": "src/index.ts", "files": [ "dist" ], + "publishConfig": { + "main": "dist/index.js" + }, "scripts": { "prepack": "yarn clean && tsc && yarn copy-files", "build": "yarn run prepack", @@ -18,7 +21,7 @@ "author": "Yassine", "license": "MIT", "dependencies": { - "@cura/hooks": "0.0.9", + "@cura/hooks": "workspace:*", "@theme-ui/color": "^0.12.1", "@theme-ui/match-media": "^0.12.1", "@theme-ui/presets": "^0.12.1", diff --git a/packages/components/src/stories/NFTE.excludeStories.tsx b/packages/components/src/stories/NFTE.stories.tsx similarity index 100% rename from packages/components/src/stories/NFTE.excludeStories.tsx rename to packages/components/src/stories/NFTE.stories.tsx diff --git a/packages/hooks/package.json b/packages/hooks/package.json index 1bcb841d..485876ad 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -3,10 +3,13 @@ "version": "0.0.9", "description": "Hooks for front-ends on NEAR blockchain", "source": "src/index.ts", - "main": "dist/index.js", + "main": "src/index.ts", "files": [ "dist" ], + "publishConfig": { + "main": "dist/index.js" + }, "scripts": { "prepack": "yarn clean && tsc", "build": "yarn run prepack", diff --git a/yarn.lock b/yarn.lock index 0756d878..6d788236 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1761,7 +1761,7 @@ __metadata: resolution: "@cura/components@workspace:packages/components" dependencies: "@babel/core": ^7.16.5 - "@cura/hooks": 0.0.9 + "@cura/hooks": "workspace:*" "@storybook/addon-actions": ^6.4.9 "@storybook/addon-essentials": ^6.4.9 "@storybook/addon-links": ^6.4.9 @@ -1802,7 +1802,7 @@ __metadata: languageName: unknown linkType: soft -"@cura/hooks@0.0.9, @cura/hooks@workspace:*, @cura/hooks@workspace:packages/hooks": +"@cura/hooks@workspace:*, @cura/hooks@workspace:packages/hooks": version: 0.0.0-use.local resolution: "@cura/hooks@workspace:packages/hooks" dependencies: