Skip to content

Commit 906e5bb

Browse files
Update workflows and dependencies
1 parent b4ed464 commit 906e5bb

26 files changed

Lines changed: 10862 additions & 2158 deletions

File tree

.github/workflows/gh-pages-upload.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,15 @@ jobs:
3737
with:
3838
bun-version: latest
3939

40+
- name: Setup pnpm
41+
uses: pnpm/action-setup@v4
42+
4043
- name: Setup Pages
4144
uses: actions/configure-pages@v5
4245

4346
- name: Install dependencies
44-
run: bun --filter @proicons/site add proicons @proicons/vue
45-
- run: bun install --frozen-lockfile
47+
run: pnpm --filter @proicons/site add proicons @proicons/vue
48+
- run: pnpm install --frozen-lockfile
4649

4750
# - name: Build with Jekyll
4851
# uses: actions/jekyll-build-pages@v1

.github/workflows/publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,23 @@ jobs:
2727
uses: oven-sh/setup-bun@v2
2828
with:
2929
bun-version: latest
30-
scope: '@proicons'
31-
registry-url: 'https://registry.npmjs.org'
30+
registries: '@proicons:https://registry.npmjs.org'
31+
32+
- name: Setup pnpm
33+
uses: pnpm/action-setup@v4
3234

3335
- name: Install dependencies
3436
run: |
35-
bun install --frozen-lockfile
37+
pnpm install --frozen-lockfile
3638
3739
- name: Bump version
3840
run: |
3941
bash ./bin/bumpVersion.sh $VERSION
4042
4143
- name: Build packages
4244
run: |
43-
pnpm run ci
44-
bun --filter './packages/*' run ci
45+
pnpm --filter './packages/*' run ci
4546
4647
- name: Publish to NPM
4748
run: |
48-
bun publish --no-git-checks
49-
bun --filter './packages/*' publish --no-git-checks
49+
pnpm --filter './packages/*' publish --no-git-checks

bin/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ async function buildModules() {
215215
}
216216

217217
async function run() {
218+
// TODO: check that package.json version has been bumped from latest published
218219
console.time('Build time')
219220
if (args.optimizeOnly) {
220221
await optimizeIcons()

bin/bumpVersion.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ PROICONS_ROOT="$(realpath "$SCRIPT/..")"
66

77
source "$PROICONS_ROOT/bin/helpers/utils.sh"
88

9-
packages=("$PROICONS_ROOT/packages/"* "$PROICONS_ROOT")
109
package_names=()
1110

1211
new_version=$1
@@ -15,7 +14,7 @@ if [[ -z $new_version ]]; then
1514
error "Error: A version is required"
1615
fi
1716

18-
for package in "${packages[@]}"; do
17+
for package in "$PROICONS_ROOT/packages/"*; do
1918
name=$(basename "$package")
2019
package_names+=("${name},")
2120
(

bun.lock

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

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "proicons",
2+
"name": "@proicons/proicons",
33
"version": "4.13.1",
44
"description": "A collection of 500+ modern and open-source icons",
55
"homepage": "https://github.com/ProCode-Software/proicons",
@@ -15,6 +15,7 @@
1515
"site"
1616
],
1717
"type": "module",
18+
"private": true,
1819
"scripts": {
1920
"all:build-modules": "pnpm -r run icons:build-modules",
2021
"icons:build": "pnpm run --no-deprecation ./bin/build.ts",
@@ -38,21 +39,20 @@
3839
"@proicons/svgo-plugins": "workspace:*",
3940
"@twbs/fantasticon": "^3.1.0",
4041
"@types/bun": "latest",
41-
"@typescript/native-preview": "7.0.0-dev.20250723.1",
4242
"ansi-colors": "^4.1.3",
4343
"axios": "^1.13.2",
4444
"form-data": "^4.0.5",
4545
"jsdom": "^27.4.0",
4646
"oslllo-svg-fixer": "^5.0.0",
4747
"oxfmt": "^0.24.0",
4848
"piscina": "^5.1.4",
49-
"prettier": "^3.7.4",
49+
"prettier": "^3.8.0",
5050
"prettier-plugin-svelte": "^3.4.1",
5151
"progress": "^2.0.3",
5252
"sharp": "^0.34.5",
5353
"svgo": "^4.0.0",
54-
"typescript": "^7.0.0-dev.20260111.1",
55-
"vite": "npm:rolldown-vite@latest"
54+
"typescript": "npm:@typescript/native-preview@7.0.0-dev.20260118.1",
55+
"vite": "npm:rolldown-vite@^7.3.1"
5656
},
5757
"overrides": {
5858
"rolldown": "latest",

packages/proicons-react/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@
4343
"react"
4444
],
4545
"devDependencies": {
46-
"@types/react": "^19.1.13",
47-
"@types/react-dom": "^19.1.9",
48-
"@vitejs/plugin-react-swc": "^3.11.0",
46+
"@proicons/shared": "workspace:*",
47+
"@types/react": "^19.2.8",
48+
"@types/react-dom": "^19.2.3",
4949
"@typescript/native-preview": "7.0.0-dev.20250723.1",
50-
"react": "^19.2.0",
51-
"react-dom": "^19.2.0",
50+
"@vitejs/plugin-react-swc": "^3.11.0",
51+
"react": "^19.2.3",
52+
"react-dom": "^19.2.3",
5253
"typescript": "^5.9.3",
53-
"vite": "npm:rolldown-vite@^7.1.13",
54-
"@proicons/shared": "workspace:*"
54+
"vite": "npm:rolldown-vite@^7.3.1"
5555
},
5656
"peerDependencies": {
5757
"react": "^19.2.0"

0 commit comments

Comments
 (0)