@sysa-ivan/gas-helpers 1.0.0 → 1.1.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/README.md +2 -0
- package/package.json +14 -4
- package/prettier.config.js +9 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# gas-helpers
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
3
5
|
Helper utilities for Google Apps Script: UI, triggers, Telegram notifications, Google Sheets (Entity/Repository).
|
|
4
6
|
|
|
5
7
|
> **For AI agents**: See [AGENTS.md](./AGENTS.md) for imports, patterns, and GAS caveats.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sysa-ivan/gas-helpers",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Helper utilities for Google Apps Script: UI dialogs, triggers, Telegram notifications, Entity/Repository for Sheets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"google-apps-script",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"script-properties"
|
|
16
16
|
],
|
|
17
17
|
"private": false,
|
|
18
|
+
"repository": "github:SysaIvan/gas-helpers",
|
|
18
19
|
"type": "module",
|
|
19
20
|
"sideEffects": false,
|
|
20
21
|
"exports": {
|
|
@@ -30,6 +31,10 @@
|
|
|
30
31
|
"types": "./dist/sheet/index.d.ts",
|
|
31
32
|
"default": "./dist/sheet.js"
|
|
32
33
|
},
|
|
34
|
+
"./entity": {
|
|
35
|
+
"types": "./dist/entity/index.d.ts",
|
|
36
|
+
"default": "./dist/entity.js"
|
|
37
|
+
},
|
|
33
38
|
"./ui": {
|
|
34
39
|
"types": "./dist/ui/index.d.ts",
|
|
35
40
|
"default": "./dist/ui.js"
|
|
@@ -52,6 +57,9 @@
|
|
|
52
57
|
"format": "prettier --check .",
|
|
53
58
|
"test": "vitest",
|
|
54
59
|
"test:run": "vitest run",
|
|
60
|
+
"test:coverage": "vitest run --coverage",
|
|
61
|
+
"coverage:badge": "coverage-badge-creator",
|
|
62
|
+
"coverage": "npm run test:coverage && npm run coverage:badge",
|
|
55
63
|
"pr-ready": "npm run format -- --write && npm run lint && npm run test:run && npm run build"
|
|
56
64
|
},
|
|
57
65
|
"peerDependencies": {
|
|
@@ -64,13 +72,15 @@
|
|
|
64
72
|
"eslint-config-prettier": "^10.1.8",
|
|
65
73
|
"eslint-plugin-prettier": "^5.5.5",
|
|
66
74
|
"gts": "^7.0.0",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
75
|
+
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
76
|
+
"typescript-eslint": "^8.46.0"
|
|
69
77
|
},
|
|
70
78
|
"devDependencies": {
|
|
71
79
|
"@types/google-apps-script": "^2.0.8",
|
|
72
|
-
"rimraf": "^6.0.0",
|
|
73
80
|
"@types/node": "^25.3.3",
|
|
81
|
+
"@vitest/coverage-istanbul": "^4.0.18",
|
|
82
|
+
"coverage-badge-creator": "^2.0.1",
|
|
83
|
+
"rimraf": "^6.0.0",
|
|
74
84
|
"vite": "^7.3.1",
|
|
75
85
|
"vite-plugin-dts": "^4.5.4",
|
|
76
86
|
"vitest": "^4.0.18"
|
package/prettier.config.js
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
/** @type {import('prettier').Config} */
|
|
2
2
|
export default {
|
|
3
|
-
plugins: ['prettier-plugin-
|
|
3
|
+
plugins: ['@trivago/prettier-plugin-sort-imports'],
|
|
4
|
+
importOrder: [
|
|
5
|
+
'<BUILTIN_MODULES>',
|
|
6
|
+
'<THIRD_PARTY_MODULES>',
|
|
7
|
+
'^\\.\\./',
|
|
8
|
+
'^\\./',
|
|
9
|
+
],
|
|
10
|
+
importOrderSeparation: true,
|
|
11
|
+
importOrderSortSpecifiers: true,
|
|
4
12
|
arrowParens: 'always',
|
|
5
13
|
bracketSpacing: true,
|
|
6
14
|
bracketSameLine: false,
|