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

fix pixi-spine@npm:4.0.3 [0b3a5] doesn't provide @pixi/assets #503

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ Please read this carefully: there are many ways to add this lib to your app.
```js
import 'pixi-spine' // Do this once at the very start of your code. This registers the loader!

import * as PIXI from 'pixi.js';
import {Assets, Application} from 'pixi.js';
import {Spine} from 'pixi-spine';

const app = new PIXI.Application();
const app = new Application();
document.body.appendChild(app.view);

PIXI.Assets.load("spine-data-1/HERO.json").then((resource) => {
Assets.load("spine-data-1/HERO.json").then((resource) => {
const animation = new Spine(resource.spineData);
app.stage.addChild(animation);

Expand Down Expand Up @@ -178,4 +178,4 @@ That will build all packages and bundles. Browser packages are inside `dist` and
If you have enough rights to publish this monorepo, you can publish by running `npm run lernaPublish`
This is so that it runs with the internal npm v8 since npm v9 doesn't play nice with Lerna.

If for some reason your publish failed, use `npm run lernaPublish:fromPackage` to try to force a publish without creating a new version
If for some reason your publish failed, use `npm run lernaPublish:fromPackage` to try to force a publish without creating a new version
6 changes: 3 additions & 3 deletions bundles/all-3.8/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"peerDependencies": {
"@pixi/core": "^7.0.0",
"@pixi/display": "^7.0.0",
"@pixi/graphics": "^7.0.0",
"@pixi/graphics": "^7.2.4",
"@pixi/mesh": "^7.0.0",
"@pixi/mesh-extras": "^7.0.0",
"@pixi/mesh-extras": "^7.2.4",
"@pixi/sprite": "^7.0.0"
},
"scripts": {
Expand Down Expand Up @@ -75,6 +75,6 @@
"license": "SEE SPINE-LICENSE",
"homepage": "https://github.com/pixijs/pixi-spine/#readme",
"devDependencies": {
"@pixi-spine/rollup-config": "*"
"@pixi-spine/rollup-config": "^1.0.0"
}
}
6 changes: 3 additions & 3 deletions bundles/all-4.0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"peerDependencies": {
"@pixi/core": "^7.0.0",
"@pixi/display": "^7.0.0",
"@pixi/graphics": "^7.0.0",
"@pixi/graphics": "^7.2.4",
"@pixi/mesh": "^7.0.0",
"@pixi/mesh-extras": "^7.0.0",
"@pixi/mesh-extras": "^7.2.4",
"@pixi/sprite": "^7.0.0"
},
"scripts": {
Expand Down Expand Up @@ -75,6 +75,6 @@
"license": "SEE SPINE-LICENSE",
"homepage": "https://github.com/pixijs/pixi-spine/#readme",
"devDependencies": {
"@pixi-spine/rollup-config": "*"
"@pixi-spine/rollup-config": "^1.0.0"
}
}
6 changes: 3 additions & 3 deletions bundles/all-4.1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"peerDependencies": {
"@pixi/core": "^7.0.0",
"@pixi/display": "^7.0.0",
"@pixi/graphics": "^7.0.0",
"@pixi/graphics": "^7.2.4",
"@pixi/mesh": "^7.0.0",
"@pixi/mesh-extras": "^7.0.0",
"@pixi/mesh-extras": "^7.2.4",
"@pixi/sprite": "^7.0.0"
},
"scripts": {
Expand Down Expand Up @@ -75,6 +75,6 @@
"license": "SEE SPINE-LICENSE",
"homepage": "https://github.com/pixijs/pixi-spine/#readme",
"devDependencies": {
"@pixi-spine/rollup-config": "*"
"@pixi-spine/rollup-config": "^1.0.0"
}
}
6 changes: 3 additions & 3 deletions bundles/pixi-spine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"peerDependencies": {
"@pixi/core": "^7.0.0",
"@pixi/display": "^7.0.0",
"@pixi/graphics": "^7.0.0",
"@pixi/graphics": "^7.2.4",
"@pixi/mesh": "^7.0.0",
"@pixi/mesh-extras": "^7.0.0",
"@pixi/mesh-extras": "^7.2.4",
"@pixi/sprite": "^7.0.0"
},
"scripts": {
Expand Down Expand Up @@ -80,6 +80,6 @@
"license": "SEE SPINE-LICENSE",
"homepage": "https://github.com/pixijs/pixi-spine/#readme",
"devDependencies": {
"@pixi-spine/rollup-config": "*"
"@pixi-spine/rollup-config": "^1.0.0"
}
}
Loading