@databutton/firebase-types 1.56.14 → 1.56.17

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 (2) hide show
  1. package/README.md +0 -49
  2. package/package.json +2 -80
package/README.md CHANGED
@@ -1,50 +1 @@
1
- # Databutton Firebase
2
-
3
- This repo contains firestore types, functions and rules for Databutton.
4
-
5
- ## Contributing
6
-
7
- This repo runs TypeScript and is a pure ESM project. This basically means that you have to write `import x from 'x';` and you can no longer write `const x = require('x');`
8
-
9
- In addition, all imports needs to be relative paths and include file-ending (.js). This is also the case when importing TypeScript files because the imports are used after the TypeScript has been transpiled into JavaScript.
10
-
11
- For more info, check out this [guide on writing pure ESM packages](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c)
12
-
13
- ### Developing
14
-
15
- ```sh
16
- yarn install
17
- ```
18
-
19
- ### Running tests
20
-
21
- ```sh
22
- yarn test:rules
23
- ```
24
-
25
- ### Linting
26
-
27
- ```sh
28
- yarn lint
29
- ```
30
-
31
- ### Running locally
32
-
33
- *Note:* You need Google Credentials
34
-
35
- ```bash
36
- yarn shell
37
- ```
38
-
39
- ### Execute firebase scripts (for migration etch.)
40
-
41
- Set up GOOGLE_APPLICATION_CREDENTIALS from the following guide: <https://firebase.google.com/docs/admin/setup#initialize-sdk> and add the environment variable to the file `<PROJECT_ROOT>/.env`
42
-
43
- Modify the `src/run.ts`-file to do what you want.
44
-
45
- Execute the script running this command
46
-
47
- ```bash
48
- yarn execute
49
- ```
50
1
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.56.14",
4
- "main": "./lib/index.js",
3
+ "version": "1.56.17",
4
+ "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": "18"
@@ -21,84 +21,6 @@
21
21
  "@semantic-release/github"
22
22
  ]
23
23
  },
24
- "scripts": {
25
- "cli:local": "ts-node-esm -T local-scripts/main.ts",
26
- "cli": "ts-node-esm -T functions/cli/main.ts",
27
- "cli:login": "gcloud iam service-accounts keys create ~/.config/gcloud/databutton-firebase-cli.json --iam-account=firebase-adminsdk-4ay2f@databutton.iam.gserviceaccount.com",
28
- "lint": "biome check functions test && tsc --noEmit",
29
- "format": "biome format functions test",
30
- "ts-lint": "tsc --noEmit",
31
- "prepublishOnly": "tsc && rm lib/index.js",
32
- "build": "tsc",
33
- "execute": "LOCAL=true ts-node-esm functions/run.ts",
34
- "serve": "yarn build && firebase emulators:start --only functions",
35
- "shell": "yarn build && firebase functions:shell",
36
- "start": "yarn shell",
37
- "firebase": "firebase",
38
- "emulate:firestore": "firebase emulators:start --only firestore,auth --project test",
39
- "test:rules": "firebase emulators:exec --only firestore,auth 'jest ./test/firestore-rules --runInBand --silent'",
40
- "test": "jest ./test/firestore-rules --runInBand",
41
- "deploy:rules": "firebase deploy --only firestore:rules",
42
- "deploy:functions": "firebase deploy --only functions",
43
- "export:config": "firebase functions:config:get > .runtimeconfig.json",
44
- "export:indexes": "firebase firestore:indexes",
45
- "logs": "firebase functions:log",
46
- "jest": "jest",
47
- "semantic-release": "semantic-release"
48
- },
49
- "dependencies": {
50
- "@google-cloud/bigquery": "^6.2.0",
51
- "@google-cloud/trace-agent": "^7.1.2",
52
- "@linear/sdk": "7.0.1",
53
- "@segment/analytics-node": "^1.1.0",
54
- "@sendgrid/mail": "7.7.0",
55
- "@sentry/node": "7.66.0",
56
- "@sentry/tracing": "7.66.0",
57
- "@slack/web-api": "6.9.0",
58
- "capture-website": "3.2.0",
59
- "cors": "2.8.5",
60
- "firebase": "9.23.0",
61
- "firebase-admin": "11.11.0",
62
- "firebase-functions": "4.4.1",
63
- "google-auth-library": "^8.6.0",
64
- "intercom-client": "3.2.1",
65
- "ky": "0.33.3",
66
- "ky-universal": "0.12.0",
67
- "lodash": "4.17.21",
68
- "nanoid": "4.0.2",
69
- "stripe": "^12.8.0",
70
- "uuid": "8.3.2"
71
- },
72
- "devDependencies": {
73
- "@biomejs/biome": "1.1.2",
74
- "@firebase/rules-unit-testing": "2.0.7",
75
- "@sentry/types": "7.66.0",
76
- "@types/analytics-node": "3.1.12",
77
- "@types/archiver": "5.3.3",
78
- "@types/cli-progress": "^3.11.0",
79
- "@types/diff": "5.0.5",
80
- "@types/inquirer": "9.0.4",
81
- "@types/jest": "29.5.5",
82
- "@types/lodash": "4.14.199",
83
- "@types/node": "18.18.4",
84
- "@types/uuid": "8.3.4",
85
- "ansi-escapes": "6.2.0",
86
- "archiver": "^5.3.1",
87
- "cli-progress": "^3.12.0",
88
- "diff": "5.1.0",
89
- "dotenv": "16.3.1",
90
- "firebase-functions-test": "3.1.0",
91
- "firebase-tools": "11.30.0",
92
- "inquirer": "9.2.11",
93
- "jest": "29.7.0",
94
- "p-queue": "^7.3.4",
95
- "semantic-release": "19.0.5",
96
- "ts-jest": "29.1.1",
97
- "ts-node": "10.9.1",
98
- "type-fest": "3.13.1",
99
- "typescript": "4.9.5",
100
- "url-slug": "3.0.6"
101
- },
102
24
  "repository": {
103
25
  "type": "git",
104
26
  "url": "https://github.com/databutton/databutton-firebase.git"