Skip to content

Commit

Permalink
Merge branch 'main' into datetime-control
Browse files Browse the repository at this point in the history
  • Loading branch information
TrangPham committed Mar 11, 2024
2 parents fbece4d + dd28776 commit 1485adb
Show file tree
Hide file tree
Showing 9 changed files with 1,165 additions and 1,061 deletions.
11 changes: 10 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@ module.exports = {
],
ignorePatterns: ["dist", ".eslintrc.cjs", "lib"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
plugins: ["react-refresh", "testing-library"],
overrides: [ {
files: ["./src/**/*.test.tsx"],
extends: ["plugin:testing-library/react"],
rules: {
"testing-library/prefer-implicit-assert": "error",
"testing-library/prefer-presence-queries": "error",
"testing-library/prefer-user-event": "error"
}
}],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,15 @@ jobs:
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false
- name: Install dependencies
run: npm clean-install
run: pnpm i --frozen-lockfile
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
run: pnpm audit signatures
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run lint
run: pnpm lint

- name: Run tests
run: pnpm test
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "@great-expectations/jsonforms-antd-renderers",
"private": false,
"version": "0.1.0",
"version": "0.0.0-semantic-release",
"files": [
"lib/**/*"
],
"main": "./lib/cjs/index.js",
"types": "./lib/cjs/index.d.ts",
"exports": {
"require": {
"types": "./lib/cjs/index.d.ts",
Expand Down Expand Up @@ -81,16 +83,17 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-testing-library": "^6.2.0",
"jsdom": "^24.0.0",
"json-schema-to-ts": "^3.0.0",
"lodash.isempty": "^4.4.0",
"rc-picker": "^4.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"semantic-release": "^23.0.2",
"storybook": "^7.6.8",
"storybook": "^7.6.17",
"typescript": "^5.2.2",
"vite": "^5.0.11",
"vite": "^5.0.12",
"vitest": "^1.2.2"
}
}
Loading

0 comments on commit 1485adb

Please sign in to comment.