Skip to content

Commit ba87926

Browse files
authored
Add Nuxt module (#84)
1 parent 7ff80a9 commit ba87926

File tree

9 files changed

+346
-123
lines changed

9 files changed

+346
-123
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest, windows-latest]
19-
node: [18]
19+
node: [18, 20]
2020
steps:
2121
- name: Checkout
2222
uses: actions/[email protected]

package.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@
6666
"types": "./dist/webpack.d.cts",
6767
"default": "./dist/webpack.cjs"
6868
}
69+
},
70+
"./nuxt": {
71+
"import": {
72+
"types": "./dist/nuxt.d.ts",
73+
"default": "./dist/nuxt.js"
74+
},
75+
"require": {
76+
"types": "./dist/nuxt.d.cts",
77+
"default": "./dist/nuxt.cjs"
78+
}
6979
}
7080
},
7181
"main": "dist/index.cjs",
@@ -85,12 +95,15 @@
8595
},
8696
"dependencies": {
8797
"@fluent/syntax": "^0.19.0",
98+
"@nuxt/kit": "^3.11.2",
8899
"@rollup/pluginutils": "^5.0.0",
100+
"@vue/compiler-core": "^3.4.21",
89101
"magic-string": "^0.30.0",
90102
"unplugin": "^1.0.0"
91103
},
92104
"devDependencies": {
93105
"@antfu/eslint-config": "^2.12.1",
106+
"@nuxt/schema": "^3.11.2",
94107
"@release-it-plugins/lerna-changelog": "6.1.0",
95108
"@types/node": "20.12.4",
96109
"@vitejs/plugin-vue": "5.0.4",

0 commit comments

Comments
 (0)