Create babel plugin to handle lazy loading (#4)

* feat: create babel plugin to handle lazy loading

* fix: update typescript CI to also run the tests in the pipelines

* doc: update lazy loading component inline documentation

* fix: typescript pipeline

* fix: update CI typescript test command

* fix: prevent duplicate pipelines on PR

* feat: create separate vite plugin package

* chore: refined lazy fn package

* test: add test to lazy fn plugin

* feat: update version to v0.1.5
This commit is contained in:
Valerio Ageno
2024-06-20 19:40:14 +02:00
committed by GitHub
parent 6498905377
commit f37cb701b3
21 changed files with 323 additions and 64 deletions
+1
View File
@@ -15,6 +15,7 @@ env:
jobs:
build_and_test:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: Build and test rust crates
runs-on: ubuntu-latest
strategy:
+19 -13
View File
@@ -12,18 +12,20 @@ on:
jobs:
build-and-test:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- name: Check out code
uses: actions/checkout@v4
with:
node-version: ${{ matrix.node-version }}
fetch-depth: 2
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install pnpm
run: npm i -g pnpm
@@ -34,15 +36,19 @@ jobs:
- name: Build project
run: pnpm build
- name: Test project
run: pnpm test
fmt-lint-and-types:
runs-on: ubuntu-20.04
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- name: CI Checkout
uses: actions/setup-node@v2
- name: Check out code
uses: actions/checkout@v4
with:
node-version: 20.x
fetch-depth: 2
- name: Install pnpm
run: npm i -g pnpm