mirror of
https://github.com/stashapp/stash.git
synced 2025-12-16 20:07:05 +03:00
[packaging] switch to pnpm (#6186)
* [packaging] switch to pnpm * Bump compiler version * Change pnpm store in docker build --------- Co-authored-by: feederbox826 <feederbox826@users.noreply.github.com> Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
This is a reference React component plugin. It replaces the `details` part of scene cards with a list of performers and tags.
|
||||
|
||||
To build:
|
||||
- run `yarn install --frozen-lockfile`
|
||||
- run `yarn run build`
|
||||
- run `pnpm install --frozen-lockfile`
|
||||
- run `npm run build`
|
||||
|
||||
This will copy the plugin files into the `dist` directory. These files can be copied to a `plugins` directory.
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
"author": "WithoutPants",
|
||||
"license": "AGPL-3.0",
|
||||
"scripts": {
|
||||
"compile:ts": "yarn tsc",
|
||||
"compile:sass": "yarn sass src/testReact.scss dist/testReact.css",
|
||||
"compile:ts": "npm run tsc",
|
||||
"compile:sass": "npm run sass src/testReact.scss dist/testReact.css",
|
||||
"copy:yml": "cpx \"src/testReact.yml\" \"dist\"",
|
||||
"compile": "yarn run compile:ts && yarn run compile:sass",
|
||||
"build": "yarn run compile && yarn run copy:yml"
|
||||
"compile": "npm run compile:ts && npm run compile:sass",
|
||||
"build": "npm run compile && npm run copy:yml"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.2.31",
|
||||
|
||||
1578
pkg/plugin/examples/react-component/pnpm-lock.yaml
generated
Normal file
1578
pkg/plugin/examples/react-component/pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user