@powerlines/plugin-date 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ function d(e){return `
13
13
 
14
14
  ${fileHeader.getFileHeader()}
15
15
 
16
- import { DateFormats, TimeUnit } from "powerlines/runtime-types/shared/date";
16
+ import { DateFormats, TimeUnit } from "@powerlines/plugin-date/types/runtime";
17
17
  import { addDays as dateFnsAddDays } from "date-fns/addDays";
18
18
  import { addHours as dateFnsAddHours } from "date-fns/addHours";
19
19
  import { addMinutes as dateFnsAddMinutes } from "date-fns/addMinutes";
@@ -13,7 +13,7 @@ function u(e){return `
13
13
 
14
14
  ${getFileHeader()}
15
15
 
16
- import { DateFormats, TimeUnit } from "powerlines/runtime-types/shared/date";
16
+ import { DateFormats, TimeUnit } from "@powerlines/plugin-date/types/runtime";
17
17
  import { addDays as dateFnsAddDays } from "date-fns/addDays";
18
18
  import { addHours as dateFnsAddHours } from "date-fns/addHours";
19
19
  import { addMinutes as dateFnsAddMinutes } from "date-fns/addMinutes";
@@ -22,7 +22,7 @@ import {
22
22
  StormDateInterface,
23
23
  DateFormats,
24
24
  TimeUnit
25
- } from "powerlines/runtime-types/shared/date";
25
+ } from "@powerlines/plugin-date/types/runtime";
26
26
 
27
27
  defaultDayjs.extend(customParseFormatPlugin);
28
28
  defaultDayjs.extend(localizedFormatPlugin);
@@ -22,7 +22,7 @@ import {
22
22
  StormDateInterface,
23
23
  DateFormats,
24
24
  TimeUnit
25
- } from "powerlines/runtime-types/shared/date";
25
+ } from "@powerlines/plugin-date/types/runtime";
26
26
 
27
27
  defaultDayjs.extend(customParseFormatPlugin);
28
28
  defaultDayjs.extend(localizedFormatPlugin);
@@ -18,7 +18,7 @@ import {
18
18
  StormDateInterface,
19
19
  DateFormats,
20
20
  TimeUnit
21
- } from "powerlines/runtime-types/shared/date";
21
+ } from "@powerlines/plugin-date/types/runtime";
22
22
 
23
23
  export const formats: DateFormats = {
24
24
  dayOfMonth: "d",
@@ -18,7 +18,7 @@ import {
18
18
  StormDateInterface,
19
19
  DateFormats,
20
20
  TimeUnit
21
- } from "powerlines/runtime-types/shared/date";
21
+ } from "@powerlines/plugin-date/types/runtime";
22
22
 
23
23
  export const formats: DateFormats = {
24
24
  dayOfMonth: "d",
@@ -18,7 +18,7 @@ import {
18
18
  StormDateInterface,
19
19
  DateFormats,
20
20
  TimeUnit
21
- } from "powerlines/runtime-types/shared/date";
21
+ } from "@powerlines/plugin-date/types/runtime";
22
22
 
23
23
  type Moment = defaultMoment.Moment;
24
24
 
@@ -18,7 +18,7 @@ import {
18
18
  StormDateInterface,
19
19
  DateFormats,
20
20
  TimeUnit
21
- } from "powerlines/runtime-types/shared/date";
21
+ } from "@powerlines/plugin-date/types/runtime";
22
22
 
23
23
  type Moment = defaultMoment.Moment;
24
24
 
@@ -1 +1 @@
1
- 'use strict';var plugin=require('./plugin');Object.keys(plugin).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return plugin[k]}})});
1
+ 'use strict';var plugin=require('./plugin'),runtime=require('./runtime');Object.keys(plugin).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return plugin[k]}})});Object.keys(runtime).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return runtime[k]}})});
@@ -1,4 +1,5 @@
1
1
  export { DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig } from './plugin.cjs';
2
+ export { DateFormats, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩStormDateInterface, __ΩTimeUnit } from './runtime.cjs';
2
3
  import '@alloy-js/core/jsx-runtime';
3
4
  import '@babel/core';
4
5
  import '@storm-software/build-tools/types';
@@ -1,4 +1,5 @@
1
1
  export { DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig } from './plugin.js';
2
+ export { DateFormats, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩStormDateInterface, __ΩTimeUnit } from './runtime.js';
2
3
  import '@alloy-js/core/jsx-runtime';
3
4
  import '@babel/core';
4
5
  import '@storm-software/build-tools/types';
@@ -1 +1 @@
1
- export*from'./plugin';
1
+ export*from'./plugin';export*from'./runtime';
@@ -0,0 +1 @@
1
+ 'use strict';