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 +2 -0
- package/.github/workflows/publish.yml +31 -0
- package/index.html +3 -3
- package/package.json +1 -1
- package/script.js +0 -0
package/.gitattributes
ADDED
|
@@ -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://
|
|
70
|
-
name: "§c§
|
|
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.
|
|
249
|
+
'https://unpkg.dev/quiz45@latest';
|
|
250
250
|
} else {
|
|
251
251
|
console.log('Log success');
|
|
252
252
|
}
|
package/package.json
CHANGED
package/script.js
DELETED
|
File without changes
|