Skip to content

Commit

Permalink
build(deps): Bump github/codeql-action from 2 to 3 (#387)
Browse files Browse the repository at this point in the history
* build(deps): Bump github/codeql-action from 2 to 3

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* npm run format

* lockfile

* Bump uint8arrays

* Update dispatch.yml

* Update dispatch.yml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ankur Banerjee <[email protected]>
  • Loading branch information
dependabot[bot] and ankurdotb authored Jan 5, 2024
1 parent 58c7f37 commit 4188ecc
Show file tree
Hide file tree
Showing 11 changed files with 17,723 additions and 17,378 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ updates:
directory: "/"
schedule:
interval: "weekly"
ignore:
- dependency-name: "*"
update-types:
- version-update:semver-patch

# Maintain dependencies for NPM
- package-ecosystem: "npm"
Expand Down
31 changes: 20 additions & 11 deletions .github/linters/mlc_config.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
{
"aliveStatusCodes": [0, 200, 206, 429, 403, 501, 999],
"replacementPatterns": [
{
"pattern": "\" %}",
"replacement": ""
},
{
"pattern": "&quot; %}",
"replacement": ""
}
]
"aliveStatusCodes": [0, 200, 206, 403, 501, 999],
"replacementPatterns": [
{
"pattern": "\" %}",
"replacement": ""
},
{
"pattern": "&quot; %}",
"replacement": ""
}
],
"ignorePatterns": [
{
"pattern": "^https://resolver.cheqd.net/"
},
{
"pattern": "^https://twitter.com/"
}
],
"retryOn429": true
}
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fetch-depth: 0

- name: Initialise CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: 'javascript'
queries: security-and-quality
Expand All @@ -37,4 +37,4 @@ jobs:
npm run build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
3 changes: 1 addition & 2 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ jobs:

call-build:
name: "Build & Test"
needs: call-lint
uses: ./.github/workflows/build.yml
secrets: inherit

call-release:
name: "Release"
needs: call-build
needs: [ call-lint, call-build ]
if: ${{ github.ref_protected == true }}
uses: ./.github/workflows/release.yml
secrets: inherit
18 changes: 18 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Ignore folders
.DS_Store
.github
build
node_modules
dist
playwright
playwright-report

# Ignore files
pnpm-lock.yaml
package-lock.json
yarn.lock
*.md
*.yaml
*.yml
**/tsconfig.json
**/tsconfig.*.json
110 changes: 57 additions & 53 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,55 +1,59 @@
{
"branches": [
"main",
{
"name": "develop",
"channel": "beta",
"prerelease": true
}
],
"tagFormat": "${version}",
"ci": true,
"preset": "conventionalcommits",
"plugins": [
[ "@semantic-release/commit-analyzer",
{
"releaseRules": [
{ "breaking": true, "release": "major" },
{ "type": "feat", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "build", "release": "patch" },
{ "scope": "security", "release": "patch" },
{ "type": "chore", "release": false },
{ "type": "ci", "release": false },
{ "type": "docs", "release": false },
{ "type": "refactor", "release": false },
{ "type": "revert", "release": false },
{ "type": "style", "release": false },
{ "type": "test", "release": false },
{ "scope": "no-release", "release": false },
{ "scope": "release", "release": "patch" }
],
"presetConfig": true
}
],
[ "@semantic-release/release-notes-generator",
{
"presetConfig": true
}
],
[ "@semantic-release/changelog",
{
"changelogTitle": "# Changelog"
}
],
"@semantic-release/npm",
[ "@semantic-release/git",
{
"assets": [ "package.json", "CHANGELOG.md" ],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
"branches": [
"main",
{
"name": "develop",
"channel": "beta",
"prerelease": true
}
],
"tagFormat": "${version}",
"ci": true,
"preset": "conventionalcommits",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{ "breaking": true, "release": "major" },
{ "type": "feat", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "build", "release": "patch" },
{ "scope": "security", "release": "patch" },
{ "type": "chore", "release": false },
{ "type": "ci", "release": false },
{ "type": "docs", "release": false },
{ "type": "refactor", "release": false },
{ "type": "revert", "release": false },
{ "type": "style", "release": false },
{ "type": "test", "release": false },
{ "scope": "no-release", "release": false },
{ "scope": "release", "release": "patch" }
],
"presetConfig": true
}
],
[
"@semantic-release/release-notes-generator",
{
"presetConfig": true
}
],
[
"@semantic-release/changelog",
{
"changelogTitle": "# Changelog"
}
],
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": ["package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}
28 changes: 14 additions & 14 deletions api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"apiReport": {
"enabled": true,
"reportFolder": "./tmp",
"reportTempFolder": "./tmp"
},
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"apiReport": {
"enabled": true,
"reportFolder": "./tmp",
"reportTempFolder": "./tmp"
},

"docModel": {
"enabled": true,
"apiJsonFilePath": "./tmp/<unscopedPackageName>.api.json"
},
"docModel": {
"enabled": true,
"apiJsonFilePath": "./tmp/<unscopedPackageName>.api.json"
},

"dtsRollup": {
"enabled": false
},
"mainEntryPointFilePath": "<projectFolder>/build/index.d.ts"
"dtsRollup": {
"enabled": false
},
"mainEntryPointFilePath": "<projectFolder>/build/index.d.ts"
}
39 changes: 17 additions & 22 deletions jest.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
{
"moduleFileExtensions": ["ts", "tsx", "js", "jsx"],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts",
"!**/types/**",
"!**/build/**",
"!**/node_modules/**"
],
"coverageReporters": ["text", "lcov", "json"],
"coverageDirectory": "./coverage",
"transform": {
"\\.jsx?$": "babel-jest",
"\\.tsx?$": "ts-jest"
},
"testMatch": ["**/__tests__/**/*.test.*"],
"globals": {
"ts-jest": {
"tsconfig": "./tsconfig.json"
}
},
"testEnvironment": "node",
"automock": false
"moduleFileExtensions": ["ts", "tsx", "js", "jsx"],
"collectCoverage": true,
"collectCoverageFrom": ["src/**/*.ts", "!**/types/**", "!**/build/**", "!**/node_modules/**"],
"coverageReporters": ["text", "lcov", "json"],
"coverageDirectory": "./coverage",
"transform": {
"\\.jsx?$": "babel-jest",
"\\.tsx?$": "ts-jest"
},
"testMatch": ["**/__tests__/**/*.test.*"],
"globals": {
"ts-jest": {
"tsconfig": "./tsconfig.json"
}
},
"testEnvironment": "node",
"automock": false
}
Loading

0 comments on commit 4188ecc

Please sign in to comment.