@flux-ui/dashboard 3.0.0-next.7 → 3.0.0-next.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -40
  2. package/package.json +10 -11
package/README.md CHANGED
@@ -1,45 +1,16 @@
1
- # Flux
1
+ # `@flux-ui/dashboard`
2
2
 
3
- This repository contains the source code for the basic components that are used throughout our front-end projects. It
4
- targets Vue 3+. Please read the following instructions and checks in order to proceed.
3
+ Contains Flux UI components for creating dashboards.
5
4
 
6
- ## 📦 Registry
5
+ ## ⭐️ Prerequisites
7
6
 
8
- - The UI library package is available under `@flux-ui/components`.
9
- - The Dashboard library package is available under `@flux-ui/dashboard`.
10
- - The internal package is available under `@flux-ui/internals`.
7
+ - Bun >= 1.2.13
8
+ - Node >= 23
11
9
 
12
- ## ⚠️ Requirements
10
+ ## 🚀 Getting started
13
11
 
14
- - Install Node.js ^22
15
- - Install pnpm using `npm i -g pnpm`.
16
- - Configure a new environment variable `FONTAWESOME_NPM_AUTH_TOKEN`. This should be a valid Font Awesome private npm auth token.
17
- - Use `pnpm install` to install the required packages.
18
- - Use `pnpm dev` to start a build watcher for both targets.
19
- - Use `pnpm build` to build a production bundle.
20
- - Use `pnpm link` to link the dist folder of flux to your global node_modules.
21
-
22
- ## 🪵 Git
23
-
24
- All commit messages and branches will be in English.
25
-
26
- ### Branches
27
-
28
- - **Main** — Contains the latest stable release and is the exact source that is running in production.
29
- - **Develop** — Contains the latest staging release that is marked for deployment and is the exact source that is running on staging.
30
- - **Feature branches** — Any feature should have its own feature branch. Once complete, the branch should be merged into the _develop_ branch and the feature branch should be deleted.
31
- - **Bugfix branches** — When a bug is found, it should be fixed within a bugfix branch. Once complete the branch should be merged into the _develop_ branch and the feature branch should be deleted.
32
-
33
- ### Commit messages
34
-
35
- Commit messages are bound to the following templates:
36
-
37
- - `<type>: <message> `
38
- - `<type>(<feature>): <message>`
39
- - `<type>(<feature>): <message> [<issue-number>]`
40
-
41
- #### Examples
42
-
43
- - `feat(expandable): adds header slot to expandable.`
44
- - `feat(expandable): adds header slot to expandable. [FLUX-123]`
45
- - `chore: adds vue 3 build target.`
12
+ 1. Make sure that the monorepo of Flux is used.
13
+ 2. Run `bun install` in the root of the project.
14
+ 3. Run `bun --cwd packages/dashboard build` to build the project.
15
+ 4. To link Flux Dashboard globally, using Bun, run `bun link --cwd packages/dashboard`.
16
+ - In another project, use `link:@flux-ui/dashboard` as the dependency version in `package.json`.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flux-ui/dashboard",
3
3
  "description": "Contains components to create dashboards with Flux UI.",
4
- "version": "3.0.0-next.7",
4
+ "version": "3.0.0-next.9",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/basmilius",
@@ -24,8 +24,7 @@
24
24
  ],
25
25
  "scripts": {
26
26
  "build": "vue-tsc && vite build",
27
- "dev": "vite build --watch",
28
- "prepublishOnly": "cp ../../README.md ."
27
+ "dev": "vite build --watch"
29
28
  },
30
29
  "engines": {
31
30
  "node": ">=23"
@@ -52,17 +51,17 @@
52
51
  "typings": "./dist/index.d.ts",
53
52
  "sideEffects": false,
54
53
  "dependencies": {
55
- "@flux-ui/components": "3.0.0-next.7",
56
- "@flux-ui/internals": "3.0.0-next.7",
57
- "vue": "^3.5.13"
54
+ "@flux-ui/components": "3.0.0-next.9",
55
+ "@flux-ui/internals": "3.0.0-next.9",
56
+ "vue": "^3.5.14"
58
57
  },
59
58
  "devDependencies": {
60
- "@basmilius/vite-preset": "^2.1.0",
61
- "@types/node": "^22.15.3",
62
- "@vitejs/plugin-vue": "^5.2.3",
63
- "sass-embedded": "^1.87.0",
59
+ "@basmilius/vite-preset": "^2.3.0",
60
+ "@types/node": "^22.15.18",
61
+ "@vitejs/plugin-vue": "^5.2.4",
62
+ "sass-embedded": "^1.88.0",
64
63
  "typescript": "^5.8.3",
65
- "vite": "^6.3.3",
64
+ "vite": "^6.3.5",
66
65
  "vue-tsc": "^2.2.10"
67
66
  }
68
67
  }