Skip to content

Commit d87d459

Browse files
committed
Update deps
1 parent 28248ca commit d87d459

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

R/version_bs_date_picker.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Generated by tools/updateBootstrapDatepicker.R; do not edit by hand
2-
version_bs_date_picker <- "1.9.0"
2+
version_bs_date_picker <- "1.10.0"

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"dependencies": {
2222
"@types/bootstrap": "5.2.10",
23-
"@types/bootstrap-datepicker": "1.10.0",
23+
"@types/bootstrap-datepicker": "^1.10.0",
2424
"@types/datatables.net": "^1.10.28",
2525
"@types/ion-rangeslider": "2.3.5",
2626
"@types/jquery": "3.5.32",
@@ -36,11 +36,13 @@
3636
"@types/jest": "^26.0.23",
3737
"@types/jqueryui": "1.12.16",
3838
"@types/lodash": "^4.14.170",
39+
"@types/madge": "^5.0.3",
3940
"@types/node": "^18.14.2",
4041
"@types/showdown": "^1.9.3",
4142
"@typescript-eslint/eslint-plugin": "^8.23.0",
4243
"@typescript-eslint/parser": "^8.23.0",
4344
"autoprefixer": "^10.2.6",
45+
"bootstrap-datepicker": "^1.10.0",
4446
"browserslist": "^4.19.1",
4547
"esbuild": ">=0.20.0",
4648
"esbuild-plugin-globals": "^0.1.1",
@@ -55,7 +57,6 @@
5557
"jest": "^29.7.0",
5658
"jquery": "^3.6.0",
5759
"lodash": "^4.17.21",
58-
"@types/madge": "^5.0.3",
5960
"madge": "^8.0.0",
6061
"node-gyp": "^8.1.0",
6162
"postcss": "^8.5.1",
@@ -79,9 +80,9 @@
7980
"checks": "npm run lint && npm run build_types && npm run coverage && npm run circular",
8081
"lint": "node --eval \"console.log('linting code...')\" && eslint 'srcts/src/**/*.ts' --fix",
8182
"build_types": "tsc -p tsconfig.json",
82-
"coverage_detailed": "npx type-check --detail",
83+
"coverage_detailed": "npx --yes type-check --detail",
8384
"coverage": "type-coverage -p tsconfig.json --at-least 90",
84-
"circular": "npx dpdm --transform ./srcts/src/index.ts"
85+
"circular": "npx --yes dpdm --transform ./srcts/src/index.ts"
8586
},
8687
"prettier": {
8788
"plugins": [

tools/updateBootstrapDatepicker.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
library(rprojroot)
66

7-
version <- "1.9.0"
8-
types_version <- "0.0.14"
7+
version <- "1.10.0"
8+
types_version <- "1.10.0"
99

1010
dest_dir <- rprojroot::find_package_root_file("inst/www/shared/datepicker")
1111
tag <- paste0("v", version)
@@ -40,7 +40,7 @@ dir.create(scss_dir, recursive = TRUE)
4040
# Grab less source files & convert to sass
4141
# Use `npx` to temp install and execute on the entire less folder
4242
src <- file.path(unzipped, paste0("bootstrap-datepicker-", version))
43-
system(paste0("npx less2sass ", src))
43+
system(paste0("npx --yes less2sass ", src))
4444

4545

4646
# Copy over just the bootstrap
@@ -108,7 +108,7 @@ withr::with_dir(
108108
exit_code <- system(paste0("npm install --save-dev bootstrap-datepicker@", version))
109109
if (exit_code != 0) stop("npm could not install bootstrap-datepicker")
110110

111-
exit_code <- system(paste0("npm install --save-dev @types/bootstrap-datepicker@", types_version))
111+
exit_code <- system(paste0("npm install --save-prod @types/bootstrap-datepicker@", types_version))
112112
if (exit_code != 0) stop("npm could not install @types/bootstrap-datepicker")
113113
}
114114
)

tools/updateIonRangeSlider.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ file.rename(
2929

3030
# Grab less src files and convert to sass
3131
# Use `npx` to temp install and execute on the entire less folder
32-
system(paste0("npx less2sass ", file.path(src, "less")))
32+
system(paste0("npx --yes less2sass ", file.path(src, "less")))
3333

3434
# Copy over only the base (i.e., core) scss that we need for the shiny skin
3535
dir.create(file.path(target, "scss"))

0 commit comments

Comments
 (0)