forked from OpenWF/SpaceNinjaServer
		
	chore: fix inconsistent formatting (npm run prettier) (#543)
This commit is contained in:
		
							parent
							
								
									cc5713e375
								
							
						
					
					
						commit
						6c4c685690
					
				@ -2,15 +2,15 @@
 | 
			
		||||
language: "en-US"
 | 
			
		||||
early_access: false
 | 
			
		||||
reviews:
 | 
			
		||||
  profile: "chill"
 | 
			
		||||
  request_changes_workflow: false
 | 
			
		||||
  changed_files_summary: false
 | 
			
		||||
  high_level_summary: false
 | 
			
		||||
  poem: false
 | 
			
		||||
  review_status: true
 | 
			
		||||
  collapse_walkthrough: false
 | 
			
		||||
  auto_review:
 | 
			
		||||
    enabled: true
 | 
			
		||||
    drafts: false
 | 
			
		||||
    profile: "chill"
 | 
			
		||||
    request_changes_workflow: false
 | 
			
		||||
    changed_files_summary: false
 | 
			
		||||
    high_level_summary: false
 | 
			
		||||
    poem: false
 | 
			
		||||
    review_status: true
 | 
			
		||||
    collapse_walkthrough: false
 | 
			
		||||
    auto_review:
 | 
			
		||||
        enabled: true
 | 
			
		||||
        drafts: false
 | 
			
		||||
chat:
 | 
			
		||||
  auto_reply: true
 | 
			
		||||
    auto_reply: true
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@ -19,4 +19,4 @@ jobs:
 | 
			
		||||
            - run: cp config.json.example config.json
 | 
			
		||||
            - run: echo '{"version":"","buildLabel":"","matchmakingBuildId":""}' > static/data/buildConfig.json
 | 
			
		||||
            - run: npm run build
 | 
			
		||||
            - run: npm run lint
 | 
			
		||||
            - run: npm run lint
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										22
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							@ -1,8 +1,8 @@
 | 
			
		||||
name: Build Docker image
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - main
 | 
			
		||||
    push:
 | 
			
		||||
        branches:
 | 
			
		||||
            - main
 | 
			
		||||
jobs:
 | 
			
		||||
    docker:
 | 
			
		||||
        if: github.repository == 'spaceninjaserver/SpaceNinjaServer'
 | 
			
		||||
@ -13,14 +13,14 @@ jobs:
 | 
			
		||||
            - name: Log in to container registry
 | 
			
		||||
              uses: docker/login-action@v3
 | 
			
		||||
              with:
 | 
			
		||||
                registry: ghcr.io
 | 
			
		||||
                username: ${{ github.actor }}
 | 
			
		||||
                password: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
                  registry: ghcr.io
 | 
			
		||||
                  username: ${{ github.actor }}
 | 
			
		||||
                  password: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
            - name: Build and push
 | 
			
		||||
              uses: docker/build-push-action@v6
 | 
			
		||||
              with:
 | 
			
		||||
                platforms: linux/amd64,linux/arm64
 | 
			
		||||
                push: true
 | 
			
		||||
                tags: |
 | 
			
		||||
                  ghcr.io/spaceninjaserver/spaceninjaserver:latest
 | 
			
		||||
                  ghcr.io/spaceninjaserver/spaceninjaserver:${{ github.sha }}
 | 
			
		||||
                  platforms: linux/amd64,linux/arm64
 | 
			
		||||
                  push: true
 | 
			
		||||
                  tags: |
 | 
			
		||||
                      ghcr.io/spaceninjaserver/spaceninjaserver:latest
 | 
			
		||||
                      ghcr.io/spaceninjaserver/spaceninjaserver:${{ github.sha }}
 | 
			
		||||
 | 
			
		||||
@ -1,43 +1,43 @@
 | 
			
		||||
services:
 | 
			
		||||
  openwf:
 | 
			
		||||
    # build: .
 | 
			
		||||
    image: ghcr.io/spaceninjaserver/SpaceNinjaServer:latest
 | 
			
		||||
    environment:
 | 
			
		||||
      APP_MONGODB_URL: mongodb://openwfagent:spaceninjaserver@mongodb:27017/
 | 
			
		||||
    openwf:
 | 
			
		||||
        # build: .
 | 
			
		||||
        image: ghcr.io/spaceninjaserver/SpaceNinjaServer:latest
 | 
			
		||||
        environment:
 | 
			
		||||
            APP_MONGODB_URL: mongodb://openwfagent:spaceninjaserver@mongodb:27017/
 | 
			
		||||
 | 
			
		||||
      # Following environment variables are set to default image values.
 | 
			
		||||
      # Uncomment to edit.
 | 
			
		||||
      
 | 
			
		||||
      # APP_MY_ADDRESS: localhost
 | 
			
		||||
      # APP_HTTP_PORT: 80
 | 
			
		||||
      # APP_HTTPS_PORT: 443
 | 
			
		||||
      # APP_AUTO_CREATE_ACCOUNT: true
 | 
			
		||||
      # APP_SKIP_STORY_MODE_CHOICE: true
 | 
			
		||||
      # APP_SKIP_TUTORIAL: true
 | 
			
		||||
      # APP_SKIP_ALL_DIALOGUE: true
 | 
			
		||||
      # APP_UNLOCK_ALL_SCANS: true
 | 
			
		||||
      # APP_UNLOCK_ALL_MISSIONS: true
 | 
			
		||||
      # APP_UNLOCK_ALL_QUESTS: true
 | 
			
		||||
      # APP_COMPLETE_ALL_QUESTS: true
 | 
			
		||||
      # APP_INFINITE_RESOURCES: true
 | 
			
		||||
      # APP_UNLOCK_ALL_SHIP_FEATURES: true
 | 
			
		||||
      # APP_UNLOCK_ALL_SHIP_DECORATIONS: true
 | 
			
		||||
      # APP_UNLOCK_ALL_FLAVOUR_ITEMS: true
 | 
			
		||||
      # APP_UNLOCK_ALL_SKINS: true
 | 
			
		||||
      # APP_UNIVERSAL_POLARITY_EVERYWHERE: true
 | 
			
		||||
      # APP_SPOOF_MASTERY_RANK: -1
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ./docker-data/static:/app/static/data
 | 
			
		||||
      - ./docker-data/logs:/app/logs
 | 
			
		||||
    ports:
 | 
			
		||||
      - 80:80
 | 
			
		||||
      - 443:443
 | 
			
		||||
    depends_on:
 | 
			
		||||
      - mongodb
 | 
			
		||||
  mongodb:
 | 
			
		||||
    image: docker.io/library/mongo:8.0.0-noble
 | 
			
		||||
    environment:
 | 
			
		||||
      MONGO_INITDB_ROOT_USERNAME: openwfagent
 | 
			
		||||
      MONGO_INITDB_ROOT_PASSWORD: spaceninjaserver
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ./docker-data/database:/data/db
 | 
			
		||||
            # Following environment variables are set to default image values.
 | 
			
		||||
            # Uncomment to edit.
 | 
			
		||||
 | 
			
		||||
            # APP_MY_ADDRESS: localhost
 | 
			
		||||
            # APP_HTTP_PORT: 80
 | 
			
		||||
            # APP_HTTPS_PORT: 443
 | 
			
		||||
            # APP_AUTO_CREATE_ACCOUNT: true
 | 
			
		||||
            # APP_SKIP_STORY_MODE_CHOICE: true
 | 
			
		||||
            # APP_SKIP_TUTORIAL: true
 | 
			
		||||
            # APP_SKIP_ALL_DIALOGUE: true
 | 
			
		||||
            # APP_UNLOCK_ALL_SCANS: true
 | 
			
		||||
            # APP_UNLOCK_ALL_MISSIONS: true
 | 
			
		||||
            # APP_UNLOCK_ALL_QUESTS: true
 | 
			
		||||
            # APP_COMPLETE_ALL_QUESTS: true
 | 
			
		||||
            # APP_INFINITE_RESOURCES: true
 | 
			
		||||
            # APP_UNLOCK_ALL_SHIP_FEATURES: true
 | 
			
		||||
            # APP_UNLOCK_ALL_SHIP_DECORATIONS: true
 | 
			
		||||
            # APP_UNLOCK_ALL_FLAVOUR_ITEMS: true
 | 
			
		||||
            # APP_UNLOCK_ALL_SKINS: true
 | 
			
		||||
            # APP_UNIVERSAL_POLARITY_EVERYWHERE: true
 | 
			
		||||
            # APP_SPOOF_MASTERY_RANK: -1
 | 
			
		||||
        volumes:
 | 
			
		||||
            - ./docker-data/static:/app/static/data
 | 
			
		||||
            - ./docker-data/logs:/app/logs
 | 
			
		||||
        ports:
 | 
			
		||||
            - 80:80
 | 
			
		||||
            - 443:443
 | 
			
		||||
        depends_on:
 | 
			
		||||
            - mongodb
 | 
			
		||||
    mongodb:
 | 
			
		||||
        image: docker.io/library/mongo:8.0.0-noble
 | 
			
		||||
        environment:
 | 
			
		||||
            MONGO_INITDB_ROOT_USERNAME: openwfagent
 | 
			
		||||
            MONGO_INITDB_ROOT_PASSWORD: spaceninjaserver
 | 
			
		||||
        volumes:
 | 
			
		||||
            - ./docker-data/database:/data/db
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user