Update typegen

This commit is contained in:
Piotr Rogowski 2022-10-18 13:51:04 +02:00
parent 037781693e
commit c91f7a1480
No known key found for this signature in database
GPG Key ID: 4A842D702D9C6F8F
3 changed files with 37 additions and 32 deletions

View File

@ -4,6 +4,7 @@
"kbar", "kbar",
"pocketbase", "pocketbase",
"prefs", "prefs",
"typegen",
"vite", "vite",
"vitejs" "vitejs"
] ]

58
package-lock.json generated
View File

@ -9,7 +9,7 @@
"version": "1.0.0", "version": "1.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@hyper-tuner/ini": "^0.4.0", "@hyper-tuner/ini": "^0.6.0",
"@hyper-tuner/types": "^0.4.0", "@hyper-tuner/types": "^0.4.0",
"@reduxjs/toolkit": "^1.8.6", "@reduxjs/toolkit": "^1.8.6",
"@sentry/react": "^7.15.0", "@sentry/react": "^7.15.0",
@ -41,8 +41,8 @@
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.6",
"@types/react-redux": "^7.1.24", "@types/react-redux": "^7.1.24",
"@types/react-router-dom": "^5.3.3", "@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^5.40.0", "@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.0", "@typescript-eslint/parser": "^5.40.1",
"@vitejs/plugin-react": "^2.1.0", "@vitejs/plugin-react": "^2.1.0",
"eslint": "^8.25.0", "eslint": "^8.25.0",
"eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-flowtype": "^8.0.3",
@ -53,7 +53,7 @@
"eslint-plugin-react": "^7.31.10", "eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"less": "^4.1.3", "less": "^4.1.3",
"pocketbase-typegen": "https://github.com/patmood/pocketbase-typegen", "pocketbase-typegen": "^1.0.6",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"rollup-plugin-visualizer": "^5.8.3", "rollup-plugin-visualizer": "^5.8.3",
"typescript": "^4.8.4" "typescript": "^4.8.4"
@ -1212,14 +1212,17 @@
} }
}, },
"node_modules/@hyper-tuner/ini": { "node_modules/@hyper-tuner/ini": {
"version": "0.4.0", "version": "0.6.0",
"resolved": "https://npm.pkg.github.com/download/@hyper-tuner/ini/0.4.0/ac56c09d35b79b0ed6cef50557be9d459b0e6357", "resolved": "https://npm.pkg.github.com/download/@hyper-tuner/ini/0.6.0/149ea7bcb587964674679c209db8948ddd8e49a9",
"integrity": "sha512-A6DdEUfMNDYhIJrHMQeROKBzYU9bbfHqqGnO95hYGsenkpb7Avv665yu5CqvUjgOxLb48nYMrXrHNUziQ8uybw==", "integrity": "sha512-G8IOjuIlR4nULSnA765BEUdCrcmiEIAIox/dJU4+Tm79cFap1yMj+LumOr62gO0LKY7AFnAmN+T2v7wCHijqLA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@hyper-tuner/types": "^0.4.0", "@hyper-tuner/types": "^0.4.0",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"parsimmon": "^1.18.1" "parsimmon": "^1.18.1"
},
"bin": {
"hyper-tuner-ini": "dist/cli.js"
} }
}, },
"node_modules/@hyper-tuner/types": { "node_modules/@hyper-tuner/types": {
@ -2547,9 +2550,9 @@
} }
}, },
"node_modules/caniuse-lite": { "node_modules/caniuse-lite": {
"version": "1.0.30001420", "version": "1.0.30001421",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001420.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001421.tgz",
"integrity": "sha512-OnyeJ9ascFA9roEj72ok2Ikp7PHJTKubtEJIQ/VK3fdsS50q4KWy+Z5X0A1/GswEItKX0ctAp8n4SYDE7wTu6A==", "integrity": "sha512-Sw4eLbgUJAEhjLs1Fa+mk45sidp1wRn5y6GtDpHGBaNJ9OCDJaVh2tIaWWUnGfuXfKf1JCBaIarak3FkVAvEeA==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@ -2932,9 +2935,9 @@
"integrity": "sha512-Gj9hZN3a07cbR6zviMUBOMPdWxYhbMI+x+WS0NAIu2zFZmbK8ys9R79g+iG9qLnlCwpFoaB+fKy8Pdv470GsPA==" "integrity": "sha512-Gj9hZN3a07cbR6zviMUBOMPdWxYhbMI+x+WS0NAIu2zFZmbK8ys9R79g+iG9qLnlCwpFoaB+fKy8Pdv470GsPA=="
}, },
"node_modules/electron-to-chromium": { "node_modules/electron-to-chromium": {
"version": "1.4.283", "version": "1.4.284",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.283.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz",
"integrity": "sha512-g6RQ9zCOV+U5QVHW9OpFR7rdk/V7xfopNXnyAamdpFgCHgZ1sjI8VuR1+zG2YG/TZk+tQ8mpNkug4P8FU0fuOA==", "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==",
"dev": true "dev": true
}, },
"node_modules/emoji-regex": { "node_modules/emoji-regex": {
@ -6451,10 +6454,10 @@
"integrity": "sha512-PvBRi4hbgbiBwDjhHa9lGD/ala8dSTjKeNAsHAgsXdIo4v9RgCk2s3Zqd/4UXVBgTJHVM6F7fGOZPvvJfSNVLQ==" "integrity": "sha512-PvBRi4hbgbiBwDjhHa9lGD/ala8dSTjKeNAsHAgsXdIo4v9RgCk2s3Zqd/4UXVBgTJHVM6F7fGOZPvvJfSNVLQ=="
}, },
"node_modules/pocketbase-typegen": { "node_modules/pocketbase-typegen": {
"version": "1.0.5", "version": "1.0.6",
"resolved": "git+ssh://git@github.com/patmood/pocketbase-typegen.git#0436b90d713f9e4b4bd9cde3a4dafe0c1a162a77", "resolved": "https://registry.npmjs.org/pocketbase-typegen/-/pocketbase-typegen-1.0.6.tgz",
"integrity": "sha512-hSS5Y3QGBcPdvSXVJUAa8A63C3Kqfi7a73mackm/Bs0h1T56+NrYG3vJo/5arOcW4SJwYYtzJF9VjdNVD9q1YQ==",
"dev": true, "dev": true,
"license": "ISC",
"dependencies": { "dependencies": {
"commander": "^9.4.1", "commander": "^9.4.1",
"cross-fetch": "^3.1.5", "cross-fetch": "^3.1.5",
@ -9570,9 +9573,9 @@
} }
}, },
"@hyper-tuner/ini": { "@hyper-tuner/ini": {
"version": "0.4.0", "version": "0.6.0",
"resolved": "https://npm.pkg.github.com/download/@hyper-tuner/ini/0.4.0/ac56c09d35b79b0ed6cef50557be9d459b0e6357", "resolved": "https://npm.pkg.github.com/download/@hyper-tuner/ini/0.6.0/149ea7bcb587964674679c209db8948ddd8e49a9",
"integrity": "sha512-A6DdEUfMNDYhIJrHMQeROKBzYU9bbfHqqGnO95hYGsenkpb7Avv665yu5CqvUjgOxLb48nYMrXrHNUziQ8uybw==", "integrity": "sha512-G8IOjuIlR4nULSnA765BEUdCrcmiEIAIox/dJU4+Tm79cFap1yMj+LumOr62gO0LKY7AFnAmN+T2v7wCHijqLA==",
"requires": { "requires": {
"@hyper-tuner/types": "^0.4.0", "@hyper-tuner/types": "^0.4.0",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
@ -10557,9 +10560,9 @@
"dev": true "dev": true
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30001420", "version": "1.0.30001421",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001420.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001421.tgz",
"integrity": "sha512-OnyeJ9ascFA9roEj72ok2Ikp7PHJTKubtEJIQ/VK3fdsS50q4KWy+Z5X0A1/GswEItKX0ctAp8n4SYDE7wTu6A==", "integrity": "sha512-Sw4eLbgUJAEhjLs1Fa+mk45sidp1wRn5y6GtDpHGBaNJ9OCDJaVh2tIaWWUnGfuXfKf1JCBaIarak3FkVAvEeA==",
"dev": true "dev": true
}, },
"chalk": { "chalk": {
@ -10843,9 +10846,9 @@
"integrity": "sha512-Gj9hZN3a07cbR6zviMUBOMPdWxYhbMI+x+WS0NAIu2zFZmbK8ys9R79g+iG9qLnlCwpFoaB+fKy8Pdv470GsPA==" "integrity": "sha512-Gj9hZN3a07cbR6zviMUBOMPdWxYhbMI+x+WS0NAIu2zFZmbK8ys9R79g+iG9qLnlCwpFoaB+fKy8Pdv470GsPA=="
}, },
"electron-to-chromium": { "electron-to-chromium": {
"version": "1.4.283", "version": "1.4.284",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.283.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz",
"integrity": "sha512-g6RQ9zCOV+U5QVHW9OpFR7rdk/V7xfopNXnyAamdpFgCHgZ1sjI8VuR1+zG2YG/TZk+tQ8mpNkug4P8FU0fuOA==", "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==",
"dev": true "dev": true
}, },
"emoji-regex": { "emoji-regex": {
@ -13247,9 +13250,10 @@
"integrity": "sha512-PvBRi4hbgbiBwDjhHa9lGD/ala8dSTjKeNAsHAgsXdIo4v9RgCk2s3Zqd/4UXVBgTJHVM6F7fGOZPvvJfSNVLQ==" "integrity": "sha512-PvBRi4hbgbiBwDjhHa9lGD/ala8dSTjKeNAsHAgsXdIo4v9RgCk2s3Zqd/4UXVBgTJHVM6F7fGOZPvvJfSNVLQ=="
}, },
"pocketbase-typegen": { "pocketbase-typegen": {
"version": "git+ssh://git@github.com/patmood/pocketbase-typegen.git#0436b90d713f9e4b4bd9cde3a4dafe0c1a162a77", "version": "1.0.6",
"resolved": "https://registry.npmjs.org/pocketbase-typegen/-/pocketbase-typegen-1.0.6.tgz",
"integrity": "sha512-hSS5Y3QGBcPdvSXVJUAa8A63C3Kqfi7a73mackm/Bs0h1T56+NrYG3vJo/5arOcW4SJwYYtzJF9VjdNVD9q1YQ==",
"dev": true, "dev": true,
"from": "pocketbase-typegen@https://github.com/patmood/pocketbase-typegen",
"requires": { "requires": {
"commander": "^9.4.1", "commander": "^9.4.1",
"cross-fetch": "^3.1.5", "cross-fetch": "^3.1.5",

View File

@ -17,10 +17,10 @@
"lint": "tsc && eslint --max-warnings=0 src", "lint": "tsc && eslint --max-warnings=0 src",
"lint:fix": "eslint --fix src", "lint:fix": "eslint --fix src",
"stats:bundle": "npm run build && open stats.html", "stats:bundle": "npm run build && open stats.html",
"typegen": "pocketbase-typegen --db ../pocketbase/pb_data/data.db -o src/@types/pocketbase-types.ts" "typegen": "pocketbase-typegen --json ../pocketbase/pb_schema.json --out src/@types/pocketbase-types.ts"
}, },
"dependencies": { "dependencies": {
"@hyper-tuner/ini": "^0.4.0", "@hyper-tuner/ini": "^0.6.0",
"@hyper-tuner/types": "^0.4.0", "@hyper-tuner/types": "^0.4.0",
"@reduxjs/toolkit": "^1.8.6", "@reduxjs/toolkit": "^1.8.6",
"@sentry/react": "^7.15.0", "@sentry/react": "^7.15.0",
@ -52,8 +52,8 @@
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.6",
"@types/react-redux": "^7.1.24", "@types/react-redux": "^7.1.24",
"@types/react-router-dom": "^5.3.3", "@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^5.40.0", "@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.0", "@typescript-eslint/parser": "^5.40.1",
"@vitejs/plugin-react": "^2.1.0", "@vitejs/plugin-react": "^2.1.0",
"eslint": "^8.25.0", "eslint": "^8.25.0",
"eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-flowtype": "^8.0.3",
@ -64,7 +64,7 @@
"eslint-plugin-react": "^7.31.10", "eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"less": "^4.1.3", "less": "^4.1.3",
"pocketbase-typegen": "^1.0.5", "pocketbase-typegen": "^1.0.6",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"rollup-plugin-visualizer": "^5.8.3", "rollup-plugin-visualizer": "^5.8.3",
"typescript": "^4.8.4" "typescript": "^4.8.4"