Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(v2): add option validation for remaining official plugins #2970

Merged
merged 41 commits into from
Jun 26, 2020
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
1b49445
feat(v2): add option validation lifecycle method
teikjun Jun 17, 2020
f28eb1d
chore(v2): add dependencies
teikjun Jun 17, 2020
032de42
chore(v2): add yup dependency
teikjun Jun 17, 2020
43132fb
feat(v2): add option validation for plugin-content-docs
teikjun Jun 17, 2020
09a80cd
chore(v2): add facebook copyright
teikjun Jun 17, 2020
c4035b3
refactor(v2): remove unused variable
teikjun Jun 17, 2020
c9921e9
chore(v2): add dependencies
teikjun Jun 17, 2020
ab9200d
chore(v2): add copyright
teikjun Jun 17, 2020
890d092
fix(v2): use strict for option validation
teikjun Jun 17, 2020
9cb9901
feat(v2): add option validation for plugin-content-pages
teikjun Jun 17, 2020
da49235
feat(v2): add schema for plugin-google-analytics and plugin-google-gtag
teikjun Jun 17, 2020
b77572f
feat(v2): add option validation for plugin-sitemap
teikjun Jun 17, 2020
877bff0
chore(v2): add dependency for yup
teikjun Jun 17, 2020
a34eb1d
fix(v2): remove strict to allow normalization
teikjun Jun 18, 2020
e2a98cc
refactor(v2): refactor validate method
teikjun Jun 18, 2020
73d9c79
feat(v2): modify existing tests
teikjun Jun 18, 2020
13fdc69
feat(v2): add tests for plugin normalization
teikjun Jun 18, 2020
dc82ecb
style(v2): use a more descriptive filename for schema
teikjun Jun 18, 2020
e43887c
feat(v2): add normalization tests
teikjun Jun 18, 2020
8ec540b
feat(v2): add more tests for option validation
teikjun Jun 18, 2020
a85fe6b
refactor(v2): remove unused code
teikjun Jun 19, 2020
9f56d1b
refactor(v2): remove unused code
teikjun Jun 21, 2020
ca3a74d
refactor(v2): refactor methods and types
teikjun Jun 21, 2020
4be0982
feat(v2): replace Yup with Joi
teikjun Jun 21, 2020
f218b55
fix(v2): fix plugin-content-docs schema
teikjun Jun 21, 2020
c17eeb9
feat(v2): modify tests for plugin-content-docs
teikjun Jun 21, 2020
8b5bd35
fix(v2): fix a typo
teikjun Jun 21, 2020
67e8f5d
refactor(v2): improve tests and refactor code
teikjun Jun 21, 2020
080136a
feat(v2): support both commonjs and ES modules
teikjun Jun 25, 2020
45b8f95
refactor(v2): refactor validateOption method
teikjun Jun 25, 2020
6c79e8a
chore(v2): resolve merge conflicts
teikjun Jun 25, 2020
4ecc355
style(v2): fix eslint errors and typo in types
teikjun Jun 25, 2020
4735b65
chore(v2): remove unused yup dependency
teikjun Jun 25, 2020
9e6c00f
style(v2): standardize naming across official plugins
teikjun Jun 25, 2020
dae6733
chore(v2): merge branch 'master' into teikjun/validation
teikjun Jun 25, 2020
6d69363
chore(v2): update test snapshots
teikjun Jun 25, 2020
084f1f6
chore(v2): remove obsolete snapshots
teikjun Jun 25, 2020
28c2c9b
chore(v2): fix a typo and check test
teikjun Jun 25, 2020
63ca9a4
chore(v2): resolve merge conflict
teikjun Jun 25, 2020
3db66a3
feat(v2): add validation for new field
teikjun Jun 25, 2020
d89d118
feat(v2): add test for new field
teikjun Jun 25, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(v2): add yup dependency
  • Loading branch information
teikjun committed Jun 17, 2020
commit 032de4206a1724b87c95d6046e26e9190428d94b
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-content-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"lodash.pick": "^4.4.0",
"lodash.pickby": "^4.6.0",
"remark-admonitions": "^1.2.1",
"yup": "^0.29.1",
"shelljs": "^0.8.4"
},
"peerDependencies": {
Expand Down