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

🎉 2.0.0 #239

Closed
wants to merge 92 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
3211ea9
chore: Update .ignore files
sebbo2002 Feb 21, 2021
429c0c7
docs(LICENSE): Update copyright year
sebbo2002 Feb 21, 2021
d013dc0
feat: Updated the entire codebase to Typescript
sebbo2002 Feb 21, 2021
0bc117e
fix(package.json): add temporary version
sebbo2002 Feb 23, 2021
49e4d3b
docs(Readme): Update note about 2.0.0 development
sebbo2002 Feb 27, 2021
7f259bc
Merge pull request #227 from sebbo2002/feature/2.0
sebbo2002 Feb 27, 2021
50e7191
ci: Update node.js versions for tests
sebbo2002 Feb 27, 2021
6ce98f1
chore: add yml config to editorconfig
sebbo2002 Feb 27, 2021
5053d21
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Feb 27, 2021
bd21db2
ci: Remove release workflow during 2.0 refactoring
sebbo2002 Feb 27, 2021
ccfa0f0
build(deps): Update dependencies
sebbo2002 Feb 27, 2021
fc4a06f
ci: Setup semantic release
sebbo2002 Feb 27, 2021
7729011
docs(Changelog): Remove old changelog
sebbo2002 Feb 27, 2021
152e2d6
ci: Run tests before release
sebbo2002 Feb 27, 2021
fbb1194
chore(release): :bookmark: 1.3.0-develop.1 [skip ci]
semantic-release-bot Feb 27, 2021
5dc607c
ci: Fix broken test trigger
sebbo2002 Feb 27, 2021
5f6a513
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Feb 27, 2021
c90e3d8
ci: Setup GitHub's CodeQL Analysis (#229)
sebbo2002 Feb 27, 2021
a4c19cc
feat(Events): Use uuid-random for random UUIDs (close #215)
sebbo2002 Mar 5, 2021
f0a11ef
chore(release): :bookmark: 1.3.0-develop.2 [skip ci]
semantic-release-bot Mar 5, 2021
1568324
ci: Ignore gh-pages branch
sebbo2002 Mar 13, 2021
bf73ef0
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Mar 13, 2021
21d4ae1
refactor: make ts-ignore lines obsolet
sebbo2002 Mar 13, 2021
bb70156
chore(release): :bookmark: 1.3.0-develop.3 [skip ci]
semantic-release-bot Mar 13, 2021
9c8c61a
Update all development npm dependencies (2021-03-15) (#230)
depfu[bot] Mar 15, 2021
6db24ee
feat: Support moment.js, Day.js and Luxon (#91, BREAKING CHANGE)
sebbo2002 Mar 16, 2021
72b0941
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Mar 16, 2021
6343895
tests: Fix timzone tests
sebbo2002 Mar 16, 2021
e147be8
tests(Tools): Improve test coverage for formatDate()
sebbo2002 Mar 21, 2021
f2d68d4
chore(release): :bookmark: 1.3.0-develop.4 [skip ci]
semantic-release-bot Mar 21, 2021
1ebefcb
feat(Calendar): add new clear method
sebbo2002 Mar 21, 2021
3879576
chore(release): :bookmark: 2.0.0-develop.1 [skip ci]
semantic-release-bot Mar 21, 2021
62c1516
feat(Event): Merge `location()`, `appleLocation()` and `geo()`
sebbo2002 Mar 22, 2021
6d064f0
chore(release): :bookmark: 2.0.0-develop.2 [skip ci]
semantic-release-bot Mar 22, 2021
c6ccd12
refactor(Calendar): Remove moment.Duration from `ttl()` method
sebbo2002 Mar 23, 2021
9771e20
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Mar 23, 2021
ce537f8
feat: Merge event's `description()` and `htmlDescription()`
sebbo2002 Mar 23, 2021
d11b737
chore(release): :bookmark: 2.0.0-develop.3 [skip ci]
semantic-release-bot Mar 23, 2021
8331d4c
fix(Event): Remove `moment` dependency in constructor
sebbo2002 Mar 23, 2021
28d44df
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Mar 23, 2021
1593d3b
chore(release): :bookmark: 2.0.0-develop.4 [skip ci]
semantic-release-bot Mar 23, 2021
4436785
feat(Event): Support RRule objects and raw strings in `repeating()`
sebbo2002 Mar 23, 2021
ca8cdaf
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Mar 23, 2021
3f9ae02
chore(release): :bookmark: 2.0.0-develop.5 [skip ci]
semantic-release-bot Mar 23, 2021
8450492
feat(Event): Make organizer.email optional
sebbo2002 Mar 23, 2021
4406313
chore(release): :bookmark: 2.0.0-develop.6 [skip ci]
semantic-release-bot Mar 23, 2021
af638f5
chore: Improve toJSON() type safety
sebbo2002 Mar 23, 2021
ce842b5
tests(Event): Rename `_generate()` to `toString()`
sebbo2002 Mar 23, 2021
247039f
feat(Event): Add `priority()` method
sebbo2002 Mar 23, 2021
f18a78f
chore(release): :bookmark: 2.0.0-develop.7 [skip ci]
semantic-release-bot Mar 23, 2021
5d9d686
feat(Attendee): Add `x()` method for custom attributes
sebbo2002 Mar 23, 2021
32b2f20
chore(release): :bookmark: 2.0.0-develop.8 [skip ci]
semantic-release-bot Mar 23, 2021
637b832
docs(Calendar): Add inline documentation
sebbo2002 Mar 24, 2021
76d0897
test(Index): "test" calendar exports
sebbo2002 Mar 24, 2021
26495e4
chore(release): :bookmark: 2.0.0-develop.9 [skip ci]
semantic-release-bot Mar 24, 2021
498cc38
docs: Add readme headlines for later reference
sebbo2002 Mar 24, 2021
9e24b48
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Mar 24, 2021
2f34d54
docs: Update inline documentation and readme
sebbo2002 Mar 25, 2021
d937572
chore(release): :bookmark: 2.0.0-develop.10 [skip ci]
semantic-release-bot Mar 25, 2021
fd83134
docs(Event): Add description about busystatus
sebbo2002 Mar 26, 2021
98fdb6f
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Mar 26, 2021
a3c7037
chore: Update package.json
sebbo2002 Mar 26, 2021
dab6f6a
docs: Add Pull Request Template
sebbo2002 Mar 26, 2021
3c16ad2
docs(Readme): Update readme
sebbo2002 Mar 26, 2021
ca92993
chore(release): :bookmark: 2.0.0-develop.11 [skip ci]
semantic-release-bot Mar 26, 2021
2ad5716
Revert "chore: Update package.json"
sebbo2002 Mar 26, 2021
546db26
chore: Update package.json
sebbo2002 Mar 26, 2021
c897d04
chore(release): :bookmark: 2.0.0-develop.12 [skip ci]
semantic-release-bot Mar 26, 2021
2aedf55
refactor: Update error URLs
sebbo2002 Mar 26, 2021
62d9407
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Mar 26, 2021
b7e5281
chore(release): :bookmark: 2.0.0-develop.13 [skip ci]
semantic-release-bot Mar 26, 2021
82d6899
chore: Remove old babel/webpack file
sebbo2002 Mar 27, 2021
fcb3b22
docs(Typedoc): Include readme in index page
sebbo2002 Mar 27, 2021
1134772
chore(Category): Allow to set category name to null
sebbo2002 Mar 27, 2021
8b87183
fix: Allow to set null values within object constructors
sebbo2002 Mar 28, 2021
5c1da42
chore(Tools): Remove luxon validation as this happens on check
sebbo2002 Mar 28, 2021
90951bb
tests: Add unit tests
sebbo2002 Mar 28, 2021
07a7dad
chore(release): :bookmark: 2.0.0-develop.14 [skip ci]
semantic-release-bot Mar 28, 2021
ad209d1
Update all development npm dependencies (2021-03-29) (#235)
depfu[bot] Mar 29, 2021
84e2784
fix(deps): Define supported libs as peerDependencies
sebbo2002 Apr 2, 2021
b4ec017
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Apr 2, 2021
be3cb1f
chore(build.sh): Add npm version for debugging
sebbo2002 Apr 2, 2021
c04ae32
fix(deps): Also define libs as devDependency for tests
sebbo2002 Apr 2, 2021
d9f6927
chore(release): :bookmark: 2.0.0-develop.15 [skip ci]
semantic-release-bot Apr 2, 2021
14f0f43
fix(deps): Put necessary typings in peerDependencies as well :/
sebbo2002 Apr 2, 2021
127a278
chore(release): :bookmark: 2.0.0-develop.16 [skip ci]
semantic-release-bot Apr 2, 2021
670aa0a
docs(Readme): Add note about peerDependencies and npm < 7
sebbo2002 Apr 2, 2021
1eddcc7
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Apr 2, 2021
8fb1c1e
chore(release): :bookmark: 2.0.0-develop.17 [skip ci]
semantic-release-bot Apr 2, 2021
4e63e29
feat(Event): Allow `X-APPLE-STRUCTURED-LOCATION` without address
sebbo2002 Apr 9, 2021
302526c
Merge branch 'develop' of github.com:sebbo2002/ical-generator into de…
sebbo2002 Apr 9, 2021
ac05fb6
chore(release): :bookmark: 2.0.0-develop.18 [skip ci]
semantic-release-bot Apr 9, 2021
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
15 changes: 0 additions & 15 deletions .babelrc

This file was deleted.

3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.yml]
indent_size = 2
6 changes: 3 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
code-visualization/**
coverage/**
node_modules/**
node_modules/**
dist/**
docs/**
54 changes: 32 additions & 22 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,47 @@
{
"env": {
"node": true,
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"mocha": true
},
"extends": "eslint:recommended",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module"
"ecmaVersion": 2018
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"semi": "error",
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"no-console": [
"indent": [
"error",
{
"allow": ["log"]
}
4
]
}
}
},
"overrides": [
{
"files": [
"test/**/*.ts",
"src/tools.ts"
],
"rules": {
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/ban-ts-comment": "off"
}
}
]
}
23 changes: 23 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
### About this Pull Request
- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
- …
- **What is the current behavior?** (You can also link to an open issue here)
- …
- **What is the new behavior (if this is a feature change)?**
- …
- **Does this PR introduce a breaking change?** (What changes might users need to make in their application due to this PR?)
- …
- **Other information**:
- …


### Pull Request Checklist

- [ ] My code follows the code style of this project
- Run `npm run lint` to double check
- [ ] My change requires a change to the documentation
- [ ] I have updated the documentation accordingly
- [ ] I have added tests to cover my changes
- Run `npm run test` to run the unit tests and `npm run coverage` to generate a coverage report
- [ ] All new and existing tests passed
- [ ] My commit messages follow the [commit guidelines](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit)
43 changes: 33 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,51 @@
name: Release

on:
push:
tags:
- v*
branches:
- main
- develop

jobs:
publish-npm:
tests:
runs-on: ubuntu-latest
if: contains(toJson(github.event.commits), '[skip ci]') == false
strategy:
matrix:
node: [10.x, 12.x, 14.x, 15.x]

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
node-version: ${{ matrix.node }}
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run build
- run: jq -M ".version=\"${GITHUB_REF:11}\"" package.json > tmp.json && mv tmp.json package.json
- run: npm publish
- run: npm run all
env:
CI: true

release:
runs-on: ubuntu-latest
needs: tests
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci && mkdir ./docs
- name: semantic-release
run: BRANCH=${GITHUB_REF#refs/heads/} npx semantic-release
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
23 changes: 19 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
name: Tests

on: [push, pull_request]
on:
push:
branches-ignore:
- main
- develop
- gh-pages
pull_request: null
schedule:
- cron: '15 2 * * 1'

jobs:
test:
tests:
runs-on: ubuntu-latest

strategy:
matrix:
node: [10.x, 12.x, 13.x, 14.x]
node: [10.x, 12.x, 14.x, 15.x]

steps:
- uses: actions/checkout@v1
Expand All @@ -26,3 +33,11 @@ jobs:
env:
CI: true

analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: github/codeql-action/init@v1
with:
languages: 'javascript'
- uses: github/codeql-action/analyze@v1
14 changes: 3 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
.DS_Store
/ical-generator.sublime-workspace
/ical-generator.sublime-project
/node_modules/
/coverage/

/.idea/
/code-visualization
/test-result
/.nyc_output
/lib
/.idea
/dist
/yarn.lock
/docs
/node_modules
6 changes: 6 additions & 0 deletions .mocharc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
require:
- ts-node/register
- source-map-support/register
full-trace: true
extension:
- ts
11 changes: 0 additions & 11 deletions .npmignore

This file was deleted.

30 changes: 30 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"cache": false,
"check-coverage": true,
"extension": [
".ts"
],
"include": [
"src/**/*.ts"
],
"exclude": [
"coverage/**",
"node_modules/**"
],
"report-dir": "./docs/coverage/",
"temp-directory": "./.nyc_output",
"sourceMap": true,
"reporter": [
"text",
"text-summary",
"cobertura",
"html"
],
"all": true,
"instrument": true,
"branches": 95,
"lines": 95,
"functions": 92,
"statements": 95,
"per-file": true
}
Loading