This commit is contained in:
1
node_modules/gotrue-js/.github/CODEOWNERS
generated
vendored
Normal file
1
node_modules/gotrue-js/.github/CODEOWNERS
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
* @netlify/netlify-dev
|
||||
40
node_modules/gotrue-js/.github/ISSUE_TEMPLATE/bug_report.md
generated
vendored
Normal file
40
node_modules/gotrue-js/.github/ISSUE_TEMPLATE/bug_report.md
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Desktop (please complete the following information):**
|
||||
|
||||
- OS: [e.g. iOS]
|
||||
- Browser [e.g. chrome, safari]
|
||||
- Version [e.g. 22]
|
||||
|
||||
**Smartphone (please complete the following information):**
|
||||
|
||||
- Device: [e.g. iPhone6]
|
||||
- OS: [e.g. iOS8.1]
|
||||
- Browser [e.g. stock browser, safari]
|
||||
- Version [e.g. 22]
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
19
node_modules/gotrue-js/.github/ISSUE_TEMPLATE/feature_request.md
generated
vendored
Normal file
19
node_modules/gotrue-js/.github/ISSUE_TEMPLATE/feature_request.md
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
22
node_modules/gotrue-js/.github/workflows/babelify.yml
generated
vendored
Normal file
22
node_modules/gotrue-js/.github/workflows/babelify.yml
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: babelify
|
||||
on:
|
||||
# Workaround for syncing browser/gotrue.js on release-please PRs
|
||||
push:
|
||||
branches:
|
||||
- release-*
|
||||
jobs:
|
||||
babelify:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.NODE_PKG_RELEASE_TOKEN }}
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 15
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- run: npm run babelify
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: 'chore: sync browser/gotrue.js'
|
||||
31
node_modules/gotrue-js/.github/workflows/fossa.yml
generated
vendored
Normal file
31
node_modules/gotrue-js/.github/workflows/fossa.yml
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
name: Dependency License Scanning
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
jobs:
|
||||
fossa:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Fossa init
|
||||
run: |-
|
||||
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
|
||||
fossa init
|
||||
- name: Set env
|
||||
run: echo "line_number=$(grep -n "project" .fossa.yml | cut -f1 -d:)" >> $GITHUB_ENV
|
||||
- name: Configuration
|
||||
run: |-
|
||||
sed -i "${line_number}s|.*| project: git@github.com:${GITHUB_REPOSITORY}.git|" .fossa.yml
|
||||
cat .fossa.yml
|
||||
- name: Upload dependencies
|
||||
run: fossa analyze --debug
|
||||
env:
|
||||
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
|
||||
30
node_modules/gotrue-js/.github/workflows/labeler.yml
generated
vendored
Normal file
30
node_modules/gotrue-js/.github/workflows/labeler.yml
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Label PR
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, edited]
|
||||
|
||||
jobs:
|
||||
label-pr:
|
||||
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: erezrokah/pr-labeler-action@v1.0.0
|
||||
if: startsWith(github.event.pull_request.title, 'fix')
|
||||
with:
|
||||
token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
label: 'type: bug'
|
||||
- uses: erezrokah/pr-labeler-action@v1.0.0
|
||||
if: startsWith(github.event.pull_request.title, 'chore')
|
||||
with:
|
||||
token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
label: 'type: chore'
|
||||
- uses: erezrokah/pr-labeler-action@v1.0.0
|
||||
if: startsWith(github.event.pull_request.title, 'feat')
|
||||
with:
|
||||
token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
label: 'type: feature'
|
||||
- uses: erezrokah/pr-labeler-action@v1.0.0
|
||||
if: startsWith(github.event.pull_request.title, 'security')
|
||||
with:
|
||||
token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
label: 'type: security'
|
||||
47
node_modules/gotrue-js/.github/workflows/node.yml
generated
vendored
Normal file
47
node_modules/gotrue-js/.github/workflows/node.yml
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
name: GoTrueJS CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- '*'
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||
node-version: [15.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: log versions
|
||||
run: node --version && npm --version
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: compile code
|
||||
run: npm run babelify
|
||||
- name: Linting
|
||||
run: npm run format:ci
|
||||
- name: Tests
|
||||
run: npm run test:ci
|
||||
- name: Get test coverage flags
|
||||
id: test-coverage-flags
|
||||
run: |-
|
||||
os=${{ matrix.os }}
|
||||
node=${{ matrix.node-version }}
|
||||
echo "::set-output name=os::${os/-latest/}"
|
||||
echo "::set-output name=node::node_${node//./}"
|
||||
shell: bash
|
||||
- uses: codecov/codecov-action@v1
|
||||
with:
|
||||
file: coverage/coverage-final.json
|
||||
flags: ${{ steps.test-coverage-flags.outputs.os }},${{ steps.test-coverage-flags.outputs.node }}
|
||||
17
node_modules/gotrue-js/.github/workflows/release-please.yml
generated
vendored
Normal file
17
node_modules/gotrue-js/.github/workflows/release-please.yml
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: release-please
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
release-please:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: GoogleCloudPlatform/release-please-action@v2
|
||||
id: release
|
||||
with:
|
||||
# We can't rely on the GITHUB_TOKEN as we need to trigger
|
||||
# further actions and the GITHUB_TOKEN doesn't allow it
|
||||
token: ${{ secrets.NODE_PKG_RELEASE_TOKEN }}
|
||||
release-type: node
|
||||
package-name: 'gotrue-js'
|
||||
Reference in New Issue
Block a user