-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from tablelandnetwork/joe/init-setup
Use consistent CI tooling. Include recent `local` single-repo feature.
- Loading branch information
Showing
133 changed files
with
19,158 additions
and
7,498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"env": { | ||
"browser": false, | ||
"es2022": true, | ||
"mocha": true, | ||
"node": true | ||
}, | ||
"plugins": ["@typescript-eslint", "import"], | ||
"extends": ["standard-with-typescript", "prettier"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": 12, | ||
"project": "./lint.tsconfig.json" | ||
}, | ||
"ignorePatterns": [ | ||
"**/dist/", | ||
"**/coverage/", | ||
"**/docs/", | ||
"packages/sdk/src/validator/client/*", | ||
"packages/local/registry/*", | ||
"*.d.ts" | ||
], | ||
"globals": { | ||
// mocha | ||
"before": true, | ||
"after": true, | ||
"beforeEach": true, | ||
"afterEach": true, | ||
"describe": true, | ||
"it": true | ||
}, | ||
"rules": { | ||
"import/order": "warn", | ||
"@typescript-eslint/no-confusing-void-expression": "off", | ||
"node/no-unpublished-import": "off", | ||
"node/no-missing-import": "off", // TODO: If available, find solution to turn this lint rule back on | ||
"node/shebang": "off", | ||
"no-unused-vars": "off", | ||
"@typescript-eslint/no-unused-vars": "error", | ||
// We use currently all `== null` as a way to check for undefined or null, might as well turn this check off | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
|
||
// TODO: these two "off" rules should be removed once we fully transition to the monorepo | ||
"@typescript-eslint/strict-boolean-expressions": "off", | ||
"@typescript-eslint/restrict-template-expressions": "off" | ||
} | ||
} |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/packages/cli" | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "npm" | ||
directory: "/packages/local" | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "npm" | ||
directory: "/packages/sdk" | ||
schedule: | ||
interval: "weekly" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,44 @@ | ||
node_modules/ | ||
# general | ||
.DS_Store | ||
node_modules/ | ||
|
||
# config | ||
.vscode | ||
.idea | ||
.env | ||
.envrc | ||
.tableland* | ||
|
||
# build | ||
dist/ | ||
docs/ | ||
tmp/ | ||
typechain/ | ||
typechain-types/ | ||
cache/ | ||
artifacts/ | ||
.openzeppelin/* | ||
|
||
# test | ||
coverage/ | ||
test-results/ | ||
playwright-report/ | ||
playwright/.cache/ | ||
coverage.json | ||
|
||
### sdk ### | ||
packages/sdk/test/aliases/json-file-aliases.json | ||
packages/sdk/test/validator/database.db | ||
packages/sdk/test/validator/*.db | ||
packages/sdk/test/validator/*.db* | ||
packages/sdk/test/validator/backups | ||
|
||
### local ### | ||
|
||
# Validator artifacts | ||
packages/local/validator/*.db | ||
packages/local/validator/*.db* | ||
packages/local/validator/backups | ||
|
||
# registry artifacts | ||
packages/local/registry/.openzeppelin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
node_modules | ||
dist | ||
coverage | ||
docs | ||
registry/artifacts | ||
registry/cache | ||
packages/*/src/validator/client/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"semi": true, | ||
"trailingComma": "es5", | ||
"plugins": ["prettier-plugin-solidity"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "node_modules/lerna/schemas/lerna-schema.json", | ||
"version": "0.0.0" | ||
"version": "independent" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"include": [ | ||
"packages/**/src", | ||
"packages/**/test", | ||
"packages/sdk/playwright.config.js" | ||
], | ||
"exclude": ["packages/**/dist", "packages/sdk/src/validator/client/*"], | ||
"compilerOptions": { | ||
"target": "ES2020", | ||
"module": "ES2022", | ||
"lib": ["DOM", "ES2022"], | ||
"importHelpers": false, | ||
"moduleResolution": "Node", | ||
"esModuleInterop": true, | ||
"strict": true, | ||
"allowJs": true, | ||
"skipLibCheck": true, | ||
"declaration": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "nx/tasks-runners/default", | ||
"options": { | ||
"cacheableOperations": ["lint", "prettier", "test", "coverage", "build"] | ||
} | ||
} | ||
}, | ||
"targetDefaults": { | ||
"test": { | ||
"dependsOn": ["build"] | ||
}, | ||
"build": { | ||
"dependsOn": ["^build"], | ||
"outputs": ["{projectRoot}/dist"] | ||
} | ||
} | ||
} |
Oops, something went wrong.