hackmud-script-manager 0.20.2 → 0.20.3-048bd2b

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/README.md +7 -0
  2. package/bin/hsm.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -10,6 +10,13 @@ Command made for [hackmud-environment](https://github.com/samualtnorman/hackmud-
10
10
  2. Name your source script file to `<name>.src.js`
11
11
  3. Run `hsm golf <name>.src.js` and it will create a minified script file called `<name>.js`
12
12
 
13
+ > [!NOTE]
14
+ > If you get an error message that looks like this:
15
+ > ```
16
+ > [...]\AppData\Local\pnpm\hsm.ps1 cannot be loaded because running scripts is disabled on this system. [...]
17
+ > ```
18
+ > You will need to run `Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser` in PowerShell as an administrator. For more information, see [Microsoft's page about Execution Policies](https://learn.microsoft.com/en-gb/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.4).
19
+
13
20
  ## Features
14
21
  - Minification
15
22
  - This includes auto quine cheating.
package/bin/hsm.js CHANGED
@@ -12,7 +12,7 @@ import { pull } from "../pull.js"
12
12
  import { syncMacros } from "../syncMacros.js"
13
13
  import "@samual/lib/readDirectoryWithStats"
14
14
  import "@samual/lib/copyFilePersistent"
15
- const version = "0.20.2",
15
+ const version = "0.20.3-048bd2b",
16
16
  options = new Map(),
17
17
  commands = [],
18
18
  userColours = new Cache(user => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hackmud-script-manager",
3
- "version": "0.20.2",
3
+ "version": "0.20.3-048bd2b",
4
4
  "description": "Script manager for game hackmud, with minification, TypeScript support, and player script type definition generation.",
5
5
  "keywords": [
6
6
  "api",