@codady/coax 0.0.1 → 0.0.3
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/dist/coax.cjs.js +829 -140
- package/dist/coax.cjs.min.js +3 -3
- package/dist/coax.esm.js +823 -140
- package/dist/coax.esm.min.js +3 -3
- package/dist/coax.umd.js +849 -138
- package/dist/coax.umd.min.js +3 -3
- package/examples/.htaccess +0 -0
- package/examples/append-highlight.html +82 -0
- package/examples/color-selector.html +412 -0
- package/examples/css-highlight.html +2 -18
- package/examples/deepseek-highlight.html +91 -0
- package/examples/js-highlight.html +2 -17
- package/examples/md-highlight.html +60 -0
- package/examples/nginx.htaccess +0 -0
- package/examples/plain-highlight.html +47 -0
- package/examples/replace-highlight.html +69 -0
- package/examples/stream-highlight.html +64 -0
- package/examples/theme-highlight.html +69 -0
- package/package.json +19 -3
- package/rollup.config.js +3 -3
- package/src/Coax.js +50 -184
- package/src/Coax.ts +56 -207
- package/src/components/CoaxElem.js +457 -0
- package/src/components/CoaxElem.ts +488 -0
- package/src/modules.js +12 -0
- package/src/modules.ts +23 -0
- package/src/rules/css.js +11 -0
- package/src/rules/css.ts +11 -0
- package/src/rules/html.js +13 -0
- package/src/rules/html.ts +13 -0
- package/src/rules/javascript.js +10 -0
- package/src/rules/javascript.ts +10 -0
- package/src/rules/markdown.js +29 -0
- package/src/rules/markdown.ts +41 -0
- package/src/rules/ruleCss - /345/211/257/346/234/254.js" +10 -0
- package/src/rules/ruleHTML - /345/211/257/346/234/254.js" +12 -0
- package/src/rules/ruleJs - /345/211/257/346/234/254.js" +10 -0
- package/src/rules/ruleTs - /345/211/257/346/234/254.js" +12 -0
- package/src/rules/typescript.js +12 -0
- package/src/rules/typescript.ts +12 -0
- package/src/tools/copy.js +26 -0
- package/src/tools/copy.ts +29 -0
- package/tsconfig.json +2 -2
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>DeepSeek Stream Demo</title>
|
|
8
|
+
<style>
|
|
9
|
+
#output {
|
|
10
|
+
font-family: monospace;
|
|
11
|
+
white-space: pre-wrap;
|
|
12
|
+
/* 保持格式 */
|
|
13
|
+
word-wrap: break-word;
|
|
14
|
+
border: 1px solid #ccc;
|
|
15
|
+
padding: 10px;
|
|
16
|
+
width: 80%;
|
|
17
|
+
margin: 0 auto;
|
|
18
|
+
height: 300px;
|
|
19
|
+
overflow-y: auto;
|
|
20
|
+
}
|
|
21
|
+
</style>
|
|
22
|
+
</head>
|
|
23
|
+
|
|
24
|
+
<body>
|
|
25
|
+
<ax-code lang="js"></ax-code>
|
|
26
|
+
<script src="../node_modules/@codady/utils/dist/utils.umd.js" type='text/javascript'></script>
|
|
27
|
+
<script src="../dist/coax.umd.js" type='text/javascript'></script>
|
|
28
|
+
<script>
|
|
29
|
+
async function fetchStreamedText() {
|
|
30
|
+
const outputElement = document.querySelector('ax-code');
|
|
31
|
+
const apiKey = 'sk-46066a43b74c4c7693282b9885fe8820';
|
|
32
|
+
const endpoint = 'https://api.deepseek.com/chat/completions';
|
|
33
|
+
|
|
34
|
+
fetch(endpoint, {
|
|
35
|
+
method: "POST",
|
|
36
|
+
headers: {
|
|
37
|
+
"Content-Type": "application/json",
|
|
38
|
+
"Authorization": "Bearer " + apiKey
|
|
39
|
+
},
|
|
40
|
+
body: JSON.stringify({
|
|
41
|
+
model: "deepseek-chat",
|
|
42
|
+
messages: [
|
|
43
|
+
{
|
|
44
|
+
role: "user",
|
|
45
|
+
content: `
|
|
46
|
+
你必须遵守以下格式规则:
|
|
47
|
+
1. 绝对不要使用markdown格式
|
|
48
|
+
2. 绝对不要使用\`\`\`标记
|
|
49
|
+
3. 直接输出JavaScript代码的函数
|
|
50
|
+
4. 如果输出代码,直接以代码内容开始
|
|
51
|
+
`
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
stream: true, // 设置为 true,启用流式输出
|
|
55
|
+
max_tokens: 1000,
|
|
56
|
+
temperature: 0.3,
|
|
57
|
+
})
|
|
58
|
+
})
|
|
59
|
+
.then(async (response) => {
|
|
60
|
+
if (!response.ok) {
|
|
61
|
+
throw new Error("网络请求失败");
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/*
|
|
65
|
+
response.body = ReadableStream,decoder.decode(value, { stream: true }) =如下
|
|
66
|
+
data: {"id":"36746ef4-7200-45dc-b731-282ca9e0baa0","object":"chat.completion.chunk","created":1768011313,"model":"deepseek-chat","system_fingerprint":"fp_eaab8d114b_prod0820_fp8_kvcache","choices":[{"index":0,"delta":{"content":"。"},"logprobs":null,"finish_reason":null}]}
|
|
67
|
+
|
|
68
|
+
data: {"id":"36746ef4-7200-45dc-b731-282ca9e0baa0","object":"chat.completion.chunk","created":1768011313,"model":"deepseek-chat","system_fingerprint":"fp_eaab8d114b_prod0820_fp8_kvcache","choices":[{"index":0,"delta":{"content":""},"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":10,"completion_tokens":42,"total_tokens":52,"prompt_tokens_details":{"cached_tokens":0},"prompt_cache_hit_tokens":0,"prompt_cache_miss_tokens":10}}
|
|
69
|
+
|
|
70
|
+
data: [DONE] */
|
|
71
|
+
|
|
72
|
+
const resp = await utils.parseLLMStream(response.body, (str) => {
|
|
73
|
+
console.log(str,12)
|
|
74
|
+
outputElement.stream(str);
|
|
75
|
+
});
|
|
76
|
+
outputElement.closeLine();
|
|
77
|
+
console.log(outputElement.source)
|
|
78
|
+
|
|
79
|
+
})
|
|
80
|
+
.catch(err => {
|
|
81
|
+
console.error("请求失败:", err);
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
fetchStreamedText();
|
|
88
|
+
</script>
|
|
89
|
+
</body>
|
|
90
|
+
|
|
91
|
+
</html>
|
|
@@ -8,29 +8,14 @@
|
|
|
8
8
|
<style>
|
|
9
9
|
/* 白天模式变量 */
|
|
10
10
|
:root {
|
|
11
|
-
|
|
12
|
-
/* 鲜红色:用于 if, const, return */
|
|
13
|
-
--ax-js-string: #032f62;
|
|
14
|
-
/* 藏青色:字符串内容 */
|
|
15
|
-
--ax-js-func: #6f42c1;
|
|
16
|
-
/* 靓紫色:函数名调用 */
|
|
17
|
-
--ax-js-builtin: #e36209;
|
|
18
|
-
/* 亮橙色:console, Math, true */
|
|
19
|
-
--ax-js-number: #005cc5;
|
|
20
|
-
/* 蓝色:数字 */
|
|
21
|
-
--ax-js-op: #d73a49;
|
|
22
|
-
/* 红色:操作符,突出逻辑 */
|
|
23
|
-
--ax-js-comment: #6a737d;
|
|
24
|
-
/* 灰色:注释 */
|
|
25
|
-
--ax-js-punct: #24292e;
|
|
26
|
-
/* 深灰色:标点符号 */
|
|
11
|
+
|
|
27
12
|
}
|
|
28
13
|
</style>
|
|
29
14
|
|
|
30
15
|
</head>
|
|
31
16
|
|
|
32
17
|
<body>
|
|
33
|
-
<ax-code lang="js">
|
|
18
|
+
<ax-code streaming tools="copy" indexed lang="js">
|
|
34
19
|
<code>
|
|
35
20
|
/**
|
|
36
21
|
* Simple animation function
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Coax 代码高亮插件</title>
|
|
8
|
+
<style>
|
|
9
|
+
/* 白天模式变量 */
|
|
10
|
+
:root {
|
|
11
|
+
--ax-html-comment: #6a737d;
|
|
12
|
+
--ax-html-doctype: #005cc5;
|
|
13
|
+
--ax-html-tag: #22863a;
|
|
14
|
+
--ax-html-attr: #6f42c1;
|
|
15
|
+
--ax-html-string: #032f62;
|
|
16
|
+
--ax-html-bracket: #24292e;
|
|
17
|
+
}
|
|
18
|
+
</style>
|
|
19
|
+
|
|
20
|
+
</head>
|
|
21
|
+
|
|
22
|
+
<body>
|
|
23
|
+
<ax-code lang="md">
|
|
24
|
+
<code>
|
|
25
|
+
# 这是一个一级标题
|
|
26
|
+
|
|
27
|
+
## 这是一个二级标题
|
|
28
|
+
|
|
29
|
+
### 这是一个三级标题
|
|
30
|
+
|
|
31
|
+
#### 这是一个四级标题
|
|
32
|
+
|
|
33
|
+
##### 这是一个五级标题
|
|
34
|
+
|
|
35
|
+
###### 这是一个六级标题
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
这是一个段落文本,其中包含 **粗体** 和 *斜体*。
|
|
40
|
+
|
|
41
|
+
[点击这里访问 OpenAI](https://www.openai.com)
|
|
42
|
+
|
|
43
|
+
这是一段 `行内代码` 示例。
|
|
44
|
+
|
|
45
|
+
```javascript
|
|
46
|
+
// 这是一个 JavaScript 代码块
|
|
47
|
+
function sayHello() {
|
|
48
|
+
console.log("Hello, World!");
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
</code>
|
|
52
|
+
</ax-code>
|
|
53
|
+
|
|
54
|
+
<script src="../dist/coax.umd.js" type='text/javascript'></script>
|
|
55
|
+
<script type='text/javascript'>
|
|
56
|
+
|
|
57
|
+
</script>
|
|
58
|
+
</body>
|
|
59
|
+
|
|
60
|
+
</html>
|
|
File without changes
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Coax 代码高亮插件</title>
|
|
8
|
+
<style>
|
|
9
|
+
/* 白天模式变量 */
|
|
10
|
+
:root {}
|
|
11
|
+
</style>
|
|
12
|
+
|
|
13
|
+
</head>
|
|
14
|
+
|
|
15
|
+
<body>
|
|
16
|
+
<ax-code>
|
|
17
|
+
<code>
|
|
18
|
+
/* Main Layout Style */
|
|
19
|
+
.container > .header:hover {
|
|
20
|
+
display: flex;
|
|
21
|
+
width: 100%;
|
|
22
|
+
max-width: 1200px;
|
|
23
|
+
padding: 20px 1.5rem;
|
|
24
|
+
background-color: var(--primary-bg, #fff);
|
|
25
|
+
transition: all 300ms ease-in-out;
|
|
26
|
+
transform: rotate(5deg);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media (max-width: 768px) {
|
|
30
|
+
.container {
|
|
31
|
+
grid-template-columns: 1fr;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
</code>
|
|
35
|
+
</ax-code>
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<script src="../dist/coax.umd.js" type='text/javascript'></script>
|
|
40
|
+
<script type='text/javascript'>
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
</script>
|
|
45
|
+
</body>
|
|
46
|
+
|
|
47
|
+
</html>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Coax 代码高亮插件</title>
|
|
8
|
+
<style>
|
|
9
|
+
/* 白天模式变量 */
|
|
10
|
+
:root {}
|
|
11
|
+
</style>
|
|
12
|
+
|
|
13
|
+
</head>
|
|
14
|
+
|
|
15
|
+
<body>
|
|
16
|
+
<ax-code streaming tools="copy" indexed lang="js">
|
|
17
|
+
<code>
|
|
18
|
+
/**
|
|
19
|
+
* Simple animation function
|
|
20
|
+
*/
|
|
21
|
+
async function animate(element, duration) {
|
|
22
|
+
const start = Date.now();
|
|
23
|
+
|
|
24
|
+
if (!element) return false;
|
|
25
|
+
|
|
26
|
+
console.log("Animation started...");
|
|
27
|
+
|
|
28
|
+
while (Date.now() - start < duration) {
|
|
29
|
+
let progress = (Date.now() - start) / duration;
|
|
30
|
+
element.style.opacity = Math.min(progress, 1);
|
|
31
|
+
await Promise.resolve();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
</code>
|
|
37
|
+
</ax-code>
|
|
38
|
+
|
|
39
|
+
<button>替换代码</button>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
<script src="../dist/coax.umd.js" type='text/javascript'></script>
|
|
44
|
+
<script type='text/javascript'>
|
|
45
|
+
|
|
46
|
+
let btn = document.querySelector('button');
|
|
47
|
+
let code = document.querySelector('ax-code');
|
|
48
|
+
btn.onclick = () => {
|
|
49
|
+
code.replace(`
|
|
50
|
+
function calculateCircleArea(radius) {
|
|
51
|
+
if (typeof radius !== 'number' || radius <= 0) {
|
|
52
|
+
throw new Error('Radius must be a positive number');
|
|
53
|
+
}
|
|
54
|
+
return Math.PI * radius * radius;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function calculateCircleCircumference(radius) {
|
|
58
|
+
if (typeof radius !== 'number' || radius <= 0) {
|
|
59
|
+
throw new Error('Radius must be a positive number');
|
|
60
|
+
}
|
|
61
|
+
return 2 * Math.PI * radius;
|
|
62
|
+
}
|
|
63
|
+
`)
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
</script>
|
|
67
|
+
</body>
|
|
68
|
+
|
|
69
|
+
</html>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Coax 代码高亮插件</title>
|
|
8
|
+
<style>
|
|
9
|
+
/* 白天模式变量 */
|
|
10
|
+
:root {}
|
|
11
|
+
</style>
|
|
12
|
+
|
|
13
|
+
</head>
|
|
14
|
+
|
|
15
|
+
<body>
|
|
16
|
+
<ax-code tools="copy" indexed lang="js"></ax-code>
|
|
17
|
+
|
|
18
|
+
<textarea id="box">
|
|
19
|
+
function calculateCircleArea(radius) {
|
|
20
|
+
if (typeof radius !== 'number' || radius <= 0) {
|
|
21
|
+
throw new Error('Radius must be a positive number');
|
|
22
|
+
}
|
|
23
|
+
return Math.PI * radius * radius;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function calculateCircleCircumference(radius) {
|
|
27
|
+
if (typeof radius !== 'number' || radius <= 0) {
|
|
28
|
+
|
|
29
|
+
throw new Error('Radius must be a positive number');
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return 2 * Math.PI * radius;
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
</textarea>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
<script src="../dist/coax.umd.js" type='text/javascript'></script>
|
|
42
|
+
<script type='text/javascript'>
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
let el = document.querySelector('ax-code'),
|
|
47
|
+
// arr = ['/**', '\n', ' * Simple', ' animation', ' function', '\n', ' */', '\n', 'async', ' function', ' animate', '(element,', 'duration) {', '\n',
|
|
48
|
+
// ' const', ' start', ' = Date', '.now();', 'DONE'
|
|
49
|
+
// ],
|
|
50
|
+
arr = document.querySelector('#box').value.split('\n'),
|
|
51
|
+
index = 0;
|
|
52
|
+
|
|
53
|
+
let timer = setInterval(() => {
|
|
54
|
+
el.stream(arr[index]);
|
|
55
|
+
index++;
|
|
56
|
+
if (index >= arr.length) {
|
|
57
|
+
clearInterval(timer);
|
|
58
|
+
}
|
|
59
|
+
}, 50);
|
|
60
|
+
|
|
61
|
+
</script>
|
|
62
|
+
</body>
|
|
63
|
+
|
|
64
|
+
</html>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Coax 代码高亮插件</title>
|
|
8
|
+
<style>
|
|
9
|
+
/* 白天模式变量 */
|
|
10
|
+
:root {}
|
|
11
|
+
</style>
|
|
12
|
+
|
|
13
|
+
</head>
|
|
14
|
+
|
|
15
|
+
<body>
|
|
16
|
+
<ax-code lang="css">
|
|
17
|
+
<code>
|
|
18
|
+
/* Main Layout Style */
|
|
19
|
+
.container > .header:hover {
|
|
20
|
+
display: flex;
|
|
21
|
+
width: 100%;
|
|
22
|
+
max-width: 1200px;
|
|
23
|
+
padding: 20px 1.5rem;
|
|
24
|
+
background-color: var(--primary-bg, #fff);
|
|
25
|
+
transition: all 300ms ease-in-out;
|
|
26
|
+
transform: rotate(5deg);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media (max-width: 768px) {
|
|
30
|
+
.container {
|
|
31
|
+
grid-template-columns: 1fr;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
</code>
|
|
35
|
+
</ax-code>
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<script type='module'>
|
|
41
|
+
|
|
42
|
+
const {CoaxElem,css} = await import('../dist/coax.esm.js');
|
|
43
|
+
|
|
44
|
+
css.themeStyles = `
|
|
45
|
+
:host {
|
|
46
|
+
--background:rgba(0,0,0,0.02);
|
|
47
|
+
--border-color:rgba(0,0,0,0.08);
|
|
48
|
+
--color-code:#333;
|
|
49
|
+
}
|
|
50
|
+
:host([scheme="dark"]){
|
|
51
|
+
--background: #282c34;
|
|
52
|
+
--border-color: transparent;
|
|
53
|
+
--color-code: #abb2bf;
|
|
54
|
+
}
|
|
55
|
+
@media (prefers-color-scheme: dark) {
|
|
56
|
+
:host{
|
|
57
|
+
--background: #282c34;
|
|
58
|
+
--border-color: transparent;
|
|
59
|
+
--color-code: #abb2bf;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
`;
|
|
63
|
+
customElements.define(`ax-code`, CoaxElem);
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
</script>
|
|
67
|
+
</body>
|
|
68
|
+
|
|
69
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codady/coax",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -10,6 +10,20 @@
|
|
|
10
10
|
"main": "./src/Coax.js",
|
|
11
11
|
"type": "module",
|
|
12
12
|
"types": "./src/coax.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": "./dist/coax.esm.js",
|
|
16
|
+
"require": "./dist/coax.cjs.js",
|
|
17
|
+
"browser": "./dist/coax.umd.js",
|
|
18
|
+
"default": "./dist/coax.esm.js",
|
|
19
|
+
"types": "./types/coax.d.ts"
|
|
20
|
+
},
|
|
21
|
+
"./src/*": {
|
|
22
|
+
"import": "./src/*.js",
|
|
23
|
+
"require": "./src/*.js",
|
|
24
|
+
"types": "./src/*.ts"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
13
27
|
"directories": {
|
|
14
28
|
"doc": "docs"
|
|
15
29
|
},
|
|
@@ -43,7 +57,7 @@
|
|
|
43
57
|
"build": "rollup --config",
|
|
44
58
|
"mini": "node script-mini.js",
|
|
45
59
|
"push": "node script-push.js",
|
|
46
|
-
"all": "
|
|
60
|
+
"all": "npm run build && npm run css && npm run mini && npm publish && (npm run push || true)"
|
|
47
61
|
},
|
|
48
62
|
"repository": {
|
|
49
63
|
"type": "git",
|
|
@@ -69,6 +83,8 @@
|
|
|
69
83
|
},
|
|
70
84
|
"homepage": "https://www.axui.cn",
|
|
71
85
|
"dependencies": {
|
|
86
|
+
"@codady/icax": "^0.0.5",
|
|
87
|
+
"@codady/utils": "^0.0.34",
|
|
72
88
|
"simple-git": "^3.27.0"
|
|
73
89
|
}
|
|
74
|
-
}
|
|
90
|
+
}
|
package/rollup.config.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Last modified: 2026/01/
|
|
2
|
+
* Last modified: 2026/01/12 08:59:10
|
|
3
3
|
*/
|
|
4
4
|
import resolve from '@rollup/plugin-node-resolve';
|
|
5
5
|
import replace from 'rollup-plugin-replace';
|
|
@@ -40,7 +40,7 @@ export default [
|
|
|
40
40
|
],
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
input: './src/
|
|
43
|
+
input: './src/modules.js',
|
|
44
44
|
output:
|
|
45
45
|
{
|
|
46
46
|
dir: './dist/',
|
|
@@ -53,7 +53,7 @@ export default [
|
|
|
53
53
|
],
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
input: './src/
|
|
56
|
+
input: './src/modules.js',
|
|
57
57
|
output:
|
|
58
58
|
{
|
|
59
59
|
dir: './dist/',
|