Skip to content

Commit

Permalink
fix(tooling): copy license file from the root of the monorepo during …
Browse files Browse the repository at this point in the history
…publish
  • Loading branch information
vitalybaev committed Dec 28, 2024
1 parent 85b8612 commit b68471f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ dist/
coverage/
.DS_Store
.vitest-preview/
packages/*/license
8 changes: 3 additions & 5 deletions packages/react-dadata/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
{
"name": "react-dadata",
"version": "2.23.3",
"version": "2.24.0",
"description": "React-компонент для подсказок адресов, организаций и банков с помощью сервиса DaData.ru",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"package.json",
"../../license",
"../../readme.md"
"package.json"
],
"scripts": {
"prepublishOnly": "pnpm run test:once && pnpm run build",
"prepublishOnly": "cp ../../license ./license && pnpm run test:once && pnpm run build",
"clean": "rimraf dist",
"build:css": "lightningcss --minify --bundle --targets '>0.2%, ie 11' src/react-dadata.css -o dist/react-dadata.css",
"build:css:ci": "./node_modules/lightningcss-cli-linux-x64-gnu/lightningcss --minify --bundle --targets '>0.2%, ie 11' src/react-dadata.css -o dist/react-dadata.css",
Expand Down

0 comments on commit b68471f

Please sign in to comment.