-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca2fcf0
commit 3240364
Showing
449 changed files
with
70,079 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
*~ | ||
*.sw[mnpcod] | ||
.tmp | ||
*.tmp | ||
*.tmp.* | ||
*.sublime-project | ||
*.sublime-workspace | ||
.DS_Store | ||
Thumbs.db | ||
UserInterfaceState.xcuserstate | ||
$RECYCLE.BIN/ | ||
|
||
*.log | ||
log.txt | ||
npm-debug.log* | ||
|
||
# Folders | ||
/.angular | ||
/.idea | ||
/.ionic | ||
/.sass-cache | ||
/.sourcemaps | ||
/.versions | ||
/.vscode | ||
/coverage | ||
/dist | ||
/node_modules | ||
/plugins | ||
/www | ||
/oldcodes | ||
/keystore | ||
/android | ||
/ios | ||
|
||
# Files | ||
environment.prod.ts | ||
environment.ts | ||
capacitor.config.ts | ||
config.xml | ||
|
||
App/output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
# animemac-ionic | ||
# animemac-ionic | ||
AnimeMac's mobile application made with Ionic 5 - Cordova, migrated to Ionic 7 - Capacitor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"app": { | ||
"root": "", | ||
"sourceRoot": "src", | ||
"projectType": "application", | ||
"prefix": "app", | ||
"schematics": {}, | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:browser", | ||
"options": { | ||
"outputPath": "www", | ||
"index": "src/index.html", | ||
"main": "src/main.ts", | ||
"polyfills": "src/polyfills.ts", | ||
"tsConfig": "tsconfig.app.json", | ||
"assets": [ | ||
{ | ||
"glob": "**/*", | ||
"input": "src/assets", | ||
"output": "assets" | ||
}, | ||
{ | ||
"glob": "**/*.svg", | ||
"input": "node_modules/ionicons/dist/ionicons/svg", | ||
"output": "./svg" | ||
}, | ||
"src/manifest.json", | ||
"src/manifest.webmanifest" | ||
], | ||
"styles": [ | ||
"src/theme/variables.scss", | ||
"src/global.scss" | ||
], | ||
"scripts": [], | ||
"aot": false, | ||
"vendorChunk": true, | ||
"extractLicenses": false, | ||
"buildOptimizer": false, | ||
"sourceMap": true, | ||
"optimization": false, | ||
"namedChunks": true, | ||
"serviceWorker": true, | ||
"ngswConfigPath": "ngsw-config.json" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"fileReplacements": [ | ||
{ | ||
"replace": "src/environments/environment.ts", | ||
"with": "src/environments/environment.prod.ts" | ||
} | ||
], | ||
"optimization": true, | ||
"outputHashing": "all", | ||
"sourceMap": false, | ||
"namedChunks": false, | ||
"aot": true, | ||
"extractLicenses": true, | ||
"vendorChunk": false, | ||
"buildOptimizer": true, | ||
"budgets": [ | ||
{ | ||
"type": "initial", | ||
"maximumWarning": "2mb", | ||
"maximumError": "5mb" | ||
} | ||
] | ||
}, | ||
"ci": { | ||
"progress": false | ||
} | ||
} | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"options": { | ||
"browserTarget": "app:build" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"browserTarget": "app:build:production" | ||
}, | ||
"ci": { | ||
"progress": false | ||
} | ||
} | ||
}, | ||
"extract-i18n": { | ||
"builder": "@angular-devkit/build-angular:extract-i18n", | ||
"options": { | ||
"browserTarget": "app:build" | ||
} | ||
}, | ||
"test": { | ||
"builder": "@angular-devkit/build-angular:karma", | ||
"options": { | ||
"main": "src/test.ts", | ||
"polyfills": "src/polyfills.ts", | ||
"tsConfig": "tsconfig.spec.json", | ||
"karmaConfig": "karma.conf.js", | ||
"styles": [], | ||
"scripts": [], | ||
"assets": [ | ||
{ | ||
"glob": "favicon.ico", | ||
"input": "src/", | ||
"output": "/" | ||
}, | ||
{ | ||
"glob": "**/*", | ||
"input": "src/assets", | ||
"output": "/assets" | ||
}, | ||
"src/manifest.webmanifest" | ||
] | ||
}, | ||
"configurations": { | ||
"ci": { | ||
"progress": false, | ||
"watch": false | ||
} | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-eslint/builder:lint", | ||
"options": { | ||
"lintFilePatterns": [ | ||
"src/**/*.ts", | ||
"src/**/*.html" | ||
] | ||
} | ||
}, | ||
"e2e": { | ||
"builder": "@angular-devkit/build-angular:protractor", | ||
"options": { | ||
"protractorConfig": "e2e/protractor.conf.js", | ||
"devServerTarget": "app:serve" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"devServerTarget": "app:serve:production" | ||
}, | ||
"ci": { | ||
"devServerTarget": "app:serve:ci" | ||
} | ||
} | ||
}, | ||
"ionic-cordova-serve": { | ||
"builder": "@ionic/cordova-builders:cordova-serve", | ||
"options": { | ||
"cordovaBuildTarget": "app:ionic-cordova-build", | ||
"devServerTarget": "app:serve" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"cordovaBuildTarget": "app:ionic-cordova-build:production", | ||
"devServerTarget": "app:serve:production" | ||
} | ||
} | ||
}, | ||
"ionic-cordova-build": { | ||
"builder": "@ionic/cordova-builders:cordova-build", | ||
"options": { | ||
"browserTarget": "app:build" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"browserTarget": "app:build:production" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"cli": { | ||
"schematicCollections": [ | ||
"@ionic/angular-toolkit" | ||
], | ||
"analytics": false | ||
}, | ||
"schematics": { | ||
"@ionic/angular-toolkit:component": { | ||
"styleext": "scss" | ||
}, | ||
"@ionic/angular-toolkit:page": { | ||
"styleext": "scss" | ||
}, | ||
"@angular-eslint/schematics:application": { | ||
"setParserOptionsProject": true | ||
}, | ||
"@angular-eslint/schematics:library": { | ||
"setParserOptionsProject": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// @ts-check | ||
// Protractor configuration file, see link for more information | ||
// https://github.com/angular/protractor/blob/master/lib/config.ts | ||
|
||
const { SpecReporter, StacktraceOption } = require('jasmine-spec-reporter'); | ||
|
||
/** | ||
* @type { import("protractor").Config } | ||
*/ | ||
exports.config = { | ||
allScriptsTimeout: 11000, | ||
specs: [ | ||
'./src/**/*.e2e-spec.ts' | ||
], | ||
capabilities: { | ||
browserName: 'chrome' | ||
}, | ||
directConnect: true, | ||
SELENIUM_PROMISE_MANAGER: false, | ||
baseUrl: 'http://localhost:4200/', | ||
framework: 'jasmine', | ||
jasmineNodeOpts: { | ||
showColors: true, | ||
defaultTimeoutInterval: 30000, | ||
print: function() {} | ||
}, | ||
onPrepare() { | ||
require('ts-node').register({ | ||
project: require('path').join(__dirname, './tsconfig.json') | ||
}); | ||
jasmine.getEnv().addReporter(new SpecReporter({ | ||
spec: { | ||
displayStacktrace: StacktraceOption.PRETTY | ||
} | ||
})); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { AppPage } from './app.po'; | ||
|
||
describe('new App', () => { | ||
let page: AppPage; | ||
|
||
beforeEach(() => { | ||
page = new AppPage(); | ||
}); | ||
|
||
it('should be blank', () => { | ||
page.navigateTo(); | ||
expect(page.getParagraphText()).toContain('Start with Ionic UI Components'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { browser, by, element } from 'protractor'; | ||
|
||
export class AppPage { | ||
navigateTo() { | ||
return browser.get('/'); | ||
} | ||
|
||
getParagraphText() { | ||
return element(by.deepCss('app-root ion-content')).getText(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "../out-tsc/e2e", | ||
"module": "commonjs", | ||
"target": "es2018", | ||
"types": [ | ||
"jasmine", | ||
"node" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "AnimeMac", | ||
"integrations": { | ||
"cordova": {}, | ||
"capacitor": {} | ||
}, | ||
"type": "angular" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Karma configuration file, see link for more information | ||
// https://karma-runner.github.io/1.0/config/configuration-file.html | ||
|
||
module.exports = function (config) { | ||
config.set({ | ||
basePath: '', | ||
frameworks: ['jasmine', '@angular-devkit/build-angular'], | ||
plugins: [ | ||
require('karma-jasmine'), | ||
require('karma-chrome-launcher'), | ||
require('karma-jasmine-html-reporter'), | ||
require('karma-coverage'), | ||
require('@angular-devkit/build-angular/plugins/karma') | ||
], | ||
client: { | ||
jasmine: { | ||
// you can add configuration options for Jasmine here | ||
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html | ||
// for example, you can disable the random execution with `random: false` | ||
// or set a specific seed with `seed: 4321` | ||
}, | ||
clearContext: false // leave Jasmine Spec Runner output visible in browser | ||
}, | ||
jasmineHtmlReporter: { | ||
suppressAll: true // removes the duplicated traces | ||
}, | ||
coverageReporter: { | ||
dir: require('path').join(__dirname, './coverage/ngv'), | ||
subdir: '.', | ||
reporters: [ | ||
{ type: 'html' }, | ||
{ type: 'text-summary' } | ||
] | ||
}, | ||
reporters: ['progress', 'kjhtml'], | ||
port: 9876, | ||
colors: true, | ||
logLevel: config.LOG_INFO, | ||
autoWatch: true, | ||
browsers: ['Chrome'], | ||
singleRun: false, | ||
restartOnFileChange: true | ||
}); | ||
}; |
Oops, something went wrong.