From ba06086f423324c2e4e6f14e2fdd1a51a4558453 Mon Sep 17 00:00:00 2001 From: ishiko732 Date: Mon, 20 Nov 2023 23:22:59 +0800 Subject: [PATCH 1/2] Fix/deploy GitHub Pages Action --- .github/workflows/deploy.yml | 2 +- README.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 017caac..698c2ba 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -33,7 +33,7 @@ jobs: - name: Build docs run: pnpm run docs - name: Copy example folder - run: cp -R example docs/example + run: cp -R example docs/ - name: Deploy to GitHub Pages uses: JamesIves/github-pages-deploy-action@4.1.1 diff --git a/README.md b/README.md index 41fa081..49f3761 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,9 @@ Grades.forEach(grade => { // [Rating.Again, Rating.Hard, Rating.Good, Rating.Eas }); ``` -More examples refer: +More refer: +- [Docs - Github Pages](https://ishiko732.github.io/ts-fsrs/) +- [Example.html - Github Pages](https://ishiko732.github.io/example.html) - [Browser](https://github.com/ishiko732/ts-fsrs/blob/master/example/example.html) (ts-fsrs package using CDN) - [Next.js+Prisma](https://github.com/ishiko732/ts-fsrs-demo) From 545201649a97014f2aa0e6c634f0dcafb7bfbb9c Mon Sep 17 00:00:00 2001 From: ishiko732 Date: Mon, 20 Nov 2023 23:23:11 +0800 Subject: [PATCH 2/2] 3.1.1 --- package.json | 2 +- src/fsrs/default.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6fefbf1..984d9df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-fsrs", - "version": "3.1.0", + "version": "3.1.1", "description": "ts-fsrs is a TypeScript package used to implement the Free Spaced Repetition Scheduler (FSRS) algorithm. It helps developers apply FSRS to their flashcard applications, thereby improving the user learning experience.", "main": "dist/ts-fsrs.js", "module": "dist/ts-fsrs.mjs", diff --git a/src/fsrs/default.ts b/src/fsrs/default.ts index e7cddd3..94ad32e 100644 --- a/src/fsrs/default.ts +++ b/src/fsrs/default.ts @@ -9,7 +9,7 @@ export const default_w = [ ]; export const default_enable_fuzz = false; -export const FSRSVersion: string = "3.1.0"; +export const FSRSVersion: string = "3.1.1"; export const generatorParameters = ( props?: Partial,