hexo-theme-shokax 0.5.2-hotfix.1 → 0.5.2-hotfix.2

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.
@@ -0,0 +1,6 @@
1
+ {
2
+ "sonarlint.connectedMode.project": {
3
+ "connectionId": "theme-shoka-x",
4
+ "projectKey": "theme-shoka-x_hexo-theme-shokaX"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-shokax",
3
- "version": "0.5.2-hotfix.1",
3
+ "version": "0.5.2-hotfix.2",
4
4
  "description": "a hexo theme based on shoka",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/theme-shoka-x/hexo-theme-shokaX",
@@ -38,7 +38,7 @@
38
38
  "katex": "^0.16.22",
39
39
  "mouse-firework": "^0.1.1",
40
40
  "nyx-player": "^0.1.1",
41
- "shokax-components-lib": "0.0.2-alpha.4",
41
+ "shokax-uikit": "^0.0.3",
42
42
  "theme-shokax-anime": "^0.0.8",
43
43
  "twikoo": "^1.6.44",
44
44
  "vue": "^3.5.18"
@@ -33,12 +33,12 @@ hexo.on("generateBefore", async function() {
33
33
  findProblem = true;
34
34
  hexo.log.error(`[SXEC 101] Highlight.js or Prismjs enabled. The code block will render incomplete.`);
35
35
  }
36
- if (!(await isPackageDeclared("shokax-components-lib") && await isPackageDeclared("hexo-renderer-aether") && await isPackageDeclared("nyx-player"))) {
36
+ if (!(await isPackageDeclared("shokax-uikit") && await isPackageDeclared("hexo-renderer-aether") && await isPackageDeclared("nyx-player"))) {
37
37
  findSevereProblem = true;
38
38
  findProblem = true;
39
39
  hexo.log.error(`[SXEC 102] Critical rendering plugins are missing or incorrectly configured.
40
40
  Some features will be disabled or render incorrectly.
41
- You should install shokax-components-lib, hexo-renderer-aether, and nyx-player to fix this issue.`);
41
+ You should install shokax-uikit, hexo-renderer-aether, and nyx-player to fix this issue.`);
42
42
  }
43
43
  if (parseInt(process.version.match(/\d{2,3}/)[0]) < 20) {
44
44
  findProblem = true;
@@ -3,7 +3,7 @@ import { clipBoard, showtip } from '../globals/tools'
3
3
  import { CONFIG, BODY } from '../globals/globalVars'
4
4
  import { pageScroll, transition } from '../library/anime'
5
5
  import { getDisplay, setDisplay, wrapObject } from '../library/proto'
6
- import { initializeCodeBlock } from 'shokax-components-lib/components/codeblock/init'
6
+ import { initializeCodeBlock } from 'shokax-uikit/components/codeblock/init'
7
7
 
8
8
  export const postBeauty = async () => {
9
9
  if (!document.querySelector('.md')) { return }
@@ -247,6 +247,5 @@ export const postBeauty = async () => {
247
247
  })
248
248
  }
249
249
 
250
- await import('shokax-components-lib/components/codeblock/init')
251
250
  initializeCodeBlock('.shiki')
252
251
  }