1.4.0 • Published 2 months ago

@sophty-ui/icons-shared-config v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Standard Shared Config for Sophty UI icons

Install

npm install @sophty-ui/icons-shared-config --save-dev

Usage

  • Add "prepare:config": "icons-shared-config" to scripts property in your package.json
  • Rename your prepare scripts to prepare:[NAME]
  • Add "prepare": "npm-run-all prepare:*"
  • Run npm run prepare

Configs

include shared configs:

extract actions, hooks and configs:

  • .github/*
  • .husky/*
  • .eslintrc
  • tsconfig.json

merge files:

  • .gitignore
  • .npmignore

append to package.json:

scripts:

  • build - build shared config
  • build:ts - transpile TS files
  • build:generate - generate Icon components from svg images
  • generate - run all generate:*
  • generate:changelog - generate changelog
  • generate:ghinfo - generate .ghinfo file
  • lint - run all linters
  • lint:eslint - run eslint TS files linting
  • prepare - run all prepare scripts
  • prepare:config - rebuild local configs
  • prepare:husky - install husky hooks
  • release - build, lint, generate changelog and bump package version

dependencies:

configure:

{
  "type": "module",
  "types": "./lib/index.d.ts",
  "exports": {
    ".": "./lib/index.js",
    "./theme.css": "./lib/assets/theme.css"
  },
  "peerDependencies": {
    "clsx": "1.x",
    "react": "18.x",
    "react-dom": "18.x"
  }
}
1.3.2

2 months ago

1.4.0

2 months ago

1.3.1

2 months ago

1.3.0

2 months ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.2.3

1 year ago

1.1.4

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.2

1 year ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago