@powerlines/plugin-id 0.9.54 → 0.9.56
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/index.cjs +1 -1
- package/dist/components/index.d.cts +4 -20
- package/dist/components/index.d.mts +4 -0
- package/dist/components/index.mjs +1 -0
- package/dist/components/nanoid.cjs +1 -96
- package/dist/components/nanoid.d.cts +3 -29
- package/dist/components/nanoid.d.mts +3 -0
- package/dist/components/nanoid.mjs +1 -0
- package/dist/components-CeJvJXAB.mjs +1 -0
- package/dist/index-9iG2qHLe.d.mts +1 -0
- package/dist/index-D4ELpJXS.d.cts +1 -0
- package/dist/index-D6CnpA_r.d.cts +1 -0
- package/dist/index-DL0uimUT.d.mts +1 -0
- package/dist/index.cjs +1 -7
- package/dist/index.d.cts +9 -23
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/dist/nanoid-BMwJGbL3.cjs +99 -0
- package/dist/{components/nanoid.js → nanoid-Clx2gSOJ.mjs} +12 -8
- package/dist/nanoid-Clx2gSOJ.mjs.map +1 -0
- package/dist/nanoid-DaJQFnTo.d.mts +14 -0
- package/dist/nanoid-DaJQFnTo.d.mts.map +1 -0
- package/dist/nanoid-EQ7i4b1_.d.cts +14 -0
- package/dist/nanoid-EQ7i4b1_.d.cts.map +1 -0
- package/dist/plugin-BjiGfRHE.mjs +1 -0
- package/dist/plugin-DMubQ9jR.d.mts +1673 -0
- package/dist/plugin-DMubQ9jR.d.mts.map +1 -0
- package/dist/plugin-STBvIMqO.d.cts +1673 -0
- package/dist/plugin-STBvIMqO.d.cts.map +1 -0
- package/dist/plugin-pBKbb5K9.cjs +0 -0
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +3 -19
- package/dist/types/index.d.mts +3 -0
- package/dist/types/index.mjs +1 -0
- package/dist/types/plugin.cjs +1 -1
- package/dist/types/plugin.d.cts +2 -19
- package/dist/types/plugin.d.mts +2 -0
- package/dist/types/plugin.mjs +1 -0
- package/dist/types-n6NgD0QK.mjs +1 -0
- package/dist/types-o3zWarRp.cjs +0 -0
- package/package.json +37 -25
- package/dist/chunk-FBBMZ4NC.cjs +0 -7
- package/dist/chunk-UCUR73HG.js +0 -7
- package/dist/components/index.d.ts +0 -20
- package/dist/components/index.js +0 -1
- package/dist/components/nanoid.d.ts +0 -29
- package/dist/index-50fDVT85.d.cts +0 -1514
- package/dist/index-50fDVT85.d.ts +0 -1514
- package/dist/index.d.ts +0 -28
- package/dist/index.js +0 -7
- package/dist/types/index.d.ts +0 -19
- package/dist/types/index.js +0 -1
- package/dist/types/plugin.d.ts +0 -19
- /package/dist/{types/plugin.js → components-BWLXb7a2.cjs} +0 -0
package/dist/index.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from './index-50fDVT85.js';
|
|
2
|
-
export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from './index-50fDVT85.js';
|
|
3
|
-
export { nanoidModule } from './components/nanoid.js';
|
|
4
|
-
import '@storm-software/build-tools/types';
|
|
5
|
-
import '@storm-software/config-tools/types';
|
|
6
|
-
import '@storm-software/config/types';
|
|
7
|
-
import '@stryke/types/base';
|
|
8
|
-
import '@stryke/types/configuration';
|
|
9
|
-
import '@stryke/types/file';
|
|
10
|
-
import 'vite';
|
|
11
|
-
import '@stryke/env/get-env-paths';
|
|
12
|
-
import '@stryke/types/package-json';
|
|
13
|
-
import 'jiti';
|
|
14
|
-
import 'magic-string';
|
|
15
|
-
import 'semver';
|
|
16
|
-
import 'ts-morph';
|
|
17
|
-
import 'unplugin';
|
|
18
|
-
import '@stryke/fs/resolve';
|
|
19
|
-
import '@stryke/types/tsconfig';
|
|
20
|
-
import 'typescript';
|
|
21
|
-
import '@stryke/types/array';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
25
|
-
*/
|
|
26
|
-
declare function plugin(options?: IdPluginOptions): Plugin<IdPluginContext>;
|
|
27
|
-
|
|
28
|
-
export { IdPluginContext, IdPluginOptions, plugin as default, plugin };
|
package/dist/index.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-UCUR73HG.js';import {LogLevelLabel}from'@storm-software/config-tools/types';import o from'defu';import {nanoidModule}from'./components/nanoid';export*from'./components';export*from'./types';/*****************************************
|
|
2
|
-
*
|
|
3
|
-
* ⚡ Built by Storm Software
|
|
4
|
-
*
|
|
5
|
-
*****************************************/
|
|
6
|
-
|
|
7
|
-
function d(e={}){return {name:"id",async config(){this.log(LogLevelLabel.TRACE,"Providing default configuration for the Powerlines `id` build plugin.");const i={id:o(e,{type:"nanoid"})};return (!i.id.type||!["nanoid"].includes(i.id.type))&&(i.id.type&&this.log(LogLevelLabel.WARN,`Invalid ID generation type "${i.id.type}" specified. Defaulting to "nanoid".`),i.id.type="nanoid"),this.log(LogLevelLabel.DEBUG,`Using ID generation library: ${i.id.type}`),i},async prepare(){this.log(LogLevelLabel.TRACE,"Preparing the ID runtime artifacts for the Powerlines project.");let i;switch(this.config.id.type){case "nanoid":default:i=nanoidModule;break}await this.emitBuiltin(await Promise.resolve(i(this)),"id","id.ts");}}}a(d,"plugin");var h=d;export{h as default,d as plugin};
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from '../index-50fDVT85.js';
|
|
2
|
-
import '@storm-software/build-tools/types';
|
|
3
|
-
import '@storm-software/config-tools/types';
|
|
4
|
-
import '@storm-software/config/types';
|
|
5
|
-
import '@stryke/types/base';
|
|
6
|
-
import '@stryke/types/configuration';
|
|
7
|
-
import '@stryke/types/file';
|
|
8
|
-
import 'vite';
|
|
9
|
-
import '@stryke/env/get-env-paths';
|
|
10
|
-
import '@stryke/types/package-json';
|
|
11
|
-
import 'jiti';
|
|
12
|
-
import 'magic-string';
|
|
13
|
-
import 'semver';
|
|
14
|
-
import 'ts-morph';
|
|
15
|
-
import 'unplugin';
|
|
16
|
-
import '@stryke/fs/resolve';
|
|
17
|
-
import '@stryke/types/tsconfig';
|
|
18
|
-
import 'typescript';
|
|
19
|
-
import '@stryke/types/array';
|
package/dist/types/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from'./plugin';
|
package/dist/types/plugin.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType, g as __ΩIdPluginContext, d as __ΩIdPluginOptions, f as __ΩIdPluginResolvedConfig, e as __ΩIdPluginUserConfig, _ as __ΩUniqueIdFormatType } from '../index-50fDVT85.js';
|
|
2
|
-
import '@storm-software/build-tools/types';
|
|
3
|
-
import '@storm-software/config-tools/types';
|
|
4
|
-
import '@storm-software/config/types';
|
|
5
|
-
import '@stryke/types/base';
|
|
6
|
-
import '@stryke/types/configuration';
|
|
7
|
-
import '@stryke/types/file';
|
|
8
|
-
import 'vite';
|
|
9
|
-
import '@stryke/env/get-env-paths';
|
|
10
|
-
import '@stryke/types/package-json';
|
|
11
|
-
import 'jiti';
|
|
12
|
-
import 'magic-string';
|
|
13
|
-
import 'semver';
|
|
14
|
-
import 'ts-morph';
|
|
15
|
-
import 'unplugin';
|
|
16
|
-
import '@stryke/fs/resolve';
|
|
17
|
-
import '@stryke/types/tsconfig';
|
|
18
|
-
import 'typescript';
|
|
19
|
-
import '@stryke/types/array';
|
|
File without changes
|