Skip to content

chore!: do not export mixins anymore #6790

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

Merged
merged 1 commit into from
Apr 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ Especially the following are now provided as composables:
- `isFullscreen` is now provided as `useIsFullscreen`
- `isMobile` is now provided as `useIsMobile` and `isMobileState` was removed.

The `richEditing` mixin can be replaced by just using the `NcRichText` component.

#### Other breaking changes
- `NcAppSidebar`
- The `closing` and `opening` events were removed.
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@
"./functions/*": {
"types": "./dist/functions/*/index.d.ts",
"import": "./dist/functions/*/index.mjs"
},
"./mixins/*": {
"types": "./dist/mixins/*/index.d.ts",
"import": "./dist/mixins/*/index.mjs"
}
},
"files": [
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ export * from './components/index'
export * from './composables/index.js'
export * from './functions/index.ts'
export * from './directives/index.js'
export * from './mixins/index.js'
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const SCOPE_VERSION = JSON.stringify(versionHash)

// Entry points which we build using vite
const entryPoints = {
...globSync('src/@(components|composables|directives|functions|mixins)/*/index.@(js|ts)')
...globSync('src/@(components|composables|directives|functions)/*/index.@(js|ts)')
.reduce((acc, item) => {
const name = item
.replace('src/', '')
Expand Down
Loading