mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 21:25:11 +00:00
refactor: move modules under modules/
(#437)
This commit is contained in:
parent
084b4e2123
commit
c2e96d0b24
@ -3,6 +3,7 @@
|
||||
"license": "MIT",
|
||||
"workspaces": [
|
||||
"packages/*",
|
||||
"modules/*",
|
||||
"examples/*",
|
||||
"playground"
|
||||
],
|
||||
@ -21,7 +22,7 @@
|
||||
"test": "yarn lint && yarn test:presets",
|
||||
"test:presets": "mocha test/presets/*.mjs",
|
||||
"test:compat": "TEST_COMPAT=1 yarn test:presets",
|
||||
"test:unit": "mocha -r jiti/register packages/**/test/*.test.*",
|
||||
"test:unit": "mocha -r jiti/register {packages,modules}/**/test/*.test.*",
|
||||
"version": "yarn && git add yarn.lock"
|
||||
},
|
||||
"resolutions": {
|
||||
|
@ -21,7 +21,7 @@ if [[ ! -z ${NODE_AUTH_TOKEN} ]] ; then
|
||||
fi
|
||||
|
||||
# Release packages
|
||||
for p in packages/* ; do
|
||||
for p in {packages,modules}/* ; do
|
||||
pushd $p
|
||||
echo "Publishing $p"
|
||||
yarn npm publish --access public --tolerate-republish
|
||||
|
@ -17,5 +17,8 @@
|
||||
"@nuxt/nitro"
|
||||
]
|
||||
},
|
||||
"exclude": ["./packages/*/dist/*"]
|
||||
"exclude": [
|
||||
"./packages/*/dist/*",
|
||||
"./modules/*/dist/*"
|
||||
]
|
||||
}
|
||||
|
16
yarn.lock
16
yarn.lock
@ -1291,9 +1291,9 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@nuxt/component-discovery@^0.2.0, @nuxt/component-discovery@workspace:packages/components":
|
||||
"@nuxt/component-discovery@^0.2.0, @nuxt/component-discovery@workspace:modules/components":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@nuxt/component-discovery@workspace:packages/components"
|
||||
resolution: "@nuxt/component-discovery@workspace:modules/components"
|
||||
dependencies:
|
||||
"@nuxt/kit": ^0.6.4
|
||||
globby: ^11.0.4
|
||||
@ -1335,9 +1335,9 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nuxt/global-imports@^0.1.0, @nuxt/global-imports@workspace:packages/global-imports":
|
||||
"@nuxt/global-imports@^0.1.0, @nuxt/global-imports@workspace:modules/global-imports":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@nuxt/global-imports@workspace:packages/global-imports"
|
||||
resolution: "@nuxt/global-imports@workspace:modules/global-imports"
|
||||
dependencies:
|
||||
"@nuxt/kit": ^0.6.4
|
||||
ufo: ^0.7.7
|
||||
@ -1369,9 +1369,9 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@nuxt/meta@^0.1.0, @nuxt/meta@workspace:packages/meta":
|
||||
"@nuxt/meta@^0.1.0, @nuxt/meta@workspace:modules/meta":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@nuxt/meta@workspace:packages/meta"
|
||||
resolution: "@nuxt/meta@workspace:modules/meta"
|
||||
dependencies:
|
||||
"@nuxt/kit": ^0.6.4
|
||||
"@vueuse/head": ^0.6.0
|
||||
@ -1454,9 +1454,9 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@nuxt/pages@^0.3.0, @nuxt/pages@workspace:packages/pages":
|
||||
"@nuxt/pages@^0.3.0, @nuxt/pages@workspace:modules/pages":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@nuxt/pages@workspace:packages/pages"
|
||||
resolution: "@nuxt/pages@workspace:modules/pages"
|
||||
dependencies:
|
||||
"@nuxt/kit": ^0.6.4
|
||||
globby: ^11.0.4
|
||||
|
Loading…
Reference in New Issue
Block a user