@b2bc-devkit/sheetorm 1.2.0 → 1.2.4

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.
Files changed (1) hide show
  1. package/package.json +172 -86
package/package.json CHANGED
@@ -1,86 +1,172 @@
1
- {
2
- "name": "@b2bc-devkit/sheetorm",
3
- "version": "1.2.0",
4
- "description": "TypeScript ORM for Google Sheets (Google Apps Script runtime)",
5
- "type": "module",
6
- "license": "GPL-3.0-or-later",
7
- "scripts": {
8
- "build": "node scripts/build.mjs",
9
- "build:npm": "node scripts/build-npm.mjs",
10
- "lint": "eslint .",
11
- "format": "prettier . --write",
12
- "test": "jest --verbose",
13
- "login": "clasp login"
14
- },
15
- "files": [
16
- "dist/npm/**/*"
17
- ],
18
- "main": "./dist/npm/SheetOrm.js",
19
- "module": "./dist/npm/SheetOrm.js",
20
- "types": "./dist/npm/SheetOrm.d.ts",
21
- "exports": {
22
- ".": {
23
- "import": "./dist/npm/SheetOrm.js",
24
- "types": "./dist/npm/SheetOrm.d.ts"
25
- },
26
- "./SheetOrm": {
27
- "import": "./dist/npm/SheetOrm.js",
28
- "types": "./dist/npm/SheetOrm.d.ts"
29
- },
30
- "./core/Record": {
31
- "import": "./dist/npm/core/Record.js",
32
- "types": "./dist/npm/core/Record.d.ts"
33
- },
34
- "./core/Decorators": {
35
- "import": "./dist/npm/core/Decorators.js",
36
- "types": "./dist/npm/core/Decorators.d.ts"
37
- },
38
- "./query/Query": {
39
- "import": "./dist/npm/query/Query.js",
40
- "types": "./dist/npm/query/Query.d.ts"
41
- },
42
- "./index/IndexStore": {
43
- "import": "./dist/npm/index/IndexStore.js",
44
- "types": "./dist/npm/index/IndexStore.d.ts"
45
- },
46
- "./core/Registry": {
47
- "import": "./dist/npm/core/Registry.js",
48
- "types": "./dist/npm/core/Registry.d.ts"
49
- },
50
- "./package.json": "./package.json"
51
- },
52
- "repository": {
53
- "type": "git",
54
- "url": "https://github.com/b2bc-devkit/SheetORM.git"
55
- },
56
- "homepage": "https://github.com/b2bc-devkit/SheetORM#readme",
57
- "bugs": {
58
- "url": "https://github.com/b2bc-devkit/SheetORM/issues"
59
- },
60
- "publishConfig": {
61
- "access": "public"
62
- },
63
- "devDependencies": {
64
- "@b2bc-devkit/gas-class-entrypoints": "^1.0.0",
65
- "@babel/core": "^7.29.0",
66
- "@babel/plugin-transform-class-properties": "^7.28.6",
67
- "@babel/plugin-transform-nullish-coalescing-operator": "^7.28.6",
68
- "@babel/plugin-transform-numeric-separator": "^7.28.6",
69
- "@babel/plugin-transform-optional-chaining": "^7.28.6",
70
- "@google/clasp": "^3.3.0",
71
- "@rollup/plugin-babel": "^7.0.0",
72
- "@types/google-apps-script": "^2.0.8",
73
- "@types/jest": "^30.0.0",
74
- "@typescript-eslint/eslint-plugin": "^8.57.1",
75
- "@typescript-eslint/parser": "^8.57.1",
76
- "eslint": "^10.0.3",
77
- "eslint-config-prettier": "^10.1.8",
78
- "eslint-plugin-googleappsscript": "^1.0.5",
79
- "jest": "^30.3.0",
80
- "prettier": "^3.8.1",
81
- "terser": "^5.44.1",
82
- "ts-jest": "^29.4.6",
83
- "typescript": "^6.0.2",
84
- "vite": "^8.0.8"
85
- }
86
- }
1
+ {
2
+ "name": "@b2bc-devkit/sheetorm",
3
+ "version": "1.2.4",
4
+ "description": "TypeScript ORM for Google Sheets (Google Apps Script runtime)",
5
+ "type": "module",
6
+ "license": "GPL-3.0-or-later",
7
+ "scripts": {
8
+ "build": "wireit",
9
+ "build:npm": "wireit",
10
+ "lint": "wireit",
11
+ "knip": "wireit",
12
+ "trivy:scan": "wireit",
13
+ "format": "prettier . --write",
14
+ "test": "wireit",
15
+ "login": "clasp login",
16
+ "prepublishOnly": "npm run lint && npm test && npm run build:npm"
17
+ },
18
+ "wireit": {
19
+ "knip": {
20
+ "command": "knip",
21
+ "files": [
22
+ "src/**/*.ts",
23
+ "tests/**/*.ts",
24
+ "examples/**/*.ts",
25
+ "scripts/**/*.mjs",
26
+ "knip.json",
27
+ "package.json",
28
+ "tsconfig.json",
29
+ "tsconfig.gas.json",
30
+ "tsconfig.npm.json",
31
+ "tsconfig.test.json",
32
+ "vite.config.mjs",
33
+ "eslint.config.cjs",
34
+ "jest.config.cjs"
35
+ ],
36
+ "output": []
37
+ },
38
+ "trivy:scan": {
39
+ "command": "npx @b2bc-devkit/trivy-scan fs --config trivy.yaml .",
40
+ "files": [
41
+ "package-lock.json",
42
+ "trivy.yaml"
43
+ ],
44
+ "output": []
45
+ },
46
+ "build": {
47
+ "command": "node scripts/build.mjs",
48
+ "dependencies": [
49
+ "knip",
50
+ "trivy:scan"
51
+ ],
52
+ "files": [
53
+ "src/**/*.ts",
54
+ "scripts/build.mjs",
55
+ "tsconfig.json",
56
+ "tsconfig.gas.json",
57
+ "vite.config.mjs",
58
+ "appsscript.json"
59
+ ],
60
+ "output": [
61
+ "build/**",
62
+ "Code.js"
63
+ ]
64
+ },
65
+ "build:npm": {
66
+ "command": "node scripts/build-npm.mjs",
67
+ "dependencies": [
68
+ "knip",
69
+ "trivy:scan"
70
+ ],
71
+ "files": [
72
+ "src/**/*.ts",
73
+ "scripts/build-npm.mjs",
74
+ "tsconfig.json",
75
+ "tsconfig.npm.json"
76
+ ],
77
+ "output": [
78
+ "dist/npm/**"
79
+ ]
80
+ },
81
+ "lint": {
82
+ "command": "eslint .",
83
+ "files": [
84
+ "src/**/*.ts",
85
+ "tests/**/*.ts",
86
+ "examples/**/*.ts",
87
+ "scripts/**/*.mjs",
88
+ "eslint.config.cjs",
89
+ "package.json"
90
+ ],
91
+ "output": []
92
+ },
93
+ "test": {
94
+ "command": "jest --verbose",
95
+ "files": [
96
+ "src/**/*.ts",
97
+ "tests/**/*.ts",
98
+ "jest.config.cjs",
99
+ "tsconfig.test.json",
100
+ "package.json"
101
+ ],
102
+ "output": []
103
+ }
104
+ },
105
+ "files": [
106
+ "dist/npm/**/*"
107
+ ],
108
+ "main": "./dist/npm/SheetOrm.js",
109
+ "module": "./dist/npm/SheetOrm.js",
110
+ "types": "./dist/npm/SheetOrm.d.ts",
111
+ "exports": {
112
+ ".": {
113
+ "import": "./dist/npm/SheetOrm.js",
114
+ "types": "./dist/npm/SheetOrm.d.ts"
115
+ },
116
+ "./SheetOrm": {
117
+ "import": "./dist/npm/SheetOrm.js",
118
+ "types": "./dist/npm/SheetOrm.d.ts"
119
+ },
120
+ "./core/Record": {
121
+ "import": "./dist/npm/core/Record.js",
122
+ "types": "./dist/npm/core/Record.d.ts"
123
+ },
124
+ "./core/Decorators": {
125
+ "import": "./dist/npm/core/Decorators.js",
126
+ "types": "./dist/npm/core/Decorators.d.ts"
127
+ },
128
+ "./query/Query": {
129
+ "import": "./dist/npm/query/Query.js",
130
+ "types": "./dist/npm/query/Query.d.ts"
131
+ },
132
+ "./index/IndexStore": {
133
+ "import": "./dist/npm/index/IndexStore.js",
134
+ "types": "./dist/npm/index/IndexStore.d.ts"
135
+ },
136
+ "./core/Registry": {
137
+ "import": "./dist/npm/core/Registry.js",
138
+ "types": "./dist/npm/core/Registry.d.ts"
139
+ },
140
+ "./package.json": "./package.json"
141
+ },
142
+ "repository": {
143
+ "type": "git",
144
+ "url": "git+https://github.com/b2bc-devkit/SheetORM.git"
145
+ },
146
+ "homepage": "https://github.com/b2bc-devkit/SheetORM#readme",
147
+ "bugs": {
148
+ "url": "https://github.com/b2bc-devkit/SheetORM/issues"
149
+ },
150
+ "publishConfig": {
151
+ "access": "public"
152
+ },
153
+ "devDependencies": {
154
+ "@b2bc-devkit/gas-class-entrypoints": "^1.0.0",
155
+ "@google/clasp": "^3.3.0",
156
+ "@types/google-apps-script": "^2.0.8",
157
+ "@types/jest": "^30.0.0",
158
+ "@typescript-eslint/eslint-plugin": "^8.57.1",
159
+ "@typescript-eslint/parser": "^8.57.1",
160
+ "eslint": "^10.0.3",
161
+ "eslint-config-prettier": "^10.1.8",
162
+ "eslint-plugin-googleappsscript": "^1.0.5",
163
+ "jest": "^30.3.0",
164
+ "knip": "^6.25.0",
165
+ "prettier": "^3.8.1",
166
+ "terser": "^5.44.1",
167
+ "ts-jest": "^29.4.6",
168
+ "typescript": "^6.0.3",
169
+ "vite": "^8.0.8",
170
+ "wireit": "^0.14.13"
171
+ }
172
+ }