Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into roland/ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrnt committed May 20, 2021
2 parents 11c51fe + a814124 commit c9399bd
Show file tree
Hide file tree
Showing 258 changed files with 811,163 additions and 19,472 deletions.
233 changes: 233 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
{
"projectName": "autocomplete",
"projectOwner": "withfig",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 30,
"commit": true,
"contributorsPerLine": 10,
"commitConvention": "gitmoji",
"contributorTemplate": "<a href=\"<%= contributor.profile %>\"><img src=\"<%= contributor.avatar_url %>\" width=\"<%= options.imageSize %>px;\" alt=\"\" style=\"border-radius:100%!important\"></a>",
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg)](#contributors)",
"contributors": [
{
"login": "falky97",
"name": "Brendan Falk",
"avatar_url": "https://avatars.githubusercontent.com/u/4949076?v=4",
"profile": "https://github.com/falky97",
"contributions": [
"code"
]
},
{
"login": "rolandtshen",
"name": "Roland Shen",
"avatar_url": "https://avatars.githubusercontent.com/u/8952958?v=4",
"profile": "http://rolandshen.com/",
"contributions": [
"code"
]
},
{
"login": "mattschrage",
"name": "Matt Schrage",
"avatar_url": "https://avatars.githubusercontent.com/u/3155109?v=4",
"profile": "http://mschrage.com/",
"contributions": [
"code"
]
},
{
"login": "cstrnt",
"name": "Tim Raderschad",
"avatar_url": "https://avatars.githubusercontent.com/u/20679094?v=4",
"profile": "https://cstrnt.dev/",
"contributions": [
"code"
]
},
{
"login": "QuiiBz",
"name": "Tom",
"avatar_url": "https://avatars.githubusercontent.com/u/43268759?v=4",
"profile": "https://github.com/QuiiBz",
"contributions": [
"code"
]
},
{
"login": "Jubeki",
"name": "Julius Kiekbusch",
"avatar_url": "https://avatars.githubusercontent.com/u/15707543?v=4",
"profile": "https://julius-kiekbusch.de/",
"contributions": [
"code"
]
},
{
"login": "FlowyCoder",
"name": "Flowy",
"avatar_url": "https://avatars.githubusercontent.com/u/28676154?v=4",
"profile": "https://github.com/FlowyCoder",
"contributions": [
"code"
]
},
{
"login": "samwinslow",
"name": "Sam Winslow",
"avatar_url": "https://avatars.githubusercontent.com/u/4645779?v=4",
"profile": "https://github.com/samwinslow",
"contributions": [
"code"
]
},
{
"login": "jsj",
"name": "James Jackson",
"avatar_url": "https://avatars.githubusercontent.com/u/13633271?v=4",
"profile": "https://jamesj.ac/kson",
"contributions": [
"code"
]
},
{
"login": "dipakparmar",
"name": "Dipak Parmar",
"avatar_url": "https://avatars.githubusercontent.com/u/24366206?v=4",
"profile": "https://github.com/dipakparmar",
"contributions": [
"code"
]
},
{
"login": "DannyAziz",
"name": "Danny Aziz",
"avatar_url": "https://avatars.githubusercontent.com/u/3679064?v=4",
"profile": "https://github.com/DannyAziz",
"contributions": [
"code"
]
},
{
"login": "jdotjdot",
"name": "JJ Fliegelman",
"avatar_url": "https://avatars.githubusercontent.com/u/1328961?v=4",
"profile": "https://github.com/jdotjdot",
"contributions": [
"code"
]
},
{
"login": "alexnaiman",
"name": "Alexandru Naiman",
"avatar_url": "https://avatars.githubusercontent.com/u/25799714?v=4",
"profile": "https://github.com/alexnaiman",
"contributions": [
"code"
]
},
{
"login": "omichowdhury",
"name": "Omi",
"avatar_url": "https://avatars.githubusercontent.com/u/969419?v=4",
"profile": "https://github.com/omichowdhury",
"contributions": [
"code"
]
},
{
"login": "winnayx",
"name": "winnayx",
"avatar_url": "https://avatars.githubusercontent.com/u/46658657?v=4",
"profile": "https://github.com/winnayx",
"contributions": [
"code"
]
},
{
"login": "Nullfuse",
"name": "Brian",
"avatar_url": "https://avatars.githubusercontent.com/u/61602086?v=4",
"profile": "https://github.com/Nullfuse",
"contributions": [
"code"
]
},
{
"login": "vicentube",
"name": "Vicente Úbeda",
"avatar_url": "https://avatars.githubusercontent.com/u/73502080?v=4",
"profile": "https://github.com/vicentube",
"contributions": [
"code"
]
},
{
"login": "rk-yen",
"name": "Ravi Y",
"avatar_url": "https://avatars.githubusercontent.com/u/4944665?v=4",
"profile": "https://github.com/rk-yen",
"contributions": [
"code"
]
},
{
"login": "berbaroovez",
"name": "Carter",
"avatar_url": "https://avatars.githubusercontent.com/u/6900468?v=4",
"profile": "https://github.com/berbaroovez",
"contributions": [
"code"
]
},
{
"login": "smeevil",
"name": "Gerard de Brieder",
"avatar_url": "https://avatars.githubusercontent.com/u/13874?v=4",
"profile": "https://github.com/smeevil",
"contributions": [
"code"
]
},
{
"login": "Chair4ce",
"name": "Chair4ce",
"avatar_url": "https://avatars.githubusercontent.com/u/33118919?v=4",
"profile": "https://github.com/Chair4ce",
"contributions": [
"code"
]
},
{
"login": "LI0131",
"name": "Liam McCann",
"avatar_url": "https://avatars.githubusercontent.com/u/4829473?v=4",
"profile": "https://github.com/LI0131",
"contributions": [
"code"
]
},
{
"login": "sauntimo",
"name": "Tim Saunders",
"avatar_url": "https://avatars.githubusercontent.com/u/2720466?v=4",
"profile": "http://sauntimo.org/",
"contributions": [
"code"
]
},
{
"login": "ygaitonde",
"name": "Yash Gaitonde",
"avatar_url": "https://avatars.githubusercontent.com/u/54426809?v=4",
"profile": "https://github.com/ygaitonde",
"contributions": [
"code"
]
}
]
}
11 changes: 1 addition & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,13 @@ module.exports = {
},
extends: [
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended",
"plugin:fig-linter/recommended",
],
plugins: ["fig-linter"],
rules: {
"@typescript-eslint/explicit-module-boundary-types": 0,
"prettier/prettier": [
"error",
{
// Optional Prettier config changes
trailingComma: "es5",
printWidth: 80,
},
],
"no-unused-vars": ["off"],
"no-var": ["off"],
"@typescript-eslint/no-unused-vars": ["off"],
},
};
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ labels: "Bug"
Please fill out each section below, otherwise, your issue will be closed. This info allows Fig maintainers to diagnose (and fix!) your issue as quickly as possible.
Useful Links:
- Documentation: https://withfig.com/docs/autocomplete/getting-started
- Documentation: https://fig.io/docs/autocomplete/getting-started
Before opening a new issue, please search existing issues: https://github.com/withfig/autocomplete/issues
-->
Expand All @@ -35,11 +35,11 @@ What happened.

### System Information

*Fig Version:*
_Fig Version:_

*OS:*
_OS:_

*Device:*
_Device:_

### Potential Solution

Expand Down
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
blank_issues_enabled: true
contact_links:
- about: "Create a new issue in the withfig/fig repo to be directed to the right place"
name: Not an autocomplete issue?
url: "https://github.com/withfig/fig/issues/new/choose"
- about: "Fig's support knowledge base"
name: "💬 Forum"
url: "https://forum.withfig.com"
- about: "Get instant support from the Fig Community Slack"
name: "👋 Slack"
url: "https://fig.io/community"
- about: "Get support from the Fig team at [email protected]"
name: "📩 Email"
url: "https://tinyurl.com/y4m9zqlw"
42 changes: 42 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build and release specs

on:
push:
branches:
# We only want to create a new release when
# - a pr is merged to master
# - we push into master
- "master"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Install all dependencies
- name: install
run: npm install
# Transpile all specs from ts to js
- name: build
run: npm run build
# Zip the transpiled files into the specs.zip file
- name: bundle files
run: zip -r specs.zip specs/
# Bump the version and create a git tag with the new version
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
tag_prefix: spec-build-number-
# Bump versions in full numbers (1.0.0 -> 2.0.0)
default_bump: minor
github_token: ${{ secrets.GITHUB_TOKEN }}
# Create a new github release with the newly created specs.zip file
- name: Release
uses: softprops/action-gh-release@v1
with:
files: specs.zip
tag_name: ${{ steps.tag_version.outputs.new_tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 22 additions & 0 deletions .github/workflows/danger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check PR

on: [pull_request_target]
jobs:
danger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm install -g yarn
- run: yarn install --frozen-lockfile
- run: yarn danger ci
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
- run: yarn danger ci -d ./dangerfile-greeting.ts
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
- run: yarn danger ci -d ./dangerfile-invite.ts
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
34 changes: 34 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Update Docs && Website

on:
push:
branches:
- "master"
paths:
- "schemas/fig.d.ts"

jobs:
update_page:
runs-on: "ubuntu-latest"
env:
UPDATE_SITE_TOKEN: ${{ secrets.UPDATE_PRIVATE_DOCS_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: update submodules
run: |
git clone https://withfig-bot:[email protected]/withfig/public-site-nextjs.git
cd public-site-nextjs
curl https://fig.io/api/docs/parseDocs -o newDocs.zip
unzip -o newDocs.zip -d docs/autocomplete/schemas/
rm -f newDocs.zip
git config user.email "[email protected]"
git config user.name "Figbot"
git add docs/autocomplete/schemas/
git commit -m "added updates to docs"
git push origin main --force
Loading

0 comments on commit c9399bd

Please sign in to comment.