Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spawn integration #203

Closed
wants to merge 1,072 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1072 commits
Select commit Hold shift + click to select a range
4dbf883
rimraf
pyramation May 25, 2024
3497095
nocheck
pyramation May 25, 2024
5fbe901
lint
pyramation May 25, 2024
773f4c3
nocheck
pyramation May 25, 2024
1492382
wallet
pyramation May 25, 2024
b97e96e
lint
pyramation May 25, 2024
bd2b345
nocheck
pyramation May 25, 2024
a71dd7b
linter
pyramation May 25, 2024
5b67c25
workflow
pyramation May 25, 2024
ab3d8ff
telescope
pyramation May 25, 2024
b8d4f72
eslint
pyramation May 25, 2024
0b66a67
feat: initial code
marslavish Jun 5, 2024
34a61f1
feat: add sidebar
marslavish Jun 6, 2024
682e44f
fix
yyyyaaa Jun 7, 2024
ab8baea
fix: add back lockfile
yyyyaaa Jun 7, 2024
837cd40
try new workflow
yyyyaaa Jun 7, 2024
61de921
f
yyyyaaa Jun 7, 2024
d11aea8
f
yyyyaaa Jun 7, 2024
c996abd
f
yyyyaaa Jun 7, 2024
5047f16
ff
yyyyaaa Jun 7, 2024
79f3592
f
yyyyaaa Jun 7, 2024
56f66ca
fff
yyyyaaa Jun 7, 2024
5a7aaea
use steps
yyyyaaa Jun 7, 2024
e3ff90b
ff
yyyyaaa Jun 7, 2024
e0db877
try
yyyyaaa Jun 7, 2024
34f6d9d
f
yyyyaaa Jun 7, 2024
a5d68bc
f
yyyyaaa Jun 7, 2024
d895843
fail
yyyyaaa Jun 7, 2024
929851b
use sth
yyyyaaa Jun 7, 2024
60e1cd0
rm
yyyyaaa Jun 7, 2024
9b73e47
rm
yyyyaaa Jun 7, 2024
01141dc
fix: build
yyyyaaa Jun 7, 2024
02de4dc
lock
yyyyaaa Jun 7, 2024
6f95d8f
feat: add header
marslavish Jun 7, 2024
ae41d14
feat: add empty pages
marslavish Jun 7, 2024
245dc60
feat: add theme tokens
marslavish Jun 7, 2024
fd558a6
fix: layout styles
marslavish Jun 7, 2024
23f1b9d
try matrix again
yyyyaaa Jun 7, 2024
c743aa5
try
yyyyaaa Jun 7, 2024
4d7f28d
fail fast false
yyyyaaa Jun 7, 2024
e88e32a
oops
yyyyaaa Jun 7, 2024
b1506ce
mkdir
yyyyaaa Jun 7, 2024
02ab49d
yarn error
yyyyaaa Jun 7, 2024
bab1b08
fix
yyyyaaa Jun 7, 2024
aad1302
s
yyyyaaa Jun 7, 2024
2db98c4
dodo
yyyyaaa Jun 7, 2024
55392dd
fix
yyyyaaa Jun 7, 2024
eecf1a6
cancel
yyyyaaa Jun 7, 2024
f2998d6
typo
yyyyaaa Jun 7, 2024
5b37227
log
yyyyaaa Jun 7, 2024
da40cad
log
yyyyaaa Jun 7, 2024
d4fefea
oops
yyyyaaa Jun 7, 2024
84ecbd9
lock file
yyyyaaa Jun 7, 2024
5158e53
try 4
yyyyaaa Jun 7, 2024
c92f80a
yarn4 lockfile
yyyyaaa Jun 7, 2024
071741d
fix swap
yyyyaaa Jun 7, 2024
338d111
filter not working
yyyyaaa Jun 7, 2024
1d95e5f
fix
yyyyaaa Jun 7, 2024
6b3a6ee
fix authz
yyyyaaa Jun 7, 2024
80cc024
simplify
yyyyaaa Jun 7, 2024
5de4d61
fix
yyyyaaa Jun 7, 2024
0ead101
chakra
yyyyaaa Jun 7, 2024
ef4d4c3
fix cache
yyyyaaa Jun 7, 2024
a8c1af6
typo
yyyyaaa Jun 7, 2024
1ac64c5
yarn lock
yyyyaaa Jun 7, 2024
5136777
f
yyyyaaa Jun 8, 2024
68962c5
f
yyyyaaa Jun 8, 2024
cd86845
feat: add staking module
marslavish Jun 8, 2024
753637a
feat: add voting module
marslavish Jun 9, 2024
390bbb6
feat: add asset-list module
marslavish Jun 9, 2024
9867885
Merge pull request #181 from cosmology-tech/fix/ci-fail-to-detect
pyramation Jun 11, 2024
a029394
fix: old ci job yarn4 issues (#182)
yyyyaaa Jun 11, 2024
b00f80e
ci: try disable yarn cache due to cache paths not found error (#183)
yyyyaaa Jun 11, 2024
35d5ac9
ci: try immutable false for yarn4 (#184)
yyyyaaa Jun 11, 2024
a447891
ci: try setting yarn immutable false using github env (#185)
yyyyaaa Jun 11, 2024
1ec341b
add build:dev and docs
Zetazzz Jun 12, 2024
fb66988
change the comments
Zetazzz Jun 12, 2024
1075d22
feat: add execute contract UI
marslavish Jun 15, 2024
864e9a4
feat: add json editor
marslavish Jun 15, 2024
4fd9fbb
feat: add query contract UI
marslavish Jun 15, 2024
3a41d0e
feat: add disabled and loading states to button
marslavish Jun 16, 2024
7ce9244
feat: fetch contract info
marslavish Jun 16, 2024
e6464d3
feat: validate json input
marslavish Jun 17, 2024
d3512e9
fix: can't fetch contract on first render
marslavish Jun 17, 2024
c0f8839
feat: fetch and display query result
marslavish Jun 17, 2024
a4f1e75
fix: update brand logo
marslavish Jun 17, 2024
4422bd9
update copy for templates
pyramation Jun 19, 2024
ac89dfa
Merge pull request #188 from cosmology-tech/text/copy
pyramation Jun 19, 2024
386ab74
header
pyramation Jun 19, 2024
670c2ac
Merge pull request #186 from cosmology-tech/build-dev
pyramation Jun 20, 2024
1e8de5f
fix: upgrade deps and fix multi chain dropdown
yyyyaaa Jun 20, 2024
f5f9e88
chore: yarn lock
yyyyaaa Jun 20, 2024
d74a443
fix: ts lint error in JSX
yyyyaaa Jun 20, 2024
60381ae
Merge pull request #190 from cosmology-tech/fix/template-multi-chain-…
pyramation Jun 21, 2024
0c80db5
upgrades
pyramation Jun 21, 2024
bc449a8
fix: try locks update script
yyyyaaa Jun 21, 2024
3ec61eb
fix: deps
yyyyaaa Jun 21, 2024
4b020bf
isolate authz
yyyyaaa Jun 21, 2024
d24cb5c
Merge pull request #191 from cosmology-tech/upgrade/cosmos-kit-cosmjs
pyramation Jun 21, 2024
1b7578c
name change
pyramation Jun 28, 2024
d73c90e
fix: JsonEditor no wrap for valid json
marslavish Jun 28, 2024
f2608e5
feat: add useExecuteContractTx hook
marslavish Jul 4, 2024
e052575
feat: enable attaching funds
marslavish Jul 7, 2024
297c9cd
feat: add faucet page UI
marslavish Jul 7, 2024
7917507
feat: add home page UI
marslavish Jul 8, 2024
380b036
feat: add product links
marslavish Jul 8, 2024
fbdfe6d
feat: add dark theme
marslavish Jul 12, 2024
76fa9cf
feat: make sidebar responsive
marslavish Jul 13, 2024
fefff95
feat: add AddressButton component
marslavish Jul 14, 2024
f0ac617
feat: add ChainDropdown mobile styles
marslavish Jul 14, 2024
f5ad37c
feat: add mobile styles to all pages
marslavish Jul 14, 2024
22ab91b
feat: add small brand logo
marslavish Jul 15, 2024
f3fa5e3
feat: add footer
marslavish Jul 15, 2024
a905f91
feat: update connect wallet button
marslavish Jul 15, 2024
1eff340
fix: favicon not showing
marslavish Jul 15, 2024
8dfc591
Merge branch 'main' into feat/chain-template
marslavish Jul 16, 2024
6dc07ef
need to install dayjs to run examples/telescope
Jul 17, 2024
096c16b
fix: build errors
marslavish Jul 17, 2024
a84ed08
* Fixed issue that deposit/withdraw modal title always show "Deposit"…
Jul 17, 2024
b1c120a
show balance on the deposit/withdraw modal from the list
Jul 18, 2024
09b1fc5
inital addition of starship and devnet
Anmol1696 Jul 17, 2024
ce062e6
add more stuff
Anmol1696 Jul 18, 2024
df07835
test changing timeEstimateLabel and found it not working
Jul 18, 2024
3f8ed9a
remove log of inputvalue
Jul 18, 2024
40185cd
upgrade interchain-ui
Jul 18, 2024
fc9dec9
feat: enable adding chains to keplr wallet
marslavish Jul 18, 2024
ca4dda6
feat: add dropdown wallet connect
marslavish Jul 21, 2024
8bc8c1f
feat: add disclaimer page
marslavish Jul 21, 2024
d031a6d
chore: update chains image and nav items
marslavish Jul 21, 2024
62dc7bc
upgrade interchain-ui to 1.23.26 and issues of estimate time label an…
Jul 22, 2024
ae4a55d
bug fixed: show displayAmount instaed amount in the OverviewTransfer …
Jul 22, 2024
8bf993b
feat: enable faucet
marslavish Jul 22, 2024
290d6f1
modify useBalance hook to fetch all assets balance
Jul 22, 2024
d07b36e
get balance by token symbol
Jul 24, 2024
7550c8d
fixed some bugs related to undefined
Jul 24, 2024
064954e
add getDenomBySymbolAndChain
Jul 24, 2024
ad68f5e
get the right denom when deposit from list
Jul 24, 2024
c56112b
upgrade chart version to 0.2.9
Anmol1696 Jul 24, 2024
0541f32
feat: fetch and integrate starship chains
marslavish Jul 24, 2024
cf7120f
feat: validate faucet chain address
marslavish Jul 24, 2024
65eaea2
fix: build error
marslavish Jul 24, 2024
9ebeb3a
fix: check whether starship is running
marslavish Jul 24, 2024
456534a
add paramater chainName to symbolToDenom function, to find ibc denom …
Jul 25, 2024
fca945e
modify dollarValue by getting 1 token price to be token usd value
Jul 25, 2024
a68619f
upgrade @interchain-ui/react from 1.23.26 to 1.23.28 to solve the bug…
Jul 25, 2024
3f91414
change title of website from "Create Cosmos App" to "Asset List - Cre…
Jul 25, 2024
02278b1
more details of error
Jul 26, 2024
00be52b
upgrade @interchain-ui/react from 1.23.22 to 1.23.28
Jul 26, 2024
14cc31a
feat: add upload contract UI
marslavish Jul 28, 2024
de6fa2d
feat: add tx success UI
marslavish Jul 28, 2024
5f930e5
feat: file drag and drop to upload
marslavish Jul 29, 2024
8f83103
feat: get code hash from wasm file
marslavish Jul 29, 2024
f08a455
modify title name
Jul 29, 2024
3ba8b76
upgrade interchain-ui from 1.23.28 to 1.23.29
Jul 31, 2024
bdc7589
modify title, added "Vote Proposal" to it
Jul 31, 2024
25fa997
use v1 of proposal API
Jul 31, 2024
25af34d
feat: validate addresses for instantiate permission
marslavish Jul 31, 2024
72ae9d3
show proposal description from v1 API
Jul 31, 2024
fa15db5
fix: input clamp behavior
yyyyaaa Jul 31, 2024
4aac19f
upgrade interchanjs to 1.23.29
Aug 1, 2024
e8a4105
feat: enable store code tx
marslavish Aug 1, 2024
7454d0c
feat: add code store
marslavish Aug 1, 2024
c2c9739
feat: add instantiate contract UI
marslavish Aug 2, 2024
e2caa3a
feat: add SelectCodeField component
marslavish Aug 3, 2024
89e396e
solve the issue that shows 'Box' cannot be used as a JSX component by…
Aug 4, 2024
58c289f
fixed two bug of example telescope while building
Aug 4, 2024
0de7da8
fixed build failed of authz by upgrading @cosmjs/encoding
Aug 5, 2024
730d957
fixed the bug that cca nft build failed by upgrading @interchain-ui/r…
Aug 5, 2024
4355162
fixed the bug that cca rollkie example failed to build by upgrading b…
Aug 5, 2024
1c6827c
feat: add SelectCodeModal
marslavish Aug 5, 2024
f5eefff
fixed the path not found for Coin
Aug 5, 2024
135959a
fixed the issue shows 'Box' cannot be used as a JSX component
Aug 5, 2024
6310aae
feat: enable instantiate tx
marslavish Aug 5, 2024
ada8ef0
feat: select code id from modal
marslavish Aug 5, 2024
162193a
feat: enable upload to query contract workflow
marslavish Aug 5, 2024
8a4452f
feat: disable TextField auto complete
marslavish Aug 5, 2024
c5fc3af
Merge branch 'bugs/stake-tokens' into eason/bugfixing
Aug 6, 2024
a3e892b
Merge pull request #197 from cosmology-tech/eason/bugfixing
marslavish Aug 6, 2024
6a07374
fixed the bug that example/nft build failed
Aug 7, 2024
ed241e4
testing github action
Aug 7, 2024
0a5b1be
test github action
Aug 7, 2024
32dbfbf
github action test
Aug 7, 2024
c1a0637
github action test 4
Aug 7, 2024
3255ffd
github actions fixed
Aug 7, 2024
7a53541
remove non nessery branch pushing of github action
Aug 7, 2024
065debb
enable yarn 2+ for github actions
Aug 7, 2024
5269a0c
for github actions debug
Aug 7, 2024
09aaa8c
feat: add My Contracts UI
marslavish Aug 7, 2024
6f1d018
feat: fetch and display my contracts
marslavish Aug 7, 2024
b080015
feat: fetch and display stored codes
marslavish Aug 8, 2024
49a8005
feat: filter stored codes
marslavish Aug 8, 2024
b75df91
test cicd
Aug 10, 2024
456d21e
github action test
Aug 11, 2024
59f25fb
set YARN_ENABLE_IMMUTABLE_INSTALLS=false in github action config to a…
Aug 11, 2024
540c733
github actions test
Aug 11, 2024
a7ac32e
test github action
Aug 11, 2024
b1e0421
renew /yarn.lock
Aug 11, 2024
f47545f
github action test
Aug 11, 2024
acd3373
upgrade @chain-registry/types
Aug 11, 2024
ffcc616
fix type error while building
Aug 12, 2024
19c65f6
changed @interchain-ui/react from ^1.23.29 to 1.23.29
Aug 12, 2024
052b6dd
run yarn install to modify /yarn.lock to avoid checksum error in cicd
Aug 12, 2024
14f75c7
remove resolutions on nft/packages.json to solve version conflict wit…
Aug 12, 2024
d9307c7
renew package versions
Aug 12, 2024
82c054c
renws checksum
Aug 12, 2024
2005a60
feat: validate permission and manual code id
marslavish Aug 12, 2024
88a3f32
feat: validate admin address
marslavish Aug 12, 2024
276b4d5
feat: add dark theme to contract pages
marslavish Aug 12, 2024
5c32a70
feat: add mobile styles to contract pages
marslavish Aug 12, 2024
054f743
chore: move to /examples
marslavish Aug 14, 2024
3e53c40
Merge branch 'feat/chain-template' into eason/bugfixing
Aug 14, 2024
bc8a3a7
add osmosis to chain selection
Aug 14, 2024
6a9a095
added util toBaseAmount
Aug 15, 2024
f3052f2
* fix bug that submit decimals to chain by useing toBaseAmount util
Aug 15, 2024
7d0d829
* replace shiftDigits with toBaseAmount to solve the bugs that submit…
Aug 15, 2024
c238130
delete some dead code
Aug 15, 2024
a38abeb
* replace shiftDigits with toBaseAmount to solve the bug submitting d…
Aug 15, 2024
aeb7f9c
fix: build error
marslavish Aug 15, 2024
d8b534f
Merge branch 'main' into feat/chain-template
marslavish Aug 15, 2024
792a578
fix: update staking example
marslavish Aug 15, 2024
37b5b00
fix: update voting example
marslavish Aug 15, 2024
448535c
fix: update asset-list example
marslavish Aug 15, 2024
957ac0f
fix: build error
marslavish Aug 15, 2024
0f4ba5d
Merge pull request #180 from cosmology-tech/feat/chain-template
marslavish Aug 15, 2024
57a8631
Merge branch 'main' into eason/chain-template
Aug 15, 2024
9e6b1a2
optimise import utils
Aug 15, 2024
faf91b2
ci secipt that passed all tests
Aug 15, 2024
dc7e347
Merge branch 'eason/bugfixing' into eason/chain-template
Aug 15, 2024
b6aa4a0
De-duplicate the tokens in the emptyBalances variable
Aug 16, 2024
634afc8
fix the bug that in asset-list, when click Withdraw on "Your assets",…
Aug 17, 2024
9cd484c
fix the bug that the default selected token is not belong to the sour…
Aug 17, 2024
1edf7dc
fixed the bug that no title on proposal list
Aug 19, 2024
088cff2
fixed the bug that proposal description may be to large, use overflowY
Aug 19, 2024
c1b10e7
bug fixed that the title of proposal dialog showed undefined
Aug 19, 2024
ef1bcd1
Merge pull request #200 from cosmology-tech/eason/chain-template
marslavish Aug 20, 2024
8162220
upgrade interchan-ui and shows the percentage of voting on the toolti…
Aug 21, 2024
9a04772
added cosmoshub chain
Aug 21, 2024
e23d8c0
change 'YYYY-MM-DD hh:mm:ss' to 'YYYY-MM-DD HH:mm:ss' to show 24 hour…
Aug 21, 2024
8476be5
fix(chain-template): change text and styles
marslavish Aug 22, 2024
d01d211
solved the issue that voting period proposal have not veda data
Aug 22, 2024
c805d14
credits
pyramation Aug 22, 2024
ae23e42
Merge branch 'main' into eason/chain-template
Aug 23, 2024
02ec9cf
change some copy in contract page
marslavish Aug 23, 2024
4aae611
Merge pull request #201 from cosmology-tech/eason/chain-template
marslavish Aug 23, 2024
9da1e7b
Merge pull request #202 from cosmology-tech/luca/change-copy
marslavish Aug 24, 2024
7392b37
feat: initial commit for chain-template-spawn
marslavish Aug 24, 2024
8e96a48
feat: fetch spawn chains
marslavish Aug 24, 2024
9308b23
feat: request tokens from spawn faucet
marslavish Aug 25, 2024
e1af358
feat: make spawn compatible with staking, gov and asset-list examples
marslavish Aug 26, 2024
f6a4108
chore: remove starship
marslavish Aug 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
70 changes: 0 additions & 70 deletions .eslintrc.js

This file was deleted.

86 changes: 86 additions & 0 deletions .github/workflows/run-tests-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: Build Next.js examples

on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize]

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: true
matrix:
example:
[
asset-list,
vote-proposal,
ibc-transfer,
swap-tokens,
provide-liquidity,
nft,
connect-chain,
connect-multi-chain,
]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set template_path Environment Variable
run: |
example_value="${{ matrix.example }}"

if [[ "$example_value" == "connect-chain" ]] || [[ "$example_value" == "connect-multi-chain" ]]; then
echo "template_path=templates" >> $GITHUB_ENV
echo "ci_template_path=dest" >> $GITHUB_ENV
else
echo "template_path=examples" >> $GITHUB_ENV
echo "ci_template_path=dest" >> $GITHUB_ENV
fi

- name: Log
run: |
echo "Using template_path: $template_path"
echo "Using ci_template_path: $ci_template_path"

- name: Clone example
run: |
echo "Cloning example: ./$template_path/${{ matrix.example }}/" into "${{ github.workspace }}/$ci_template_path/${{ matrix.example }}"

mkdir -p ${{ github.workspace }}/$ci_template_path/${{ matrix.example }}
cp -r ./$template_path/${{ matrix.example }}/ ${{ github.workspace }}/$ci_template_path/
cd ${{ github.workspace }}/$ci_template_path/${{ matrix.example }}

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Set up Yarn
uses: threeal/setup-yarn-action@v2.0.0

- name: Get last git commit hash
run: |
echo "DIFF_HASH=$(git log -1 --pretty=format:%H)" >> $GITHUB_ENV

- name: Cache NextJS
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/.next/cache
# Generate a new cache whenever packages or source files change.
#key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ env.DIFF_HASH }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-

- name: Build example project
run: |
echo "Building example: ${{ matrix.example }} in directory ${{ github.workspace }}/$ci_template_path/${{ matrix.example }}"
cd ${{ github.workspace }}/$ci_template_path/${{ matrix.example }}
ls -la
yarn install
yarn build
89 changes: 89 additions & 0 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: Run Tests Prod

on:
push:
branches:
- main
workflow_dispatch:

jobs:
run-tests:
runs-on: ubuntu-latest

steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Set up Yarn
uses: threeal/setup-yarn-action@v2.0.0
with:
cache: false

- name: Install Dependencies
run: |
echo "YARN_ENABLE_IMMUTABLE_INSTALLS=false" >> $GITHUB_ENV
npm install -g create-cosmos-app

- name: asset-list
run: |
cca --example asset-list --name asset-list
cd asset-list
yarn build

- name: vote-proposal
run: |
cca --example vote-proposal --name vote-proposal
cd vote-proposal
yarn build

- name: ibc-transfer
run: |
cca --example ibc-transfer --name ibc-transfer
cd ibc-transfer
yarn build

- name: swap-tokens
run: |
cca --example swap-tokens --name swap-tokens
cd swap-tokens
yarn build

- name: provide-liquidity
run: |
cca --example provide-liquidity --name provide-liquidity
cd provide-liquidity
yarn build

- name: nft
run: |
cca --example nft --name nft
cd nft
touch yarn.lock
yarn install
yarn build

- name: authz
run: |
cca --example authz --name authz
cd authz
yarn build

- name: connect-chain
run: |
cca --template connect-chain --name connect-chain
cd connect-chain
yarn build

- name: connect-multi-chain
run: |
cca --template connect-multi-chain --name connect-multi-chain
cd connect-multi-chain
yarn build

- name: website
run: |
cca --boilerplate website --name website
cd website
yarn build
29 changes: 0 additions & 29 deletions .github/workflows/run-tests.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.yarn
.yarn/*
.DS_Store
.eslintcache
*.log
Expand Down
2 changes: 2 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# .prettierrc or .prettierrc.yaml
singleQuote: true
34 changes: 16 additions & 18 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"editor.formatOnSave": true,
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[javascript]": {
"editor.formatOnSave": false
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": [
"javascript",
"javascriptreact"
],
"files.exclude": {
".yarn/*": true
},
}
"editor.formatOnSave": true,
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[javascript]": {
"editor.formatOnSave": false
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": ["javascript", "javascriptreact"],
"files.exclude": {
".yarn/*": true
},
"typescript.tsdk": "node_modules/typescript/lib"
}
Loading
Loading