Skip to content

Commit

Permalink
v0.5.0 Hero Image Improvement (#81)
Browse files Browse the repository at this point in the history
Co-authored-by: snyk-bot
Co-authored-by: u-sho (Shouhei Uechi) <[email protected]>
Co-authored-by: ronlynes <[email protected]>
  • Loading branch information
u-sho and ronly2460 authored Apr 27, 2022
1 parent 1377d78 commit deafe6d
Show file tree
Hide file tree
Showing 40 changed files with 2,388 additions and 2,713 deletions.
8 changes: 1 addition & 7 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
*.cjs
*.config.*
*.js
.svelte-kit/**
static/**
build/**
functions/**
node_modules/**
package-lock.json
.npmrc
.*ignore
LICENSE
.*/
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
overrides: [
{ files: ['*.svelte'], processor: 'svelte3/svelte3' },
{
files: ['src/lib/types/**/*.test.ts'],
files: ['*.test.ts'],
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unused-vars': 'off'
Expand Down
70 changes: 0 additions & 70 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/lintcheck-and-test.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Lint Check & Test
on: [pull_request]
on: [pull_request_review]
jobs:
lint:
runs-on: ${{ matrix.os }}
Expand All @@ -12,7 +12,7 @@ jobs:
- 14
- 16
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/snyk-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'snyk'
on:
push:
branches: [main, develop]
pull_request_review:
branches: [main, develop]
schedule:
# 17:50 every Monday
- cron: '50 17 * * 1'

jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: '--sarif-file-output=snyk.sarif'
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: 'snyk.sarif'
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -254,3 +254,6 @@ $RECYCLE.BIN/
/build
/functions
/.vercel_build_output

### CI outputs ###
snyk.sarif
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"svelteIndentScriptAndStyle": false,
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
Expand Down
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"snyk-security.snyk-vulnerability-scanner",
"svelte.svelte-vscode",
"sissel.scss-style-tag"
]
Expand Down
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@
"eslint.probe": ["javascript", "typescript", "html", "svelte"],
"eslint.run": "onSave",
"prettier.enable": true,
/* snyk */
"snyk.features.codeQuality": true,
"snyk.features.codeSecurity": true,
"snyk.features.openSourceSecurity": true,
/* Svelte */
"svelte.enable-ts-plugin": true,
"[svelte]": {
"editor.defaultFormatter": "svelte.svelte-vscode"
},
/* TypeScript */
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "${workspaceFolder}/node_modules/typescript/lib"
}
3 changes: 2 additions & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
const tsjPreset = require('ts-jest/presets').jsWithTsESM;

const { pathsToModuleNameMapper } = require('ts-jest/utils');
const { compilerOptions } = require('./tsconfig.json');
const { compilerOptions } = require('./.svelte-kit/tsconfig.json');

/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
Expand Down Expand Up @@ -37,6 +37,7 @@ module.exports = {
'/static/',
'/.github/',
'/.svelte-kit/',
'/.vercel_build_output/',
'/.vscode/'
],

Expand Down
Loading

1 comment on commit deafe6d

@vercel
Copy link

@vercel vercel bot commented on deafe6d Apr 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.