@kitten-science/kitten-scientists 2.0.0-beta.10-dev-5d31f30 → 2.0.0-beta.10-dev-de250a9

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.
@@ -3,16 +3,11 @@
3
3
  const fs = require("node:fs");
4
4
  const indexHtml = fs.readFileSync("index.html", "utf8");
5
5
  let injectedHtml = indexHtml.replace("</body>", `<script>
6
- const scripts = [
7
- // "kitten-analysts",
8
- // "kitten-engineers",
9
- "kitten-scientists"
10
- ];
6
+ const scripts = [ "kitten-science/kitten-scientists.inject.js" ];
11
7
 
12
8
  for (const subject of scripts) {
13
9
  const script = document.createElement("script");
14
- // Break caching through dynamic query parameter.
15
- script.src = subject + ".inject.js?t=" + new Date().valueOf();
10
+ script.src = subject;
16
11
  document.body.appendChild(script);
17
12
  }
18
13
  </script></body>`);
@@ -1 +1 @@
1
- {"version":3,"file":"inject-scripts.cjs","sourceRoot":"","sources":["../../source/devcontainer/inject-scripts.cjs"],"names":[],"mappings":";;AAEA,MAAM,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAE9B,MAAM,SAAS,GAAG,EAAE,CAAC,YAAY,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AACxD,IAAI,YAAY,GAAG,SAAS,CAAC,OAAO,CAClC,SAAS,EACT;;;;;;;;;;;;;mBAaiB,CAClB,CAAC;AACF,YAAY,GAAG,YAAY,CAAC,OAAO,CACjC,oBAAoB,EACpB,4DAA4D,CAC7D,CAAC;AACF,EAAE,CAAC,aAAa,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"inject-scripts.cjs","sourceRoot":"","sources":["../../source/devcontainer/inject-scripts.cjs"],"names":[],"mappings":";;AAEA,MAAM,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAE9B,MAAM,SAAS,GAAG,EAAE,CAAC,YAAY,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AACxD,IAAI,YAAY,GAAG,SAAS,CAAC,OAAO,CAClC,SAAS,EACT;;;;;;;;mBAQiB,CAClB,CAAC;AACF,YAAY,GAAG,YAAY,CAAC,OAAO,CACjC,oBAAoB,EACpB,4DAA4D,CAC7D,CAAC;AACF,EAAE,CAAC,aAAa,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@kitten-science/kitten-scientists",
4
- "version": "2.0.0-beta.10-dev-5d31f30",
4
+ "version": "2.0.0-beta.10-dev-de250a9",
5
5
  "description": "Add-on for the wonderful incremental browser game: https://kittensgame.com/web/",
6
6
  "license": "MIT",
7
7
  "author": "Oliver Salzburg <oliver.salzburg@gmail.com>",
@@ -50,9 +50,9 @@
50
50
  "@types/jquery": "3.5.32",
51
51
  "@types/node": "22.13.8",
52
52
  "@types/semver": "7.5.8",
53
- "@types/web": "0.0.207",
53
+ "@types/web": "0.0.208",
54
54
  "cheerio": "1.0.0",
55
- "rollup": "4.34.8",
55
+ "rollup": "4.34.9",
56
56
  "rollup-plugin-cleanup": "3.2.1",
57
57
  "typescript": "5.8.2",
58
58
  "vite": "6.2.0",
@@ -68,5 +68,5 @@
68
68
  "engines": {
69
69
  "node": ">= 20"
70
70
  },
71
- "packageManager": "yarn@4.6.0"
71
+ "packageManager": "yarn@4.7.0"
72
72
  }