Skip to content

Commit

Permalink
fix: specify files to publish to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Wroud committed Oct 12, 2024
1 parent 03b0162 commit f925937
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/_aggregate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
},
"devDependencies": {
"@wroud/ci": "workspace:*",
"@wroud/conventional-commits-bump": "workspace:^",
"@wroud/conventional-commits-changelog": "workspace:*",
"@wroud/conventional-commits-parser": "workspace:*",
"@wroud/di": "workspace:*",
Expand Down
3 changes: 3 additions & 0 deletions packages/_aggregate/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"src"
],
"references": [
{
"path": "../conventional-commits-bump"
},
{
"path": "../conventional-commits-changelog"
},
Expand Down
13 changes: 13 additions & 0 deletions packages/conventional-commits-bump/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@
"exports": {
".": "./lib/index.js"
},
"files": [
"package.json",
"LICENSE",
"README.md",
"CHANGELOG.md",
"lib",
"!lib/**/*.test.js",
"!lib/**/*.test.d.ts",
"!lib/**/*.test.d.ts.map",
"!lib/**/*.test.js.map",
"!lib/tests",
"!.tsbuildinfo"
],
"scripts": {
"ci:release": "yarn ci release --prefix cc-bump-v",
"ci:git-tag": "yarn ci git-tag --prefix cc-bump-v",
Expand Down
13 changes: 13 additions & 0 deletions packages/conventional-commits-changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@
"exports": {
".": "./lib/index.js"
},
"files": [
"package.json",
"LICENSE",
"README.md",
"CHANGELOG.md",
"lib",
"!lib/**/*.test.js",
"!lib/**/*.test.d.ts",
"!lib/**/*.test.d.ts.map",
"!lib/**/*.test.js.map",
"!lib/tests",
"!.tsbuildinfo"
],
"scripts": {
"ci:release": "yarn ci release --prefix cc-changelog-v",
"ci:git-tag": "yarn ci git-tag --prefix cc-changelog-v",
Expand Down
13 changes: 13 additions & 0 deletions packages/conventional-commits-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@
"exports": {
".": "./lib/index.js"
},
"files": [
"package.json",
"LICENSE",
"README.md",
"CHANGELOG.md",
"lib",
"!lib/**/*.test.js",
"!lib/**/*.test.d.ts",
"!lib/**/*.test.d.ts.map",
"!lib/**/*.test.js.map",
"!lib/tests",
"!.tsbuildinfo"
],
"scripts": {
"ci:release": "yarn ci release --prefix cc-parser-v",
"ci:git-tag": "yarn ci git-tag --prefix cc-parser-v",
Expand Down
13 changes: 13 additions & 0 deletions packages/github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@
"exports": {
".": "./lib/index.js"
},
"files": [
"package.json",
"LICENSE",
"README.md",
"CHANGELOG.md",
"lib",
"!lib/**/*.test.js",
"!lib/**/*.test.d.ts",
"!lib/**/*.test.d.ts.map",
"!lib/**/*.test.js.map",
"!lib/tests",
"!.tsbuildinfo"
],
"scripts": {
"ci:release": "yarn ci release --prefix github-v",
"ci:git-tag": "yarn ci git-tag --prefix github-v",
Expand Down
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3234,6 +3234,7 @@ __metadata:
resolution: "@wroud/_aggregate@workspace:packages/_aggregate"
dependencies:
"@wroud/ci": "workspace:*"
"@wroud/conventional-commits-bump": "workspace:^"
"@wroud/conventional-commits-changelog": "workspace:*"
"@wroud/conventional-commits-parser": "workspace:*"
"@wroud/di": "workspace:*"
Expand Down Expand Up @@ -3284,7 +3285,7 @@ __metadata:
languageName: unknown
linkType: soft

"@wroud/conventional-commits-bump@workspace:*, @wroud/conventional-commits-bump@workspace:packages/conventional-commits-bump":
"@wroud/conventional-commits-bump@workspace:*, @wroud/conventional-commits-bump@workspace:^, @wroud/conventional-commits-bump@workspace:packages/conventional-commits-bump":
version: 0.0.0-use.local
resolution: "@wroud/conventional-commits-bump@workspace:packages/conventional-commits-bump"
dependencies:
Expand Down

0 comments on commit f925937

Please sign in to comment.