Skip to content

Commit

Permalink
build(deps): Bump uint8arrays to 5.0.1 (#313)
Browse files Browse the repository at this point in the history
* Create .prettierignore

* lockfile

* Revert "lockfile"

This reverts commit f2bcd52.

* npm run format

* Update package-lock.json

* Bump uint8arrays
  • Loading branch information
ankurdotb authored Jan 5, 2024
1 parent 8a958fc commit a4ddd46
Show file tree
Hide file tree
Showing 5 changed files with 11,178 additions and 11,151 deletions.
17 changes: 17 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Ignore folders
.DS_Store
.github
node_modules
dist
playwright
playwright-report

# Ignore files
pnpm-lock.yaml
package-lock.json
yarn.lock
*.md
*.yaml
*.yml
**/tsconfig.json
**/tsconfig.*.json
120 changes: 62 additions & 58 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,60 +1,64 @@
{
"branches": [
"main",
{
"name": "develop",
"channel": "beta",
"prerelease": true
},
{
"name": "release/2.x",
"range": "2.x",
"channel": "cjs"
}
],
"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
},
{
"name": "release/2.x",
"range": "2.x",
"channel": "cjs"
}
],
"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"
]
}
36 changes: 18 additions & 18 deletions jest.config.cjs
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
module.exports = {
extensionsToTreatAsEsm: ['.ts'],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
transform: {
// '^.+\\.[tj]sx?$' to process js/ts with `ts-jest`
// '^.+\\.m?[tj]sx?$' to process js/ts/mjs/mts with `ts-jest`
'^.+\\.m?[tj]sx?$': [
'ts-jest',
{
useESM: true,
},
],
},
testEnvironment: 'node',
moduleDirectories: ['node_modules', 'src'],
modulePathIgnorePatterns: ["tests/testutils.test.ts"],
};
extensionsToTreatAsEsm: ['.ts'],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
transform: {
// '^.+\\.[tj]sx?$' to process js/ts with `ts-jest`
// '^.+\\.m?[tj]sx?$' to process js/ts/mjs/mts with `ts-jest`
'^.+\\.m?[tj]sx?$': [
'ts-jest',
{
useESM: true,
},
],
},
testEnvironment: 'node',
moduleDirectories: ['node_modules', 'src'],
modulePathIgnorePatterns: ['tests/testutils.test.ts'],
};
Loading

0 comments on commit a4ddd46

Please sign in to comment.