Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
chore: update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
saitho committed Nov 4, 2022
1 parent 128595a commit de93cc3
Show file tree
Hide file tree
Showing 4 changed files with 1,804 additions and 2,699 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 10, 11, 12, 14, 15, 16, 17, 18 ]
node: [ 14, 15, 16, 17, 18 ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm test
- run: npm i -g pnpm && pnpm i
- run: pnpm test
sonar:
name: SonarQube
runs-on: ubuntu-latest
Expand Down
11 changes: 4 additions & 7 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
module.exports = {
globals: {
'ts-jest': {
tsConfig: 'tsconfig.json',
},
},
moduleFileExtensions: [
'js',
'json',
'ts',
],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
'^.+\\.(ts|tsx)$': ['ts-jest', {
tsConfig: 'tsconfig.json',
}],
},
testMatch: [
'**/test/**/*.test.ts',
Expand All @@ -21,4 +18,4 @@ module.exports = {
'src/{!(bin/amp-css),**/}.ts',
],
preset: 'ts-jest',
};
};
32 changes: 18 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,38 @@
],
"scripts": {
"build": "tsc && mv ./dist/bin/amp-css.js ./dist/bin/amp-css",
"docs:build": "typedoc --out ./docs --mode modules --tsconfig ./tsconfig.json ./src/ && touch ./docs/.nojekyll",
"docs:build": "typedoc --entryPointStrategy expand src && touch ./docs/.nojekyll",
"test": "jest --detectOpenHandles --coverage --verbose",
"semantic-release": "semantic-release",
"commit": "git-cz"
},
"typedoc": {
"out": "docs",
"tsconfig": "tsconfig.json"
},
"dependencies": {
"amphtml-validator": "^1.0.35",
"meow": "^8.0.0",
"node-sass": "^7.0.3"
},
"devDependencies": {
"@saithodev/semantic-release-sharedconf-npm": "^2.1.0",
"@semantic-release/git": "^9.0.0",
"@saithodev/semantic-release-sharedconf-npm": "^2.1.1",
"@semantic-release/git": "^9.0.1",
"@types/amphtml-validator": "^1.0.1",
"@types/jest": "^26.0.7",
"@types/meow": "^5.0.0",
"@types/mock-fs": "^4.10.0",
"@types/node-sass": "^4.11.1",
"commitizen": "^4.1.2",
"cz-conventional-changelog": "^3.2.0",
"jest": "^26.1.0",
"mock-fs": "^4.12.0",
"semantic-release": "^17.3.0",
"@types/jest": "^29.2.1",
"@types/mock-fs": "^4.13.1",
"@types/node-sass": "^4.11.3",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "^3.3.0",
"jest": "^29.2.2",
"mock-fs": "^5.2.0",
"semantic-release": "^17.4.7",
"semantic-release-github-pr": "^6.0.1",
"ts-jest": "^26.1.4",
"ts-jest": "^29.0.3",
"ts-mockito": "^2.6.1",
"typedoc": "^0.19.2",
"typescript": "^3.9.7"
"typedoc": "^0.23.20",
"typescript": "^4.8.4"
},
"config": {
"commitizen": {
Expand Down
Loading

0 comments on commit de93cc3

Please sign in to comment.