mirror of
https://github.com/directus/directus.git
synced 2026-01-24 01:48:01 -05:00
Mark shared packages as side effects free (#18365)
* Mark the constant and utils packages as side effects free * Add changeset * mark composables as side effect free * mark exceptions package as side effects free * updated changeset --------- Co-authored-by: Brainslug <tim@brainslug.nl>
This commit is contained in:
committed by
GitHub
parent
fc15ea0d65
commit
1d7eec9795
8
.changeset/loud-otters-destroy.md
Normal file
8
.changeset/loud-otters-destroy.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
'@directus/constants': patch
|
||||
'@directus/utils': patch
|
||||
'@directus/composables': patch
|
||||
'@directus/exceptions': patch
|
||||
---
|
||||
|
||||
Marked the `constant`, `utils`, `composables` and `exceptions` packages as side effects free to shrink size of API extensions using Typescript
|
||||
@@ -2,6 +2,7 @@
|
||||
"name": "@directus/composables",
|
||||
"version": "10.0.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"build": "tsc --build",
|
||||
"dev": "tsc --watch",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"name": "@directus/constants",
|
||||
"version": "10.0.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"build": "tsc --build",
|
||||
"dev": "tsc --watch"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"name": "@directus/exceptions",
|
||||
"version": "10.0.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"build": "tsc --build",
|
||||
"dev": "tsc --watch",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"name": "@directus/utils",
|
||||
"version": "10.0.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"build": "tsc --project browser/tsconfig.json && tsc --project node/tsconfig.json && tsc --project shared/tsconfig.json",
|
||||
"dev": "concurrently \"tsc --watch --project browser/tsconfig.json\" \"tsc --watch --project node/tsconfig.json\" \"tsc --watch --project shared/tsconfig.json\"",
|
||||
|
||||
Reference in New Issue
Block a user