Skip to content

Commit

Permalink
version 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
p4535992 committed Apr 30, 2024
1 parent e3655fc commit 35f4c71
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 11 deletions.
48 changes: 43 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,6 @@ npm install
npm run dev
```

## npm build scripts

### build

`build` will build and set up a symlink between `dist` and your `dataPath`.
Expand All @@ -304,12 +302,12 @@ npm run dev
npm run build
```

### build-watch
### build:watch

`build-watch` will build and watch for changes, rebuilding automatically.
`build:watch` will build and watch for changes, rebuilding automatically.

```bash
npm run build-watch
npm run build:watch
```

### prettier-format
Expand All @@ -320,6 +318,46 @@ npm run build-watch
npm run-script prettier-format
```

### lint

`lint` launch the eslint process based on the configuration [here](./.eslintrc.json)

```bash
npm run-script lint
```

### lint:fix

`lint:fix` launch the eslint process with the fix argument

```bash
npm run-script lint:fix
```

### build:json

`build:json` unpack LevelDB pack on `src/packs` to the json db sources in `src/packs/_source`very useful for backup your items and manually fix some hard issue with some text editor

```bash
npm run-script build:json
```

### build:clean

`build:clean` clean packs json sources in `src/packs/_source`. NOTE: usually this command is launched after the command `build:json` and after make some modifications on the json source files with some text editor, but before the `build:db`

```bash
npm run-script build:clean
```

### build:db

`build:db` packs the json db sources in `src/packs/_source` to LevelDB pack on `src/packs` with the new jsons. NOTE: usually this command is launched after the command `build:json` and after make some modifications on the json source files with some text editor

```bash
npm run-script build:db
```

## [Changelog](./changelog.md)

## Issues
Expand Down
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

- Bug fix: https://github.com/p4535992/foundryvtt-arms-reach/issues/92 ty very much to @Saibot393 for the math and the contribution
- Bug fix: https://github.com/p4535992/foundryvtt-arms-reach/issues/90
- Try to fix: https://github.com/p4535992/foundryvtt-arms-reach/issues/91
- Bug fix: https://github.com/p4535992/foundryvtt-arms-reach/issues/91


### 2.4.0 [BREAKING CHANGES]
Expand Down
7 changes: 3 additions & 4 deletions src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "arms-reach",
"title": "Arms Reach",
"description": "Allows the GM to limit the distance that a player can interacted with a placeable object like door, journal, stairway, token, ecc..",
"version": "2.4.0",
"version": "2.4.1",
"authors": [
{
"name": "Psyny"
Expand Down Expand Up @@ -89,10 +89,9 @@
"verified": 11,
"maximum": 11
},
"manifestPlusVersion": "1.2.1",
"url": "https://github.com/p4535992/foundryvtt-arms-reach",
"manifest": "https://github.com/p4535992/foundryvtt-arms-reach/releases/download/2.4.0/module.json",
"download": "https://github.com/p4535992/foundryvtt-arms-reach/releases/download/2.4.0/module.zip",
"manifest": "https://github.com/p4535992/foundryvtt-arms-reach/releases/download/2.4.1/module.json",
"download": "https://github.com/p4535992/foundryvtt-arms-reach/releases/download/2.4.1/module.zip",
"readme": "https://github.com/p4535992/foundryvtt-arms-reach/blob/main/README.md",
"changelog": "https://github.com/p4535992/foundryvtt-arms-reach/blob/main/changelog.md",
"bugs": "https://github.com/p4535992/foundryvtt-arms-reach/issues",
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ export const readyHooks = async () => {
characterToken,
sourceData,
0,
userId,
false,
userId,
);
if (!doNotReselectIfGM) {
reselectTokenAfterInteraction(tokenSelected);
Expand Down

0 comments on commit 35f4c71

Please sign in to comment.