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

Upgrade @pixi-essentials/svg to v8 #107

Merged
merged 21 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a11f043
Upgrade @pixi-essentials/svg to v8
ShukantPal Apr 29, 2024
423c9c9
Update GitHub Actions
ShukantPal Apr 29, 2024
d36d6e9
Fix warning in build
ShukantPal Apr 29, 2024
95342a8
Remove log
ShukantPal May 4, 2024
3c4b829
Migrate @pixi-essentials/texture-allocator to PixiJS 8
ShukantPal May 4, 2024
715d384
Allow Node.js 22.x.x
ShukantPal Jul 1, 2024
61ec268
Migrate @pixi-essentials/svg to PixiJS 8 - Part #1
ShukantPal Jul 1, 2024
7c83267
Migrate @pixi-essentials/svg to PixiJS 8 - Part #2
ShukantPal Jul 11, 2024
72c4ae9
Migrate @pixi-essentials/svg to PixiJS 8 - Part #3
ShukantPal Jul 11, 2024
e27c4a0
Update PixiJS to 8.4.0 for https://github.com/pixijs/pixijs/pull/10732
ShukantPal Oct 4, 2024
da91585
Use getLastPoint for correctly get the starting point of an ellipse i…
ShukantPal Oct 4, 2024
f1ad015
Fix handling of gradient rendering
ShukantPal Oct 4, 2024
c6cd94d
Fix handling gradient units, fill style matrix, and ellipse segmentation
ShukantPal Oct 7, 2024
c422ae3
Fix handling matrix prepending for texture UVs
ShukantPal Oct 7, 2024
9edcf44
Text rendering check
ShukantPal Oct 7, 2024
e57270a
Fix type errors in buildDashedLine.ts
ShukantPal Oct 7, 2024
924318e
Upgrade dev dependencies (ESLint + TypeScript) and add CI checks
ShukantPal Oct 8, 2024
87874b4
Use pnpm version pin from package.json
ShukantPal Oct 8, 2024
c8a7f47
Use pnpm cache in CI for faster checks
ShukantPal Oct 8, 2024
c8d12a7
Fix step names
ShukantPal Oct 8, 2024
e6a637e
Add changelogs and bump versions for all affected packages
ShukantPal Oct 8, 2024
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
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v4
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'

- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: ${{ matrix.node-version }}

- run: pnpm i -g @microsoft/rush

- run: rush install
- run: rush rebuild

34 changes: 34 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Lint

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v4
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'

- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: ${{ matrix.node-version }}

- run: pnpm i -g @microsoft/rush

- run: rush install
- run: rush lint

42 changes: 0 additions & 42 deletions .github/workflows/node.js.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Type Check

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
type-check:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v4
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'

- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: ${{ matrix.node-version }}

- run: pnpm i -g @microsoft/rush

- run: rush install
- run: rush build:types -f @pixi-essentials/svg

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/bounds",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/bounds"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/bvh",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/bvh"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/conic",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/conic"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/cull",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/cull"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/data-half-edge-mesh",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/data-half-edge-mesh"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/filter-fft",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/filter-fft"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/instanced-renderer",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/instanced-renderer"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/mixin-smart-mask",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/mixin-smart-mask"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/object-pool",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/object-pool"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/react-bindings",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/react-bindings"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/shader-preprocessor",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/shader-preprocessor"
}
10 changes: 0 additions & 10 deletions common/changes/@pixi-essentials/svg/master_2023-07-03-13-16.json

This file was deleted.

10 changes: 0 additions & 10 deletions common/changes/@pixi-essentials/svg/master_2023-07-03-13-17.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/system-g",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/system-g"
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/transformer",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/transformer"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@pixi-essentials/types",
"comment": "",
"type": "none"
}
],
"packageName": "@pixi-essentials/types"
}
10 changes: 10 additions & 0 deletions common/config/rush/command-line.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@
"description": "@microsoft/api-extractor is used to bundle the compiler generated .d.ts files",
"safeForSimultaneousRushProcesses": true,
"enableParallelism": true,
"ignoreMissingScript": true,
"allowWarningsInSuccessfulBuild": true
},
{
"commandKind": "bulk",
"name": "lint",
"summary": "Lint all TypeScript files in the project",
"description": "Uses ESLint to lint all TypeScript files in the project",
"safeForSimultaneousRushProcesses": true,
"enableParallelism": true,
"ignoreMissingScript": true
}
]
Expand Down
Loading
Loading