Skip to content

Commit 8ba4b75

Browse files
authored
Move Solidity and Cairo packages into subfolders (#438)
1 parent 1d45113 commit 8ba4b75

File tree

250 files changed

+94
-95
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+94
-95
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
strategy:
1111
matrix:
1212
package:
13-
- core
14-
- core-cairo
13+
- solidity
14+
- cairo
1515

1616
runs-on: ubuntu-latest
1717
steps:
@@ -21,16 +21,16 @@ jobs:
2121
node-version: 18.x
2222
cache: 'yarn'
2323
- name: Install Foundry
24-
if: matrix.package == 'core'
24+
if: matrix.package == 'solidity'
2525
uses: foundry-rs/foundry-toolchain@v1
2626
- name: Install dependencies
2727
run: yarn install --network-concurrency 1
2828
- name: Compile TypeScript
2929
run: yarn tsc
30-
working-directory: packages/${{matrix.package}}
30+
working-directory: packages/core/${{matrix.package}}
3131
- name: Check Svelte
3232
run: yarn svelte-check
3333
working-directory: packages/ui
3434
- name: Run tests
3535
run: yarn test
36-
working-directory: packages/${{matrix.package}}
36+
working-directory: packages/core/${{matrix.package}}

README.md

Lines changed: 3 additions & 5 deletions

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"workspaces": {
88
"packages": [
9-
"packages/*"
9+
"packages/core/*",
10+
"packages/ui"
1011
],
1112
"nohoist": [
1213
"**/@types/*",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/core-cairo/package.json renamed to packages/core/cairo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"prepublish": "rimraf dist *.tsbuildinfo",
2020
"test": "ava",
2121
"test:watch": "ava --watch",
22-
"version": "node ../../scripts/bump-changelog.js"
22+
"version": "node ../../../scripts/bump-changelog.js"
2323
},
2424
"devDependencies": {
2525
"@types/node": "^18.0.0",

0 commit comments

Comments
 (0)