mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 02:57:34 +00:00
@@ -1,3 +1,7 @@
|
||||
<!-- Please use Conventional Commits to label your title -->
|
||||
<!-- https://www.conventionalcommits.org/en/v1.0.0/ -->
|
||||
<!-- Example: feat: allow provided config object to extend other configs -->
|
||||
|
||||
### Description
|
||||
|
||||
<!-- Fixes #(issue) -->
|
||||
|
||||
@@ -16,6 +16,8 @@ jobs:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: ${{ runner.os }}-node-
|
||||
- name: Add problem matcher
|
||||
run: echo "::add-matcher::.github/xo-problem-matcher.json"
|
||||
- name: Pull dependencies
|
||||
run: |
|
||||
npm ci
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "xo",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^\\s+(.*):(\\d+):(\\d+)$",
|
||||
"file": 1
|
||||
},
|
||||
{
|
||||
"regexp": "^\\s+✖\\s+(\\d+):(\\d+)\\s+(.*)\\s+(.*)$",
|
||||
"line": 1,
|
||||
"column": 2,
|
||||
"message": 3,
|
||||
"code": 4,
|
||||
"loop": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Generated
-871
File diff suppressed because it is too large
Load Diff
@@ -28,24 +28,11 @@
|
||||
"winston": "^3.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^11.0.0",
|
||||
"@commitlint/config-conventional": "^11.0.0",
|
||||
"@types/node": "^14.11.1",
|
||||
"@types/nodemailer": "^6.4.0",
|
||||
"@types/puppeteer": "^3.0.2",
|
||||
"husky": "^4.3.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"typescript": "^4.0.2",
|
||||
"xo": "^0.33.1"
|
||||
},
|
||||
"commitlint": {
|
||||
"extends": [
|
||||
"@commitlint/config-conventional"
|
||||
]
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import {Store} from './store';
|
||||
|
||||
export const Evga: Store = {
|
||||
cartUrl: '',
|
||||
links: [
|
||||
{
|
||||
brand: 'evga',
|
||||
model: 'ftw3, xc3 black, xc3 gaming, xc3 ultra gaming',
|
||||
url: 'https://www.evga.com/products/productlist.aspx?type=0&family=GeForce+30+Series+Family&chipset=RTX+3080',
|
||||
oosLabels: ['out of stock']
|
||||
}
|
||||
],
|
||||
name: 'evga'
|
||||
};
|
||||
@@ -1,5 +1,6 @@
|
||||
import {BestBuy} from './bestbuy';
|
||||
import {BAndH} from './bandh';
|
||||
import {Evga} from './evga';
|
||||
import {NewEgg} from './newegg';
|
||||
import {Nvidia} from './nvidia';
|
||||
import {Config} from '../config';
|
||||
@@ -7,6 +8,7 @@ import {Config} from '../config';
|
||||
const list = new Map([
|
||||
['bestbuy', BestBuy],
|
||||
['bandh', BAndH],
|
||||
['evga', Evga],
|
||||
['newegg', NewEgg],
|
||||
['nvidia', Nvidia]
|
||||
]);
|
||||
@@ -19,6 +21,10 @@ if (!Config.stores.toLowerCase().includes('bandh')) {
|
||||
list.delete('bandh');
|
||||
}
|
||||
|
||||
if (!Config.stores.toLowerCase().includes('evga')) {
|
||||
list.delete('evga');
|
||||
}
|
||||
|
||||
if (!Config.stores.toLowerCase().includes('newegg')) {
|
||||
list.delete('newegg');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user