Merge pull request #413 from janhq/chore/fix-data-plugin-unable-to-load-from-npm
Fix data-plugin install failed on mac silicon from npm
This commit is contained in:
commit
c4a73d1ae0
2
.github/workflows/jan-plugins.yml
vendored
2
.github/workflows/jan-plugins.yml
vendored
@ -15,7 +15,7 @@ on:
|
||||
- "!plugins/*/package.json"
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: mac-silicon
|
||||
environment: production
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@ -7,9 +7,7 @@
|
||||
"module": "dist/cjs/module.js",
|
||||
"author": "Jan <service@jan.ai>",
|
||||
"license": "MIT",
|
||||
"activationPoints": [
|
||||
"init"
|
||||
],
|
||||
"activationPoints": ["init"],
|
||||
"scripts": {
|
||||
"build": "tsc -b ./config/tsconfig.esm.json && tsc -b ./config/tsconfig.cjs.json && webpack --config webpack.config.js",
|
||||
"postinstall": "rimraf ./data-plugin*.tgz && npm run build",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user