Skip to content

Commit

Permalink
chore: update deps, fix build for latest ipjs
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Jul 28, 2021
1 parent 41bad4a commit 8bef720
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules/
coverage/
dist/
dist/
110 changes: 79 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build": "npm run build:js && npm run build:types",
"build:js": "ipjs build --tests --main && npm run build:copy",
"build:copy": "cp -a tsconfig.json *.js dist/",
"build:types": "npm run build:copy && cd dist && tsc --build",
"build:types": "tsc --build && mv types dist",
"test:cjs": "npm run build && mocha dist/cjs/node-test/test-*.js",
"test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/test-*.js",
"test:browser": "polendina --cleanup dist/cjs/node-test/test-*.js",
Expand Down Expand Up @@ -39,14 +39,14 @@
"devDependencies": {
"c8": "^7.7.3",
"chai": "^4.3.4",
"ipjs": "^5.0.0",
"mocha": "^9.0.1",
"ipjs": "^5.0.4",
"mocha": "^9.0.3",
"polendina": "^1.1.0",
"standard": "^16.0.3",
"typescript": "^4.3.4"
"typescript": "^4.3.5"
},
"dependencies": {
"ipld-schema": "^1.1.1"
"ipld-schema": "^1.1.3"
},
"typesVersions": {
"*": {
Expand All @@ -63,35 +63,83 @@
"master"
],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits",
"releaseRules": [
{"breaking": true, "release": "major"},
{"revert": true, "release": "patch"},
{"type": "feat", "release": "minor"},
{"type": "fix", "release": "patch"},
{"type": "chore", "release": "patch"},
{"type": "docs", "release": "patch"},
{"type": "test", "release": "patch"},
{"scope": "no-release", "release": false}
]
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{"type": "feat", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "chore", "section": "Trivial Changes"},
{"type": "docs", "section": "Trivial Changes"},
{"type": "test", "section": "Tests"}
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "chore",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"scope": "no-release",
"release": false
}
]
}
}],
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Trivial Changes"
},
{
"type": "docs",
"section": "Trivial Changes"
},
{
"type": "test",
"section": "Tests"
}
]
}
}
],
"@semantic-release/changelog",
["@semantic-release/npm", {
"pkgRoot": "dist"
}],
[
"@semantic-release/npm",
{
"pkgRoot": "dist"
}
],
"@semantic-release/github",
"@semantic-release/git"
]
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
},
"exclude": [
"node_modules",
"esm",
"cjs",
"dist",
"test"
],
"compileOnSave": false
}

0 comments on commit 8bef720

Please sign in to comment.