Skip to content

Commit

Permalink
Fixed publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtiomTr committed Dec 30, 2023
1 parent ba3eb4c commit fbebd88
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 1,750 deletions.
6 changes: 6 additions & 0 deletions .clean-publish.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"withoutPublish": true,
"tempDir": "prepared-package",
"files": ["src", "examples", ".gitignore", "tsconfig.json", "tsconfig.test.json", "aqu.config.json", "jest.config.json"],
"fields": ["publishConfig", "engines", "packageManager"]
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ yarn-error.log*
*.tsbuildinfo

# Intellij IDE automatically generated folder
.idea
.idea

prepared-package
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"files": [
"dist"
],
"publishConfig": {
"directory": "prepared-package"
},
"main": "./dist/index.js",
"types": "./dist/reactive-popups.d.ts",
"module": "./dist/reactive-popups.esm.js",
Expand All @@ -17,26 +20,26 @@
"test:watch": "pnpm test -- --watch",
"test:coverage": "pnpm test -- --coverage --json --silent --ci --outputFile=\"report.json\"",
"test:log-coverage": "pnpm test -- --coverage --silent --ci --coverageReporters=text",
"release": "np",
"prepublishOnly": "aqu build"
"prepublishOnly": "aqu build && rimraf ./prepared-package && clean-publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AlexShukel/reactive-popups.git"
"url": "git+https://github.com/fracht/reactive-popups.git"
},
"keywords": [],
"author": "Aleksandras Šukelovič",
"license": "ISC",
"license": "MIT",
"bugs": {
"url": "https://github.com/AlexShukel/reactive-popups/issues"
"url": "https://github.com/fracht/reactive-popups/issues"
},
"homepage": "https://github.com/AlexShukel/reactive-popups#readme",
"homepage": "https://github.com/fracht/reactive-popups#readme",
"devDependencies": {
"@testing-library/react": "^13.3.0",
"@types/jest": "^29.5.1",
"@types/react": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"aqu": "^0.4.3",
"clean-publish": "^4.2.0",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
Expand All @@ -46,8 +49,8 @@
"eslint-plugin-simple-import-sort": "^7.0.0",
"jest-environment-jsdom": "^29.5.0",
"jest-watch-typeahead": "^2.2.2",
"np": "^8.0.4",
"react": "^18.2.0",
"rimraf": "^5.0.5",
"typescript": "^4.5.4"
},
"dependencies": {
Expand Down
Loading

0 comments on commit fbebd88

Please sign in to comment.