quiz45 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.gitattributes ADDED
@@ -0,0 +1,2 @@
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
@@ -0,0 +1,31 @@
1
+ name: Publish to npm
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*.*.*' # Only publish on version tags
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Checkout repo
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: 20
20
+ registry-url: https://registry.npmjs.org/
21
+
22
+ - name: Install dependencies
23
+ run: npm ci
24
+
25
+ - name: Run tests
26
+ run: npm test
27
+
28
+ - name: Publish
29
+ run: npm publish
30
+ env:
31
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/index.html CHANGED
@@ -66,8 +66,8 @@ window.eaglercraftXOpts = {
66
66
  hideAddr: true,
67
67
  },
68
68
  {
69
- addr: "wss://mc.sealcentral.co",
70
- name: "§c§lBarry Plays here, xxx_unknown on anarchy²§r",
69
+ addr: "wss://eagler.noBnoT.org",
70
+ name: "§c§lanarchy noBnoT²§r",
71
71
  hideAddr: true,
72
72
  }
73
73
  ]
@@ -393,7 +393,7 @@ document.addEventListener('keydown', (e) => {
393
393
  if (zCount >= 5) {
394
394
  zCount = 0;
395
395
  clearTimeout(zTimer);
396
- window.location.href = 'https://unpkg.dev/quiz45@latest/tuff';
396
+ window.location.href = 'https://unpkg.dev/quiz45@latest/tuff.html';
397
397
  // Visual feedback
398
398
  alert('Redirect to Tuff Client.');
399
399
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "quiz45",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "unpkg": "index.html"
5
5
  }
package/script.js DELETED
File without changes