Skip to content

Commit

Permalink
Handle inline bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
MonicaOlejniczak committed May 21, 2024
1 parent 122da92 commit b14371b
Show file tree
Hide file tree
Showing 19 changed files with 4,239 additions and 21,464 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
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,31 @@

name: Node.js CI

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

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Checkout Repository
uses: actions/checkout@v4

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

- 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
8 changes: 4 additions & 4 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)
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 b14371b

Please sign in to comment.