diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index f4b87366..6ff03b93 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -105,7 +105,7 @@ jobs: - name: cypress pre-requisites run: | cd ~/frappe-bench/apps/lms - yarn add cypress@^10 --no-lockfile + yarn add cypress@^10 --no-lockfile -W - name: UI Tests run: cd ~/frappe-bench/ && bench --site lms.test run-ui-tests lms --headless diff --git a/commitlint.config.js b/commitlint.config.js index 0c582f54..2b23e6a0 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,4 +1,4 @@ -module.exports = { +export default { parserPreset: "conventional-changelog-conventionalcommits", rules: { "subject-empty": [2, "never"], diff --git a/cypress.config.js b/cypress.config.js index c7c1354e..b4ccfb3a 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -1,6 +1,6 @@ -const { defineConfig } = require("cypress"); +import { defineConfig } from "cypress"; -module.exports = defineConfig({ +export default defineConfig({ projectId: "vandxn", adminPassword: "admin", testUser: "frappe@example.com", diff --git a/frontend/components.d.ts b/frontend/components.d.ts index 7b544e12..7bdb98c6 100644 --- a/frontend/components.d.ts +++ b/frontend/components.d.ts @@ -47,6 +47,7 @@ declare module 'vue' { Discussions: typeof import('./src/components/Discussions.vue')['default'] EditCoverImage: typeof import('./src/components/Modals/EditCoverImage.vue')['default'] EditProfile: typeof import('./src/components/Modals/EditProfile.vue')['default'] + EmptyState: typeof import('./src/components/EmptyState.vue')['default'] EvaluationModal: typeof import('./src/components/Modals/EvaluationModal.vue')['default'] Evaluators: typeof import('./src/components/Evaluators.vue')['default'] Event: typeof import('./src/components/Modals/Event.vue')['default'] diff --git a/frontend/package.json b/frontend/package.json index e5f71227..0a45681d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -2,6 +2,7 @@ "name": "frappe-ui-frontend", "private": true, "version": "0.0.0", + "type": "module", "scripts": { "dev": "vite", "serve": "vite preview", @@ -26,7 +27,7 @@ "codemirror-editor-vue3": "^2.8.0", "dayjs": "^1.11.6", "feather-icons": "^4.28.0", - "frappe-ui": "^0.1.134", + "frappe-ui": "^0.1.143", "highlight.js": "^11.11.1", "lucide-vue-next": "^0.383.0", "markdown-it": "^14.0.0", diff --git a/frontend/postcss.config.js b/frontend/postcss.config.js index 1b69d43b..1a526247 100644 --- a/frontend/postcss.config.js +++ b/frontend/postcss.config.js @@ -1,4 +1,4 @@ -module.exports = { +export default { plugins: { tailwindcss: {}, autoprefixer: {}, diff --git a/frontend/src/App.vue b/frontend/src/App.vue index c79397af..6097fe09 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,12 +1,13 @@ diff --git a/frontend/src/components/Evaluators.vue b/frontend/src/components/Evaluators.vue index 5e2b2e59..ba83204b 100644 --- a/frontend/src/components/Evaluators.vue +++ b/frontend/src/components/Evaluators.vue @@ -17,10 +17,11 @@ :debounce="300" />