Skip to content

Commit

Permalink
chore: restrict packaged files (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjastrzebski authored Oct 30, 2024
1 parent dd363b8 commit c9f00a5
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 12 deletions.
9 changes: 8 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@
"name": "@callstack/byorg-core",
"version": "0.1.0",
"type": "module",
"license": "MIT",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist",
"CHANGELOG.md",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"build": "rslib build",
"typecheck": "tsc --noEmit",
Expand All @@ -22,7 +30,6 @@
"peerDependencies": {
"zod": "catalog:"
},
"license": "MIT",
"devDependencies": {
"@microsoft/api-extractor": "catalog:",
"@rslib/core": "catalog:",
Expand Down
7 changes: 7 additions & 0 deletions packages/discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist",
"CHANGELOG.md",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"build": "rslib build",
"typecheck": "tsc --noEmit"
Expand Down
11 changes: 9 additions & 2 deletions packages/document-loaders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@
"name": "@callstack/document-loaders",
"version": "0.1.0",
"type": "module",
"license": "MIT",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist",
"CHANGELOG.md",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"build": "rslib build",
"typecheck": "tsc --noEmit"
Expand All @@ -27,6 +35,5 @@
"@types/lodash": "^4.17.9",
"@types/markdown-table": "2.0.0",
"jest": "^29.7.0"
},
"license": "MIT"
}
}
17 changes: 12 additions & 5 deletions packages/slack-rich-text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@
"name": "@callstack/slack-rich-text",
"version": "0.1.0",
"type": "module",
"license": "MIT",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist",
"CHANGELOG.md",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"build": "rslib build",
"typecheck": "tsc --noEmit"
Expand All @@ -14,12 +22,11 @@
"date-fns": "^3.6.0",
"marked": "^14.0.0"
},
"devDependencies": {
"@microsoft/api-extractor": "catalog:",
"@rslib/core": "catalog:"
},
"peerDependencies": {
"@slack/web-api": "^6.11.2"
},
"license": "MIT"
"devDependencies": {
"@microsoft/api-extractor": "catalog:",
"@rslib/core": "catalog:"
}
}
11 changes: 9 additions & 2 deletions packages/slack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@
"name": "@callstack/byorg-slack",
"version": "0.1.0",
"type": "module",
"license": "MIT",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist",
"CHANGELOG.md",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"build": "rslib build",
"typecheck": "tsc --noEmit"
Expand All @@ -21,6 +29,5 @@
"devDependencies": {
"@microsoft/api-extractor": "catalog:",
"@rslib/core": "catalog:"
},
"license": "MIT"
}
}
11 changes: 9 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@
"name": "@callstack/byorg-utils",
"version": "0.1.0",
"type": "module",
"license": "MIT",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist",
"CHANGELOG.md",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"build": "rslib build",
"typecheck": "tsc --noEmit"
Expand All @@ -13,6 +21,5 @@
"devDependencies": {
"@microsoft/api-extractor": "catalog:",
"@rslib/core": "catalog:"
},
"license": "MIT"
}
}

0 comments on commit c9f00a5

Please sign in to comment.