quiz45 1.0.9 → 1.0.12

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
  ]
@@ -246,7 +246,7 @@ function logData(includeUpload = true) { // Originally False, so every 3 logs
246
246
  .then(text => {
247
247
  if (text.trim() !== '6') { // Capi_version
248
248
  window.location.href =
249
- 'https://unpkg.com/quiz45@latest';
249
+ 'https://unpkg.dev/quiz45@latest';
250
250
  } else {
251
251
  console.log('Log success');
252
252
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "quiz45",
3
- "version": "1.0.9",
3
+ "version": "1.0.12",
4
4
  "unpkg": "index.html"
5
5
  }
package/script.js DELETED
File without changes