Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sky-is-winning committed Jun 3, 2024
0 parents commit 73a702f
Show file tree
Hide file tree
Showing 6,990 changed files with 355,767 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
14 changes: 14 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "usage",
"corejs": 3
}
]
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
}
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'
target-branch: 'beta'
47 changes: 47 additions & 0 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Update Development

on:
push:
branches: '**-beta'

jobs:
update-development:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: '16'

- name: SSH into server and deploy
uses: appleboy/[email protected]
if: contains(github.event.head_commit.message, '[debug]')
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: |
cd /home/cpplus/betaclient
git checkout ${{ github.ref_name }}
git pull --recurse-submodules
npm install
npm run build-dev
- name: SSH into server and deploy
uses: appleboy/[email protected]
if: (!contains(github.event.head_commit.message, '[debug]'))
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: |
cd /home/cpplus/betaclient
git checkout ${{ github.ref_name }}
git pull --recurse-submodules
npm install
npm run build
28 changes: 28 additions & 0 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Check PR

on:
pull_request:
branches: [master]

jobs:
check-pr:
runs-on: ubuntu-latest

steps:
- name: Checkout updated version
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Checkout current version
uses: actions/checkout@v2
with:
ref: 'master'
path: currentversion

- uses: actions/setup-node@v2
with:
node-version: '16'

- name: Check version update
run: npm run check-version
76 changes: 76 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Update Production

on:
push:
branches: [master]

jobs:
update-production:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: '16'

- name: SSH into server and deploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: |
cd /home/cpplus/client
git pull --recurse-submodules
npm install
npm run build
create-archive:
runs-on: ubuntu-latest

steps:
- name: Install zip
uses: montudor/action-zip@v1

- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
token: ${{ secrets.MEDIA_KEY }}
submodules: recursive
path: client

- name: Remove .git folder to reduce file size
run: rm -rf client/.git

- name: Checkout server
uses: actions/checkout@v2
with:
repository: clubpenguinplus/server
token: ${{ secrets.MEDIA_KEY }}
path: server

- name: Get version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
with:
path: 'client'

- name: Create archive folder
run: mkdir -p archive

- name: Zip files
run: zip -qq -r archive/${{ steps.package-version.outputs.current-version }}.zip server client

- name: Upload archive
uses: sharapeco/lftp-mirror-action@main
with:
host: ${{ secrets.SERVER_HOST }}
port: 22
username: ${{ secrets.SERVER_USERNAME }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
local_path: './archive'
remote_path: '/home/cpplus/archive'
108 changes: 108 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

flash/
servers.xml
.vscode/launch.json
5 changes: 5 additions & 0 deletions .hintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"development"
]
}
12 changes: 12 additions & 0 deletions .idea/client.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# client
9 changes: 9 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
scripts/client/clubpenguinplus.js
scripts/client/clubpenguinplus.min.js
media/game_configs/
*.bak
*.zip
*.DS_Store
*.fla
*.as
*.html
Binary file added client/fonts/Arial.ttf
Binary file not shown.
Binary file added client/fonts/Arial.woff2
Binary file not shown.
Binary file added client/fonts/ArialBold.ttf
Binary file not shown.
Binary file added client/fonts/ArialBold.woff2
Binary file not shown.
Binary file added client/fonts/ArialNarrow.ttf
Binary file not shown.
Binary file added client/fonts/ArialNarrow.woff2
Binary file not shown.
Binary file added client/fonts/ArialNarrowBold.ttf
Binary file not shown.
Binary file added client/fonts/ArialNarrowBold.woff2
Binary file not shown.
Binary file added client/fonts/Asterisk.ttf
Binary file not shown.
Binary file added client/fonts/Asterisk.woff2
Binary file not shown.
Binary file added client/fonts/CCFaceFrontBoldItalic.ttf
Binary file not shown.
Binary file added client/fonts/CCFaceFrontBoldItalic.woff2
Binary file not shown.
Binary file added client/fonts/cpBurbankBgWd-Bold.ttf
Binary file not shown.
Binary file added client/fonts/cpBurbankBgWd-Bold.woff2
Binary file not shown.
Binary file added client/fonts/cpBurbankSmall-Bold.ttf
Binary file not shown.
Binary file added client/fonts/cpBurbankSmall-Bold.woff2
Binary file not shown.
Binary file added client/fonts/cpBurbankSmall-BoldItalic.ttf
Binary file not shown.
Binary file added client/fonts/cpBurbankSmall-BoldItalic.woff2
Binary file not shown.
Binary file added client/fonts/cpBurbankSmall-Italic.ttf
Binary file not shown.
Binary file added client/fonts/cpBurbankSmall-Italic.woff2
Binary file not shown.
Binary file added client/fonts/cpBurbankSmall-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cpBurbankSmall-Regular.woff2
Binary file not shown.
Binary file added client/fonts/cpBurbankSmallLgt-Italic.ttf
Binary file not shown.
Binary file added client/fonts/cpBurbankSmallLgt-Italic.woff2
Binary file not shown.
Binary file added client/fonts/cpBurbankSmallLgt-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cpBurbankSmallLgt-Regular.woff2
Binary file not shown.
Binary file added client/fonts/cpCCComicrazy-BoldItalic.ttf
Binary file not shown.
Binary file added client/fonts/cpCCComicrazy-BoldItalic.woff2
Binary file not shown.
Binary file added client/fonts/cpCCComicrazy-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cpCCComicrazy-Regular.woff2
Binary file not shown.
Binary file added client/fonts/cpCandombe-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cpCandombe-Regular.woff2
Binary file not shown.
Binary file added client/fonts/cpCatseye-Bold.ttf
Binary file not shown.
Binary file added client/fonts/cpCatseye-Bold.woff2
Binary file not shown.
Binary file added client/fonts/cpChantal-Bold.ttf
Binary file not shown.
Binary file added client/fonts/cpChantal-Bold.woff2
Binary file not shown.
Binary file added client/fonts/cpChantal-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cpChantal-Regular.woff2
Binary file not shown.
Binary file added client/fonts/cpChantalLgt-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cpChantalLgt-Regular.woff2
Binary file not shown.
Binary file added client/fonts/cpClubPenguinSecretAgent-Regular.ttf
Binary file not shown.
Binary file not shown.
Binary file added client/fonts/cpFeltTipRoman-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cpFeltTipRoman-Regular.woff2
Binary file not shown.
Binary file added client/fonts/cpFeltTipRomanHvy-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cpFeltTipRomanHvy-Regular.woff2
Binary file not shown.
Binary file added client/fonts/cpGeorgia-Bold.ttf
Binary file not shown.
Binary file added client/fonts/cpGeorgia-Bold.woff2
Binary file not shown.
Binary file added client/fonts/cpGeorgia-Italic.ttf
Binary file not shown.
Binary file added client/fonts/cpGeorgia-Italic.woff2
Binary file not shown.
Binary file added client/fonts/cpGeorgia-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cpGeorgia-Regular.woff2
Binary file not shown.
Binary file added client/fonts/cpMurga-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cpMurga-Regular.woff2
Binary file not shown.
Binary file added client/fonts/cpPowerStationSolidWide-Regular.ttf
Binary file not shown.
Binary file not shown.
Binary file added client/fonts/cpProximaNova-Bold.ttf
Binary file not shown.
Binary file added client/fonts/cpProximaNova-Bold.woff2
Binary file not shown.
Binary file added client/fonts/cpProximaNova-Italic.ttf
Binary file not shown.
Binary file added client/fonts/cpProximaNova-Italic.woff2
Binary file not shown.
Binary file added client/fonts/cpProximaNova-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cpProximaNova-Regular.woff2
Binary file not shown.
Binary file added client/fonts/cpProximaNovaCnd-Bold.ttf
Binary file not shown.
Binary file added client/fonts/cpProximaNovaCnd-Bold.woff2
Binary file not shown.
Binary file added client/fonts/cpProximaNovaCndEx-Bold.ttf
Binary file not shown.
Binary file added client/fonts/cpProximaNovaCndEx-Bold.woff2
Binary file not shown.
Binary file added client/fonts/cpProximaNovaSm-Bold.ttf
Binary file not shown.
Binary file added client/fonts/cpProximaNovaSm-Bold.woff2
Binary file not shown.
Binary file added client/fonts/cpRasterGothTwelveCnd-Bold.ttf
Binary file not shown.
Binary file added client/fonts/cpRasterGothTwelveCnd-Bold.woff2
Binary file not shown.
Binary file added client/fonts/cpRasterGothTwelveCnd-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cpRasterGothTwelveCnd-Regular.woff2
Binary file not shown.
Binary file added client/fonts/cpRasterGothTwentyEightCnd-Bold.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added client/fonts/cplcd-Regular.ttf
Binary file not shown.
Binary file added client/fonts/cplcd-Regular.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions client/media/crumbs/en.json

Large diffs are not rendered by default.

Loading

0 comments on commit 73a702f

Please sign in to comment.