Update mongo

This commit is contained in:
2026-03-25 20:13:45 +01:00
parent 5517fb5e0f
commit cf25ee6d7f
11 changed files with 34 additions and 27 deletions
+8 -8
View File
@@ -125,7 +125,7 @@
"moment": "^2.24.0", "moment": "^2.24.0",
"mongoose": "^5.6.11", "mongoose": "^5.6.11",
"morgan": "^1.9.1", "morgan": "^1.9.1",
"ngx-bootstrap": "^12.0.0", "ngx-bootstrap": "^18.0.1",
"node-ipc": "^9.1.1", "node-ipc": "^9.1.1",
"parallel-webpack": "^2.4.0", "parallel-webpack": "^2.4.0",
"passport": "^0.4.0", "passport": "^0.4.0",
@@ -24143,18 +24143,18 @@
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw="
}, },
"node_modules/ngx-bootstrap": { "node_modules/ngx-bootstrap": {
"version": "12.0.0", "version": "18.0.1",
"resolved": "https://registry.npmjs.org/ngx-bootstrap/-/ngx-bootstrap-12.0.0.tgz", "resolved": "https://registry.npmjs.org/ngx-bootstrap/-/ngx-bootstrap-18.0.1.tgz",
"integrity": "sha512-6/Hs+FT6peMc+Y2uiOm3IawG06Jh3gLQwwKRBF0U1OMlRbpx4KIyHS9GpZtMevtZaBsCRNfHKiSxwsnvn9wx0Q==", "integrity": "sha512-qAni2dMp/MEFkAcwr6TjRmExlFYo1ea+TGyO99ssQg6AXwWmXGI/4Z/FrT60mI54kmJV9IYTjiJjote3bjQtbg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"tslib": "^2.3.0" "tslib": "^2.3.0"
}, },
"peerDependencies": { "peerDependencies": {
"@angular/animations": "^17.0.0", "@angular/animations": "^18.0.1",
"@angular/common": "^17.0.0", "@angular/common": "^18.0.1",
"@angular/core": "^17.0.0", "@angular/core": "^18.0.1",
"@angular/forms": "^17.0.0", "@angular/forms": "^18.0.1",
"rxjs": "^6.5.3 || ^7.4.0" "rxjs": "^6.5.3 || ^7.4.0"
} }
}, },
+2 -2
View File
@@ -62,12 +62,12 @@
"@angular/platform-browser-dynamic": "^18.2.14", "@angular/platform-browser-dynamic": "^18.2.14",
"@angular/platform-server": "^18.2.14", "@angular/platform-server": "^18.2.14",
"@angular/router": "^18.2.14", "@angular/router": "^18.2.14",
"@ngtools/webpack": "^18.0.0",
"@encharm/cws": "^4.5.3", "@encharm/cws": "^4.5.3",
"@fortawesome/angular-fontawesome": "^0.11.1", "@fortawesome/angular-fontawesome": "^0.11.1",
"@fortawesome/fontawesome-svg-core": "^6.7.2", "@fortawesome/fontawesome-svg-core": "^6.7.2",
"@fortawesome/free-brands-svg-icons": "^6.7.2", "@fortawesome/free-brands-svg-icons": "^6.7.2",
"@fortawesome/free-solid-svg-icons": "^6.7.2", "@fortawesome/free-solid-svg-icons": "^6.7.2",
"@ngtools/webpack": "^18.0.0",
"@passport-next/passport-facebook": "^3.1.2", "@passport-next/passport-facebook": "^3.1.2",
"@passport-next/passport-google-oauth2": "^1.0.0", "@passport-next/passport-google-oauth2": "^1.0.0",
"@types/base64-js": "^1.2.5", "@types/base64-js": "^1.2.5",
@@ -167,7 +167,7 @@
"moment": "^2.24.0", "moment": "^2.24.0",
"mongoose": "^5.6.11", "mongoose": "^5.6.11",
"morgan": "^1.9.1", "morgan": "^1.9.1",
"ngx-bootstrap": "^12.0.0", "ngx-bootstrap": "^18.0.1",
"node-ipc": "^9.1.1", "node-ipc": "^9.1.1",
"parallel-webpack": "^2.4.0", "parallel-webpack": "^2.4.0",
"passport": "^0.4.0", "passport": "^0.4.0",
@@ -16,8 +16,13 @@
h2.text-danger PATREON WARNING: h2.text-danger PATREON WARNING:
p.lead Code relating to Patreon syncing has been removed from the public pixel.horse codebase. p.lead Code relating to Patreon syncing has been removed from the public pixel.horse codebase.
p.lead p.lead
| You <b>MUST</b> contact the Pony Town Team before opening a Patreon based off the Pony Town Custom Server source code. Not doing so is a violation of the <a href="https://creativecommons.org/licenses/by-nc/4.0/">CC-BY-NC 4.0</a> license applied to the art and music assets supplied with the game. Please submit a request for approval to <a href="mailto:[email protected]">[email protected]</a>. | You
b MUST
| contact the Pony Town Team before opening a Patreon based off the Pony Town Custom Server source code. Not doing so is a violation of the
a(href="https://creativecommons.org/licenses/by-nc/4.0/") CC-BY-NC 4.0
| license applied to the art and music assets supplied with the game. Please submit a request for approval to
a(href="mailto:[email protected]") ponytownhelpgmail.com
| .
.row .row
.col-12 .col-12
.form .form
-2
View File
@@ -7,7 +7,6 @@ import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { PopoverModule } from 'ngx-bootstrap/popover'; import { PopoverModule } from 'ngx-bootstrap/popover';
import { ButtonsModule } from 'ngx-bootstrap/buttons'; import { ButtonsModule } from 'ngx-bootstrap/buttons';
import { TooltipModule } from 'ngx-bootstrap/tooltip'; import { TooltipModule } from 'ngx-bootstrap/tooltip';
import { SharedModule } from '../shared/shared.module'; import { SharedModule } from '../shared/shared.module';
import { App } from './app'; import { App } from './app';
@@ -41,7 +40,6 @@ export const routes: Routes = [
PopoverModule.forRoot(), PopoverModule.forRoot(),
ButtonsModule.forRoot(), ButtonsModule.forRoot(),
TooltipModule.forRoot(), TooltipModule.forRoot(),
// TypeaheadModule.forRoot(),
SharedModule, SharedModule,
RouterModule.forRoot(routes), RouterModule.forRoot(routes),
FontAwesomeModule, FontAwesomeModule,
+7 -3
View File
@@ -71,10 +71,12 @@ import { FocusTrap } from './directives/focusTrap';
import { HasFeature } from './directives/hasFeature'; import { HasFeature } from './directives/hasFeature';
import { dropdownDirectives } from './directives/dropdown'; import { dropdownDirectives } from './directives/dropdown';
import { SaveActiveTab } from './directives/saveActiveTab'; import { SaveActiveTab } from './directives/saveActiveTab';
import { DragDropModule } from '@angular/cdk/drag-drop';
import { SiteNamePipe } from './pipes/siteName'; import { SiteNamePipe } from './pipes/siteName';
import { VisitPTButton } from './visit-pt-button/visit-pt-button'; import { VisitPTButton } from './visit-pt-button/visit-pt-button';
import { VisitPTPony } from './visit-pt-pony/visit-pt-pony'; import { VisitPTPony } from './visit-pt-pony/visit-pt-pony';
import { CommonModule } from '@angular/common';
const declarations = [ const declarations = [
ActionBar, ActionBar,
@@ -143,7 +145,7 @@ const declarations = [
FocusTrap, FocusTrap,
HasFeature, HasFeature,
SaveActiveTab, SaveActiveTab,
SiteNamePipe, SiteNamePipe
]; ];
@NgModule({ @NgModule({
@@ -156,10 +158,12 @@ const declarations = [
ButtonsModule, ButtonsModule,
ModalModule.forRoot(), ModalModule.forRoot(),
FontAwesomeModule, FontAwesomeModule,
DragDropModule,
CommonModule,
// ScrollingModule, // ScrollingModule,
], ],
declarations: declarations, declarations: declarations,
exports: declarations, exports: [declarations]
}) })
export class SharedModule { export class SharedModule {
} }
+2 -2
View File
@@ -1,8 +1,8 @@
{ {
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"target": "es5", "target": "es2022",
"module": "es2015", "module": "es2022",
"baseUrl": ".", "baseUrl": ".",
"preserveConstEnums": false, "preserveConstEnums": false,
"paths": { "paths": {
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"extends": "./tsconfig-aot.json", "extends": "./tsconfig-aot.json",
"compilerOptions": { "compilerOptions": {
"target": "es2017", "target": "es2022",
"paths": { "paths": {
"core-js/es6": ["src/fixes/empty.js"], "core-js/es6": ["src/fixes/empty.js"],
"lodash": ["src/ts/lodash.ts"] "lodash": ["src/ts/lodash.ts"]
+2 -2
View File
@@ -1,8 +1,8 @@
{ {
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"target": "es5", "target": "es2022",
"module": "es2015", "module": "es2022",
"baseUrl": ".", "baseUrl": ".",
"preserveConstEnums": false, "preserveConstEnums": false,
"paths": { "paths": {
+2 -2
View File
@@ -1,8 +1,8 @@
{ {
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"target": "es5", "target": "es2022",
"module": "es2015", "module": "es2022",
"baseUrl": ".", "baseUrl": ".",
"preserveConstEnums": false, "preserveConstEnums": false,
"paths": { "paths": {
+2 -2
View File
@@ -1,9 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES2020", "target": "ES2022",
"lib": [ "lib": [
"dom", "dom",
"ES2020" "ES2022"
], ],
"rootDir": "src/ts", "rootDir": "src/ts",
"outDir": "src/scripts", "outDir": "src/scripts",
+1 -1
View File
@@ -64,7 +64,7 @@ export default (args = {}) =>
}, },
output: Object.assign({}, common.output, { output: Object.assign({}, common.output, {
filename: '[name]-[chunkhash:10].js', filename: '[name]-[chunkhash:10].js',
path: path.resolve(__dirname, 'dist', 'browser' , outDir, 'scripts'), path: path.resolve(__dirname, 'build', outDir, 'scripts'),
}), }),
devtool: script === 'bootstrap' ? 'source-map' : false, devtool: script === 'bootstrap' ? 'source-map' : false,
module: { module: {