@konomi-app/k2 1.11.1 → 1.12.1
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/build-tailwind.d.ts.map +1 -1
- package/dist/commands/build-tailwind.js +3 -2
- package/dist/commands/build-tailwind.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/plugin-manifest.js +2 -2
- package/dist/lib/plugin-manifest.js.map +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +43 -43
- package/types/k2.d.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-tailwind.d.ts","sourceRoot":"","sources":["../../src/commands/build-tailwind.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,GAAU,QAAQ,EAAE,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"build-tailwind.d.ts","sourceRoot":"","sources":["../../src/commands/build-tailwind.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,GAAU,QAAQ,EAAE,CAAC,UAAU,kBAiBxD,CAAC"}
|
|
@@ -7,12 +7,13 @@ export const buildTailwind = async (config) => {
|
|
|
7
7
|
}
|
|
8
8
|
const tailwindConfig = (await esmImport(path.resolve(config.tailwind.config))).default;
|
|
9
9
|
const inputPath = path.resolve(config.tailwind.css);
|
|
10
|
+
const fileName = config.tailwind.fileName ?? 'tailwind.css';
|
|
10
11
|
await outputCss({
|
|
11
12
|
inputPath,
|
|
12
|
-
outputPath: path.join(config.outDir,
|
|
13
|
+
outputPath: path.join(config.outDir, fileName),
|
|
13
14
|
config: tailwindConfig,
|
|
14
15
|
minify: true,
|
|
15
16
|
});
|
|
16
|
-
console.log(
|
|
17
|
+
console.log(`✨ Built ${fileName}`);
|
|
17
18
|
};
|
|
18
19
|
//# sourceMappingURL=build-tailwind.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-tailwind.js","sourceRoot":"","sources":["../../src/commands/build-tailwind.ts"],"names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,CAAC;IAEvF,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAEpD,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,QAAQ,IAAI,cAAc,CAAC;IAE5D,MAAM,SAAS,CAAC;QACd,SAAS;QACT,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC;QAC9C,MAAM,EAAE,cAAc;QACtB,MAAM,EAAE,IAAI;KACb,CAAC,CAAC;IACH,OAAO,CAAC,GAAG,CAAC,WAAW,QAAQ,EAAE,CAAC,CAAC;AACrC,CAAC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import dev from './commands/dev/index.js';
|
|
|
5
5
|
import genkey from './commands/genkey.js';
|
|
6
6
|
import esbuildBuild from './commands/build-esbuild.js';
|
|
7
7
|
import lint from './commands/lint.js';
|
|
8
|
-
program.name('k2').version('1.
|
|
8
|
+
program.name('k2').version('1.12.0').description('k2 - 🍳 kintone kitchen 🍳');
|
|
9
9
|
build();
|
|
10
10
|
esbuildBuild();
|
|
11
11
|
dev();
|
|
@@ -2,10 +2,10 @@ import { PLUGIN_CONTENTS_DIRECTORY } from './constants.js';
|
|
|
2
2
|
import { importK2PluginConfig } from './import.js';
|
|
3
3
|
import fs from 'fs-extra';
|
|
4
4
|
import path from 'path';
|
|
5
|
-
import
|
|
5
|
+
import { mergeDeep } from 'remeda';
|
|
6
6
|
export const outputManifest = async (env, options) => {
|
|
7
7
|
const config = options?.config || (await importK2PluginConfig());
|
|
8
|
-
const merged =
|
|
8
|
+
const merged = mergeDeep(config.manifest.base, config.manifest[env] || {});
|
|
9
9
|
await fs.mkdirs(PLUGIN_CONTENTS_DIRECTORY);
|
|
10
10
|
await fs.writeJson(path.join(PLUGIN_CONTENTS_DIRECTORY, 'manifest.json'), merged);
|
|
11
11
|
return merged;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-manifest.js","sourceRoot":"","sources":["../../src/lib/plugin-manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,
|
|
1
|
+
{"version":3,"file":"plugin-manifest.js","sourceRoot":"","sources":["../../src/lib/plugin-manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,EACjC,GAAkC,EAClC,OAAyC,EACV,EAAE;IACjC,MAAM,MAAM,GAAG,OAAO,EAAE,MAAM,IAAI,CAAC,MAAM,oBAAoB,EAAE,CAAC,CAAC;IAEjE,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,CAAyB,CAAC;IAEnG,MAAM,EAAE,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAAC;IAC3C,MAAM,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,yBAAyB,EAAE,eAAe,CAAC,EAAE,MAAM,CAAC,CAAC;IAElF,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
package/dist/plugin.js
CHANGED
|
@@ -10,7 +10,7 @@ import test from './commands/test/index.js';
|
|
|
10
10
|
import zip from './commands/plugin-zip.js';
|
|
11
11
|
import lint from './commands/lint.js';
|
|
12
12
|
import tsup from './commands/plugin-tsup.js';
|
|
13
|
-
program.name('plugin').version('1.
|
|
13
|
+
program.name('plugin').version('1.12.0').description('🍳 kintone kitchen 🍳 for kintone plugin');
|
|
14
14
|
build();
|
|
15
15
|
esbuild();
|
|
16
16
|
dev();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konomi-app/k2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"description": "kintone sdk",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -18,51 +18,51 @@
|
|
|
18
18
|
"author": "",
|
|
19
19
|
"license": "ISC",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@eslint/js": "^9.
|
|
22
|
-
"@kintone/plugin-packer": "^8",
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "^8",
|
|
24
|
-
"@typescript-eslint/parser": "^8",
|
|
25
|
-
"archiver": "^7",
|
|
26
|
-
"chalk": "^5",
|
|
27
|
-
"chokidar": "^4",
|
|
28
|
-
"commander": "^
|
|
29
|
-
"css-loader": "^7",
|
|
30
|
-
"cssnano": "^7",
|
|
31
|
-
"deepmerge": "^4",
|
|
32
|
-
"dotenv": "^
|
|
33
|
-
"esbuild": "^0.25",
|
|
34
|
-
"eslint": "^9",
|
|
35
|
-
"eslint-config-prettier": "^
|
|
36
|
-
"eslint-plugin-import": "^2",
|
|
37
|
-
"eslint-plugin-n": "^17",
|
|
38
|
-
"eslint-plugin-promise": "^7",
|
|
39
|
-
"eslint-plugin-react": "^7",
|
|
40
|
-
"fs-extra": "^11",
|
|
41
|
-
"glob": "^11.0.
|
|
42
|
-
"globals": "^
|
|
43
|
-
"html-minifier": "^4",
|
|
44
|
-
"mini-css-extract-plugin": "^2",
|
|
45
|
-
"postcss": "^8",
|
|
46
|
-
"remeda": "^2",
|
|
47
|
-
"sass": "^1",
|
|
48
|
-
"sass-loader": "^16",
|
|
49
|
-
"style-loader": "^4",
|
|
21
|
+
"@eslint/js": "^9.36.0",
|
|
22
|
+
"@kintone/plugin-packer": "^8.2.1",
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^8.44.0",
|
|
24
|
+
"@typescript-eslint/parser": "^8.44.0",
|
|
25
|
+
"archiver": "^7.0.1",
|
|
26
|
+
"chalk": "^5.6.2",
|
|
27
|
+
"chokidar": "^4.0.3",
|
|
28
|
+
"commander": "^14.0.1",
|
|
29
|
+
"css-loader": "^7.1.2",
|
|
30
|
+
"cssnano": "^7.1.1",
|
|
31
|
+
"deepmerge": "^4.3.1",
|
|
32
|
+
"dotenv": "^17.2.2",
|
|
33
|
+
"esbuild": "^0.25.10",
|
|
34
|
+
"eslint": "^9.36.0",
|
|
35
|
+
"eslint-config-prettier": "^10.1.8",
|
|
36
|
+
"eslint-plugin-import": "^2.32.0",
|
|
37
|
+
"eslint-plugin-n": "^17.23.1",
|
|
38
|
+
"eslint-plugin-promise": "^7.2.1",
|
|
39
|
+
"eslint-plugin-react": "^7.37.5",
|
|
40
|
+
"fs-extra": "^11.3.2",
|
|
41
|
+
"glob": "^11.0.3",
|
|
42
|
+
"globals": "^16.4.0",
|
|
43
|
+
"html-minifier": "^4.0.0",
|
|
44
|
+
"mini-css-extract-plugin": "^2.9.4",
|
|
45
|
+
"postcss": "^8.5.6",
|
|
46
|
+
"remeda": "^2.32.0",
|
|
47
|
+
"sass": "^1.93.0",
|
|
48
|
+
"sass-loader": "^16.0.5",
|
|
49
|
+
"style-loader": "^4.0.0",
|
|
50
50
|
"tailwindcss": "^3",
|
|
51
|
-
"terser-webpack-plugin": "^5",
|
|
52
|
-
"tiny-invariant": "^1",
|
|
53
|
-
"ts-loader": "^9",
|
|
54
|
-
"tsconfig-paths-webpack-plugin": "^4",
|
|
55
|
-
"tsup": "^8",
|
|
56
|
-
"typescript-eslint": "^8.
|
|
57
|
-
"webpack": "^5"
|
|
51
|
+
"terser-webpack-plugin": "^5.3.14",
|
|
52
|
+
"tiny-invariant": "^1.3.3",
|
|
53
|
+
"ts-loader": "^9.5.4",
|
|
54
|
+
"tsconfig-paths-webpack-plugin": "^4.2.0",
|
|
55
|
+
"tsup": "^8.5.0",
|
|
56
|
+
"typescript-eslint": "^8.44.0",
|
|
57
|
+
"webpack": "^5.101.3"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@types/archiver": "
|
|
61
|
-
"@types/eslint": "^9",
|
|
62
|
-
"@types/express": "^5",
|
|
63
|
-
"@types/fs-extra": "
|
|
64
|
-
"@types/html-minifier": "^4",
|
|
65
|
-
"typescript": "
|
|
60
|
+
"@types/archiver": "^6.0.3",
|
|
61
|
+
"@types/eslint": "^9.6.1",
|
|
62
|
+
"@types/express": "^5.0.3",
|
|
63
|
+
"@types/fs-extra": "^11.0.4",
|
|
64
|
+
"@types/html-minifier": "^4.0.5",
|
|
65
|
+
"typescript": "^5.9.2"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "rmdir /s /q dist & tsc",
|