Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .editorconfig

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

strategy:
matrix:
node-version: [18.19.0]
node-version: [20.19.5]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -44,4 +44,4 @@ jobs:
run: npm ci

- name: Run build library
run: npm run build:lib --if-present
run: npm run build:prod --if-present
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18.19.0]
node-version: [20.19.5]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- name: Check out repo
Expand All @@ -38,8 +38,8 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Run build only library
run: npm run build:lib --if-present
- name: Run build library
run: npm run build:prod --if-present

- name: Publish package
run: npm publish ./dist/fullcalendar
Expand Down
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

File renamed without changes.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@

# @talentia/fullcalendar

A FullCalendar component for Angular.

## Supported Angular Versions

`@talentia/fullcalendar` version `4.4.10` supports Angular 18.

# FullCalendar Angular Component [![Build Status](https://travis-ci.com/fullcalendar/fullcalendar-angular.svg?branch=master)](https://travis-ci.com/fullcalendar/fullcalendar-angular)

This project provides an official Angular component for FullCalendar, with all the same setting.
Expand All @@ -8,10 +16,3 @@ This project provides an official Angular component for FullCalendar, with all t
- [Contributor Guide](CONTRIBUTORS.md)

This project is built and maintained by [irustm](https://github.com/irustm) in partnership with the maintainers of FullCalendar. The project was originally called `ng-fullcalendar` which can still be [found on NPM](https://www.npmjs.com/package/ng-fullcalendar).


## Supported Angular Versions

`@fullcalendar/angular` version `4.0.0` - `4.4.0` supports Angular 7 & 8.

<!-- `@talentia/fullcalendar` version `4.4.6` supports Angular 9. [More info &raquo;](https://github.com/fullcalendar/fullcalendar-angular/pull/275) -->
147 changes: 13 additions & 134 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,159 +3,38 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"fullcalendar-demo": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/fullcalendar-demo",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"preserveSymlinks": true,
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss",
"node_modules/@fullcalendar/core/main.css",
"node_modules/@fullcalendar/daygrid/main.css"
],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"buildTarget": "fullcalendar-demo:build"
},
"configurations": {
"production": {
"buildTarget": "fullcalendar-demo:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "fullcalendar-demo:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"src/styles.scss"
],
"scripts": [],
"assets": [
"src/favicon.ico",
"src/assets"
]
}
}
}
},
"fullcalendar-demo-e2e": {
"root": "e2e/",
"projectType": "application",
"prefix": "",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "fullcalendar-demo:serve"
},
"configurations": {
"production": {
"devServerTarget": "fullcalendar-demo:serve:production"
}
}
}
}
},
"@talentia/fullcalendar": {
"projectType": "library",
"root": "projects/fullcalendar",
"sourceRoot": "projects/fullcalendar/src",
"projectType": "library",
"prefix": "ng",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/fullcalendar/tsconfig.lib.json",
"project": "projects/fullcalendar/ng-package.json"
},
},
"configurations": {
"production": {
"tsConfig": "projects/fullcalendar/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/fullcalendar/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"main": "projects/fullcalendar/src/test.ts",
"tsConfig": "projects/fullcalendar/tsconfig.spec.json",
"karmaConfig": "projects/fullcalendar/karma.conf.js"
"lintFilePatterns": [
"projects/fullcalendar/**/*.ts",
"projects/fullcalendar/**/*.html"
],
"eslintConfig": "projects/fullcalendar/eslint.config.js"
}
}
}
}
},
"cli": {
"analytics": false
}
}
28 changes: 0 additions & 28 deletions e2e/protractor.conf.js

This file was deleted.

25 changes: 0 additions & 25 deletions e2e/src/app.e2e-spec.ts

This file was deleted.

20 changes: 0 additions & 20 deletions e2e/src/app.po.ts

This file was deleted.

13 changes: 0 additions & 13 deletions e2e/tsconfig.e2e.json

This file was deleted.

43 changes: 43 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// @ts-check
const eslint = require("@eslint/js");
const tseslint = require("typescript-eslint");
const angular = require("angular-eslint");

module.exports = tseslint.config(
{
files: ["**/*.ts"],
extends: [
eslint.configs.recommended,
...tseslint.configs.recommended,
...tseslint.configs.stylistic,
...angular.configs.tsRecommended,
],
processor: angular.processInlineTemplates,
rules: {
"@angular-eslint/directive-selector": [
"error",
{
type: "attribute",
prefix: "lib",
style: "camelCase",
},
],
"@angular-eslint/component-selector": [
"error",
{
type: "element",
prefix: "lib",
style: "kebab-case",
},
],
},
},
{
files: ["**/*.html"],
extends: [
...angular.configs.templateRecommended,
...angular.configs.templateAccessibility,
],
rules: {},
}
);
Loading