Skip to content

Commit 8b066b8

Browse files
committed
chore: upgrade deps
1 parent 1f46cae commit 8b066b8

File tree

6 files changed

+38
-38
lines changed

6 files changed

+38
-38
lines changed

client/gulpfile.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@ const swc = require('gulp-swc');
66
const sass = require('gulp-dart-sass');
77
const plumber = require('gulp-plumber');
88
const merge2 = require('merge2');
9-
const postcss = require('gulp-postcss');
109
const terser = require('gulp-terser');
1110
const gulpif = require('gulp-if');
12-
const autoprefixer = require('autoprefixer');
13-
const postcssUrl = require('postcss-url');
1411
const hostnames = require('./host-names');
1512

1613
const {NODE_ENV} = process.env;
@@ -103,11 +100,7 @@ function buildJs(src) {
103100

104101
function buildCss(src) {
105102
return gulp.src(src, {sourcemaps: !isProd})
106-
.pipe(sass.sync().on('error', sass.logError))
107-
.pipe(postcss([
108-
autoprefixer(),
109-
postcssUrl({url: 'inline', encodeType: 'base64'})
110-
]));
103+
.pipe(sass.sync().on('error', sass.logError));
111104
}
112105

113106
function buildApp() {

client/package.json

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@
55
"private": true,
66
"license": "MIT",
77
"devDependencies": {
8-
"@aurelia/plugin-conventions": "^2.0.0-beta.16",
8+
"@aurelia/plugin-conventions": "latest",
99
"@typescript-eslint/eslint-plugin": "^7.8.0",
1010
"@typescript-eslint/parser": "^7.8.0",
1111
"aurelia-bootstrapper": "^2.4.1",
1212
"aurelia-combo": "^1.1.4",
1313
"aurelia-deps-finder": "^2.1.7",
1414
"aurelia-dialog-lite": "^1.0.1",
1515
"aurelia-testing": "^1.1.0",
16-
"autoprefixer": "^10.4.19",
1716
"base64-arraybuffer": "^1.0.2",
18-
"bcx-aurelia-dnd": "^1.5.2",
17+
"bcx-aurelia-dnd": "^1.6.0",
1918
"bcx-aurelia-reorderable-repeat": "^1.5.1",
2019
"bcx-validation": "^2.1.0",
2120
"browser-do": "^5.0.0",
@@ -27,30 +26,27 @@
2726
"graphlib": "^2.1.8",
2827
"gulp": "^4.0.2",
2928
"gulp-dart-sass": "^1.1.0",
30-
"gulp-dumber": "^2.0.0",
29+
"gulp-dumber": "^3.0.0",
3130
"gulp-if": "^3.0.0",
3231
"gulp-plumber": "^1.2.1",
33-
"gulp-postcss": "^10.0.0",
34-
"gulp-swc": "^2.1.0",
32+
"gulp-swc": "^2.2.0",
3533
"gulp-terser": "^2.1.0",
3634
"htmlhint": "^1.1.4",
3735
"is-utf8": "^0.2.1",
38-
"less": "^4.2.0",
36+
"less": "^4.2.1",
3937
"localforage": "^1.10.0",
4038
"lodash": "^4.17.21",
4139
"merge2": "^1.4.1",
4240
"moment": "^2.30.1",
4341
"nyc": "^15.1.0",
44-
"postcss": "^8.4.38",
45-
"postcss-url": "^10.1.3",
4642
"sass-lint": "^1.13.1",
4743
"sass.js": "^0.11.1",
48-
"semver": "^7.6.2",
44+
"semver": "^7.6.3",
4945
"source-map": "^0.8.0-beta.0",
50-
"svelte": "^4.2.16",
51-
"ts-plugin-inferno": "^6.0.3",
52-
"tslib": "^2.6.2",
53-
"typescript": "^5.4.5",
46+
"svelte": "^5.14.4",
47+
"ts-plugin-inferno": "^6.1.0",
48+
"tslib": "^2.8.1",
49+
"typescript": "^5.7.2",
5450
"zora": "^5.2.0"
5551
},
5652
"overrides": {

client/src-worker/transpilers/au2.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,18 @@ export class Au2Transpiler {
5656
// Remove leading "/"
5757
resolved = resolved.substring(1);
5858
return !!_.find(files, {filename: resolved});
59-
}
59+
},
60+
(unit, filePath) => {
61+
let resolved = path.resolve(path.dirname(unit.path), filePath);
62+
// in browser env, path.resolve('src', './app.html') yields '/src/app.html'
63+
// Remove leading "/"
64+
resolved = resolved.substring(1);
65+
const file = _.find(files, {filename: resolved});
66+
if (file) {
67+
return file.content;
68+
}
69+
return "";
70+
},
6071
);
6172

6273
if (result) {

client/src/_dialog.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828
}
2929

30-
@media (max-width: $tiny - .02) {
30+
@media (max-width: ($tiny - .02)) {
3131
width: 310px;
3232
}
3333

client/src/app.scss

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ html {
1818
}
1919

2020
.d-small-hide {
21-
@media (max-width: $small - .02) {
21+
@media (max-width: ($small - .02)) {
2222
display: none !important;
2323
}
2424
}
@@ -30,7 +30,7 @@ html {
3030
}
3131

3232
.d-tiny-hide {
33-
@media (max-width: $tiny - .02) {
33+
@media (max-width: ($tiny - .02)) {
3434
display: none !important;
3535
}
3636
}
@@ -244,7 +244,7 @@ html {
244244
flex-wrap: nowrap;
245245
align-items: center;
246246

247-
@media (max-width: $tiny - .02) {
247+
@media (max-width: ($tiny - .02)) {
248248
margin: .25rem;
249249
}
250250

@@ -283,7 +283,7 @@ html {
283283
flex-direction: column;
284284
z-index: 100;
285285

286-
@media (max-width: $small - .02) {
286+
@media (max-width: ($small - .02)) {
287287
background-color: $gray-800;
288288
position: absolute;
289289
top: 0;
@@ -308,7 +308,7 @@ html {
308308
flex-direction: column;
309309
z-index: 3;
310310

311-
@media (max-width: $tiny - .02) {
311+
@media (max-width: ($tiny - .02)) {
312312
display: none;
313313
position: absolute;
314314
top: 0;
@@ -322,7 +322,7 @@ html {
322322
}
323323
}
324324

325-
@media (max-width: $small - .02) and (min-width: $tiny) {
325+
@media (max-width: ($small - .02)) and (min-width: $tiny) {
326326
&.sole-panel {
327327
position: absolute;
328328
top: 0;
@@ -349,7 +349,7 @@ html {
349349
flex-direction: column;
350350
z-index: 2;
351351

352-
@media (max-width: $tiny - .02) {
352+
@media (max-width: ($tiny - .02)) {
353353
display: none;
354354
position: absolute;
355355
top: 0;
@@ -362,7 +362,7 @@ html {
362362
}
363363
}
364364

365-
@media (max-width: $small - .02) and (min-width: $tiny) {
365+
@media (max-width: ($small - .02)) and (min-width: $tiny) {
366366
&.sole-panel {
367367
position: absolute;
368368
top: 0;
@@ -429,7 +429,7 @@ html {
429429
appearance: none;
430430

431431

432-
@media (max-width: $tiny - .02) {
432+
@media (max-width: ($tiny - .02)) {
433433
padding-left: .6rem;
434434
padding-right: .6rem;
435435
}
@@ -446,7 +446,7 @@ html {
446446

447447
+ .btn {
448448
margin-left: 4px;
449-
@media (max-width: $tiny - .02) {
449+
@media (max-width: ($tiny - .02)) {
450450
margin-left: 1px;
451451
}
452452
}
@@ -466,7 +466,7 @@ html {
466466
&.even-width {
467467
min-width: 3rem;
468468

469-
@media (max-width: $tiny - .02) {
469+
@media (max-width: ($tiny - .02)) {
470470
min-width: 2rem;
471471
}
472472
}
@@ -850,7 +850,7 @@ $node-start-offset: .6rem;
850850
width: 25rem;
851851
}
852852

853-
@media (max-width: $tiny - .02) {
853+
@media (max-width: ($tiny - .02)) {
854854
width: 100%;
855855
}
856856

client/src/navigation/dialogs/select-skeleton-dialog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ export class SelectSkeletonDialog {
1919
{
2020
value: 'aurelia',
2121
label: 'Aurelia',
22-
image: 'https://aurelia.io/styles/images/aurelia-icon.svg'
22+
image: 'https://aurelia.io/aurelia-icon.svg'
2323
},
2424
{
2525
value: 'aurelia2',
2626
label: 'Aurelia 2',
27-
image: 'https://aurelia.io/styles/images/aurelia-icon.svg',
27+
image: 'https://aurelia.io/aurelia-icon.svg',
2828
},
2929
{
3030
value: 'backbone',

0 commit comments

Comments
 (0)