Skip to content

Commit

Permalink
Upgrade to PixiJS v7, improve build process
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Nov 2, 2022
1 parent cc691df commit d21a91d
Show file tree
Hide file tree
Showing 18 changed files with 3,604 additions and 14,397 deletions.
14 changes: 0 additions & 14 deletions .eslintrc

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build CI
on:
push:
branches: [ '**' ]
tags: [ '**' ]
release:
types: [ 'created' ]
pull_request:
branches: [ '**' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install npm
run: npm install -g npm@8
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ docs/
.idea

# tsc output
compile
dist
lib
index.d.ts
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Navigate `pixi-layers` npm package, take `dist/pixi-layers.umd.js` file.
```

```js
let layer = new PIXI.display.Layer();
let layer = new PIXI.layers.Layer();
```

## Usage with canvas and particles
Expand Down
44 changes: 0 additions & 44 deletions api-extractor.json

This file was deleted.

4 changes: 4 additions & 0 deletions global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ declare namespace GlobalMixins {
containerRenderCanvas?(renderer: import('@pixi/layers').ILayeredRenderer): void;
}

export interface DisplayObjectEvents {
display: [import('@pixi/display').DisplayObject];
}

export interface DisplayObject {
parentGroup?: import('@pixi/layers').Group,

Expand Down
Loading

0 comments on commit d21a91d

Please sign in to comment.