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

[WIP] Nuxt 2 support #15

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
997c7f8
refactor: common code for nuxt2/3 moved to separate files. Module loa…
steveworkman Oct 19, 2022
24040da
latest
steveworkman Oct 20, 2022
c142948
Added open-wc import meta fix
steveworkman Oct 21, 2022
976e83f
put child renderer back to pass nuxt 3 tests
steveworkman Oct 21, 2022
fd7c824
Refactor for nuxt2
steveworkman Oct 25, 2022
a304afa
Small jest config changes
steveworkman Oct 25, 2022
760a3b2
Fixed nuxt3 test
steveworkman Oct 26, 2022
cf8e2cd
Added github workflow. Removed postcss-custom-selectors - added in error
steveworkman Oct 26, 2022
a55c97d
Install playground dependencies
steveworkman Oct 26, 2022
b0d3e3d
Added nuxt3 package-lock
steveworkman Oct 26, 2022
3b6ea0b
Corrected test command
steveworkman Oct 26, 2022
90914a9
Fixes for tests:
steveworkman Oct 26, 2022
03c981d
Made autoLitWrapper into an unplugin and it now works with webpack
steveworkman Oct 26, 2022
68caa91
run webpack plugin on client and server
steveworkman Oct 26, 2022
f480af3
Upgraded to nuxt3.RC12. Swapped meta import loader so nuxt2 renders
steveworkman Oct 27, 2022
b39f9f7
Separated nuxt3 from the module package
steveworkman Oct 27, 2022
101eb9a
Extra cleanup tasks
steveworkman Oct 27, 2022
50b8263
Added nuxt 3 ci
steveworkman Oct 27, 2022
0fc2d9d
Switched back to regular import as npm build is not done before playg…
steveworkman Oct 27, 2022
697c31b
Removed from package lock as well
steveworkman Oct 27, 2022
7b913bf
Must do prep first
steveworkman Oct 27, 2022
60cec21
chicken and egg
steveworkman Oct 27, 2022
029c6d1
working-ish nitro renderer
steveworkman Oct 28, 2022
f0814aa
Made a renderer that does not need a prefix
steveworkman Oct 28, 2022
6d3a5cd
Fixed rendering inner elements and properties
steveworkman Nov 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: PR Check
on:
pull_request:
branches:
- main

jobs:
build:
name: Build packages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install dependencies
run: npm ci

- name: Prepare
run: npm run build:prepare

- name: Install Nuxt 2 Playground dependencies
run: cd playground-nuxt2 && npm ci

- name: Install Nuxt 3 Playground dependencies
run: cd playground-nuxt3 && npm ci

- name: Build packages
run: npm run build

- name: Test Nuxt 3
run: npm test

- name: Test Nuxt 2
run: npm run test:nuxt2