Skip to content

Commit

Permalink
fix(package): make @fluent/bundle a peer dependency and @fluent/deden…
Browse files Browse the repository at this point in the history
…t a dev dependency

fix #43
  • Loading branch information
Demivan authored Feb 16, 2020
1 parent a840701 commit 14c487c
Show file tree
Hide file tree
Showing 4 changed files with 255 additions and 137 deletions.
4 changes: 3 additions & 1 deletion examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"build": "parcel build public/index.html"
},
"dependencies": {
"fluent-vue": "2.3.0",
"@fluent/bundle": "^0.15.0",
"@fluent/dedent": "^0.1.0",
"fluent-vue": "2.4.0",
"vue-hot-reload-api": "^2.3.3"
},
"devDependencies": {
Expand Down
23 changes: 17 additions & 6 deletions examples/hello-world/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -754,11 +754,16 @@
lodash "^4.17.13"
to-fast-properties "^2.0.0"

"@fluent/bundle@^0.14.0":
"@fluent/bundle@^0.14.1":
version "0.14.1"
resolved "https://registry.yarnpkg.com/@fluent/bundle/-/bundle-0.14.1.tgz#634d88d0ee8c92bc69acf1f15a649325f6f8f848"
integrity sha512-0uguRGajpI897/Uhx0KNkSiz+F+GWhgRAPfvHfuGgWl2Szd3JNEHyxmRmPXgnsfYX51piq2O4Jdu4zgjmUBUhA==

"@fluent/bundle@^0.15.0":
version "0.15.0"
resolved "https://registry.yarnpkg.com/@fluent/bundle/-/bundle-0.15.0.tgz#c123ea08d066d8b987eae5ceaa6632451609efaf"
integrity sha512-pYz+TuFPwCj5yx51mFG1flPxwTaXWkpi6yt6r+rdm22Y9bkWMHWdwbUnjWLJ+9yJKQMhe2uhvMJ7YfhkF87oNg==

"@fluent/dedent@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@fluent/dedent/-/dedent-0.1.0.tgz#015eeba2610f7d8a26c23ce0aded9bc0f16215ee"
Expand Down Expand Up @@ -2267,15 +2272,16 @@ find-up@^3.0.0:
dependencies:
locate-path "^3.0.0"

fluent-vue@2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/fluent-vue/-/fluent-vue-2.3.0.tgz#db5e5bdfb5b28028e4db1e8f1bf645c6409466d7"
integrity sha512-5jMC+2IL1sEy11WlXfsjN5jPUhtZn5bpRib1J0P3t8pRl+D5Ar4Ecs/QptHRouunRbRK2ddDJArYMULVgZJ9FQ==
fluent-vue@2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/fluent-vue/-/fluent-vue-2.4.0.tgz#e8e65609e55a35965984a2c7d40695b4f73194c7"
integrity sha512-TUxWUtJRNEegjjQfzW1Y6ZPZyUz6qyrBF+qDcrsl+Fq/EM0MBTQN4spuBxjfhmAHc+y9dJ6259NoWrntdWgm/g==
dependencies:
"@fluent/bundle" "^0.14.0"
"@fluent/bundle" "^0.14.1"
"@fluent/dedent" "^0.1.0"
"@fluent/sequence" "^0.4.0"
cached-iterable "^0.3.0"
tslib "^1.10.0"

for-in@^1.0.2:
version "1.0.2"
Expand Down Expand Up @@ -4940,6 +4946,11 @@ tr46@^1.0.1:
dependencies:
punycode "^2.1.0"

tslib@^1.10.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==

tty-browserify@0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@fluent/bundle": "^0.15.0",
"@fluent/dedent": "^0.1.0",
"@rollup/plugin-commonjs": "^11.0.1",
"@rollup/plugin-json": "^4.0.1",
"@rollup/plugin-node-resolve": "^7.0.0",
Expand Down Expand Up @@ -121,12 +123,13 @@
"vue-template-compiler": "^2.6.11"
},
"dependencies": {
"@fluent/bundle": "^0.15.0",
"@fluent/dedent": "^0.1.0",
"@fluent/sequence": "^0.4.0",
"cached-iterable": "^0.3.0",
"tslib": "^1.10.0"
},
"peerDependencies": {
"@fluent/bundle": ">=0.14.0 <0.16.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
Expand Down
Loading

0 comments on commit 14c487c

Please sign in to comment.