poi-plugin-quest-info-2 0.10.4 → 0.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/.babelrc.json +18 -0
  2. package/.eslintrc.js +2 -3
  3. package/.nvmrc +1 -0
  4. package/CHANGELOG.md +14 -0
  5. package/build/kcQuestsData/DATA_VERSION +1 -1
  6. package/build/kcQuestsData/index.ts +1 -1
  7. package/build/kcQuestsData/quests-scn-new.json +1 -13
  8. package/build/kcQuestsData/quests-scn.json +1215 -1922
  9. package/build/kcanotifyGamedata/quests-en.json +140 -140
  10. package/build/kcanotifyGamedata/quests-jp.json +147 -147
  11. package/build/kcanotifyGamedata/quests-ko.json +147 -147
  12. package/build/kcanotifyGamedata/quests-scn.json +147 -146
  13. package/build/kcanotifyGamedata/quests-tcn.json +147 -146
  14. package/build/prePostQuest.json +59 -47
  15. package/build/questCategory.json +9 -9
  16. package/build/questCodeMap.json +1 -8
  17. package/package.json +25 -19
  18. package/shims/poi.d.ts +2 -2
  19. package/src/Toolbar.tsx +8 -8
  20. package/src/__tests__/__snapshots__/questCategory.spec.ts.snap +138 -128
  21. package/src/__tests__/__snapshots__/questHelper.spec.ts.snap +12 -5
  22. package/src/__tests__/kcanotifyData.spec.ts +8 -8
  23. package/src/__tests__/kcwikiData.spec.ts +5 -5
  24. package/src/__tests__/questCategory.spec.ts +3 -3
  25. package/src/components/QuestCard/index.tsx +5 -4
  26. package/src/patch.ts +2 -2
  27. package/src/poi/hooks.ts +2 -2
  28. package/src/poi/store.ts +5 -5
  29. package/src/poi/types.ts +1 -1
  30. package/src/questHelper.ts +6 -6
  31. package/src/reducer.ts +1 -1
  32. package/src/store/filterTags.ts +6 -6
  33. package/src/store/gameQuest.tsx +1 -1
  34. package/src/store/kcwiki.ts +1 -1
  35. package/src/store/quest.ts +2 -2
  36. package/src/store/search.ts +24 -3
  37. package/src/store/store.tsx +1 -1
  38. package/src/tags.tsx +1 -1
package/.babelrc.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "sourceType": "unambiguous",
3
+ "presets": [
4
+ [
5
+ "@babel/preset-env",
6
+ {
7
+ "targets": {
8
+ "chrome": 100,
9
+ "safari": 15,
10
+ "firefox": 91
11
+ }
12
+ }
13
+ ],
14
+ "@babel/preset-typescript",
15
+ "@babel/preset-react"
16
+ ],
17
+ "plugins": []
18
+ }
package/.eslintrc.js CHANGED
@@ -18,6 +18,7 @@ module.exports = {
18
18
  'plugin:@typescript-eslint/recommended',
19
19
  'plugin:react/recommended',
20
20
  'plugin:react-hooks/recommended',
21
+ 'plugin:storybook/recommended',
21
22
  'prettier',
22
23
  ],
23
24
  parser: '@typescript-eslint/parser',
@@ -39,10 +40,8 @@ module.exports = {
39
40
  'prefer-const': 'error',
40
41
  'no-console': ['warn', { allow: ['warn', 'error'] }],
41
42
  'prettier/prettier': 'warn',
42
- // fix https://github.com/yannickcr/eslint-plugin-react/issues/2834
43
- // 'react/react-in-jsx-scope': 'off',
44
43
  },
45
- ignorePatterns: ['*.js', 'packages/*/build/**/*.ts', 'examples/spa/**'],
44
+ ignorePatterns: ['*.js', 'packages/*/build/**/*.ts'],
46
45
  settings: {
47
46
  react: {
48
47
  version: require('react').version,
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 18
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # poi-plugin-quest-info-2
2
2
 
3
+ ## 0.10.6
4
+
5
+ ### Patch Changes
6
+
7
+ - fb21611: Add Xmas限定任務 quest data
8
+ - 789259b: Remove 鎮守府秋刀魚祭 quest data
9
+
10
+ ## 0.10.5
11
+
12
+ ### Patch Changes
13
+
14
+ - cb49c3a: Update quest data
15
+ - f7c1489: Fix search not working
16
+
3
17
  ## 0.10.4
4
18
 
5
19
  ### Patch Changes
@@ -1 +1 @@
1
- 45f1bd7145ff537cb8ca1a99ebff967666da17f0
1
+ 06563900d85dd5c7e8038fdf8ab6000fc3bc2b3c
@@ -4,4 +4,4 @@ export const KcwikiQuestData = {
4
4
  'zh-CN': zh_CN,
5
5
  }
6
6
 
7
- export const version = '45f1bd7145ff537cb8ca1a99ebff967666da17f0'
7
+ export const version = '06563900d85dd5c7e8038fdf8ab6000fc3bc2b3c'
@@ -1,17 +1,5 @@
1
1
  [
2
- "313",
3
2
  "314",
4
- "359",
5
- "984",
6
- "985",
7
- "986",
8
- "987",
9
3
  "992",
10
- "994",
11
- "1001",
12
- "1002",
13
- "1119",
14
- "1132",
15
- "1133",
16
- "1134"
4
+ "994"
17
5
  ]