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

fix yarn4 issues with workspace #189

Open
wants to merge 892 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
892 commits
Select commit Hold shift + click to select a range
4343871
Merge pull request #148 from cosmology-tech/fix/stake-tokens-combobox…
yyyyaaa Jan 18, 2024
837ef22
readme
pyramation Jan 19, 2024
ce19c94
chore(release): publish
pyramation Jan 19, 2024
d643290
readme
pyramation Jan 19, 2024
265071c
chore(release): publish
pyramation Jan 19, 2024
cc156fd
readme
pyramation Jan 19, 2024
20c175d
chore(release): publish
pyramation Jan 19, 2024
fa5dd8e
license
pyramation Jan 19, 2024
b2c940b
chore(release): publish
pyramation Jan 19, 2024
3aa60b9
readme
pyramation Jan 19, 2024
05ad134
chore(release): publish
pyramation Jan 19, 2024
d8c8921
remove unused deps
Zetazzz Jan 20, 2024
74ba885
use cosmos-kit
pyramation Jan 20, 2024
ee9fb8b
from branch
pyramation Jan 20, 2024
111d368
Merge pull request #150 from cosmology-tech/feat/from-branch
pyramation Jan 20, 2024
9dd9aed
chore(release): publish
pyramation Jan 20, 2024
0d0c372
push
pyramation Jan 20, 2024
a18845b
chore(release): publish
pyramation Jan 20, 2024
4fe99d2
locks
pyramation Jan 20, 2024
bdc39a4
chore(release): publish
pyramation Jan 20, 2024
51d9fed
interchain
pyramation Jan 20, 2024
06853a3
chore(release): publish
pyramation Jan 20, 2024
88f407f
cosmos-kit
pyramation Jan 20, 2024
b9e5987
chore(release): publish
pyramation Jan 20, 2024
4d6118d
readme
pyramation Jan 20, 2024
af0e0b4
readme pkg
pyramation Jan 20, 2024
c92ab43
app.tsx
pyramation Jan 20, 2024
88e21a4
stake-tokens
pyramation Jan 20, 2024
5ad2d22
use cosmos-kit
pyramation Jan 21, 2024
60073ac
locks
pyramation Jan 21, 2024
2268a37
resolutions
pyramation Jan 21, 2024
33a7cff
pkg
pyramation Jan 21, 2024
030c3bc
cosmwasm
pyramation Jan 21, 2024
b2ab710
links
pyramation Jan 21, 2024
c042388
Merge pull request #151 from cosmology-tech/use-cosmos-kit
pyramation Jan 21, 2024
d2040e3
Rename vote-proposal to vote-proposal-chakra
twhy Jan 21, 2024
382e22e
Fix proposal title
twhy Jan 21, 2024
d4d68aa
Vote proposal example with interchain ui
twhy Jan 21, 2024
1f9ff4c
Use latest ChangeChainCombobox
twhy Jan 22, 2024
54ed0a4
Simplify cca commands
twhy Jan 23, 2024
ec22535
Simplify cca commands
twhy Jan 23, 2024
074f9e4
Fix chain switch
twhy Jan 23, 2024
4a34d70
feat: create authz example layout
marslavish Jan 24, 2024
b59b585
Fix text overflow
twhy Jan 25, 2024
097c57c
NFT mint loading
twhy Jan 25, 2024
45e1b21
Use skeleton for loading
twhy Jan 25, 2024
1075111
Replace mint button with skeleton when loading
twhy Jan 25, 2024
15533fe
feat: add wallet section
marslavish Jan 25, 2024
d5d1b6c
Fix asset-list created by cca not working
twhy Jan 26, 2024
7497aea
Set key
twhy Jan 26, 2024
19a748a
Upgrade interchain-ui to latest in all examples
twhy Jan 26, 2024
45e53b2
feat: add create grant modal
marslavish Jan 27, 2024
2b07ce0
feat: add GrantCard component
marslavish Jan 28, 2024
d07f01f
Merge pull request #152 from cosmology-tech/vote-proposal-interchain-ui
marslavish Jan 29, 2024
e5aa204
Update templates with interchain ui
twhy Jan 29, 2024
945af95
Merge branch 'main' into feat/authz-ui
marslavish Jan 29, 2024
d07f863
fix: chain dropdown doesn't show chain names
marslavish Jan 29, 2024
6a860e1
feat: add GrantDetailsModal
marslavish Jan 29, 2024
4fb7310
fix: optimize permissions dropdown
marslavish Jan 29, 2024
29b4d65
fix: add onClick to SelectButton
marslavish Jan 29, 2024
8e49dd0
Remove react-ssr
twhy Jan 30, 2024
68449d3
fix: use new combobox in asset-list
yyyyaaa Feb 1, 2024
3b88cae
fix: use new combobox in stake-tokens
yyyyaaa Feb 1, 2024
68dd4c3
fix: use new dropdown for connect-multi-chain and vote-proposal
yyyyaaa Feb 1, 2024
6612a0e
fix: use cosmos-kit in vote-proposal
marslavish Feb 1, 2024
b8e6ba9
Merge pull request #164 from cosmology-tech/fix/replace-all-dropdown
marslavish Feb 1, 2024
7147c7d
Merge branch 'main' into feat/authz-ui
marslavish Feb 1, 2024
19aab95
fix: custom filtering combobox
yyyyaaa Feb 2, 2024
9cc3d24
fix: custom filtering stake-tokens
yyyyaaa Feb 5, 2024
1fe5476
fix: custom filtering vote-proposal
yyyyaaa Feb 5, 2024
0c345ce
fix: custom filtering connect-multi-chain
yyyyaaa Feb 5, 2024
19d8a7c
chore: remove unused config
yyyyaaa Feb 5, 2024
0015530
Merge pull request #165 from cosmology-tech/custom-filtering-new-comb…
marslavish Feb 5, 2024
1e289dd
feat(authz): query and display grants data
marslavish Feb 5, 2024
31c0127
Fix chain select
twhy Feb 5, 2024
00de6a9
feat(authz): revoke grants
marslavish Feb 5, 2024
aa1f00f
remove theme
pyramation Feb 6, 2024
4269f7d
feat: exec stake grants
marslavish Feb 16, 2024
44431e4
feat: exec claim rewards grants
marslavish Feb 16, 2024
f2fca96
feat: exec vote grants
marslavish Feb 19, 2024
d280360
feat: exec send grants
marslavish Feb 20, 2024
bc3b161
upgrade starhsip to 0.1.47
Anmol1696 Feb 21, 2024
242e26a
Add rollkit example
twhy Feb 7, 2024
5d22efd
feat: optimize
marslavish Feb 22, 2024
25a2d38
fix: cleanup
marslavish Feb 22, 2024
22b17be
Merge branch 'main' into feat/authz-ui
marslavish Feb 22, 2024
743cae4
Merge pull request #155 from cosmology-tech/feat/authz-ui
marslavish Feb 22, 2024
b4aa654
Merge branch 'main' into anmol/upgrade-starship
Anmol1696 Feb 23, 2024
09ca2c5
Merge pull request #168 from cosmology-tech/anmol/upgrade-starship
Anmol1696 Feb 28, 2024
dcc548a
Use yarn 4
twhy Mar 4, 2024
30a2454
Website template
twhy Mar 18, 2024
cdae0ff
Use next.js link
twhy Mar 18, 2024
9dcdbff
Update yarn.lock
twhy Mar 20, 2024
fa3d9bd
Update yarn.lock
twhy Mar 20, 2024
71b3218
Update yarn.lock
twhy Mar 20, 2024
3d04a30
Update templates yarn.lock
twhy Mar 20, 2024
de13521
Update yarn.lock
twhy Mar 20, 2024
b8e8b0e
fix: update yarn.lock
marslavish Mar 20, 2024
fe6f38d
remove test code
Zetazzz Mar 21, 2024
dc71b9d
fix: add missing dep in authz
marslavish Mar 21, 2024
e30689d
fix: rename telescope-authz to authz
marslavish Mar 21, 2024
7acab8d
feat: update readme
marslavish Mar 21, 2024
7f3a4f9
Update yarn.lock
twhy Mar 26, 2024
3a04471
osmo-query -> interchain-query
pyramation Apr 5, 2024
98c84b7
workflow
pyramation Apr 5, 2024
b4947a6
workflow
pyramation Apr 5, 2024
0e04513
fixed types for vote-proposal
pyramation Apr 5, 2024
29d5f63
locks
pyramation Apr 5, 2024
51dc211
SSR type error
pyramation Apr 5, 2024
0df9bf7
SSR type error
pyramation Apr 5, 2024
805ea68
stake-tokens
pyramation Apr 5, 2024
09b4a88
remove-send
pyramation Apr 5, 2024
30c110c
asset-list
pyramation Apr 5, 2024
ebac53c
ibc-transfer
pyramation Apr 5, 2024
1fa4063
swap
pyramation Apr 5, 2024
6d9c156
remove-send
pyramation Apr 5, 2024
f7b5f98
liquidity
pyramation Apr 5, 2024
ef39ee5
nft
pyramation Apr 5, 2024
5dc7fc9
no-ssr
pyramation Apr 5, 2024
55052cc
Component
pyramation Apr 5, 2024
e8d3b46
connect-chain
pyramation Apr 5, 2024
c8f4ed8
baseUrl
pyramation Apr 5, 2024
8c9ea1c
website
pyramation Apr 5, 2024
3c546d5
types
pyramation Apr 5, 2024
7a27d2d
cleanup
pyramation Apr 5, 2024
18d757c
grpc
pyramation Apr 5, 2024
256476a
upgrades, warn on outdated versions, install flag
pyramation Apr 6, 2024
2e25ea2
Merge pull request #173 from cosmology-tech/feat/new-cli
pyramation Apr 6, 2024
84fa83f
refactor
pyramation Apr 6, 2024
f591139
printCmd
pyramation Apr 6, 2024
be20b03
chore(release): publish
pyramation Apr 6, 2024
3997ba8
shortcuts and docs
pyramation Apr 6, 2024
d57397c
chore(release): publish
pyramation Apr 6, 2024
2568766
readme
pyramation Apr 6, 2024
daf5ec1
chore(release): publish
pyramation Apr 6, 2024
d88f2f9
readme
pyramation Apr 6, 2024
13cf568
chore(release): publish
pyramation Apr 6, 2024
81c0717
readme
pyramation Apr 6, 2024
d65c13a
chore(release): publish
pyramation Apr 6, 2024
89339d8
website over to boilerplate
pyramation Apr 11, 2024
6dcde14
lerna boilerplates
pyramation Apr 12, 2024
e6dc2f8
cli
pyramation Apr 12, 2024
5fb09f3
chore(release): publish
pyramation Apr 12, 2024
3bcfd50
cli
pyramation Apr 12, 2024
381535f
chore(release): publish
pyramation Apr 12, 2024
b3def74
pkg
pyramation Apr 12, 2024
4fc389d
chore(release): publish
pyramation Apr 12, 2024
74e545d
scripts
pyramation Apr 12, 2024
4c6c457
chore(release): publish
pyramation Apr 12, 2024
fbf9619
pkg
pyramation Apr 12, 2024
5e1dcff
workspace
pyramation Apr 12, 2024
20806ba
workflow
pyramation Apr 12, 2024
b1e9665
ts modules
pyramation Apr 12, 2024
8c21f25
node types
pyramation Apr 12, 2024
353040b
pkg
pyramation Apr 12, 2024
6c2f299
esm
pyramation Apr 12, 2024
6252dd0
telescope
pyramation Apr 12, 2024
a9d458b
node
pyramation Apr 12, 2024
c07921b
telescope
pyramation Apr 12, 2024
89fd4c3
questions
pyramation Apr 12, 2024
6a512e5
rimraf
pyramation Apr 12, 2024
8bfe359
locks
pyramation Apr 12, 2024
7358c51
init
pyramation Apr 12, 2024
0e75578
questions
pyramation Apr 12, 2024
d3e269c
jest
pyramation Apr 13, 2024
2b33881
pkg
pyramation Apr 13, 2024
58db22e
telescope
pyramation Apr 18, 2024
e0cbf2d
main
pyramation Apr 18, 2024
65c8417
telescope
pyramation Apr 18, 2024
fc362d5
telescope
pyramation Apr 18, 2024
f1e75b9
pkg
pyramation Apr 18, 2024
ccd9a39
pkg
pyramation Apr 18, 2024
2479d78
updates
pyramation Apr 18, 2024
50154a8
updates
pyramation Apr 18, 2024
6d79189
replaceFiles
pyramation Apr 19, 2024
4076096
chore(release): publish
pyramation Apr 19, 2024
c61fed6
modulename
pyramation Apr 19, 2024
e7ed6c9
fix(asset-list): show withdraw btn regardless of balance
marslavish Apr 22, 2024
1c27c27
update workspace
pyramation May 3, 2024
82bccf3
rimraf
pyramation May 25, 2024
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
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
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
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
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
ef93607
fix yarn4 issues with workspace
pyramation Jun 20, 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.

82 changes: 82 additions & 0 deletions .github/workflows/run-tests-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
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,
authz,
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/[email protected]

- 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') }}
# 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
87 changes: 87 additions & 0 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
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/[email protected]
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
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