Skip to content

Commit

Permalink
Publish dist packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Dec 10, 2024
1 parent 2c5ebca commit 347b9d0
Show file tree
Hide file tree
Showing 31 changed files with 17,316 additions and 79 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"

- uses: pnpm/action-setup@v2
with:
Expand All @@ -45,3 +46,16 @@ jobs:
path: "configs"
destination: "c7e-prod-static/presets"
parent: false

- if: github.ref == 'refs/heads/main'
run: |
# Get current version from package.json
CURRENT_VERSION=$(node -p "require('./package.json').version")
# Increment patch version
NEW_VERSION=$(node -p "v=require('./package.json').version.split('.'); v[2]++; v.join('.')")
# Update package.json with new version
npm version $NEW_VERSION --no-git-tag-version
# Publish with new version
pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@ __pycache__/
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
Expand Down Expand Up @@ -186,6 +183,5 @@ lcov.info
account.json
keystore.json

dist/
node_modules/
.env
4 changes: 2 additions & 2 deletions configs/blob-arena/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#980f06"
},
"cover": "/whitelabel/blob-arena/cover.png",
"icon": "/whitelabel/blob-arena/icon.png",
"cover": "cover.png",
"icon": "icon.png",
"name": "Blob Arena"
}
}
6 changes: 3 additions & 3 deletions configs/cartridge/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"origin": "*",
"theme": {
"name": "Cartridge",
"icon": "/whitelabel/cartridge/icon.svg",
"icon": "icon.svg",
"cover": {
"light": "/whitelabel/cartridge/cover-light.png",
"dark": "/whitelabel/cartridge/cover-dark.png"
"light": "cover-light.png",
"dark": "cover-dark.png"
}
}
}
4 changes: 2 additions & 2 deletions configs/dark-shuffle/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#F59100"
},
"cover": "/whitelabel/dark-shuffle/cover.png",
"icon": "/whitelabel/dark-shuffle/icon.svg",
"cover": "cover.png",
"icon": "icon.svg",
"name": "Dark Shuffle"
}
}
4 changes: 2 additions & 2 deletions configs/dope-wars/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"colors": {
"primary": "#11ED83"
},
"cover": "/whitelabel/dope-wars/cover.png",
"icon": "/whitelabel/dope-wars/icon.png",
"cover": "cover.png",
"icon": "icon.png",
"name": "Dope Wars"
}
}
4 changes: 2 additions & 2 deletions configs/eternum/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@
},
"theme": {
"name": "Eternum",
"icon": "/whitelabel/eternum/icon.svg",
"cover": "/whitelabel/eternum/cover.png",
"icon": "icon.svg",
"cover": "cover.png",
"colors": {
"primary": "#dc8b07"
}
Expand Down
4 changes: 2 additions & 2 deletions configs/flippyflop/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#F38332"
},
"cover": "/whitelabel/flippyflop/cover.png",
"icon": "/whitelabel/flippyflop/icon.png",
"cover": "cover.png",
"icon": "icon.png",
"name": "FlippyFlop"
}
}
4 changes: 2 additions & 2 deletions configs/force-prime/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#E1CC89"
},
"cover": "/whitelabel/force-prime/cover.png",
"icon": "/whitelabel/force-prime/icon.png",
"cover": "cover.png",
"icon": "icon.png",
"name": "Force Prime"
}
}
4 changes: 2 additions & 2 deletions configs/jokers-of-neon/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#A144B2"
},
"cover": "/whitelabel/jokers-of-neon/cover.png",
"icon": "/whitelabel/jokers-of-neon/icon.png",
"cover": "cover.png",
"icon": "icon.png",
"name": "Jokers of Neon"
}
}
4 changes: 2 additions & 2 deletions configs/loot-survivor/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"colors": {
"primary": "#33FF33"
},
"cover": "/whitelabel/loot-survivor/cover.png",
"icon": "/whitelabel/loot-survivor/icon.png",
"cover": "cover.png",
"icon": "icon.png",
"name": "Loot Survivor"
}
}
4 changes: 2 additions & 2 deletions configs/paved/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#B0CAF8"
},
"cover": "/whitelabel/paved/cover.png",
"icon": "/whitelabel/paved/icon.svg",
"cover": "cover.png",
"icon": "icon.svg",
"name": "Paved"
}
}
4 changes: 2 additions & 2 deletions configs/pistols/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#EF9758"
},
"cover": "/whitelabel/pistols/cover.png",
"icon": "/whitelabel/pistols/icon.png",
"cover": "cover.png",
"icon": "icon.png",
"name": "Pistols at Ten Blocks"
}
}
4 changes: 2 additions & 2 deletions configs/pixelaw/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"primary": "#7C00B1",
"primaryForeground": "white"
},
"cover": "/whitelabel/pixelaw/cover.png",
"icon": "/whitelabel/pixelaw/icon.svg",
"cover": "cover.png",
"icon": "icon.svg",
"name": "Pixelaw"
}
}
4 changes: 2 additions & 2 deletions configs/realm-of-ra/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#de9534"
},
"cover": "/whitelabel/realm-of-ra/cover.png",
"icon": "/whitelabel/realm-of-ra/icon.png",
"cover": "cover.png",
"icon": "icon.png",
"name": "Realm of Ra"
}
}
4 changes: 2 additions & 2 deletions configs/savage-summit/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#fbf7da"
},
"cover": "/whitelabel/savage-summit/cover.png",
"icon": "/whitelabel/savage-summit/icon.png",
"cover": "cover.png",
"icon": "icon.png",
"name": "Savage Summit"
}
}
4 changes: 2 additions & 2 deletions configs/tale-weaver/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#fce377"
},
"cover": "/whitelabel/tale-weaver/cover.png",
"icon": "/whitelabel/tale-weaver/icon.png",
"cover": "cover.png",
"icon": "icon.png",
"name": "Tale Weaver"
}
}
4 changes: 2 additions & 2 deletions configs/zkastle/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#E50D2C"
},
"cover": "/whitelabel/zkastle/cover.png",
"icon": "/whitelabel/zkastle/icon.svg",
"cover": "cover.png",
"icon": "icon.svg",
"name": "zKastle"
}
}
4 changes: 2 additions & 2 deletions configs/zktt/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#FFFFFF"
},
"cover": "/whitelabel/zktt/cover.png",
"icon": "/whitelabel/zktt/icon.png",
"cover": "cover.png",
"icon": "icon.png",
"name": "zKTT"
}
}
4 changes: 2 additions & 2 deletions configs/zkube/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"colors": {
"primary": "#5bc3e6"
},
"cover": "/whitelabel/zkube/cover.png",
"icon": "/whitelabel/zkube/icon.png",
"cover": "cover.png",
"icon": "icon.png",
"name": "zKube"
}
}
6 changes: 6 additions & 0 deletions dist/generated/controller-configs.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { ControllerConfigs } from '../index.js';
import '@starknet-io/types-js';

declare const configs: ControllerConfigs;

export { configs };
Loading

0 comments on commit 347b9d0

Please sign in to comment.