mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-13 13:01:06 +00:00
feat: added npm workspaces support (#4)
Description
===========
- Introduced npm workspaces to manage
CLI tests from the root directory.
- Enabled simplified npm dependency
installation from the root.
- Updated .gitignore to align with
the new workspace structure.
Usage
=====
From the root directory
To install repo npm packages, run:
```
npm install && npm fund
```
To run related tests, run:
```
npm run test:cli
```
This commit is contained in:
@@ -8,3 +8,7 @@
|
|||||||
/*.s
|
/*.s
|
||||||
/llvm-project
|
/llvm-project
|
||||||
/llvm18.0
|
/llvm18.0
|
||||||
|
node_modules
|
||||||
|
artifacts
|
||||||
|
tmp
|
||||||
|
package-lock.json
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"name": "root",
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"test:cli": "npm run test -w crates/solidity/src/tests/cli-tests"
|
||||||
|
},
|
||||||
|
"workspaces": [
|
||||||
|
"crates/solidity/src/tests/cli-tests"
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user