@keystrm/storage-manager
v1.0.2
Published
a simple storage manager
Downloads
4
Readme
This package is testing package that build with support of https://javascript.plainenglish.io/how-to-create-a-typescript-npm-library-for-dummies-6633f2506a17 article however it gonna use to manage local storage on js
summary
npm init -y
src/index.ts
make index.ts file
tsc --init
start typescript
npm install -D typescript
npm install -D tsup
install tsup to make our code in library format
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
},
define build script
npm run build
build in dist folder
install -D @changesets/cli && npx changeset init
sementic versioning
changeset
config can be changed to
"access": "public"
if you wanted
npx changeset
make a new version
add workflow ymls for both release and main workflows
Initial Publish to NPM
npm login --auth-type=legacy
npm publish
to do this we need a unique name