Skip to content

Commit

Permalink
Release 2.5.0 (#113)
Browse files Browse the repository at this point in the history
* Release 2.5.0
  • Loading branch information
danniehansen authored Jul 17, 2023
1 parent 137e182 commit dceaf32
Show file tree
Hide file tree
Showing 29 changed files with 1,847 additions and 6,506 deletions.
26 changes: 17 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,26 @@ module.exports = {
},
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser'
parser: '@typescript-eslint/parser',
sourceType: 'module'
},
extends: [
'plugin:vue/strongly-recommended',
'eslint:recommended',
'@vue/typescript/recommended',
'prettier'
],
plugins: ['@typescript-eslint', 'prettier'],
extends: ['eslint:recommended', 'plugin:vue/vue3-recommended', 'prettier'],
plugins: ['@typescript-eslint', 'prettier', 'unused-imports'],
rules: {
'prettier/prettier': 'error',
// not needed for vue 3
'vue/no-multiple-template-root': 'off'
'vue/no-multiple-template-root': 'off',
'no-unused-vars': 'off',
'unused-imports/no-unused-imports': 'error',
'vue/multi-word-component-names': 'off',
'unused-imports/no-unused-vars': [
'warn',
{
vars: 'all',
varsIgnorePattern: '^_',
args: 'after-used',
argsIgnorePattern: '^_'
}
]
}
};
8 changes: 4 additions & 4 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Run vue-tsc
Expand All @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Run vue-tsc
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Run vue-tsc
Expand All @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- name: Create folder for testing
run: mkdir dist
- name: Install dependencies
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Released]

## [2.5.0] - 2023-07-17

### Security
- Updated packages to latest version matching selectors in package.json

### Changed
- Changed Cache-Control headers of deployment so that browsers never cache the assets. This will help with pushing new releases out.

### Added
- Added new board contextmenu item that indicates if an active timer is running. https://github.com/danniehansen/activity-timer/issues/101
- Added support for Trello's new theme mode. Dark mode now actually looks OK & board button in light mode is no longer black.

## [2.4.1] - 2023-05-09

### Security
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<link rel="stylesheet" href="https://p.trellocdn.com/@atlaskit-themes.min.css" />
<link href="https://p.trellocdn.com/power-up.min.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Activity timer</title>
Expand Down
7 changes: 6 additions & 1 deletion infrastructure/lib/infrastructure-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,12 @@ export class InfrastructureStack extends cdk.Stack {
destinationBucket: siteBucket,
prune: false,
distribution,
distributionPaths: ['/*']
distributionPaths: ['/*'],
cacheControl: [
s3deploy.CacheControl.setPublic(),
s3deploy.CacheControl.maxAge(Duration.minutes(0)),
s3deploy.CacheControl.sMaxAge(Duration.days(31))
]
});
}

Expand Down
Loading

0 comments on commit dceaf32

Please sign in to comment.