Skip to content

Commit

Permalink
feat: move time zone logic and data to @nextcloud/timezones
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny committed Jun 1, 2024
1 parent dbbd593 commit 5932351
Show file tree
Hide file tree
Showing 24 changed files with 58 additions and 6,002 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/update_timezones.yml

This file was deleted.

36 changes: 36 additions & 0 deletions package-lock.json

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

16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@
".": {
"import": "./dist/index.es.mjs",
"require": "./dist/index.umd.js"
},
"./resources/timezones/zones.json": "./resources/timezones/zones.json"
}
},
"files": [
"README.md",
"LICENSE",
"dist",
"resources/timezones/zones.json"
"dist"
],
"scripts": {
"watch": "rollup --config rollup.config.js --watch",
Expand Down Expand Up @@ -61,6 +59,7 @@
"rollup-plugin-peer-deps-external": "^2.2.4"
},
"peerDependencies": {
"@nextcloud/timezones": "file:../nextcloud-timezone-library",
"ical.js": "^2.0.1",
"uuid": "^9.0.1"
},
Expand All @@ -86,6 +85,15 @@
"clearMocks": true,
"setupFiles": [
"./tests/assets/loader.js"
],
"moduleNameMapper": {
"@nextcloud/timezones": "<rootDir>/node_modules/@nextcloud/timezones"
},
"transform": {
"\\.([jt]sx?|mjs)$": "babel-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!@nextcloud/timezones)"
]
},
"browserslist": [
Expand Down
Loading

0 comments on commit 5932351

Please sign in to comment.