Skip to content

Commit

Permalink
Handle inline bundles in Parcel manifest reporter (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
MonicaOlejniczak authored May 22, 2024
1 parent 122da92 commit ce8ba1e
Show file tree
Hide file tree
Showing 26 changed files with 10,563 additions and 25,005 deletions.
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

0 comments on commit ce8ba1e

Please sign in to comment.