Skip to content

Commit 9b1c033

Browse files
committed
updates
1 parent eeba0cf commit 9b1c033

File tree

225 files changed

+7373
-153704
lines changed

Some content is hidden

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

225 files changed

+7373
-153704
lines changed

.editorconfig

-12
This file was deleted.

.eslintignore

-10
This file was deleted.

.eslintrc.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"node": true,
6+
"jest": true
7+
},
8+
"extends": [
9+
"eslint:recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
"prettier"
12+
],
13+
"overrides": [],
14+
"parser": "@typescript-eslint/parser",
15+
"parserOptions": {
16+
"ecmaVersion": "latest",
17+
"sourceType": "module"
18+
},
19+
"plugins": ["@typescript-eslint", "simple-import-sort", "unused-imports"],
20+
"rules": {
21+
"simple-import-sort/imports": 1,
22+
"simple-import-sort/exports": 1,
23+
"unused-imports/no-unused-imports": 1,
24+
"@typescript-eslint/no-unused-vars": [
25+
1,
26+
{
27+
"argsIgnorePattern": "React|res|next|^_"
28+
}
29+
],
30+
"@typescript-eslint/no-explicit-any": 0,
31+
"@typescript-eslint/no-var-requires": 0,
32+
"no-console": 0,
33+
"@typescript-eslint/ban-ts-comment": 0,
34+
"prefer-const": 0,
35+
"no-case-declarations": 0,
36+
"no-implicit-globals": 0,
37+
"@typescript-eslint/no-unsafe-declaration-merging": 0
38+
}
39+
}

.github/workflows/run-tests.yaml

+17-14
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,22 @@ jobs:
1212
run-tests:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- name: checkout 🛎️
16-
uses: actions/[email protected]
17-
- name: node
18-
uses: actions/setup-node@v3
15+
- name: Checkout Repository 🛎️
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
1920
with:
20-
node-version: 16.14.0
21-
- name: deps
22-
run: yarn
23-
- name: bootstrap
24-
run: yarn bootstrap
25-
- name: build
21+
node-version: '20.x'
22+
23+
- name: Install Dependencies
24+
run: yarn install
25+
26+
- name: Build Project
2627
run: yarn build
27-
- name: ts-codegen
28-
run: cd ./packages/ts-codegen && yarn test
29-
- name: wasm-ast-types
30-
run: cd ./packages/wasm-ast-types && yarn test
28+
29+
- name: Test @cosmwasm/ts-codegen
30+
run: cd packages/ts-codegen && yarn test
31+
32+
- name: Test ast
33+
run: cd ./packages/ast && yarn test

.gitignore

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
.DS_Store
2-
.eslintcache
3-
*.log
4-
**/node_modules
5-
coverage
6-
packages/**/build
7-
packages/**/main
8-
packages/**/module
9-
testgen
1+
**/node_modules/
2+
**/.DS_Store
3+
**/dist
4+
**/yarn-error.log
5+
lerna-debug.log

.prettierrc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"singleQuote": false
6+
}

.vscode/settings.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2+
"editor.defaultFormatter": "vscode.typescript-language-features",
23
"editor.formatOnSave": true,
3-
"[javascriptreact]": {
4-
"editor.formatOnSave": false
5-
},
6-
"[javascript]": {
7-
"editor.formatOnSave": false
8-
},
94
"editor.codeActionsOnSave": {
10-
"source.fixAll.eslint": true
5+
"source.fixAll.eslint": "explicit"
116
},
127
"eslint.validate": [
13-
"javascript",
14-
"javascriptreact"
15-
]
16-
}
8+
"javascript",
9+
"javascriptreact",
10+
"typescript",
11+
"typescriptreact"
12+
],
13+
"eslint.format.enable": false,
14+
"typescript.tsdk": "node_modules/typescript/lib",
15+
"editor.tabSize": 2
16+
}

0 commit comments

Comments
 (0)