Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit 0eef6ee

Browse files
committed
feat: ported from @vueuse/i18n
1 parent 4c96d3f commit 0eef6ee

File tree

12 files changed

+4063
-2
lines changed

12 files changed

+4063
-2
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist
2+
node_modules

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "@antfu/eslint-config-ts"
3+
}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,5 @@ dist
102102

103103
# TernJS port file
104104
.tern-port
105+
106+
dist

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 intlify
3+
Copyright (c) 2020 Anthony Fu <anthonyfu117@hotmail.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# vue-i18n-composable
2-
Composition API for vue-i18n in Vue 2.x
2+
3+
{WIP} Composition API for vue-i18n in Vue 2.x

package.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "vue-i18n-composable",
3+
"version": "0.0.1-alpha.1",
4+
"main": "dist/index.js",
5+
"repository": "https://github.com/intlify/vue-i18n-composable",
6+
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
7+
"license": "MIT",
8+
"scripts": {
9+
"build": "tsup src/index.ts --format cjs,esm --dts --external vue,vue-i18n,@vue/composition-api",
10+
"dev": "yarn build --watch"
11+
},
12+
"peerDependencies": {
13+
"vue": ">= 2.5",
14+
"vue-i18n": ">= 8",
15+
"@vue/composition-api": ">= 1.0.0-beta.1"
16+
},
17+
"devDependencies": {
18+
"@antfu/eslint-config-ts": "^0.3.3",
19+
"@vue/composition-api": "^1.0.0-beta.14",
20+
"eslint": "^7.9.0",
21+
"tsup": "^3.6.1",
22+
"typescript": "^4.0.2",
23+
"vue": "^2.6.12",
24+
"vue-i18n": "^8.21.1"
25+
}
26+
}

0 commit comments

Comments
 (0)