Compare commits

...
8 changed files with 765 additions and 507 deletions
+5 -5
View File
@@ -13,14 +13,14 @@
"start": "node .output/server/index.mjs"
},
"devDependencies": {
"@formatjs/cli": "^6.1.1",
"@nuxt-themes/docus": "^1.12.0",
"@formatjs/cli": "^6.1.2",
"@nuxt-themes/docus": "^1.12.3",
"@nuxt/eslint-config": "^0.1.1",
"@vintl-dev/eslint-config-peony": "workspace:^",
"@vintl/nuxt": "workspace:^",
"eslint": "^8.41.0",
"nuxi": "^3.5.1",
"nuxt": "^3.5.1",
"eslint": "^8.42.0",
"nuxi": "^3.5.3",
"nuxt": "^3.5.3",
"theme-colors": "^0.0.5",
"vue": "^3.3.4"
}
+3 -3
View File
@@ -17,8 +17,8 @@
"@vintl-dev/eslint-config-peony": "workspace:^",
"@vintl-dev/pg-messages": "workspace:^",
"@vintl/nuxt": "workspace:^",
"eslint": "^8.41.0",
"nuxi": "^3.5.1",
"nuxt": "^3.5.1"
"eslint": "^8.42.0",
"nuxi": "^3.5.3",
"nuxt": "^3.5.3"
}
}
+2 -2
View File
@@ -8,7 +8,7 @@
],
"devDependencies": {
"@changesets/cli": "^2.26.1",
"turbo": "^1.9.8"
"turbo": "^1.10.1"
},
"scripts": {
"pg:prepare": "turbo run --no-daemon @vintl-dev/pg#dev:prepare",
@@ -36,5 +36,5 @@
}
}
},
"packageManager": "pnpm@8.5.1"
"packageManager": "pnpm@8.6.1"
}
+7 -7
View File
@@ -26,14 +26,14 @@
"config.json"
],
"dependencies": {
"@rushstack/eslint-patch": "^1.2.0",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"eslint-plugin-vue": "^9.13.0",
"typescript": "^5.0.4"
"@rushstack/eslint-patch": "^1.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"eslint-plugin-vue": "^9.14.1",
"typescript": "^5.1.3"
},
"devDependencies": {
"@types/eslint": "^8.37.0",
"eslint": "^8.41.0"
"@types/eslint": "^8.40.0",
"eslint": "^8.42.0"
}
}
+20
View File
@@ -1,5 +1,25 @@
# @vintl/nuxt
## 1.2.2
### Patch Changes
- 2590b2f: Downgrade and pin versions of FormatJS packages
Newest versions of FormatJS packages contain exports map that result in illegal ESM as CJS imports. This downgrades them
For more details see the issue at https://github.com/formatjs/formatjs/issues/4126.
## 1.2.1
### Patch Changes
- f62ae92: Adapt to new export conditions of the parser
`@formatjs/icu-messageformat-parser` has been updated and now has export conditions, this change adapts and fixes the error caused by the previous direct import of the file for `no-parser` alias.
- 47f1739: Fix consola not being actually listed as a dependency or used
## 1.2.0
### Minor Changes
+12 -11
View File
@@ -1,6 +1,6 @@
{
"name": "@vintl/nuxt",
"version": "1.2.0",
"version": "1.2.2",
"description": "Nuxt Module for VIntl integration",
"keywords": [
"i18n",
@@ -39,25 +39,26 @@
"prepack": "pnpm run -s lint && pnpm run -s build"
},
"devDependencies": {
"@nuxt/module-builder": "^0.3.1",
"@nuxt/schema": "^3.5.0",
"@nuxt/module-builder": "^0.4.0",
"@nuxt/schema": "^3.5.3",
"@types/hash-sum": "^1.0.0",
"@types/node": "^18.16.13",
"@types/node": "^18.16.16",
"@unhead/vue": "^1.1.27",
"@vintl-dev/eslint-config-peony": "workspace:^",
"hookable": "^5.5.3",
"prettier-plugin-jsdoc": "^0.4.2",
"typescript": "^5.0.4"
"typescript": "^5.1.3"
},
"dependencies": {
"@formatjs/intl": "^2.7.2",
"@nuxt/kit": "^3.5.0",
"@vintl/unplugin": "^1.2.1",
"@vintl/vintl": "^4.2.0",
"astring": "^1.8.5",
"@formatjs/intl": "2.7.2",
"@nuxt/kit": "^3.5.3",
"@vintl/unplugin": "^1.2.4",
"@vintl/vintl": "^4.2.1",
"astring": "^1.8.6",
"consola": "^3.1.0",
"hash-sum": "^2.0.0",
"import-meta-resolve": "^3.0.0",
"pathe": "^1.1.0",
"pathe": "^1.1.1",
"picocolors": "^1.0.0",
"slash": "^5.1.0",
"zod": "^3.21.4"
+1 -1
View File
@@ -21,7 +21,7 @@ import { moduleOptionsSchema } from './schemas/index.js'
import { PluginOptionsBank } from './parser-bank.js'
import { formatZodError } from './utils/zod-error.js'
import { OptionsError } from './errors.js'
import * as consola from 'console'
import { consola } from 'consola'
/** Path to the options file relative to `buildDir`. */
const optionsFilePath = 'i18n/options.mjs'
+715 -478
View File
File diff suppressed because it is too large Load Diff