Skip to content

Commit 9630a20

Browse files
authored
Merge pull request #82 from cheshire-cat-ai/develop
Support new auth spec
2 parents 36b4be7 + 2cb3d00 commit 9630a20

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+6258
-7722
lines changed

.eslintrc-auto-import.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
"refDefault": true,
107107
"refThrottled": true,
108108
"refWithControl": true,
109-
"resetAllStores": true,
110109
"resolveComponent": true,
111110
"resolveRef": true,
112111
"resolveUnref": true,
@@ -324,6 +323,7 @@
324323
"provideLocal": true,
325324
"storeRouteMapping": true,
326325
"useClipboardItems": true,
327-
"markdown": true
326+
"markdown": true,
327+
"usePerms": true
328328
}
329329
}

.github/workflows/build.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,22 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- uses: actions/checkout@v4
27-
- uses: actions/setup-node@v4
27+
- uses: pnpm/action-setup@v4
2828
with:
29-
node-version: 16
29+
version: 9
3030
- name: Install dependencies
31-
run: npm ci
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version: 18.x
34+
cache: 'pnpm'
35+
- run: pnpm install --frozen-lockfile
3236
- name: 'TODO to Issue'
33-
uses: 'alstr/todo-to-issue-action@v4'
37+
uses: alstr/todo-to-issue-action@v4
3438
with:
3539
IDENTIFIERS: '[{"name": "FEATURE", "labels": ["enhancement"]}, {"name": "BUG", "labels": ["bug"]}]'
3640
ISSUE_TEMPLATE: '**Describe the reason of this issue**\n{{ body }}\n\nThe issue is present here:\n\n{{ snippet }}'
3741
- name: Build static files
38-
run: npm run build --if-present
42+
run: pnpm run build
3943
- name: Zip Release
4044
uses: TheDoctor0/[email protected]
4145
with:

.github/workflows/develop.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,17 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4
26-
- uses: actions/setup-node@v4
26+
- uses: pnpm/action-setup@v4
2727
with:
28-
node-version: 16
28+
version: 9
2929
- name: Install dependencies
30-
run: npm ci
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: 18.x
33+
cache: 'pnpm'
34+
- run: pnpm install --frozen-lockfile
3135
- name: Build static files
32-
run: npm run build --if-present
36+
run: pnpm run build
3337
- name: Zip Release
3438
uses: TheDoctor0/[email protected]
3539
with:

.github/workflows/playwright.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,19 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@v4
25-
- uses: actions/setup-node@v4
25+
- uses: pnpm/action-setup@v4
2626
with:
27-
node-version: 16
27+
version: 9
2828
- name: Install dependencies
29-
run: npm ci
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: 18.x
32+
cache: 'pnpm'
33+
- run: pnpm install --frozen-lockfile
3034
- name: Install Playwright Browsers
31-
run: npx playwright install --with-deps
35+
run: pnpx playwright install --with-deps
3236
- name: Run Playwright tests
33-
run: npx playwright test
37+
run: pnpx playwright test
3438
- uses: actions/upload-artifact@v4
3539
if: always()
3640
with:

.github/workflows/vitest.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@v4
25-
- uses: actions/setup-node@v4
25+
- uses: pnpm/action-setup@v4
2626
with:
27-
node-version: 16
27+
version: 9
2828
- name: Install dependencies
29-
run: npm ci
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: 18.x
32+
cache: 'pnpm'
33+
- run: pnpm install --frozen-lockfile
3034
- name: Run Vitest tests
31-
run: npm run unit
35+
run: pnpm run unit

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,16 @@ Make sure you have the following installed on your machine:
4242

4343
### Installation
4444

45-
Chose your preferred package manager and install the dependencies
45+
This project uses `pnpm` as the package manager. You can install it by running:
4646

4747
```bash
48-
npm install
48+
npm install -g pnpm
49+
```
50+
51+
Then, install the dependencies:
52+
53+
```bash
54+
pnpm install
4955
```
5056

5157
### Scripts
@@ -57,21 +63,21 @@ Here's a list of scripts that you can run to get the app up and running
5763
Run the app in dev mode with hot-reloading enabled and the browser automatically opening on port `3000` (default)
5864

5965
```bash
60-
npm run dev
66+
pnpm run dev
6167
```
6268

6369
#### Build
6470

6571
Build the app for production
6672

6773
```bash
68-
npm run build
74+
pnpm run build
6975
```
7076

7177
#### Start the app
7278

7379
Runs the build and serves the built app on port `3000` (default)
7480

7581
```bash
76-
npm run preview
82+
pnpm run preview
7783
```

auto-imports.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ declare global {
107107
const refDefault: typeof import('@vueuse/core')['refDefault']
108108
const refThrottled: typeof import('@vueuse/core')['refThrottled']
109109
const refWithControl: typeof import('@vueuse/core')['refWithControl']
110-
const resetAllStores: typeof import('./src/composables/reset')['resetAllStores']
111110
const resolveComponent: typeof import('vue')['resolveComponent']
112111
const resolveRef: typeof import('@vueuse/core')['resolveRef']
113112
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
@@ -239,6 +238,7 @@ declare global {
239238
const useParentElement: typeof import('@vueuse/core')['useParentElement']
240239
const usePerformanceObserver: typeof import('@vueuse/core')['usePerformanceObserver']
241240
const usePermission: typeof import('@vueuse/core')['usePermission']
241+
const usePerms: typeof import('./src/composables/perms')['usePerms']
242242
const usePointer: typeof import('@vueuse/core')['usePointer']
243243
const usePointerLock: typeof import('@vueuse/core')['usePointerLock']
244244
const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe']

components.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,15 @@ declare module 'vue' {
6363
PhLightbulbFilamentFill: typeof import('~icons/ph/lightbulb-filament-fill')['default']
6464
PhListMagnifyingGlass: typeof import('~icons/ph/list-magnifying-glass')['default']
6565
PhNut: typeof import('~icons/ph/nut')['default']
66+
PhPencilFill: typeof import('~icons/ph/pencil-fill')['default']
6667
PhPlugFill: typeof import('~icons/ph/plug-fill')['default']
68+
PhPlus: typeof import('~icons/ph/plus')['default']
6769
PhQuestionMark: typeof import('~icons/ph/question-mark')['default']
6870
PhTextbox: typeof import('~icons/ph/textbox')['default']
6971
PhToolbox: typeof import('~icons/ph/toolbox')['default']
72+
PhTrashFill: typeof import('~icons/ph/trash-fill')['default']
73+
PhUser: typeof import('~icons/ph/user')['default']
74+
PhUserFill: typeof import('~icons/ph/user-fill')['default']
7075
RouterLink: typeof import('vue-router')['RouterLink']
7176
RouterView: typeof import('vue-router')['RouterView']
7277
SelectBox: typeof import('./src/components/SelectBox.vue')['default']

0 commit comments

Comments
 (0)