Skip to content

Commit 1736a8d

Browse files
authored
Add devtools integration (#918)
1 parent 3c40987 commit 1736a8d

File tree

7 files changed

+487
-31
lines changed

7 files changed

+487
-31
lines changed

package.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "fluent-vue",
33
"type": "module",
44
"version": "3.6.0",
5-
"packageManager": "pnpm@10.3.0",
5+
"packageManager": "pnpm@10.3.0+sha512.ee592eda8815a8a293c206bb0917c4bb0ff274c50def7cbc17be05ec641fc2d1b02490ce660061356bd0d126a4d7eb2ec8830e6959fb8a447571c631d5a2442d",
66
"description": "Internationalization plugin for Vue.js. Project Fluent bindings for Vue.js",
77
"author": "Ivan Demchuk <ivan.demchuk@gmail.com>",
88
"license": "MIT",
@@ -30,8 +30,18 @@
3030
"sideEffects": false,
3131
"exports": {
3232
".": {
33-
"import": "./dist/index.js",
34-
"require": "./dist/index.cjs"
33+
"import": {
34+
"types": "./dist/index.d.ts",
35+
"production:": "./dist/prod/index.js",
36+
"development:": "./dist/index.js",
37+
"default": "./dist/index.js"
38+
},
39+
"require": {
40+
"types": "./dist/index.d.cts",
41+
"production:": "./dist/prod/index.cjs",
42+
"development:": "./dist/index.cjs",
43+
"default": "./dist/index.cjs"
44+
}
3545
}
3646
},
3747
"main": "dist/index.js",
@@ -67,6 +77,7 @@
6777
},
6878
"dependencies": {
6979
"@fluent/sequence": "^0.8.0",
80+
"@vue/devtools-api": "^7.7.1",
7081
"cached-iterable": "^0.3.0",
7182
"vue-demi": "latest"
7283
},
@@ -87,7 +98,7 @@
8798
"happy-dom": "^17.1.0",
8899
"husky": "^9.1.7",
89100
"lint-staged": "^15.4.3",
90-
"release-it": "*",
101+
"release-it": "^18.1.2",
91102
"rimraf": "^6.0.1",
92103
"tsup": "^8.3.6",
93104
"typescript": "^5.7.3",

pnpm-lock.yaml

Lines changed: 87 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/devtools/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { registerFluentVueDevtools } from './plugin'

0 commit comments

Comments
 (0)