eletrotupi / tcc/ commit / 6a3fa1a

frontend: add google-services and other bullshits related to push notifications

Pedro Lucas Porcellis porcellis@eletrotupi.com 1 month ago 6a3fa1a67fda0d405e12bd12123985b1301b7b5a
Parents: a2422f7
5 file(s) changed
  • frontend/.gitignore +1 -0
  • frontend/app.json +2 -1
  • frontend/google-services.json +28 -0
  • frontend/package-lock.json +132 -0
  • frontend/package.json +1 -0
frontend/.gitignore
1 1
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
2 2

3 3
# dependencies
4 4
node_modules/
5 5

▸ 35 unchanged lines
41 41
# generated native folders
42 42
/ios
43 43
/android
44 44
/.tamagui
45 45
/public
46 +
nexo-e2a32-firebase-adminsdk-fbsvc-db04e34810.json
frontend/app.json
1 1
{
2 2
  "expo": {
3 3
    "name": "orbit",
4 4
    "slug": "orbit",
5 5
    "version": "1.0.0",
▸ 9 unchanged lines
15 15
        "backgroundImage": "./assets/images/android-icon-background.png",
16 16
        "monochromeImage": "./assets/images/android-icon-monochrome.png"
17 17
      },
18 18
      "edgeToEdgeEnabled": true,
19 19
      "predictiveBackGestureEnabled": false,
20 -
      "package": "com.eletrotupi.orbit"
20 +
      "package": "com.eletrotupi.orbit",
21 +
      "googleServicesFile": "./google-services.json"
21 22
    },
22 23
    "plugins": [
23 24
      "expo-router",
24 25
      [
25 26
        "expo-splash-screen",
▸ 60 unchanged lines
86 87
      }
87 88
    },
88 89
    "owner": "eletrotupi"
89 90
  }
90 91
}
frontend/google-services.json
@@ -0,0 +1,29 @@
1 + {
2 + "project_info": {
3 + "project_number": "128511802945",
4 + "project_id": "nexo-e2a32",
5 + "storage_bucket": "nexo-e2a32.firebasestorage.app"
6 + },
7 + "client": [
8 + {
9 + "client_info": {
10 + "mobilesdk_app_id": "1:128511802945:android:c01f3ab5ff34ad692b10c0",
11 + "android_client_info": {
12 + "package_name": "com.eletrotupi.orbit"
13 + }
14 + },
15 + "oauth_client": [],
16 + "api_key": [
17 + {
18 + "current_key": "AIzaSyCPAyfLr3y_ItcVDpKPIEEYoLkZqaCSjVg"
19 + }
20 + ],
21 + "services": {
22 + "appinvite_service": {
23 + "other_platform_oauth_client": []
24 + }
25 + }
26 + }
27 + ],
28 + "configuration_version": "1"
29 + }
frontend/package-lock.json
1 1
{
2 2
  "name": "orbit",
3 3
  "version": "0.0.0",
4 4
  "lockfileVersion": 3,
5 5
  "requires": true,
▸ 47 unchanged lines
53 53
        "zustand": "^5.0.13"
54 54
      },
55 55
      "devDependencies": {
56 56
        "@react-native-community/cli": "^20.1.3",
57 57
        "@types/react": "~19.1.0",
58 +
        "babel-preset-expo": "^56.0.15",
58 59
        "eslint": "^9.25.0",
59 60
        "eslint-config-expo": "~10.0.0",
60 61
        "typescript": "~5.9.2"
61 62
      }
62 63
    },
▸ 5112 unchanged lines
5175 5176
        "@babel/plugin-syntax-private-property-in-object": "^7.14.5",
5176 5177
        "@babel/plugin-syntax-top-level-await": "^7.14.5"
5177 5178
      },
5178 5179
      "peerDependencies": {
5179 5180
        "@babel/core": "^7.0.0 || ^8.0.0-0"
5181 +
      }
5182 +
    },
5183 +
    "node_modules/babel-preset-expo": {
5184 +
      "version": "56.0.15",
5185 +
      "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-56.0.15.tgz",
5186 +
      "integrity": "sha512-0MqbQoM6nBUbKvgu2xJ4VixZnUTGTq3HB2WwvOikdO4CiPxbQ+wGA25fOoHHSni5iEFW39wy6y1ookTWlq3wVw==",
5187 +
      "dev": true,
5188 +
      "license": "MIT",
5189 +
      "dependencies": {
5190 +
        "@babel/generator": "^7.20.5",
5191 +
        "@babel/helper-module-imports": "^7.25.9",
5192 +
        "@babel/plugin-proposal-decorators": "^7.12.9",
5193 +
        "@babel/plugin-proposal-export-default-from": "^7.24.7",
5194 +
        "@babel/plugin-syntax-dynamic-import": "^7.8.3",
5195 +
        "@babel/plugin-syntax-export-default-from": "^7.24.7",
5196 +
        "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
5197 +
        "@babel/plugin-syntax-optional-chaining": "^7.8.3",
5198 +
        "@babel/plugin-transform-async-generator-functions": "^7.25.4",
5199 +
        "@babel/plugin-transform-async-to-generator": "^7.24.7",
5200 +
        "@babel/plugin-transform-block-scoping": "^7.25.0",
5201 +
        "@babel/plugin-transform-class-properties": "^7.25.4",
5202 +
        "@babel/plugin-transform-class-static-block": "^7.27.1",
5203 +
        "@babel/plugin-transform-classes": "^7.25.4",
5204 +
        "@babel/plugin-transform-destructuring": "^7.24.8",
5205 +
        "@babel/plugin-transform-export-namespace-from": "^7.25.9",
5206 +
        "@babel/plugin-transform-flow-strip-types": "^7.25.2",
5207 +
        "@babel/plugin-transform-for-of": "^7.24.7",
5208 +
        "@babel/plugin-transform-logical-assignment-operators": "^7.24.7",
5209 +
        "@babel/plugin-transform-modules-commonjs": "^7.24.8",
5210 +
        "@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7",
5211 +
        "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
5212 +
        "@babel/plugin-transform-object-rest-spread": "^7.24.7",
5213 +
        "@babel/plugin-transform-optional-catch-binding": "^7.24.7",
5214 +
        "@babel/plugin-transform-optional-chaining": "^7.24.8",
5215 +
        "@babel/plugin-transform-parameters": "^7.24.7",
5216 +
        "@babel/plugin-transform-private-methods": "^7.24.7",
5217 +
        "@babel/plugin-transform-private-property-in-object": "^7.24.7",
5218 +
        "@babel/plugin-transform-react-display-name": "^7.24.7",
5219 +
        "@babel/plugin-transform-react-jsx": "^7.28.6",
5220 +
        "@babel/plugin-transform-react-jsx-development": "^7.27.1",
5221 +
        "@babel/plugin-transform-react-pure-annotations": "^7.27.1",
5222 +
        "@babel/plugin-transform-runtime": "^7.24.7",
5223 +
        "@babel/plugin-transform-typescript": "^7.25.2",
5224 +
        "@babel/plugin-transform-unicode-regex": "^7.24.7",
5225 +
        "@babel/preset-typescript": "^7.23.0",
5226 +
        "@react-native/babel-plugin-codegen": "0.85.3",
5227 +
        "babel-plugin-react-compiler": "^1.0.0",
5228 +
        "babel-plugin-react-native-web": "~0.21.0",
5229 +
        "babel-plugin-syntax-hermes-parser": "^0.33.3",
5230 +
        "babel-plugin-transform-flow-enums": "^0.0.2",
5231 +
        "debug": "^4.3.4"
5232 +
      },
5233 +
      "peerDependencies": {
5234 +
        "@babel/runtime": "^7.20.0",
5235 +
        "expo": "*",
5236 +
        "expo-widgets": "^56.0.18",
5237 +
        "react-refresh": ">=0.14.0 <1.0.0"
5238 +
      },
5239 +
      "peerDependenciesMeta": {
5240 +
        "@babel/runtime": {
5241 +
          "optional": true
5242 +
        },
5243 +
        "expo": {
5244 +
          "optional": true
5245 +
        },
5246 +
        "expo-widgets": {
5247 +
          "optional": true
5248 +
        }
5249 +
      }
5250 +
    },
5251 +
    "node_modules/babel-preset-expo/node_modules/@react-native/babel-plugin-codegen": {
5252 +
      "version": "0.85.3",
5253 +
      "resolved": "https://registry.npmjs.org/@react-native/babel-plugin-codegen/-/babel-plugin-codegen-0.85.3.tgz",
5254 +
      "integrity": "sha512-Wc94zGfeFG8Njf9SHMPfYZP04kjigkOps6F1TYTvd7ZVXuGxqseCDgxc50LWcOhOCLypI9n3oVVqz81C3p44ZA==",
5255 +
      "dev": true,
5256 +
      "license": "MIT",
5257 +
      "dependencies": {
5258 +
        "@babel/traverse": "^7.29.0",
5259 +
        "@react-native/codegen": "0.85.3"
5260 +
      },
5261 +
      "engines": {
5262 +
        "node": "^20.19.4 || ^22.13.0 || ^24.3.0 || >= 25.0.0"
5263 +
      }
5264 +
    },
5265 +
    "node_modules/babel-preset-expo/node_modules/@react-native/codegen": {
5266 +
      "version": "0.85.3",
5267 +
      "resolved": "https://registry.npmjs.org/@react-native/codegen/-/codegen-0.85.3.tgz",
5268 +
      "integrity": "sha512-/JkS1lGLyzBWP1FbgDwaqEf7qShIC6pUC1M0a/YMAd/v4iqR24MRkQWe7jkYvcBQ2LpEhs5NGE9InhxSv21zCA==",
5269 +
      "dev": true,
5270 +
      "license": "MIT",
5271 +
      "dependencies": {
5272 +
        "@babel/core": "^7.25.2",
5273 +
        "@babel/parser": "^7.29.0",
5274 +
        "hermes-parser": "0.33.3",
5275 +
        "invariant": "^2.2.4",
5276 +
        "nullthrows": "^1.1.1",
5277 +
        "tinyglobby": "^0.2.15",
5278 +
        "yargs": "^17.6.2"
5279 +
      },
5280 +
      "engines": {
5281 +
        "node": "^20.19.4 || ^22.13.0 || ^24.3.0 || >= 25.0.0"
5282 +
      },
5283 +
      "peerDependencies": {
5284 +
        "@babel/core": "*"
5285 +
      }
5286 +
    },
5287 +
    "node_modules/babel-preset-expo/node_modules/babel-plugin-syntax-hermes-parser": {
5288 +
      "version": "0.33.3",
5289 +
      "resolved": "https://registry.npmjs.org/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.33.3.tgz",
5290 +
      "integrity": "sha512-/Z9xYdaJ1lC0pT9do6TqCqhOSLfZ5Ot8D5za1p+feEfWYupCOfGbhhEXN9r2ZgJtDNUNRw/Z+T2CvAGKBqtqWA==",
5291 +
      "dev": true,
5292 +
      "license": "MIT",
5293 +
      "dependencies": {
5294 +
        "hermes-parser": "0.33.3"
5295 +
      }
5296 +
    },
5297 +
    "node_modules/babel-preset-expo/node_modules/hermes-estree": {
5298 +
      "version": "0.33.3",
5299 +
      "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.33.3.tgz",
5300 +
      "integrity": "sha512-6kzYZHCk8Fy1Uc+t3HGYyJn3OL4aeqKLTyina4UFtWl8I0kSL7OmKThaiX+Uh2f8nGw3mo4Ifxg0M5Zk3/Oeqg==",
5301 +
      "dev": true,
5302 +
      "license": "MIT"
5303 +
    },
5304 +
    "node_modules/babel-preset-expo/node_modules/hermes-parser": {
5305 +
      "version": "0.33.3",
5306 +
      "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.33.3.tgz",
5307 +
      "integrity": "sha512-Yg3HgaG4CqgyowtYjX/FsnPAuZdHOqSMtnbpylbptsQ9nwwSKsy6uRWcGO5RK0EqiX12q8HvDWKgeAVajRO5DA==",
5308 +
      "dev": true,
5309 +
      "license": "MIT",
5310 +
      "dependencies": {
5311 +
        "hermes-estree": "0.33.3"
5180 5312
      }
5181 5313
    },
5182 5314
    "node_modules/babel-preset-jest": {
5183 5315
      "version": "29.6.3",
5184 5316
      "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz",
▸ 9856 unchanged lines
15041 15173
        }
15042 15174
      }
15043 15175
    }
15044 15176
  }
15045 15177
}
frontend/package.json
1 1
{
2 2
  "name": "orbit",
3 3
  "main": "expo-router/entry",
4 4
  "version": "0.0.0",
5 5
  "scripts": {
▸ 49 unchanged lines
55 55
    "zustand": "^5.0.13"
56 56
  },
57 57
  "devDependencies": {
58 58
    "@react-native-community/cli": "^20.1.3",
59 59
    "@types/react": "~19.1.0",
60 +
    "babel-preset-expo": "^56.0.15",
60 61
    "eslint": "^9.25.0",
61 62
    "eslint-config-expo": "~10.0.0",
62 63
    "typescript": "~5.9.2"
63 64
  },
64 65
  "private": true
65 66
}