Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Version 12 - 17 #134

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
/node_modules
/src/node_modules

/dist/demo/*

# IDEs and editors
/.idea
.project
Expand Down
135 changes: 1 addition & 134 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,138 +3,6 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"fullpage": {
"root": "",
"sourceRoot": "demo",
"projectType": "application",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"skipTests": true
},
"@schematics/angular:class": {
"skipTests": true
},
"@schematics/angular:directive": {
"skipTests": true
},
"@schematics/angular:guard": {
"skipTests": true
},
"@schematics/angular:module": {
"skipTests": true
},
"@schematics/angular:pipe": {
"skipTests": true
},
"@schematics/angular:service": {
"skipTests": true
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist/demo",
"index": "demo/index.html",
"main": "demo/main.ts",
"polyfills": "demo/polyfills.ts",
"tsConfig": "demo/tsconfig.app.json",
"assets": [
"demo/favicon.ico",
"demo/assets"
],
"styles": [
"demo/styles.scss"
],
"scripts": [
"node_modules/fullpage.js/dist/fullpage.extensions.min.js"
]
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "demo/environments/environment.ts",
"with": "demo/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "fullpage:build"
},
"configurations": {
"production": {
"browserTarget": "fullpage:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "fullpage:build"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"demo/tsconfig.app.json",
"demo/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"fullpage-e2e": {
"root": "e2e/",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "fullpage:serve"
},
"configurations": {
"production": {
"devServerTarget": "fullpage:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"angular-fullpage": {
"root": "src",
"sourceRoot": "src/angular-fullpage",
Expand All @@ -152,8 +20,7 @@
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.lib.json",
"src/tsconfig.spec.json"
"src/tsconfig.lib.json"
],
"exclude": [
"**/node_modules/**"
Expand Down
41 changes: 41 additions & 0 deletions demo/angular12/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/tmp
/out-tsc

# dependencies
/node_modules
/src/node_modules

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
*.angular
.settings/
*.sublime-workspace
.vscode/*

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# System Files
.DS_Store
Thumbs.db
2 changes: 1 addition & 1 deletion demo/README.md → demo/angular12/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Examples

In order to run the examples you'll have to first install the dependencies from the root folder:
In order to run the examples you'll have to first install the dependencies:

```shell
# install dependencies
Expand Down
107 changes: 107 additions & 0 deletions demo/angular12/angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"$schema": "node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"angular12-fullpage": {
"root": "",
"sourceRoot": "demo",
"projectType": "application",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"preserveSymlinks": true,
"aot": true,
"outputPath": "../../dist/demo/angular12",
"index": "./index.html",
"main": "./main.ts",
"polyfills": "./polyfills.ts",
"tsConfig": "./tsconfig.app.json",
"assets": [
],
"styles": [
"styles.scss"
],
"scripts": [
"node_modules/fullpage.js/dist/fullpage.extensions.min.js"
]
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "environments/environment.ts",
"with": "environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
},
"dev": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"optimization": false,
"outputHashing": "none",
"sourceMap": true,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": false
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "angular12-fullpage:build"
},
"configurations": {
"production": {
"browserTarget": "angular12-fullpage:build:production"
},
"dev": {
"browserTarget": "angular12-fullpage:build:dev"
}
},
"defaultConfiguration": "dev"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular12-fullpage:build"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.app.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
}
}
Loading