Skip to content

Commit

Permalink
chore: Set dependency sandboxing (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinoosss committed Apr 9, 2024
1 parent 5808190 commit f061650
Show file tree
Hide file tree
Showing 4 changed files with 242 additions and 7 deletions.
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore-scripts true
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ pnpMode: loose
enableTelemetry: false

yarnPath: .yarn/releases/yarn-3.4.1.cjs
enableScripts: false
9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"license": "Adena License",
"private": true,
"scripts": {
"setup": "yarn install && yarn allow-scripts",
"develop": "yarn workspace adena-extension build:dev",
"build": "yarn build:module && yarn build:service && yarn",
"build:module": "yarn workspaces foreach -ptR --from '{adena-module,adena-torus-signin}' run build",
Expand All @@ -20,6 +21,8 @@
"devDependencies": {
"@babel/core": "7.23.9",
"@babel/runtime": "7.23.9",
"@lavamoat/allow-scripts": "^3.0.3",
"@lavamoat/preinstall-always-fail": "^2.0.0",
"@storybook/react": "^7.6.17",
"@yarnpkg/sdks": "3.1.0",
"babel-loader": "9.1.3",
Expand All @@ -40,5 +43,11 @@
"prettier --write",
"git add"
]
},
"lavamoat": {
"allowScripts": {
"@lavamoat/preinstall-always-fail": false,
"@storybook/react>@storybook/docs-tools>@storybook/core-common>esbuild": false
}
}
}
Loading

0 comments on commit f061650

Please sign in to comment.