To build package, don't call npm publish directly. Instead:
npm run build npm run dist
This will build the package into the dist directory, then package it from the "dist" directory. This avoids npm packaging the module under the sub-folder dist.
When adding new files, classes or exports, make sure to add them to index.ts. See the file for details.
Usage:
With the impvoed distribution method, imports are easy:
Examples: import {Tag} from "@adc-ops/autocore-js" import {Registry, GNV } from "@adc-ops/autocore-js"; import {Ton} from "@adc-ops/autocore-js"; import { CoreDispatcher } from "@adc-ops/autocore-js";