Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

build!: update build configuration enable engines strict #797

Merged
merged 11 commits into from
Oct 6, 2020
2 changes: 1 addition & 1 deletion .kokoro/release/publish.cfg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .kokoro/samples-test.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .kokoro/system-test.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .kokoro/test.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
"timeout": 10000,
"recursive": true
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@
"@microsoft/api-extractor": "^7.8.10"
},
"engines": {
"node": ">=10"
"node": ">=12"
}
}
12 changes: 2 additions & 10 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,8 @@
{
"git": {
"name": ".",
"remote": "https://github.com/googleapis/sloth.git",
"sha": "f86ee6f994fe02abcdfdf3532ff6297d324f9a9b"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "05de3e1e14a0b07eab8b474e669164dbd31f81fb"
"remote": "git@github.com:googleapis/sloth.git",
"sha": "6dc3bcd6fb6e237f3cddb267830cf6ccd32ae8ec"
}
}
],
Expand All @@ -23,7 +16,6 @@
".github/ISSUE_TEMPLATE/feature_request.md",
".github/ISSUE_TEMPLATE/support_request.md",
".github/PULL_REQUEST_TEMPLATE.md",
".github/publish.yml",
".github/release-please.yml",
".github/workflows/ci.yaml",
".kokoro/.gitattributes",
Expand Down
2 changes: 1 addition & 1 deletion synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

common_templates = gcp.CommonTemplates()
templates = common_templates.node_library()
s.copy(templates, excludes=["README.md"])
s.copy(templates, excludes=["README.md", ".github/workflows/ci.yaml"])
node.install()
node.fix()