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

Migrate @pixi/node bundle #9217

Merged
merged 3 commits into from Feb 28, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/workflows/nodejs.yml
Expand Up @@ -21,8 +21,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Canvas Dependencies
run: sudo apt-get -o Acquire::Retries=3 install build-essential libcairo2-dev libgif-dev libjpeg-dev libpango1.0-dev librsvg2-dev xvfb
- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -38,11 +36,6 @@ jobs:
env:
NODE_ENV: production

- name: Run Unit Tests for @pixi/node
run: xvfb-run --auto-servernum npm run coverage:node
env:
NODE_ENV: production

- name: Extract Branch Name
id: branch_name
if: github.event_name == 'push'
Expand All @@ -51,9 +44,6 @@ jobs:
- name: Build for Distribution
run: npm run dist

- name: Validate Build for Distribution
run: xvfb-run --auto-servernum npm run dist-validate

# Append assets to releases
- name: Upload Assets to Release
if: github.event_name == 'release'
Expand Down
17 changes: 0 additions & 17 deletions README.md
Expand Up @@ -183,23 +183,6 @@ Then, to build the source, run:
npm run build
```

#### Error installing gl package

In most cases installing `gl` from npm should just work. However, if you run into problems, you might need to adjust your system configuration and make sure all your dependencies are up to date.

Please refer to the [gl installation guide](https://www.npmjs.com/package/gl/v/4.5.3-win64.0#system-dependencies) for more information.

#### Error installing canvas package

The [canvas](https://www.npmjs.com/package/canvas) library currently being used does not have a pre-built version for every environment.
When the package detects an unsupported environment, it will try to build from source.

To build from source you will need to make sure you have the following dependencies installed and then reinstall:

`brew install pkg-config cairo pango libpng jpeg giflib librsvg`

For non-mac users, please refer to the [canvas installation guide](https://www.npmjs.com/package/canvas#compiling) for more information.

### How to generate the documentation ###

The docs can be generated using npm:
Expand Down
21 changes: 0 additions & 21 deletions bundles/pixi.js-node/LICENSE

This file was deleted.

133 changes: 0 additions & 133 deletions bundles/pixi.js-node/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions bundles/pixi.js-node/jest.config.js

This file was deleted.

81 changes: 0 additions & 81 deletions bundles/pixi.js-node/package.json

This file was deleted.