Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(#693): update modules to use @nuxt/kit #697

Open
wants to merge 22 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
7d7a575
feat(#693): update druxt-blocks for @nuxt/kit
Decipher Aug 27, 2024
beecae9
feat(#693): update druxt-breadcrumb for @nuxt/kit
Decipher Aug 27, 2024
31fa183
feat(#693): update druxt for @nuxt/kit
Decipher Aug 27, 2024
b280e85
feat(#693): update druxt-entity for @nuxt/kit
Decipher Aug 27, 2024
0b075d7
feat(#693): update druxt-menu for @nuxt/kit
Decipher Aug 27, 2024
758ccff
feat(#693): update druxt-router for @nuxt/kit
Decipher Aug 27, 2024
1202487
feat(#693): update druxt-schema for @nuxt/kit
Decipher Aug 27, 2024
29fa813
feat(#693): update druxt-site for @nuxt/kit
Decipher Aug 27, 2024
faf6e4a
feat(#693): update druxt-views for @nuxt/kit
Decipher Aug 27, 2024
7d16704
chore(#693): update vm and node versions
Decipher Aug 27, 2024
27ff2b4
chore(#693): update druxt-site example
Decipher Aug 27, 2024
3357365
chore(#693): update dependencies
Decipher Aug 27, 2024
f979e5b
chore(#693): add changeset
Decipher Aug 27, 2024
88df379
chore(#693): update node version
Decipher Aug 29, 2024
d8b8ca6
chore(#693): re-implement dev tools plugin
Decipher Aug 29, 2024
7fa1ef9
chore(#693): reimplement storybook
Decipher Aug 30, 2024
42bd94f
chore(#693): fix storybook unit tests
Decipher Sep 2, 2024
bcf0646
chore(#693): prevent errors with missing data in storybook
Decipher Sep 2, 2024
6e2cd96
chore(#693): add test coverage
Decipher Sep 2, 2024
0f0cf4f
chore(#693): cleanup todos
Decipher Sep 18, 2024
0828671
chore(#693): improved test coverage
Decipher Sep 19, 2024
34ada4d
chore(#693): updated tests
Decipher Sep 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .changeset/forty-jeans-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
"druxt-breadcrumb": minor
"druxt-blocks": minor
"druxt-entity": minor
"druxt-router": minor
"druxt-schema": minor
"druxt": minor
"druxt-views": minor
"druxt-menu": minor
"druxt-site": minor
---

feat(#693): update Nuxt modules to use @nuxt/kit.

⚠ Breaking changes

Node version >=18 is required to use `@nuxt/kit`.

Nuxt module location has changed to 'druxt(-[MODULE])/nuxt' and must be updated
in your `nuxt.config.js`.

e.g.
```diff
- modules: ['druxt-site'],
+ modules: ['druxt-site/nuxt'],
```
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
defaults: &defaults
working_directory: ~/repo
docker:
- image: cimg/node:16.20.2
- image: cimg/node:20.14

jobs:
build:
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:

test_e2e:
machine:
image: ubuntu-2004:current
image: ubuntu-2204:current
working_directory: ~/repo
environment:
DDEV_NONINTERACTIVE: "true"
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.20.2
v20.14.0
2 changes: 1 addition & 1 deletion docs/nuxt/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.20.2
v20.14.0
3 changes: 2 additions & 1 deletion examples/druxt-site/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ export default {
target: 'static',
generate: { routes: ['/'] },
telemetry: true,
build: { quiet: false },
buildModules: ['@nuxt/postcss8'],
modules: [
'druxt-auth',
'druxt-site'
'druxt-site/nuxt'
],
druxt: {
// The baseUrl of the Druxt enabled Drupal JSON:API server.
Expand Down
9 changes: 7 additions & 2 deletions examples/druxt-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@
"dependencies": {
"druxt-auth": "^0.1.0",
"druxt-site": "link:../../packages/druxt-site",
"nuxt": "latest"
"nuxt": "2"
},
"devDependencies": {
"@nuxt/postcss8": "latest",
"@nuxtjs/storybook": "latest",
"@nuxtjs/storybook": "4",
"postcss": "latest"
},
"resolutions": {
"vue": "^2.7",
"vue-server-renderer": "^2.7",
"vue-template-compiler": "^2.7"
}
}
Loading