Skip to content

Commit a313e60

Browse files
authored
Merge pull request #284 from qualcomm/feature/vite-build-tooling
feature/vite-build-tooling
2 parents a8926f9 + 9c80399 commit a313e60

108 files changed

Lines changed: 1384 additions & 2159 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/common/core/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @qualcomm-ui/core Changelog
22

3+
## 1.11.3
4+
5+
Jun 3rd, 2026
6+
7+
### Miscellaneous Chores
8+
9+
- clean up dependencies and remove legacy build scripts ([961e1bb](https://github.com/qualcomm/qualcomm-ui/commit/961e1bb))
10+
- migrate to vite for library bundling ([2216473](https://github.com/qualcomm/qualcomm-ui/commit/2216473))
11+
- **deps:** update dependencies [@qualcomm-ui/dom, @qualcomm-ui/utils]
12+
313
## 1.11.2
414

515
Jun 1st, 2026

packages/common/core/build.ts

Lines changed: 0 additions & 91 deletions
This file was deleted.

packages/common/core/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qualcomm-ui/core",
3-
"version": "1.11.2",
3+
"version": "1.11.3",
44
"description": "core components",
55
"author": "Ryan Bower",
66
"license": "BSD-3-Clause-Clear",
@@ -24,10 +24,10 @@
2424
"scripts": {
2525
"build": "run-s clean build:js build:ts",
2626
"clean": "shx rm -rf dist/tsbuildinfo dist/**/*.js dist/**/*.cjs dist/**/*.mjs dist/**/*.js.map",
27-
"build:js": "tsx build.ts",
27+
"build:js": "vite build",
2828
"build:ts": "tsc -b tsconfig.lib.json",
2929
"dev": "run-p watch:js watch:ts",
30-
"watch:js": "tsx build.ts --watch",
30+
"watch:js": "vite build -w",
3131
"watch:ts": "pnpm build:ts -w --preserveWatchOutput",
3232
"lint": "eslint --quiet",
3333
"test": "vitest -c vitest.config.ts --run",
@@ -43,22 +43,22 @@
4343
"@internationalized/number": "^3.6.4",
4444
"@qualcomm-ui/cli": "catalog:",
4545
"@qualcomm-ui/css-utils": "catalog:",
46-
"@qualcomm-ui/dom": "workspace:^1.1.2",
47-
"@qualcomm-ui/esbuild": "catalog:",
46+
"@qualcomm-ui/dom": "workspace:^1.1.3",
4847
"@qualcomm-ui/tsconfig": "catalog:",
49-
"@qualcomm-ui/utils": "workspace:^1.3.0",
48+
"@qualcomm-ui/utils": "workspace:^1.3.1",
49+
"@qualcomm-ui/vite": "catalog:",
5050
"@types/node": "catalog:",
5151
"@vitest/coverage-v8": "catalog:",
5252
"@vitest/ui": "catalog:",
53-
"esbuild": "catalog:",
5453
"shx": "catalog:",
5554
"tsx": "catalog:",
5655
"typescript": "catalog:",
56+
"vite": "catalog:",
5757
"vitest": "catalog:"
5858
},
5959
"peerDependencies": {
6060
"@internationalized/number": ">=3.6.4",
61-
"@qualcomm-ui/dom": "workspace:^1.1.2",
62-
"@qualcomm-ui/utils": "workspace:^1.3.0"
61+
"@qualcomm-ui/dom": "workspace:^1.1.3",
62+
"@qualcomm-ui/utils": "workspace:^1.3.1"
6363
}
6464
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import {defineConfig} from "vite"
2+
3+
import {dependenciesToExternal, libraryEntriesPlugin} from "@qualcomm-ui/vite"
4+
5+
export default defineConfig({
6+
build: {
7+
emptyOutDir: false,
8+
lib: {
9+
entry: {},
10+
formats: ["es"],
11+
},
12+
rolldownOptions: {
13+
external: [...(await dependenciesToExternal()), /^@qualcomm-ui\//],
14+
output: {
15+
entryFileNames: "[name].js",
16+
minify: {
17+
mangle: {
18+
keepNames: true,
19+
},
20+
},
21+
},
22+
},
23+
sourcemap: true,
24+
},
25+
plugins: [libraryEntriesPlugin()],
26+
})

packages/common/dom/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @qualcomm-ui/dom Changelog
22

3+
## 1.1.3
4+
5+
Jun 3rd, 2026
6+
7+
### Miscellaneous Chores
8+
9+
- clean up dependencies and remove legacy build scripts ([961e1bb](https://github.com/qualcomm/qualcomm-ui/commit/961e1bb))
10+
- migrate to vite for library bundling ([2216473](https://github.com/qualcomm/qualcomm-ui/commit/2216473))
11+
- **deps:** update dependencies [@qualcomm-ui/utils]
12+
313
## 1.1.2
414

515
May 14th, 2026

packages/common/dom/build.ts

Lines changed: 0 additions & 68 deletions
This file was deleted.

packages/common/dom/package.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qualcomm-ui/dom",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "DOM utilities and helpers.",
55
"author": "Ryan Bower",
66
"license": "BSD-3-Clause-Clear",
@@ -19,17 +19,16 @@
1919
"./*": {
2020
"types": "./dist/*/index.d.ts",
2121
"import": "./dist/*/index.js",
22-
"require": "./dist/*/index.cjs",
2322
"default": "./dist/*/index.js"
2423
}
2524
},
2625
"scripts": {
2726
"build": "run-s clean build:js build:ts",
2827
"clean": "shx rm -rf dist/tsbuildinfo dist/**/*.js dist/**/*.cjs dist/**/*.mjs dist/**/*.js.map",
29-
"build:js": "tsx build.ts",
28+
"build:js": "vite build",
3029
"build:ts": "tsc -b tsconfig.lib.json",
3130
"dev": "run-p watch:js watch:ts",
32-
"watch:js": "tsx build.ts --watch",
31+
"watch:js": "vite build -w",
3332
"watch:ts": "pnpm build:ts -w --preserveWatchOutput",
3433
"lint": "eslint --quiet",
3534
"prepublishOnly": "qui-cli pre-publish",
@@ -38,17 +37,17 @@
3837
"devDependencies": {
3938
"@floating-ui/dom": "^1.7.0",
4039
"@qualcomm-ui/cli": "catalog:",
41-
"@qualcomm-ui/esbuild": "catalog:",
4240
"@qualcomm-ui/tsconfig": "catalog:",
43-
"@qualcomm-ui/utils": "workspace:^1.3.0",
41+
"@qualcomm-ui/utils": "workspace:^1.3.1",
42+
"@qualcomm-ui/vite": "catalog:",
4443
"@types/node": "catalog:",
45-
"esbuild": "catalog:",
4644
"shx": "catalog:",
4745
"tsx": "catalog:",
48-
"typescript": "catalog:"
46+
"typescript": "catalog:",
47+
"vite": "catalog:"
4948
},
5049
"peerDependencies": {
5150
"@floating-ui/dom": ">=1.7.0",
52-
"@qualcomm-ui/utils": "workspace:^1.3.0"
51+
"@qualcomm-ui/utils": "workspace:^1.3.1"
5352
}
5453
}

packages/common/dom/tsconfig.node.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"compilerOptions": {
44
"composite": true,
55
},
6-
"include": ["build.ts"]
6+
"include": ["*.ts"]
77
}

packages/common/dom/vite.config.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import {defineConfig} from "vite"
2+
3+
import {dependenciesToExternal, libraryEntriesPlugin} from "@qualcomm-ui/vite"
4+
5+
export default defineConfig({
6+
build: {
7+
emptyOutDir: false,
8+
lib: {
9+
entry: {},
10+
formats: ["es"],
11+
},
12+
rolldownOptions: {
13+
external: [...(await dependenciesToExternal()), /^@qualcomm-ui\//],
14+
output: {
15+
entryFileNames: "[name].js",
16+
minify: true,
17+
},
18+
},
19+
sourcemap: true,
20+
},
21+
plugins: [libraryEntriesPlugin()],
22+
})

packages/common/mdx-common/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @qualcomm-ui/mdx-common Changelog
22

3+
## 2.4.1
4+
5+
Jun 3rd, 2026
6+
7+
### Miscellaneous Chores
8+
9+
- clean up dependencies and remove legacy build scripts ([961e1bb](https://github.com/qualcomm/qualcomm-ui/commit/961e1bb))
10+
- migrate to vite for library bundling ([2216473](https://github.com/qualcomm/qualcomm-ui/commit/2216473))
11+
- **deps:** update dependencies [@qualcomm-ui/typedoc-common]
12+
313
## 2.4.0
414

515
May 14th, 2026

0 commit comments

Comments
 (0)