refactor: ⬆️ phosphor 2, sorta
thank you sammy
This commit is contained in:
parent
7449b8b840
commit
90969b7512
5 changed files with 1782 additions and 18974 deletions
|
@ -24,10 +24,6 @@ gulp.task('copy:client:fonts', () =>
|
||||||
gulp.src('./packages/client/node_modules/three/examples/fonts/**/*').pipe(gulp.dest('./built/_client_dist_/fonts/'))
|
gulp.src('./packages/client/node_modules/three/examples/fonts/**/*').pipe(gulp.dest('./built/_client_dist_/fonts/'))
|
||||||
);
|
);
|
||||||
|
|
||||||
gulp.task('copy:client:phosphor', () =>
|
|
||||||
gulp.src('./node_modules/phosphor-icons/src/fonts/*').pipe(gulp.dest('./built/_client_dist_/phosphor/'))
|
|
||||||
);
|
|
||||||
|
|
||||||
gulp.task('copy:client:locales', cb => {
|
gulp.task('copy:client:locales', cb => {
|
||||||
fs.mkdirSync('./built/_client_dist_/locales', { recursive: true });
|
fs.mkdirSync('./built/_client_dist_/locales', { recursive: true });
|
||||||
|
|
||||||
|
@ -59,7 +55,7 @@ gulp.task('build:backend:style', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('build', gulp.parallel(
|
gulp.task('build', gulp.parallel(
|
||||||
'copy:client:locales', 'copy:backend:views', 'copy:backend:custom', 'build:backend:script', 'build:backend:style', 'copy:client:fonts', 'copy:client:phosphor'
|
'copy:client:locales', 'copy:backend:views', 'copy:backend:custom', 'build:backend:script', 'build:backend:style', 'copy:client:fonts'
|
||||||
));
|
));
|
||||||
|
|
||||||
gulp.task('default', gulp.task('build'));
|
gulp.task('default', gulp.task('build'));
|
||||||
|
|
|
@ -41,7 +41,6 @@
|
||||||
"@tensorflow/tfjs": "^3.21.0",
|
"@tensorflow/tfjs": "^3.21.0",
|
||||||
"calckey-js": "^0.0.22",
|
"calckey-js": "^0.0.22",
|
||||||
"js-yaml": "4.1.0",
|
"js-yaml": "4.1.0",
|
||||||
"phosphor-icons": "^1.4.2",
|
|
||||||
"seedrandom": "^3.0.5"
|
"seedrandom": "^3.0.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
BIN
packages/backend/assets/Phosphor-Bold.woff2
Normal file
BIN
packages/backend/assets/Phosphor-Bold.woff2
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -23,7 +23,6 @@ importers:
|
||||||
gulp-terser: 2.1.0
|
gulp-terser: 2.1.0
|
||||||
install-peers: ^1.0.4
|
install-peers: ^1.0.4
|
||||||
js-yaml: 4.1.0
|
js-yaml: 4.1.0
|
||||||
phosphor-icons: ^1.4.2
|
|
||||||
rome: ^11.0.0
|
rome: ^11.0.0
|
||||||
seedrandom: ^3.0.5
|
seedrandom: ^3.0.5
|
||||||
start-server-and-test: 1.15.2
|
start-server-and-test: 1.15.2
|
||||||
|
@ -34,7 +33,6 @@ importers:
|
||||||
'@tensorflow/tfjs': 3.21.0_seedrandom@3.0.5
|
'@tensorflow/tfjs': 3.21.0_seedrandom@3.0.5
|
||||||
calckey-js: 0.0.22
|
calckey-js: 0.0.22
|
||||||
js-yaml: 4.1.0
|
js-yaml: 4.1.0
|
||||||
phosphor-icons: 1.4.2
|
|
||||||
seedrandom: 3.0.5
|
seedrandom: 3.0.5
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@types/gulp': 4.0.10
|
'@types/gulp': 4.0.10
|
||||||
|
@ -3398,7 +3396,7 @@ packages:
|
||||||
/axios/0.25.0_debug@4.3.4:
|
/axios/0.25.0_debug@4.3.4:
|
||||||
resolution: {integrity: sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g==}
|
resolution: {integrity: sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g==}
|
||||||
dependencies:
|
dependencies:
|
||||||
follow-redirects: 1.15.2
|
follow-redirects: 1.15.2_debug@4.3.4
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- debug
|
- debug
|
||||||
dev: true
|
dev: true
|
||||||
|
@ -6397,6 +6395,19 @@ packages:
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
debug:
|
debug:
|
||||||
optional: true
|
optional: true
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/follow-redirects/1.15.2_debug@4.3.4:
|
||||||
|
resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==}
|
||||||
|
engines: {node: '>=4.0'}
|
||||||
|
peerDependencies:
|
||||||
|
debug: '*'
|
||||||
|
peerDependenciesMeta:
|
||||||
|
debug:
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
debug: 4.3.4
|
||||||
|
dev: true
|
||||||
|
|
||||||
/for-each/0.3.3:
|
/for-each/0.3.3:
|
||||||
resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==}
|
resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==}
|
||||||
|
@ -10060,10 +10071,6 @@ packages:
|
||||||
split2: 4.1.0
|
split2: 4.1.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/phosphor-icons/1.4.2:
|
|
||||||
resolution: {integrity: sha512-vDyuRWLSEb87dxpoOGpP1GCjr/TFzA0Ljt0TtJcwXO7/iPdSZW0e/2m1jsANH1ML5ZyZXcjeWx6pzT0A0tgYDA==}
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/photoswipe/5.3.4:
|
/photoswipe/5.3.4:
|
||||||
resolution: {integrity: sha512-SN+RWHqxJvdwzXJsh8KrG+ajjPpdTX5HpKglEd0k9o6o5fW+QHPkW8//Bo11MB+NQwTa/hFw8BDv2EdxiDXjNw==}
|
resolution: {integrity: sha512-SN+RWHqxJvdwzXJsh8KrG+ajjPpdTX5HpKglEd0k9o6o5fW+QHPkW8//Bo11MB+NQwTa/hFw8BDv2EdxiDXjNw==}
|
||||||
engines: {node: '>= 0.12.0'}
|
engines: {node: '>= 0.12.0'}
|
||||||
|
|
Loading…
Reference in a new issue