1.4.0 • Published 8 months ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
8 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

8 months ago

1.4.0

8 months ago

1.3.1

8 months ago

1.3.0

8 months ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.2.3

2 years ago

1.1.4

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.2

2 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago