Skip to content

Commit 7d0481e

Browse files
sofislgcf-owl-bot[bot]feywind
authored
chore!: migrate tasks to node 18 (#6123)
* chore!: migrate tasks to node 18 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add tsconfig filenames * chore: remove cjs exclusion * add .cjs file * add cjs to tsconfig * upgrade to latest pack n play * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: do not try to re-compile tsconfig * fix overwritten types file * retry * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * retry with experimental packnplay * undo packnplay experimental --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Megan Potter <[email protected]>
1 parent 8b6b9bc commit 7d0481e

7 files changed

Lines changed: 35 additions & 35 deletions

File tree

packages/google-cloud-tasks/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ system-test/*key.json
1212
.DS_Store
1313
package-lock.json
1414
__pycache__
15-
esm/**/*.d.ts
15+
esm/**/*.d.ts
16+
esm/**/*.d.cts

packages/google-cloud-tasks/package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -75,37 +75,37 @@
7575
"compile:esm": "tsc -p ./tsconfig.esm.json && cp -r esm/src/json-helper.cjs build/esm/src/json-helper.cjs",
7676
"babel": "babel esm --out-dir build/cjs --ignore \"esm/**/*.d.ts\" --extensions \".ts\" --out-file-extension .cjs --copy-files",
7777
"compile:cjs": "tsc -p ./tsconfig.json && npm run babel",
78-
"compile": "npm run compile:esm && npm run compile:cjs && rm -rf build/protos && cp -r protos build/protos"
78+
"compile": "npm run compile:esm && rm -rf esm/src/json-helper.d.cts && npm run compile:cjs && rm -rf build/protos && cp -r protos build/protos"
7979
},
8080
"dependencies": {
81-
"google-gax": "^4.0.4"
81+
"google-gax": "^5.0.0-rc.3"
8282
},
8383
"devDependencies": {
84-
"@babel/cli": "^7.23.0",
85-
"@babel/core": "^7.23.0",
86-
"@babel/preset-env": "^7.22.20",
87-
"@babel/preset-typescript": "^7.23.0",
88-
"@types/mocha": "^10.0.1",
89-
"@types/node": "^22.0.0",
90-
"@types/sinon": "^17.0.0",
91-
"babel-plugin-replace-import-extension": "^1.1.3",
92-
"c8": "^9.0.0",
93-
"gapic-tools": "^0.4.0",
94-
"gts": "5.3.1",
95-
"jsdoc": "^4.0.2",
84+
"@babel/cli": "^7.26.4",
85+
"@babel/core": "^7.26.9",
86+
"@babel/preset-env": "^7.26.9",
87+
"@babel/preset-typescript": "^7.26.0",
88+
"@types/mocha": "^10.0.10",
89+
"@types/node": "^22.13.10",
90+
"@types/sinon": "^17.0.4",
91+
"babel-plugin-replace-import-extension": "^1.1.5",
92+
"c8": "^10.1.3",
93+
"gapic-tools": "^1.0.1",
94+
"gts": "^6.0.2",
95+
"jsdoc": "^4.0.4",
9696
"jsdoc-fresh": "^3.0.0",
9797
"jsdoc-region-tag": "^3.0.0",
98-
"long": "^5.2.3",
99-
"mocha": "^10.2.0",
100-
"pack-n-play": "^2.0.0",
101-
"sinon": "^18.0.0",
102-
"ts-loader": "^9.0.0",
103-
"typescript": "5.1.6",
104-
"webpack": "^5.94.0",
105-
"webpack-cli": "^4.10.0"
98+
"long": "^5.3.1",
99+
"mocha": "^11.1.0",
100+
"pack-n-play": "3.0.0",
101+
"sinon": "^19.0.2",
102+
"ts-loader": "^9.5.2",
103+
"typescript": "^5.8.2",
104+
"webpack": "^5.98.0",
105+
"webpack-cli": "^6.0.1"
106106
},
107107
"engines": {
108-
"node": ">=v14"
108+
"node": ">=18"
109109
},
110110
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-tasks"
111111
}

packages/google-cloud-tasks/protos/protos.json

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-tasks/samples/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Google Inc.",
66
"private": true,
77
"engines": {
8-
"node": ">=14.0.0"
8+
"node": ">=18"
99
},
1010
"files": [
1111
"*.js"
@@ -24,4 +24,4 @@
2424
"mocha": "^8.0.0",
2525
"uuid": "^9.0.0"
2626
}
27-
}
27+
}

packages/google-cloud-tasks/tsconfig.esm.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
"esm/src/**/*.ts",
2020
"esm/test/*.ts",
2121
"esm/test/**/*.ts",
22-
"esm/system-test/*.ts"
23-
],
24-
"exclude": [
25-
"esm/src/json-helper.cjs"
22+
"esm/system-test/*.ts",
23+
"esm/src/**/*.json",
24+
"protos/protos.json",
25+
"esm/src/*.cjs"
2626
]
2727
}

packages/google-cloud-tasks/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
"esm/src/**/*.ts",
2424
"esm/test/*.ts",
2525
"esm/test/**/*.ts",
26-
"esm/system-test/*.ts"
26+
"esm/system-test/*.ts",
27+
"esm/src/**/*.json",
28+
"protos/protos.json",
29+
"esm/src/*.cjs"
2730
]
2831
}

packages/google-cloud-tasks/tsconfig.tsbuildinfo

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)