@konomi-app/k2 1.5.0 → 1.6.0
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/commands/dev/tailwind.js +1 -1
- package/dist/lib/cert.js +3 -3
- package/package.json +4 -4
- package/types/plugin.d.ts +6 -0
|
@@ -23,7 +23,7 @@ export const watchCss = async (params) => {
|
|
|
23
23
|
console.log(chalk.hex('#e5e7eb')(`${new Date().toLocaleTimeString()} `) +
|
|
24
24
|
chalk.cyan(`[css] `) +
|
|
25
25
|
outputFileName +
|
|
26
|
-
(type === 'init' ? ' init' : ` rebuilt`));
|
|
26
|
+
(type === 'init' ? ' init' : ` rebuilt(${type})`));
|
|
27
27
|
},
|
|
28
28
|
});
|
|
29
29
|
};
|
package/dist/lib/cert.js
CHANGED
|
@@ -2,10 +2,10 @@ import { exec } from './exec.js';
|
|
|
2
2
|
import fs from 'fs-extra';
|
|
3
3
|
import path from 'path';
|
|
4
4
|
export const generateCert = async (outDir) => {
|
|
5
|
-
const { stdout } = await exec(`mkcert localhost`);
|
|
5
|
+
const { stdout } = await exec(`mkcert localhost 127.0.0.1 ::1`);
|
|
6
6
|
[
|
|
7
|
-
{ input: 'localhost.pem', output: 'localhost-cert.pem' },
|
|
8
|
-
{ input: 'localhost-key.pem', output: 'localhost-key.pem' },
|
|
7
|
+
{ input: 'localhost+2.pem', output: 'localhost-cert.pem' },
|
|
8
|
+
{ input: 'localhost+2-key.pem', output: 'localhost-key.pem' },
|
|
9
9
|
].forEach(({ input, output }) => {
|
|
10
10
|
fs.moveSync(`./${input}`, path.join(outDir, output), {
|
|
11
11
|
overwrite: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konomi-app/k2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "kintone sdk",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"@typescript-eslint/parser": "^7",
|
|
30
30
|
"archiver": "^7",
|
|
31
31
|
"chalk": "^5",
|
|
32
|
-
"chokidar": "^
|
|
32
|
+
"chokidar": "^4",
|
|
33
33
|
"commander": "^12",
|
|
34
34
|
"css-loader": "^7",
|
|
35
35
|
"cssnano": "^7",
|
|
36
36
|
"deepmerge": "^4.3.1",
|
|
37
37
|
"dotenv": "^16",
|
|
38
|
-
"esbuild": "^0.
|
|
38
|
+
"esbuild": "^0.24",
|
|
39
39
|
"eslint": "^8",
|
|
40
40
|
"eslint-config-prettier": "^9",
|
|
41
41
|
"eslint-plugin-import": "^2",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"ts-loader": "^9",
|
|
57
57
|
"tsconfig-paths-webpack-plugin": "^4",
|
|
58
58
|
"vite": "^5",
|
|
59
|
-
"vite-tsconfig-paths": "^
|
|
59
|
+
"vite-tsconfig-paths": "^5",
|
|
60
60
|
"webpack": "^5"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
package/types/plugin.d.ts
CHANGED
|
@@ -93,6 +93,12 @@ declare namespace Plugin {
|
|
|
93
93
|
standalone?: Partial<Manifest>;
|
|
94
94
|
};
|
|
95
95
|
pluginReleasePageUrl?: string;
|
|
96
|
+
/**
|
|
97
|
+
* プラグインのZIPファイルのURL
|
|
98
|
+
*
|
|
99
|
+
* このURLが設定されている場合、ユーザーはプラグイン設定画面から、ZIPファイルをダウンロードしてインストールできます
|
|
100
|
+
*/
|
|
101
|
+
zipFileUrl?: string;
|
|
96
102
|
inquiriesPageUrl?: string;
|
|
97
103
|
promotionPageUrl?: string;
|
|
98
104
|
bannerPageUrl?: string;
|