diff --git a/.eslintignore b/.eslintignore index 4c8b44ffe..1359d7a2c 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,4 +1,4 @@ -./dist +dist ./jest.config.js ./jest.e2e.config.js ./api-extractor.json diff --git a/.fixpackrc b/.fixpackrc new file mode 100644 index 000000000..de548e12a --- /dev/null +++ b/.fixpackrc @@ -0,0 +1,31 @@ +{ + "sortToTop": [ + "name", + "version", + "description", + "keywords", + "license", + "author", + "homepage", + "repository", + "bugs", + "files", + "directories", + "bin", + "main", + "module", + "browser", + "module", + "unpkg", + "jsdelivr", + "types", + "scripts", + "dependencies", + "devDependencies", + "peerDependencies", + "bundledDependencies", + "optionalDependencies", + "engines", + "private" + ] +} diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 5bc9c036c..800dcce35 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -86,32 +86,57 @@ A high level overview of tools used: ### `yarn build` -The `build` script builds all build formats. +The `build` script builds all public packages (packages without `private: true` in their `package.json`). + +Packages to build can be specified with fuzzy matching: + +```bash +# build compiler only +yarn build compiler + +# build all packages +yarn build --all +``` #### Build Formats -- **`global`**: +By default, each package will be built in multiple distribution formats as specified in the `buildOptions.formats` field in its `package.json`. These can be overwritten via the `-f` flag. The following formats are supported: + +- **`global`** - For direct use via ` - +

DatetimeFormat component examples

diff --git a/examples/composition/components/number-format.html b/examples/composition/components/number-format.html index c36a35dc6..83c667227 100644 --- a/examples/composition/components/number-format.html +++ b/examples/composition/components/number-format.html @@ -4,7 +4,7 @@ NumberFormat component examples - +

NumberFormat component examples

diff --git a/examples/composition/components/translation.html b/examples/composition/components/translation.html index dfbd0a92d..96918dd38 100644 --- a/examples/composition/components/translation.html +++ b/examples/composition/components/translation.html @@ -4,7 +4,7 @@ Translation component example - +

Translation component example

diff --git a/examples/composition/datetime.html b/examples/composition/datetime.html index 95d972504..5dd1cc890 100644 --- a/examples/composition/datetime.html +++ b/examples/composition/datetime.html @@ -4,7 +4,7 @@ Datetime localization - +
diff --git a/examples/composition/directive/basic.html b/examples/composition/directive/basic.html index ab682f22b..f234a8bc4 100644 --- a/examples/composition/directive/basic.html +++ b/examples/composition/directive/basic.html @@ -4,7 +4,7 @@ v-t directive basic usage - +
diff --git a/examples/composition/directive/object.html b/examples/composition/directive/object.html index cd90a38cc..c3563264a 100644 --- a/examples/composition/directive/object.html +++ b/examples/composition/directive/object.html @@ -4,7 +4,7 @@ v-t directive object value usage - +
diff --git a/examples/composition/directive/plural.html b/examples/composition/directive/plural.html index 0f0fe9917..7b6d803fb 100644 --- a/examples/composition/directive/plural.html +++ b/examples/composition/directive/plural.html @@ -4,7 +4,7 @@ v-t directive plural usage - +
diff --git a/examples/composition/directive/preserve.html b/examples/composition/directive/preserve.html index 404f40e44..f0000917d 100644 --- a/examples/composition/directive/preserve.html +++ b/examples/composition/directive/preserve.html @@ -4,7 +4,7 @@ v-t directive preserve content usage - +