Skip to content

Commit

Permalink
set up meta for new packaging system
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Jul 29, 2020
1 parent 331711f commit 8018686
Show file tree
Hide file tree
Showing 35 changed files with 133 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages-premium
4 changes: 4 additions & 0 deletions packages/bootstrap/package.json
Expand Up @@ -8,8 +8,12 @@
"@fullcalendar/common": "~5.1.0",
"tslib": "^2.0.0"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"module": "main.combo.js",
"jsdelivr": "main.global.min.js",
"browserGlobal": "FullCalendarBootstrap",
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions packages/bootstrap/src/main.combo.ts
@@ -0,0 +1,4 @@

export { default } from './main'
export * from './main'
import './main.css'
7 changes: 7 additions & 0 deletions packages/bootstrap/src/main.global.ts
@@ -0,0 +1,7 @@

import { globalPlugins } from '@fullcalendar/common'
import plugin from './main'

globalPlugins.push(plugin)

export * from './main'
1 change: 0 additions & 1 deletion packages/bootstrap/src/main.ts
@@ -1,5 +1,4 @@
import { Theme, createPlugin } from '@fullcalendar/common'
import './main.css'

export class BootstrapTheme extends Theme {
}
Expand Down
4 changes: 2 additions & 2 deletions packages/bundle/package.json
Expand Up @@ -14,8 +14,8 @@
"@fullcalendar/google-calendar": "~5.1.0"
},
"main": "main.js",
"unpkg": "main.min.js",
"types": "main.d.ts",
"jsdelivr": "main.min.js",
"browserGlobal": "FullCalendar",
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions packages/common/package.json
Expand Up @@ -7,8 +7,10 @@
"dependencies": {
"tslib": "^2.0.0"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"module": "main.combo.js",
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions packages/common/src/main.combo.ts
@@ -0,0 +1,3 @@

export * from './main'
import './main.css'
1 change: 0 additions & 1 deletion packages/common/src/main.ts
@@ -1,4 +1,3 @@
import './main.css'

// exports
// --------------------------------------------------------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion packages/core-vdom/package.json
Expand Up @@ -2,6 +2,7 @@
"private": true,
"name": "@fullcalendar/core-vdom",
"version": "5.1.0",
"module": "tsc/vdom.js",
"type": "module",
"main": "tsc/vdom.js",
"types": "tsc/vdom.d.ts"
}
3 changes: 3 additions & 0 deletions packages/core/package.json
Expand Up @@ -9,8 +9,11 @@
"preact": "^10.0.5",
"tslib": "^2.0.0"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"jsdelivr": "main.global.min.js",
"browserGlobal": "FullCalendar",
"sideEffects": true,
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
Expand Down
4 changes: 4 additions & 0 deletions packages/daygrid/package.json
Expand Up @@ -8,8 +8,12 @@
"@fullcalendar/common": "~5.1.0",
"tslib": "^2.0.0"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"module": "main.combo.js",
"jsdelivr": "main.global.min.js",
"browserGlobal": "FullCalendarDayGrid",
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions packages/daygrid/src/main.combo.ts
@@ -0,0 +1,4 @@

export { default } from './main'
export * from './main'
import './main.css'
7 changes: 7 additions & 0 deletions packages/daygrid/src/main.global.ts
@@ -0,0 +1,7 @@

import { globalPlugins } from '@fullcalendar/common'
import plugin from './main'

globalPlugins.push(plugin)

export * from './main'
1 change: 0 additions & 1 deletion packages/daygrid/src/main.ts
@@ -1,6 +1,5 @@
import { createPlugin } from '@fullcalendar/common'
import { DayTableView } from './DayTableView'
import './main.css'
import { TableDateProfileGenerator } from './TableDateProfileGenerator'
import { OPTION_REFINERS } from './options'
import './options-declare'
Expand Down
3 changes: 3 additions & 0 deletions packages/google-calendar/package.json
Expand Up @@ -8,8 +8,11 @@
"@fullcalendar/common": "~5.1.0",
"tslib": "^2.0.0"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"jsdelivr": "main.global.min.js",
"browserGlobal": "FullCalendarGoogleCalendar",
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/google-calendar/src/main.global.ts
@@ -0,0 +1,7 @@

import { globalPlugins } from '@fullcalendar/common'
import plugin from './main'

globalPlugins.push(plugin)

export * from './main'
3 changes: 3 additions & 0 deletions packages/interaction/package.json
Expand Up @@ -8,8 +8,11 @@
"@fullcalendar/common": "~5.1.0",
"tslib": "^2.0.0"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"jsdelivr": "main.global.min.js",
"browserGlobal": "FullCalendarInteraction",
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/interaction/src/main.global.ts
@@ -0,0 +1,7 @@

import { globalPlugins } from '@fullcalendar/common'
import plugin from './main'

globalPlugins.push(plugin)

export * from './main'
4 changes: 4 additions & 0 deletions packages/list/package.json
Expand Up @@ -8,8 +8,12 @@
"@fullcalendar/common": "~5.1.0",
"tslib": "^2.0.0"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"module": "main.combo.js",
"jsdelivr": "main.global.min.js",
"browserGlobal": "FullCalendarList",
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions packages/list/src/main.combo.ts
@@ -0,0 +1,4 @@

export { default } from './main'
export * from './main'
import './main.css'
7 changes: 7 additions & 0 deletions packages/list/src/main.global.ts
@@ -0,0 +1,7 @@

import { globalPlugins } from '@fullcalendar/common'
import plugin from './main'

globalPlugins.push(plugin)

export * from './main'
1 change: 0 additions & 1 deletion packages/list/src/main.ts
Expand Up @@ -2,7 +2,6 @@ import { createPlugin } from '@fullcalendar/common'
import { ListView } from './ListView'
import { OPTION_REFINERS } from './options'
import './options-declare'
import './main.css'

export { ListView }
export * from './api-type-deps'
Expand Down
3 changes: 3 additions & 0 deletions packages/luxon/package.json
Expand Up @@ -14,8 +14,11 @@
"devDependencies": {
"luxon": "^1.12.1"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"jsdelivr": "main.global.min.js",
"browserGlobal": "FullCalendarLuxon",
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/luxon/src/main.global.ts
@@ -0,0 +1,7 @@

import { globalPlugins } from '@fullcalendar/common'
import plugin from './main'

globalPlugins.push(plugin)

export * from './main'
3 changes: 3 additions & 0 deletions packages/moment-timezone/package.json
Expand Up @@ -16,8 +16,11 @@
"moment": "^2.24.0",
"moment-timezone": "^0.5.26"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"jsdelivr": "main.global.min.js",
"browserGlobal": "FullCalendarMomentTimezone",
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/moment-timezone/src/main.global.ts
@@ -0,0 +1,7 @@

import { globalPlugins } from '@fullcalendar/common'
import plugin from './main'

globalPlugins.push(plugin)

export * from './main'
3 changes: 3 additions & 0 deletions packages/moment/package.json
Expand Up @@ -14,8 +14,11 @@
"devDependencies": {
"moment": "^2.24.0"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"jsdelivr": "main.global.min.js",
"browserGlobal": "FullCalendarMoment",
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/moment/src/main.global.ts
@@ -0,0 +1,7 @@

import { globalPlugins } from '@fullcalendar/common'
import plugin from './main'

globalPlugins.push(plugin)

export * from './main'
3 changes: 3 additions & 0 deletions packages/rrule/package.json
Expand Up @@ -14,8 +14,11 @@
"devDependencies": {
"rrule": "^2.6.0"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"jsdelivr": "main.global.min.js",
"browserGlobal": "FullCalendarRRule",
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/rrule/src/main.global.ts
@@ -0,0 +1,7 @@

import { globalPlugins } from '@fullcalendar/common'
import plugin from './main'

globalPlugins.push(plugin)

export * from './main'
4 changes: 4 additions & 0 deletions packages/timegrid/package.json
Expand Up @@ -9,8 +9,12 @@
"@fullcalendar/daygrid": "~5.1.0",
"tslib": "^2.0.0"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"module": "main.combo.js",
"jsdelivr": "main.global.min.js",
"browserGlobal": "FullCalendarTimeGrid",
"homepage": "https://fullcalendar.io/",
"bugs": "https://fullcalendar.io/reporting-bugs",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions packages/timegrid/src/main.combo.ts
@@ -0,0 +1,4 @@

export { default } from './main'
export * from './main'
import './main.css'
7 changes: 7 additions & 0 deletions packages/timegrid/src/main.global.ts
@@ -0,0 +1,7 @@

import { globalPlugins } from '@fullcalendar/common'
import plugin from './main'

globalPlugins.push(plugin)

export * from './main'
1 change: 0 additions & 1 deletion packages/timegrid/src/main.ts
Expand Up @@ -5,7 +5,6 @@ import { TimeColsSeg } from './TimeColsSeg'
import { DayTimeCols, DayTimeColsSlicer, buildDayRanges } from './DayTimeCols'
import { OPTION_REFINERS } from './options'
import './options-declare'
import './main.css'

export { DayTimeCols, DayTimeColsView, TimeColsView, buildTimeColsModel, buildDayRanges, DayTimeColsSlicer, TimeColsSeg }
export { TimeCols } from './TimeCols'
Expand Down

0 comments on commit 8018686

Please sign in to comment.