Skip to content

Commit

Permalink
chore(npm): disable shameful hoisting (nuxt-modules#2503)
Browse files Browse the repository at this point in the history
* fix(alias): resolve module using nuxt kit

* chore(npm): disable shameful hoisting

* chore(npm): remove configuration

* chore(deps): add `vue-router`
  • Loading branch information
dargmuesli authored Oct 19, 2023
1 parent 2ea8c39 commit 333a2bb
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 21 deletions.
4 changes: 1 addition & 3 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
shamefully-hoist=true
strict-peer-dependencies=false
shell-emulator=true
shell-emulator=true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ npm install @nuxtjs/i18n@next --save-dev
yarn add --dev @nuxtjs/i18n@next

# Using pnpm
pnpm install --shamefully-hoist -D @nuxtjs/i18n@next
pnpm install -D @nuxtjs/i18n@next
```

2. Add `@nuxtjs/i18n` to the `modules` section of `nuxt.config.ts`
Expand Down
2 changes: 0 additions & 2 deletions docs/.npmrc

This file was deleted.

5 changes: 4 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"devDependencies": {
"@nuxt-themes/docus": "^1.14.6",
"@nuxtjs/plausible": "^0.2.3",
"nuxt": "3.7.3"
"@unocss/reset": "^0.56.5",
"nuxt": "3.7.3",
"pinceau": "0.18.9",
"vue-router": "^4.2.5"
}
}
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
"@babel/parser": "^7.23.0",
"@babel/plugin-syntax-import-assertions": "^7.22.5",
"@babel/types": "^7.23.0",
"@intlify/vue-router-bridge": "^1.0.1",
"@nuxt/module-builder": "latest",
"@nuxt/schema": "^3.7.4",
"@types/debug": "^4.1.9",
Expand All @@ -109,11 +110,13 @@
"@typescript-eslint/parser": "^6.7.4",
"bumpp": "^9.2.0",
"changelogithub": "^0.13.0",
"consola": "^3",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"execa": "^8.0.1",
"get-port-please": "^3.1.1",
"gh-changelogen": "^0.2.8",
"globby": "^13.2.2",
"jiti": "^1.20.0",
"jsdom": "^21.1.2",
"lint-staged": "^14.0.1",
Expand All @@ -124,8 +127,10 @@
"prettier": "^3.0.3",
"ts-essentials": "^9.4.0",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vitest": "^0.34.6",
"vue": "^3.3.4"
"vue": "^3.3.4",
"vue-router": "^4.2.5"
},
"lint-staged": {
"*.{json,md,yml}": [
Expand Down
53 changes: 40 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 333a2bb

Please sign in to comment.