Skip to content

Commit

Permalink
refactor: build with rollup + esbuild and migrate to vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Apr 25, 2024
1 parent 75631e3 commit dbf10be
Show file tree
Hide file tree
Showing 29 changed files with 1,818 additions and 2,848 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ jobs:
- name: Generate Typedoc
run: yarn typedoc --tsconfig tsconfig.doc.json

- name: Generate Coverage
run: yarn test:coverage:lcov --coverageDirectory=docs/coverage/

- name: Create nojekyll
run: touch docs/.nojekyll

Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ do
# Skip if branch deletion
if [ "$local_sha" != "$z40" ]; then
if [ "$local_ref" = "$branch_ref" ]; then
yarn run checks && yarn run lint && yarn test --watchAll=false --changedSince=origin/main
yarn run checks && yarn run lint && yarn test --run --changed origin/main
fi
fi
done
2 changes: 1 addition & 1 deletion .yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"testing": {
"ci": true,
"codecov": true,
"runner": "jest"
"runner": "vitest"
}
},
"project": {
Expand Down
12 changes: 0 additions & 12 deletions babel.config.cjs

This file was deleted.

5 changes: 2 additions & 3 deletions dist/definitions/utils/__mocks__/createReportError.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="jest" />
export declare const mockReportError: jest.Mock<any, any, any>;
export declare const createReportError: jest.Mock<any, any, any>;
export declare const mockReportError: import("vitest").Mock<any, any>;
export declare const createReportError: import("vitest").Mock<any, any>;
//# sourceMappingURL=createReportError.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dbf10be

Please sign in to comment.