Skip to content

Commit 0aa377b

Browse files
committed
chore(*): merge latest
2 parents 5104098 + 39aae19 commit 0aa377b

File tree

268 files changed

+17292
-8773
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

268 files changed

+17292
-8773
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
---
5+
6+
<!-- Step 1 [READ THIS] -->
7+
<!--
8+
Are you in the right place?
9+
* For issues or feature requests related to __the code in this repository__
10+
file a Github issue.
11+
* If this is a __feature request__ make sure the issue title starts with "FR:".
12+
* For general technical questions, post a question on [StackOverflow](http://stackoverflow.com/)
13+
with the firebase-authentication tag.
14+
* For general Firebase discussion, use the [firebase-talk](https://groups.google.com/forum/#!forum/firebase-talk)
15+
google group.
16+
* For help troubleshooting your application that does not fall under one
17+
of the above categories, reach out to the personalized
18+
[Firebase support channel](https://firebase.google.com/support/).
19+
-->
20+
21+
<!-- Step 2 -->
22+
23+
### [REQUIRED] Describe your environment
24+
25+
- Operating System version: **\_**
26+
- Browser version: **\_**
27+
- Firebase UI version: **\_**
28+
- Firebase SDK version: **\_**
29+
- Package name: **\_**
30+
31+
<!-- Step 3 -->
32+
33+
### [REQUIRED] Describe the problem
34+
35+
#### Steps to reproduce
36+
37+
<!--
38+
What happened? How can we make the problem occur?
39+
This could be a description, log/console output, etc.
40+
-->
41+
42+
#### Relevant Code
43+
44+
<!--
45+
Reproduce the issue on StackBlitz and provide your forked URL
46+
or give us some sample code below
47+
-->
48+
49+
<https://stackblitz.com/fork/firebase-issue-sandbox>
50+
51+
```javascript
52+
// TODO(you): code here to reproduce the problem
53+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
---
5+
6+
**Is your feature request related to a problem? Please describe.**
7+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
8+
9+
**Describe the solution you'd like**
10+
A clear and concise description of what you want to happen.
11+
12+
**Describe alternatives you've considered**
13+
A clear and concise description of any alternative solutions or features you've considered.
14+
15+
**Additional context**
16+
Add any other context or screenshots about the feature request here.

.github/workflows/test.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
pull_request:
8+
branches:
9+
- "**"
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Setup node
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '20'
21+
check-latest: true
22+
- name: Setup pnpm
23+
uses: pnpm/action-setup@v4
24+
with:
25+
version: latest
26+
- name: Install dependencies
27+
run: pnpm install
28+
- name: Install Firebase CLI
29+
run: npm i -g [email protected]
30+
- name: Start Firebase emulator and run tests
31+
run: |
32+
firebase emulators:start --only auth --project demo-test &
33+
sleep 15
34+
# Wait for emulator to be ready
35+
until wget -q --spider http://localhost:9099 2>/dev/null; do
36+
echo "Waiting for emulator to start..."
37+
sleep 2
38+
done
39+
echo "Emulator is ready, running tests..."
40+
pnpm test

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ dist
1212
dist-ssr
1313
*.local
1414

15+
# Angular
16+
.angular
17+
1518
# Editor directories and files
1619
.vscode/*
1720
!.vscode/extensions.json

.opensource/project.json

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
{
2-
"name": "FirebaseUI for Web",
3-
4-
"platforms": [
5-
"Web"
6-
],
7-
8-
"content": "README.md",
2+
"name": "FirebaseUI for Web",
93

10-
"pages" : {
11-
"LANGUAGES.md": "Supported Languages"
12-
},
13-
14-
"related": [
15-
"firebase/firebaseui-android",
16-
"firebase/firebaseui-ios",
17-
"firebase/firebaseui-web-react"
18-
]
4+
"platforms": ["Web"],
5+
6+
"content": "README.md",
7+
8+
"pages": {
9+
"LANGUAGES.md": "Supported Languages"
10+
},
11+
12+
"related": ["firebase/firebaseui-android", "firebase/firebaseui-ios", "firebase/firebaseui-web-react"]
1913
}

.prettierignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Dependencies
2+
node_modules/
3+
pnpm-lock.yaml
4+
package-lock.json
5+
yarn.lock
6+
7+
# Build outputs
8+
dist/
9+
build/
10+
.angular/
11+
releases/
12+
13+
# Generated files
14+
*.min.js
15+
*.min.css
16+
17+
# Logs
18+
*.log
19+
20+
# OS generated files
21+
.DS_Store
22+
Thumbs.db

.prettierrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "es5",
4+
"singleQuote": false,
5+
"printWidth": 120,
6+
"tabWidth": 2,
7+
"useTabs": false,
8+
"endOfLine": "auto"
9+
}

eslint.config.js

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/**
2+
* Copyright 2025 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
import js from "@eslint/js";
18+
import prettier from "eslint-config-prettier";
19+
20+
export default [
21+
{ ignores: ["**/dist/**", "**/node_modules/**", "**/releases/**", "**/.angular/**"] },
22+
js.configs.recommended,
23+
prettier,
24+
{
25+
files: ["**/*.{js,jsx,ts,tsx}"],
26+
languageOptions: {
27+
ecmaVersion: 2022,
28+
sourceType: "module",
29+
parserOptions: {
30+
ecmaFeatures: {
31+
jsx: true,
32+
},
33+
},
34+
},
35+
rules: {
36+
// Core JavaScript rules
37+
"no-unused-vars": ["error", { varsIgnorePattern: "^_", argsIgnorePattern: "^_" }],
38+
"no-console": "warn",
39+
"prefer-const": "error",
40+
"no-var": "error",
41+
42+
// Security and best practices
43+
"no-debugger": "error",
44+
"no-eval": "error",
45+
"no-implied-eval": "error",
46+
"no-new-func": "error",
47+
"no-script-url": "error",
48+
"no-with": "error",
49+
50+
// Modern JavaScript preferences
51+
"prefer-arrow-callback": "error",
52+
"prefer-template": "error",
53+
"prefer-destructuring": ["error", { object: true, array: false }],
54+
55+
// Code quality
56+
eqeqeq: ["error", "always"],
57+
"no-duplicate-imports": "error",
58+
"no-useless-return": "error",
59+
"no-useless-concat": "error",
60+
},
61+
},
62+
];

examples/angular/.postcssrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"plugins": {
33
"@tailwindcss/postcss": {}
44
}
5-
}
5+
}

examples/angular/.prettierrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "es5",
4+
"singleQuote": false,
5+
"printWidth": 120,
6+
"tabWidth": 2,
7+
"useTabs": false,
8+
"endOfLine": "auto"
9+
}

0 commit comments

Comments
 (0)