@daiyam/artifact-npm-cli-ts 0.9.4 → 0.9.6

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.
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import '../lib/cli.js';
3
+ import '../dist/cli.mjs';
@@ -0,0 +1 @@
1
+ /dist/
package/configs/npmignore CHANGED
@@ -1 +1,2 @@
1
1
  !bin
2
+ !dist/**/*.mjs
@@ -2,14 +2,11 @@
2
2
  "engines": {
3
3
  "node": ">=18.20"
4
4
  },
5
- "type": "module",
6
5
  "bin": {
7
6
  "#[[vars.BINARY_NAME]]": "bin/#[[vars.BINARY_NAME]]"
8
7
  },
9
8
  "scripts": {
10
- "build": "npm run clean && npm run compile:src",
11
- "prepack": "npm run build",
12
- "watch:build": "tsc-watch -p src --onSuccess 'npm run build'"
9
+ "clean": "rimraf dist"
13
10
  },
14
11
  "dependencies": {
15
12
  "@zokugun/cli-utils": "0.3.3",
@@ -1,7 +1,9 @@
1
1
  import logger from '@zokugun/cli-utils/logger';
2
- import { type CliOptions } from './types.js';
3
2
 
4
- export async function run(options: CliOptions): Promise<void> {
3
+ export type Options = {
4
+ };
5
+
6
+ export async function run(options: Options): Promise<void> {
5
7
  logger.beginTimer();
6
8
 
7
9
  logger.finishTimer();
@@ -0,0 +1,5 @@
1
+ {
2
+ "compilerOptions": {
3
+ "resolveJsonModule": true, /* Enable importing .json files */
4
+ },
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daiyam/artifact-npm-cli-ts",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
4
4
  "description": "The configuration to create a CLI",
5
5
  "author": {
6
6
  "name": "Baptiste Augrain",
@@ -31,5 +31,5 @@
31
31
  "project-template",
32
32
  "scaffold"
33
33
  ],
34
- "gitHead": "5c03d7b5b031d6d704cfe817a56023731fb08e2a"
34
+ "gitHead": "dd9461cd6c5f9fa7bb31f43c7905f272f916df01"
35
35
  }
@@ -1,2 +0,0 @@
1
- export type CliOptions = {
2
- };