Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: dependency-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
- name: Use build cache
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
id: dependency-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
- name: Use build cache
uses: actions/cache@v4
with:
Expand All @@ -80,7 +80,7 @@ jobs:
id: dependency-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
- name: Use build cache
uses: actions/cache@v4
with:
Expand All @@ -107,7 +107,7 @@ jobs:
id: dependency-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
- name: Use build cache
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
id: dependency-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
- name: Use build cache
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
id: dependency-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
- name: Use build cache
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
id: dependency-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/yarn.lock') }}
- name: Use build cache
uses: actions/cache@v4
with:
Expand Down
11 changes: 2 additions & 9 deletions packages/babel-plugin-component-annotate/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
const jestPackageJson = require("jest/package.json");

/** @type {import('eslint').ESLint.Options} */
module.exports = {
root: true,
extends: ["@sentry-internal/eslint-config/jest", "@sentry-internal/eslint-config/base"],
ignorePatterns: [".eslintrc.js", "dist", "jest.config.js", "rollup.config.mjs"],
extends: ["@sentry-internal/eslint-config/base"],
ignorePatterns: [".eslintrc.js", "dist", "rollup.config.mjs"],
parserOptions: {
tsconfigRootDir: __dirname,
project: ["./src/tsconfig.json", "./test/tsconfig.json"],
Expand All @@ -15,9 +13,4 @@ module.exports = {
env: {
node: true,
},
settings: {
jest: {
version: jestPackageJson.version,
},
},
};
6 changes: 0 additions & 6 deletions packages/babel-plugin-component-annotate/jest.config.js

This file was deleted.

6 changes: 2 additions & 4 deletions packages/babel-plugin-component-annotate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"clean:all": "run-p clean clean:deps",
"clean:build": "premove ./dist *.tgz",
"clean:deps": "premove node_modules",
"test": "jest",
"test": "vitest run",
Comment thread
cursor[bot] marked this conversation as resolved.
"lint": "eslint ./src ./test"
},
"devDependencies": {
Expand All @@ -55,12 +55,10 @@
"@sentry-internal/eslint-config": "4.9.1",
"@sentry-internal/sentry-bundler-plugin-tsconfig": "4.9.1",
"@swc/core": "^1.2.205",
"@swc/jest": "^0.2.21",
"@types/jest": "^28.1.3",
"@types/node": "^18.6.3",
"@types/uuid": "^9.0.1",
"eslint": "^8.18.0",
"jest": "^28.1.1",
"vitest": "^4.0.0",
"premove": "^4.0.0",
"rolldown": "^1.0.0-rc.4",
"ts-node": "^10.9.1",
Expand Down

Large diffs are not rendered by default.

Loading