Skip to content

Commit ee73c90

Browse files
authored
[EXC-12] rename samples to examples (#1972)
1 parent ec2166f commit ee73c90

File tree

254 files changed

+3019
-3020
lines changed

Some content is hidden

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

254 files changed

+3019
-3020
lines changed

.eslintignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jest.*.js
1414
# sample apps
1515
**sample-app**/
1616
**playground**/
17-
samples/apps/passport/
18-
samples/**/*
17+
examples/**/*
1918

2019
# put module specific ignore paths here

.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"rollup.config.*",
77
"node_modules/",
88
"dist/",
9-
"samples/",
9+
"examples/",
1010
"**sample-app**/",
1111
"**playground**/"
1212
],

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
/packages/minting-backend @shineli1984
2222
/packages/webhook @shineli1984
2323
/packages/game-bridge @immutable/sdk
24-
/samples @immutable/sdk
24+
/examples @immutable/sdk

.github/workflows/playwright.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
17-
17+
1818
- name: Use Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version-file: samples/apps/ts-immutable-sample/.nvmrc
21+
node-version-file: examples/ts-immutable-sample/.nvmrc
2222
cache: 'yarn'
2323

2424
- name: Restore cached node_modules
@@ -27,26 +27,26 @@ jobs:
2727
with:
2828
path: node_modules
2929
key: ${{ runner.os }}-build-cache-deps-${{ hashFiles('yarn.lock') }}
30-
30+
3131
- name: Install root dependencies
32-
if: steps.restore-cache-node_modules.outputs.cache-hit != 'true'
32+
if: steps.restore-cache-node_modules.outputs.cache-hit != 'true'
3333
run: yarn install --immutable
3434

3535
- name: Build SDK
3636
run: yarn build
3737

3838
- name: Install sample apps dependencies
39-
run: cd samples/apps/ts-immutable-sample && yarn install --no-immutable
39+
run: cd examples/ts-immutable-sample && yarn install --no-immutable
4040

4141
- name: Run Unit tests
42-
run: cd samples/apps/ts-immutable-sample && yarn test
42+
run: cd examples/ts-immutable-sample && yarn test
4343

4444
- name: Run Playwright tests
4545
env:
4646
# Required for Firefox to run
4747
# https://github.com/microsoft/playwright/issues/6500#issuecomment-838515115
4848
HOME: /root
49-
working-directory: samples/apps/ts-immutable-sample
49+
working-directory: examples/ts-immutable-sample
5050
run: yarn playwright test
5151
- uses: actions/upload-artifact@v3
5252
if: always()

README.md

+3-3

samples/checkout-widget/basic-react/README.md renamed to examples/checkout-widget/basic-react/README.md

+1-1

samples/checkout-widget/passport-integration-react/README.md renamed to examples/checkout-widget/passport-integration-react/README.md

+1-1

0 commit comments

Comments
 (0)