Skip to content

Commit 5638cc5

Browse files
committed
Bump version to 3.6.0
1 parent 64cec05 commit 5638cc5

File tree

12 files changed

+55
-36
lines changed

12 files changed

+55
-36
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2019-2024 Akihiko Kusanagi
3+
Copyright (c) 2019-2025 Akihiko Kusanagi
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
66

package.json

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mini-tokyo-3d",
3-
"version": "3.5.0",
3+
"version": "3.6.0",
44
"description": "A real-time 3D digital map of Tokyo's public transport system",
55
"main": "dist/mini-tokyo-3d.js",
66
"module": "dist/mini-tokyo-3d.esm.js",
@@ -10,7 +10,7 @@
1010
"@deck.gl/geo-layers": "^8.9.36",
1111
"@deck.gl/layers": "^8.9.36",
1212
"@deck.gl/mapbox": "^8.9.36",
13-
"@fortawesome/fontawesome-free": "^6.6.0",
13+
"@fortawesome/fontawesome-free": "^6.7.2",
1414
"@turf/along": "^5.1.5",
1515
"@turf/bearing": "^5.1.5",
1616
"@turf/buffer": "^5.1.5",
@@ -34,33 +34,31 @@
3434
"geobuf": "^3.0.2",
3535
"gtfs-realtime-bindings": "^1.1.1",
3636
"japanese-holidays": "^1.0.10",
37-
"loaders.css": "^0.1.2",
3837
"mapbox-gl": "^2.15.0",
3938
"mapbox-gl-animated-popup": "^0.4.0",
4039
"pbf": "^4.0.1",
4140
"suncalc": "^1.9.0",
42-
"swiper": "^11.1.14",
43-
"three": "^0.169.0"
41+
"swiper": "^11.2.0",
42+
"three": "^0.172.0"
4443
},
4544
"devDependencies": {
46-
"@rollup/plugin-commonjs": "^28.0.0",
45+
"@rollup/plugin-commonjs": "^28.0.2",
4746
"@rollup/plugin-image": "^3.0.3",
48-
"@rollup/plugin-node-resolve": "^15.3.0",
49-
"@rollup/plugin-replace": "^6.0.1",
47+
"@rollup/plugin-node-resolve": "^16.0.0",
48+
"@rollup/plugin-replace": "^6.0.2",
5049
"@rollup/plugin-strip": "^3.0.4",
5150
"@rollup/plugin-terser": "^0.4.4",
5251
"eslint": "^8.57.1",
5352
"eslint-config-mourner": "^3.0.0",
5453
"eslint-plugin-import": "^2.31.0",
55-
"eslint-plugin-jsdoc": "^50.3.1",
56-
"node-sass": "^9.0.0",
54+
"eslint-plugin-jsdoc": "^50.6.1",
5755
"npm-run-all": "^4.1.5",
58-
"postcss": "^8.4.47",
56+
"postcss": "^8.4.49",
5957
"postcss-import": "^16.1.0",
6058
"postcss-inline-svg": "^6.0.0",
61-
"rollup": "^4.24.0",
59+
"rollup": "^4.29.1",
6260
"rollup-plugin-postcss": "^4.0.2",
63-
"rollup-plugin-visualizer": "^5.12.0",
61+
"rollup-plugin-visualizer": "^5.13.1",
6462
"vuepress": "^1.9.10",
6563
"vuepress-plugin-flexsearch": "^0.3.0"
6664
},

rollup.config.mjs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import commonjs from '@rollup/plugin-commonjs';
44
import replace from '@rollup/plugin-replace';
55
import image from '@rollup/plugin-image';
66
import terser from '@rollup/plugin-terser';
7-
import sass from 'node-sass';
87
import postcss from 'rollup-plugin-postcss';
98
import {visualizer} from "rollup-plugin-visualizer";
109
import cssimport from 'postcss-import';
@@ -18,10 +17,6 @@ const banner = `/*!
1817
* (c) 2019-${new Date().getFullYear()} ${pkg.author}
1918
* Released under the ${pkg.license} license
2019
*/`;
21-
const sassRender = (content, id) => new Promise((resolve, reject) => {
22-
const result = sass.renderSync({file: id});
23-
resolve({code: result.css.toString()});
24-
});
2520

2621
const onwarn = (warning, defaultHandler) => {
2722
const {code, message} = warning;
@@ -86,7 +81,6 @@ export default [{
8681
preferBuiltins: false
8782
}),
8883
postcss({
89-
preprocessor: sassRender,
9084
plugins: [
9185
cssimport(),
9286
inlinesvg()
@@ -143,7 +137,6 @@ export default [{
143137
preferBuiltins: false
144138
}),
145139
postcss({
146-
preprocessor: sassRender,
147140
plugins: [
148141
cssimport(),
149142
inlinesvg()
@@ -208,7 +201,6 @@ export default [{
208201
preferBuiltins: false
209202
}),
210203
postcss({
211-
preprocessor: sassRender,
212204
plugins: [
213205
cssimport(),
214206
inlinesvg()

src/configs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const configs = {
161161
customAttribution: '<a href="https://github.com/nagix/mini-tokyo-3d">© Akihiko Kusanagi</a>',
162162

163163
// Copyright string
164-
copyright: '© 2019-2024 Akihiko Kusanagi',
164+
copyright: '© 2019-2025 Akihiko Kusanagi',
165165

166166
// Share URL
167167
shareUrl: 'https://minitokyo3d.com',

src/css/loaders.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
@keyframes scale {
2+
0% {
3+
transform: scale(1);
4+
opacity: 1;
5+
}
6+
45% {
7+
transform: scale(0.1);
8+
opacity: 0.7;
9+
}
10+
80% {
11+
transform: scale(1);
12+
opacity: 1;
13+
}
14+
}
15+
.ball-pulse > div:nth-child(0) {
16+
animation: scale 0.75s -0.36s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
17+
}
18+
.ball-pulse > div:nth-child(1) {
19+
animation: scale 0.75s -0.24s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
20+
}
21+
.ball-pulse > div:nth-child(2) {
22+
animation: scale 0.75s -0.12s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
23+
}
24+
.ball-pulse > div:nth-child(3) {
25+
animation: scale 0.75s 0s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
26+
}
27+
.ball-pulse > div {
28+
background-color: #777;
29+
width: 15px;
30+
height: 15px;
31+
border-radius: 100%;
32+
margin: 2px;
33+
animation-fill-mode: both;
34+
display: inline-block;
35+
}

src/css/loaders.scss

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/css/mini-tokyo-3d.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@
3434
transition: opacity 1s linear;
3535
box-sizing: initial;
3636
}
37-
.mini-tokyo-3d .ball-pulse > div {
38-
background-color: #777;
39-
}
4037
.mini-tokyo-3d #loading-error {
4138
position: absolute;
4239
top: 50%;

src/css/swiper.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@import '../../node_modules/swiper/swiper.css';
2+
@import '../../node_modules/swiper/modules/pagination.css';

src/css/swiper.scss

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/index.esm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import {ThreeLayer} from './layers';
77
import mapboxgl from 'mapbox-gl';
88
import * as three from 'three';
99
import {GLTFLoader} from 'three/examples/jsm/loaders/GLTFLoader.js';
10-
import './css/loaders.scss';
11-
import './css/swiper.scss';
10+
import './css/loaders.css';
11+
import './css/swiper.css';
1212
import './css/mini-tokyo-3d.css';
1313

1414
const THREE = Object.assign({GLTFLoader}, three);

0 commit comments

Comments
 (0)