Skip to content

Commit

Permalink
📦 deps(minor): upgrade tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
kellymears committed Jul 2, 2024
1 parent 1d9c48a commit 0eacb4a
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 40 deletions.
6 changes: 2 additions & 4 deletions examples/typescript/bud.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import {Bud} from '@roots/bud'
import {bud} from '@roots/bud'

export default async (bud: Bud) => {
bud.entry({app: ['app']}).html()
}
bud.entry({app: ['app']}).html()
6 changes: 1 addition & 5 deletions examples/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@
],
"devDependencies": {
"@roots/bud": "workspace:*",
"@roots/bud-babel": "workspace:*",
"@roots/bud-typescript": "workspace:*",
"@types/node": "20.14.9",
"ts-node": "10.9.2"
},
"dependencies": {
"typescript": "5.4.5"
"typescript": "5.5.3"
}
}
1 change: 1 addition & 0 deletions examples/typescript/src/app.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const el: HTMLBodyElement = document.querySelector('body')

if (el) el.style.backgroundColor = `black`

if (import.meta.webpackHot) import.meta.webpackHot.accept(console.error)
13 changes: 7 additions & 6 deletions examples/typescript/src/foo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const el = document.querySelector('body');
if (el)
el.style.backgroundColor = `black`;
if (import.meta.webpackHot)
import.meta.webpackHot.accept(console.error);
export {};
const el = document.querySelector('body')

if (el) el.style.backgroundColor = `black`

if (import.meta.webpackHot) import.meta.webpackHot.accept(console.error)

export {}
7 changes: 3 additions & 4 deletions examples/typescript/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"extends": "@roots/bud/config/tsconfig.json",
"compilerOptions": {
"module": "esnext",
"target": "esnext",
"paths": {
"@src": ["./src"]
},
"outDir": "./dist",
"noEmit": false,
"types": ["@roots/bud", "@roots/bud-typescript", "webpack/module"]
},
"include": ["./src", "./types"],
"exclude": ["./dist"]
"files": ["./bud.config.ts"],
"include": ["./src"],
"exclude": ["./dist", "./node_modules"]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"syncpack": "12.3.3",
"ts-node": "10.9.2",
"tslib": "2.6.3",
"typescript": "5.4.5",
"typescript": "5.5.3",
"update-browserslist-db": "1.0.16",
"verdaccio": "5.31.1",
"vitest": "1.6.0",
Expand Down
2 changes: 1 addition & 1 deletion sources/@repo/markdown-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"prettier": "3.3.2",
"strip-ansi": "7.1.0",
"tslib": "2.6.3",
"typescript": "5.4.5"
"typescript": "5.5.3"
},
"scripts": {
"build": "yarn tsc -b"
Expand Down
2 changes: 1 addition & 1 deletion sources/@repo/yarn-plugin-bud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@types/node": "20.14.9",
"@types/semver": "7.5.8",
"@yarnpkg/builder": "patch:@yarnpkg/builder@npm%3A4.0.0#~/.yarn/patches/@yarnpkg-builder-npm-4.0.0-1be968e10e.patch",
"typescript": "5.4.5"
"typescript": "5.5.3"
},
"dependencies": {
"@repo/constants": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion sources/@repo/yarn-plugin-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"helpful-decorators": "2.1.0",
"lodash-es": "4.17.21",
"tslib": "2.6.3",
"typescript": "5.4.5",
"typescript": "5.5.3",
"vitest": "1.6.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion sources/@roots/bud-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"tslib": "2.6.3",
"typescript": "5.4.5"
"typescript": "5.5.3"
},
"volta": {
"extends": "../../../package.json"
Expand Down
30 changes: 14 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9119,11 +9119,9 @@ __metadata:
resolution: "@examples/typescript@workspace:examples/typescript"
dependencies:
"@roots/bud": "workspace:*"
"@roots/bud-babel": "workspace:*"
"@roots/bud-typescript": "workspace:*"
"@types/node": "npm:20.14.9"
ts-node: "npm:10.9.2"
typescript: "npm:5.4.5"
typescript: "npm:5.5.3"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -11303,7 +11301,7 @@ __metadata:
prettier: "npm:3.3.2"
strip-ansi: "npm:7.1.0"
tslib: "npm:2.6.3"
typescript: "npm:5.4.5"
typescript: "npm:5.5.3"
vitest: "npm:1.6.0"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -11358,7 +11356,7 @@ __metadata:
lodash: "npm:4.17.21"
semver: "npm:7.6.2"
tslib: "npm:2.6.3"
typescript: "npm:5.4.5"
typescript: "npm:5.5.3"
languageName: unknown
linkType: soft

Expand All @@ -11377,7 +11375,7 @@ __metadata:
helpful-decorators: "npm:2.1.0"
lodash-es: "npm:4.17.21"
tslib: "npm:2.6.3"
typescript: "npm:5.4.5"
typescript: "npm:5.5.3"
vitest: "npm:1.6.0"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -12157,7 +12155,7 @@ __metadata:
ts-loader: "npm:9.5.1"
ts-node: "npm:10.9.2"
tslib: "npm:2.6.3"
typescript: "npm:5.4.5"
typescript: "npm:5.5.3"
webpack: "npm:5.92.1"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -20493,7 +20491,7 @@ __metadata:
syncpack: "npm:12.3.3"
ts-node: "npm:10.9.2"
tslib: "npm:2.6.3"
typescript: "npm:5.4.5"
typescript: "npm:5.5.3"
update-browserslist-db: "npm:1.0.16"
verdaccio: "npm:5.31.1"
vitest: "npm:1.6.0"
Expand Down Expand Up @@ -42451,13 +42449,13 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:5.4.5":
version: 5.4.5
resolution: "typescript@npm:5.4.5"
"typescript@npm:5.5.3":
version: 5.5.3
resolution: "typescript@npm:5.5.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/2954022ada340fd3d6a9e2b8e534f65d57c92d5f3989a263754a78aba549f7e6529acc1921913560a4b816c46dce7df4a4d29f9f11a3dc0d4213bb76d043251e
checksum: 10c0/f52c71ccbc7080b034b9d3b72051d563601a4815bf3e39ded188e6ce60813f75dbedf11ad15dd4d32a12996a9ed8c7155b46c93a9b9c9bad1049766fe614bbdd
languageName: node
linkType: hard

Expand All @@ -42471,13 +42469,13 @@ __metadata:
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
"typescript@patch:typescript@npm%3A5.5.3#optional!builtin<compat/typescript>":
version: 5.5.3
resolution: "typescript@patch:typescript@npm%3A5.5.3#optional!builtin<compat/typescript>::version=5.5.3&hash=379a07"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9
checksum: 10c0/911c7811d61f57f07df79c4a35f56a0f426a65426a020e5fcd792f66559f399017205f5f10255329ab5a3d8c2d1f1d19530aeceffda70758a521fae1d469432e
languageName: node
linkType: hard

Expand Down

0 comments on commit 0eacb4a

Please sign in to comment.