Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish all types from packages/* #18211

Merged
merged 6 commits into from Apr 17, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 1 addition & 8 deletions .editorconfig
Expand Up @@ -7,12 +7,5 @@ charset = utf-8
indent_style = tab
trim_trailing_whitespace = true

[{package.json,*.yml,*.yaml}]
[*.{yml,yaml}]
indent_style = space
indent_size = 2
hanneskuettner marked this conversation as resolved.
Show resolved Hide resolved

[Dockerfile]
indent_style = tab

[Makefile]
indent_style = tab
1 change: 0 additions & 1 deletion .prettierrc.js
Expand Up @@ -2,6 +2,5 @@ module.exports = {
htmlWhitespaceSensitivity: 'ignore',
printWidth: 120,
singleQuote: true,
useTabs: true,
paescuj marked this conversation as resolved.
Show resolved Hide resolved
proseWrap: 'always',
};
3 changes: 2 additions & 1 deletion packages/composables/package.json
Expand Up @@ -22,7 +22,8 @@
},
"main": "dist/index.js",
"files": [
"dist"
"dist",
"!**/*.test.{js,d.ts}"
],
"publishConfig": {
"access": "public"
Expand Down
3 changes: 1 addition & 2 deletions packages/constants/package.json
Expand Up @@ -21,8 +21,7 @@
},
"main": "dist/index.js",
"files": [
"dist",
"!**/*.d.ts?(.map)"
"dist"
],
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/exceptions/package.json
Expand Up @@ -23,7 +23,7 @@
"main": "dist/index.js",
"files": [
"dist",
"!**/*.d.ts?(.map)"
"!**/*.test.{js,d.ts}"
],
"publishConfig": {
"access": "public"
Expand Down
3 changes: 1 addition & 2 deletions packages/extensions-sdk/package.json
Expand Up @@ -20,14 +20,13 @@
"./package.json": "./package.json"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"directus-extension": "cli.js"
},
"files": [
"dist",
"templates",
"!**/*.d.ts.map"
"!**/*.test.{js,d.ts}"
],
"scripts": {
"build": "tsc --build",
Expand Down
4 changes: 2 additions & 2 deletions packages/schema/package.json
Expand Up @@ -34,9 +34,9 @@
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
"dist",
"!**/*.test.{js,d.ts}"
paescuj marked this conversation as resolved.
Show resolved Hide resolved
],
"scripts": {
"build": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/package.json
Expand Up @@ -23,7 +23,7 @@
"main": "dist/index.js",
"files": [
"dist",
"!**/*.d.ts?(.map)"
"!**/*.test.{js,d.ts}"
],
"publishConfig": {
"access": "public"
Expand Down
3 changes: 1 addition & 2 deletions packages/types/package.json
Expand Up @@ -21,8 +21,7 @@
},
"main": "dist/index.js",
"files": [
"dist",
"!**/*.d.ts?(.map)"
"dist"
],
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Expand Up @@ -34,7 +34,7 @@
"main": "dist/shared/index.js",
"files": [
"dist",
"!**/*.d.ts?(.map)"
"!**/*.test.{js,d.ts}"
],
"publishConfig": {
"access": "public"
Expand Down