Skip to content

Commit

Permalink
chore(release): 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Aug 19, 2023
1 parent dd4b32d commit eb6b0f7
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.1

- Proper versioning

## 0.1.0

- London Studios SmartSigns support.
Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,22 @@ SnailyCAD Live Map integration for FiveM.

- https://github.com/TGRHavoc/live_map
- https://vespura.com/fivem/weapons/

## Developer Docs

### Source code installation

> **Warning**
> This is only for developers who want to contribute to the project.
1. Clone the repository: `git clone https://github.com/SnailyCAD/live-map.git`.
2. Install dependencies: `pnpm install`.
3. Copy `.env.example` to `.env` and enter your FXServer path.
4. Run the dev command `pnpm run dev`. This will listen for changes and automatically update the files in your FXServer.
5. Manually run `restart <resource>` in your FXServer console to restart the resource.

### Publishing

1. Run the bump releases script: `node scripts/bump-version.mjs <version-here>`.
2. Commit the changes: `git commit -am "chore(release): <version-here>`.
3. Push the changes: `git push`.
2 changes: 1 addition & 1 deletion integration/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ game "gta5"

author "Dev-CasperTheGhost"
description "SnailyCAD Live Map integration for FiveM."
version "0.0.10"
version "0.1.1"

client_scripts {"client/client.js"}
server_scripts {"server/server.js"}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@snailycad/live-map",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"author": {
"name": "Casper Iversen",
Expand Down Expand Up @@ -46,4 +46,4 @@
"printWidth": 100,
"tabWidth": 2
}
}
}
2 changes: 1 addition & 1 deletion scripts/bump-version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as path from "node:path";
const BASE_PATH = path.resolve(process.cwd(), "integration");

const [, , version] = process.argv;
const FX_VERSION_REGEX = /version "[0-9].[0-9].[0-9]"/;
const FX_VERSION_REGEX = /version "[0-9].[0-9]+.[0-9]+"/;

if (!version) {
throw new Error("Must specify a new version.");
Expand Down

0 comments on commit eb6b0f7

Please sign in to comment.