Skip to content

Commit

Permalink
Merge pull request #42 from falsepopsky/dev
Browse files Browse the repository at this point in the history
feat: add devcontainer
  • Loading branch information
falsepopsky authored Oct 20, 2023
2 parents 703ec3c + 4ec6a74 commit 03f8482
Show file tree
Hide file tree
Showing 7 changed files with 466 additions and 432 deletions.
25 changes: 25 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "thetvdb Dev Container",
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
"version": "18.18.2",
"nvmVersion": "latest"
}
},
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"editorconfig.editorconfig",
"orta.vscode-jest",
"pkief.material-icon-theme",
"github.vscode-github-actions",
"github.vscode-pull-request-github"
]
}
},
"postCreateCommand": "corepack enable && pnpm install"
}
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:
- main

env:
PNPM_VERSION: 8.9.0
PNPM_VERSION: 8.9.2

jobs:
lint:
name: ⬣ Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1

- name: Setup pnpm
uses: pnpm/action-setup@v2.4.0
Expand All @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1

- name: Setup pnpm
uses: pnpm/action-setup@v2.4.0
Expand All @@ -61,7 +61,7 @@ jobs:
needs: [lint, test]
steps:
- name: Checkout repo
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1

- name: Setup pnpm
uses: pnpm/action-setup@v2.4.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
id-token: write
steps:
- name: Checkout repo
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
- name: Setup pnpm
uses: pnpm/action-setup@v2.4.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.18.0
v18.18.2
2 changes: 0 additions & 2 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,4 @@
--vp-button-brand-hover-text: var(--vp-button-brand-text);
--vp-button-brand-hover-bg: var(--vp-button-brand-bg);
--vp-sidebar-bg-color: #111;
--vp-code-block-bg: hsla(0, 0%, 100%, 0.025);
--vp-code-tab-divider: #404040;
}
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,26 @@
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@swc/core": "^1.3.92",
"@swc/core": "^1.3.93",
"@swc/jest": "^0.2.29",
"@types/jest": "^29.5.5",
"@types/node": "^20.8.4",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"@types/jest": "^29.5.6",
"@types/node": "^20.8.7",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"dotenv": "^16.3.1",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.7.0",
"msw": "^1.3.2",
"prettier": "^3.0.3",
"tsx": "^3.13.0",
"tsx": "^3.14.0",
"typescript": "^5.2.2",
"vitepress": "1.0.0-rc.20"
"vitepress": "1.0.0-rc.22"
},
"engines": {
"node": ">=18",
Expand All @@ -71,5 +71,5 @@
"bugs": {
"url": "https://github.com/falsepopsky/thetvdb/issues"
},
"packageManager": "pnpm@8.9.0"
"packageManager": "pnpm@8.9.2"
}
Loading

0 comments on commit 03f8482

Please sign in to comment.