@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.
- package/dist/components/date-fns.cjs +1 -1
- package/dist/components/date-fns.js +1 -1
- package/dist/components/dayjs.cjs +1 -1
- package/dist/components/dayjs.js +1 -1
- package/dist/components/luxon.cjs +1 -1
- package/dist/components/luxon.js +1 -1
- package/dist/components/moment.cjs +1 -1
- package/dist/components/moment.js +1 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -1
- package/dist/types/runtime.cjs +1 -0
- package/dist/types/runtime.d.cts +710 -0
- package/dist/types/runtime.d.ts +710 -0
- package/dist/types/runtime.js +0 -0
- package/package.json +3 -3
|
@@ -13,7 +13,7 @@ function d(e){return `
|
|
|
13
13
|
|
|
14
14
|
${fileHeader.getFileHeader()}
|
|
15
15
|
|
|
16
|
-
import { DateFormats, TimeUnit } from "powerlines/
|
|
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/
|
|
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";
|
package/dist/components/dayjs.js
CHANGED
package/dist/components/luxon.js
CHANGED
package/dist/types/index.cjs
CHANGED
|
@@ -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]}})});
|
package/dist/types/index.d.cts
CHANGED
|
@@ -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';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export*from'./plugin';
|
|
1
|
+
export*from'./plugin';export*from'./runtime';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';
|