Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging #1668

Merged
merged 28 commits into from
Sep 21, 2021
Merged

Staging #1668

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
06a2866
Specified that plugin_class is required and also added darkmode flag …
imolorhe Aug 31, 2021
4bcf08c
Throw error if plugin instance cannot be created
imolorhe Aug 31, 2021
3281720
bump koa deps and fix keywords
gengjiawen Sep 13, 2021
e645b1c
update prettier to fix graphql bug.
imolorhe Sep 17, 2021
c9376c3
fix default values in doc viewer.
imolorhe Sep 19, 2021
e82e6b8
Handle RequestscriptError.
imolorhe Sep 19, 2021
9b08785
update chrome version
imolorhe Sep 19, 2021
812dee5
Merge branch 'staging' into feat/koa
imolorhe Sep 19, 2021
4f971ab
updated request script editor styles
imolorhe Sep 19, 2021
60b3b1a
updated snapshots
imolorhe Sep 19, 2021
3a7d3b1
update caniuse-lite
imolorhe Sep 19, 2021
a464012
update angular/core@12
imolorhe Sep 19, 2021
34fae11
update dep
imolorhe Sep 19, 2021
52abdb6
enabl production build by default
imolorhe Sep 19, 2021
7458e98
downgraded prettier
imolorhe Sep 19, 2021
76d119c
Merge branch 'staging' into feat/koa
imolorhe Sep 19, 2021
7916cd1
fix ui bug
imolorhe Sep 19, 2021
f702725
updated snapshot
imolorhe Sep 19, 2021
115e24d
Merge branch 'staging' into feat/koa
imolorhe Sep 19, 2021
b7cb49c
added angular-eslint
imolorhe Sep 19, 2021
d754769
replaced tslint with eslint
imolorhe Sep 19, 2021
f9bafae
fixed all linting issues
imolorhe Sep 19, 2021
3be2a3b
Merge branch 'staging' into feat/koa
imolorhe Sep 19, 2021
fef7304
Merge pull request #1661 from gengjiawen/feat/koa
imolorhe Sep 19, 2021
48edbb9
updated node and chrome versions
imolorhe Sep 20, 2021
4147efb
add electron-chromedriver
imolorhe Sep 20, 2021
a7fe238
disable electron e2e tests for now
imolorhe Sep 20, 2021
fd40c59
Upgraded to v4.0.10
imolorhe Sep 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
node-version: [12.x]
node-version: [14.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -27,6 +27,7 @@ jobs:
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- uses: browser-actions/setup-chrome@latest
- uses: nick-invision/retry@v2
with:
timeout_minutes: 15
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: [12.x]
node-version: [14.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 14.x
- run: bin/deploy_docs.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 14.x
- run: yarn --frozen-lockfile
- run: yarn build:ci
- name: Deploy to translate surge.sh
Expand Down
2 changes: 1 addition & 1 deletion chrome-ext-files/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Altair GraphQL Client",
"short_name": "Altair",
"description": "The only graphQL client you'll ever need.",
"version": "4.0.9",
"version": "4.0.10",
"icons": {
"16": "assets/img/altair_logo_128.png",
"48": "assets/img/altair_logo_128.png",
Expand Down
2 changes: 1 addition & 1 deletion cwex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ manifestOptions:
name: Altair GraphQL Client
short_name: Altair
description: A beautiful feature-rich GraphQL client for all platforms
version: 4.0.9
version: 4.0.10
icons:
16: assets/img/altair_logo_128.png
48: assets/img/altair_logo_128.png
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": [
"packages/*"
],
"version": "4.0.9",
"version": "4.0.10",
"registry": "https://registry.npmjs.org/",
"npmClient": "yarn",
"stream": true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altair",
"version": "4.0.9",
"version": "4.0.10",
"license": "MIT",
"author": "Samuel Imolorhe <altair@sirmuel.design> (https://sirmuel.design/)",
"description": "The best graphQL client you will ever need",
Expand Down
52 changes: 52 additions & 0 deletions packages/altair-app/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
module.exports = {
root: true,
ignorePatterns: [
"projects/**/*"
],
overrides: [
{
files: [
"*.ts"
],
parserOptions: {
project: [
"tsconfig.json",
"e2e/tsconfig.json"
],
tsconfigRootDir: __dirname,
createDefaultProgram: true
},
extends: [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
rules: {
'@angular-eslint/component-selector': [
"error",
{
prefix: "app",
style: "kebab-case",
type: "element"
}
],
'@angular-eslint/directive-selector': [
"error",
{
prefix: "app",
style: "camelCase",
type: "attribute"
}
]
}
},
{
files: [
"*.html"
],
extends: [
"plugin:@angular-eslint/template/recommended"
],
rules: {}
}
]
}
55 changes: 34 additions & 21 deletions packages/altair-app/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@
"maximumWarning": "6kb"
}
],
"optimization": true,
"optimization": {
"scripts": true,
"styles": {
"minify": true,
"inlineCritical": false
},
"fonts": true
},
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
Expand All @@ -55,19 +62,23 @@
"with": "src/environments/environment.prod.ts"
}
]
}
}
},
"development": {}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "altair:build"
},
"options": {},
"configurations": {
"production": {
"browserTarget": "altair:build:production"
},
"development": {
"browserTarget": "altair:build:development"
}
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
Expand Down Expand Up @@ -99,14 +110,12 @@
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@angular-eslint/builder:lint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json",
"tsconfig.worker.json"
],
"exclude": []
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
}
}
Expand All @@ -121,15 +130,16 @@
"options": {
"protractorConfig": "./protractor.conf.js",
"devServerTarget": "altair:serve"
}
},
"configurations": {}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@angular-eslint/builder:lint",
"options": {
"tsConfig": [
"e2e/tsconfig.e2e.json"
],
"exclude": []
"lintFilePatterns": [
"e2e/**/*.ts",
"e2e/**/*.html"
]
}
}
}
Expand All @@ -145,5 +155,8 @@
"@schematics/angular:directive": {
"prefix": "app"
}
},
"cli": {
"defaultCollection": "@angular-eslint/schematics"
}
}
}
43 changes: 43 additions & 0 deletions packages/altair-app/e2e/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"extends": "../.eslintrc.js",
"ignorePatterns": [
"!**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"e2e/tsconfig.app.json",
"e2e/tsconfig.spec.json",
"e2e/e2e/tsconfig.json"
],
"createDefaultProgram": true
},
"rules": {
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"style": "kebab-case"
}
]
}
},
{
"files": [
"*.html"
],
"rules": {}
}
]
}