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

Handle inline bundles in Parcel manifest reporter #127

Merged
merged 2 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions .changeset/great-experts-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@react-loosely-lazy/parcel-reporter-manifest': minor
'@react-loosely-lazy/parcel-transformer': minor
---

Use stable parcel version
5 changes: 5 additions & 0 deletions .changeset/ninety-jokes-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@react-loosely-lazy/integration-app': minor
---

Add svg external asset
5 changes: 5 additions & 0 deletions .changeset/quiet-suits-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@react-loosely-lazy/parcel-reporter-manifest': patch
---

Handle inline bundles
3 changes: 3 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[declarations]
<PROJECT_ROOT>/node_modules/.*

[ignore]
<PROJECT_ROOT>/dist

Expand Down
23 changes: 14 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI
name: Continuous Integration

concurrency: ${{ github.workflow }}-${{ github.ref }}

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

strategy:
matrix:
node-version: [16.x]
- name: Read .nvmrc
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
id: nvm

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ steps.nvm.outputs.NVMRC }}

- run: npm ci
- run: npm run lint
- run: npm run types:check
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: Release

concurrency: ${{ github.workflow }}-${{ github.ref }}

on:
push:
branches:
- master

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
id: nvm

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}

Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
Loading