@silgi/module-builder 0.4.10 → 0.5.0

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.
@@ -15,7 +15,7 @@ import { pkgDir } from 'silgi/runtime/meta';
15
15
  import { parse } from 'tsconfck';
16
16
  import { convertCompilerOptionsFromJson } from 'typescript';
17
17
  import { scanExports } from 'unimport';
18
- import { v as version, n as name } from '../shared/silgi-module-builder.ZjRZQ_Qg.mjs';
18
+ import { v as version, n as name } from '../shared/silgi-module-builder.C_PBPHPz.mjs';
19
19
 
20
20
  const srcDir = fileURLToPath(new URL("src", import.meta.url));
21
21
  const subpaths = [
@@ -65,7 +65,15 @@ const build = defineCommand({
65
65
  entries.push({
66
66
  input: "src/data/",
67
67
  outDir: `${outDir}/data`,
68
- builder: "rollup"
68
+ addRelativeDeclarationExtensions: true,
69
+ ext: "js",
70
+ pattern: [
71
+ "**",
72
+ "!**/*.stories.{js,cts,mts,ts,jsx,tsx}",
73
+ // ignore storybook files
74
+ "!**/*.{spec,test}.{js,cts,mts,ts,jsx,tsx}"
75
+ // ignore tests
76
+ ]
69
77
  });
70
78
  }
71
79
  if (isRuntimeFolder) {
package/dist/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { defineCommand, runMain } from 'citty';
3
3
  import { consola } from 'consola';
4
- import { v as version, d as description, n as name } from './shared/silgi-module-builder.ZjRZQ_Qg.mjs';
4
+ import { v as version, d as description, n as name } from './shared/silgi-module-builder.C_PBPHPz.mjs';
5
5
 
6
6
  const _rDefault = (r) => r && typeof r === "object" && "default" in r ? r.default : r;
7
7
  const main = defineCommand({
package/dist/index.mjs CHANGED
@@ -16,4 +16,4 @@ import 'silgi/runtime/meta';
16
16
  import 'tsconfck';
17
17
  import 'typescript';
18
18
  import 'unimport';
19
- import './shared/silgi-module-builder.ZjRZQ_Qg.mjs';
19
+ import './shared/silgi-module-builder.C_PBPHPz.mjs';
@@ -1,5 +1,5 @@
1
1
  const name = "@silgi/module-builder";
2
- const version = "0.4.10";
2
+ const version = "0.5.0";
3
3
  const description = "Complete solution for building Silgi modules";
4
4
 
5
5
  export { description as d, name as n, version as v };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@silgi/module-builder",
3
3
  "type": "module",
4
- "version": "0.4.10",
4
+ "version": "0.5.0",
5
5
  "private": false,
6
6
  "description": "Complete solution for building Silgi modules",
7
7
  "exports": {
package/dist/cli.d.ts DELETED
@@ -1 +0,0 @@
1
-
package/dist/index.d.ts DELETED
@@ -1,27 +0,0 @@
1
- import * as citty from 'citty';
2
-
3
- declare const _default: citty.CommandDef<{
4
- cwd: {
5
- type: "string";
6
- description: string;
7
- };
8
- rootDir: {
9
- type: "positional";
10
- description: string;
11
- required: false;
12
- };
13
- outDir: {
14
- type: "string";
15
- };
16
- sourcemap: {
17
- type: "boolean";
18
- };
19
- stub: {
20
- type: "boolean";
21
- };
22
- check: {
23
- type: "boolean";
24
- };
25
- }>;
26
-
27
- export { _default as build };