plasmic-cli
LOW
maintainer Hemular
0 votes
scanned 2026-10-22 00:13:10.488046
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Phillip Dykman <phil.d324@gmail.com>
2
pkgname=plasmic-cli
3
# renovate: datasource=npm depName=@plasmicapp/cli
4
pkgver=0.1.382
5
pkgrel=1
6
pkgdesc='Plasmic CLI for syncing local code with Plasmic designs (wraps @plasmicapp/cli)'
7
arch=('any')
8
url='https://github.com/plasmicapp/plasmic'
9
license=('MIT')
10
depends=('nodejs')
11
makedepends=('npm')
12
conflicts=('plasmic')
13
source=("$pkgname-$pkgver.tgz::https://registry.npmjs.org/@plasmicapp/cli/-/cli-$pkgver.tgz")
14
noextract=("$pkgname-$pkgver.tgz")
15
sha256sums=('bb9b5cfb55a5e9c165fbd5efd675428f0471e3844fe33c193d9e6d38acc2a923')
16
17
package() {
18
npm install -g --no-fund --no-audit --prefix "$pkgdir/usr" "$srcdir/$pkgname-$pkgver.tgz"
19
20
# npm leaves build-dir references and wrong ownership behind
21
find "$pkgdir/usr" -name package.json -exec sed -i '/"_where"/d' {} +
22
chown -R root:root "$pkgdir"
23
24
install -Dm644 "$pkgdir/usr/lib/node_modules/@plasmicapp/cli/LICENSE.md" -t "$pkgdir/usr/share/licenses/$pkgname"
25
26
# delivered binary must exist and be executable
27
test -x "$pkgdir/usr/bin/plasmic"
28
29
# smoke test: the packaged CLI starts and prints help
30
node "$pkgdir/usr/lib/node_modules/@plasmicapp/cli/dist/index.js" --help >/dev/null
31
}
32
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-22 00:13:10 | Low | 1 |
| 2026-10-21 23:33:14 | Low | 1 |