@vlandoss/starter 0.0.13-git-b6db97f.0 → 0.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vlandoss/starter",
3
- "version": "0.0.13-git-b6db97f.0",
3
+ "version": "0.0.14",
4
4
  "description": "The CLI to init a new project in Variable Land",
5
5
  "homepage": "https://github.com/variableland/dx/tree/main/packages/starter#readme",
6
6
  "bugs": {
@@ -13,6 +13,9 @@
13
13
  "license": "MIT",
14
14
  "author": "rcrd <rcrd@variable.land>",
15
15
  "type": "module",
16
+ "imports": {
17
+ "#src/*": "./src/*"
18
+ },
16
19
  "module": "src/main.ts",
17
20
  "bin": {
18
21
  "vland": "./bin.ts"
@@ -26,8 +29,8 @@
26
29
  "dependencies": {
27
30
  "commander": "14.0.3",
28
31
  "node-plop": "0.32.3",
29
- "@vlandoss/clibuddy": "0.0.9-git-b6db97f.0",
30
- "@vlandoss/loggy": "0.0.6"
32
+ "@vlandoss/clibuddy": "0.0.10",
33
+ "@vlandoss/loggy": "0.0.7"
31
34
  },
32
35
  "publishConfig": {
33
36
  "access": "public"
@@ -1,6 +1,6 @@
1
1
  import path from "node:path";
2
2
  import type { NodePlopAPI } from "node-plop";
3
- import { ConfigService } from "#/services/config";
3
+ import { ConfigService } from "#src/services/config.ts";
4
4
  import { tsconfigPrompts } from "./prompts/tsconfig";
5
5
 
6
6
  const validators = {
@@ -1,5 +1,5 @@
1
- import { logger } from "#/services/logger";
2
- import type { TemplateService } from "#/services/types";
1
+ import { logger } from "#src/services/logger.ts";
2
+ import type { TemplateService } from "#src/services/types.ts";
3
3
  import type { AnyAction } from "./types";
4
4
 
5
5
  type CreateOptions = {
@@ -1,6 +1,6 @@
1
1
  import type { ShellService } from "@vlandoss/clibuddy";
2
- import { logger } from "#/services/logger";
3
- import type { TemplateService } from "#/services/types";
2
+ import { logger } from "#src/services/logger.ts";
3
+ import type { TemplateService } from "#src/services/types.ts";
4
4
  import type { AnyAction } from "./types";
5
5
 
6
6
  type ExecuteOptions = {
package/src/main.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { run } from "@vlandoss/clibuddy";
2
- import { createProgram, type Options } from "./program";
3
- import { logger } from "./services/logger";
2
+ import { createProgram, type Options } from "./program/index.ts";
3
+ import { logger } from "./services/logger.ts";
4
4
 
5
5
  export async function main(options: Options) {
6
6
  await run(async () => {
@@ -1,9 +1,9 @@
1
1
  import { cwd } from "@vlandoss/clibuddy";
2
2
  import { Argument, createCommand, Option } from "commander";
3
- import { AddAction } from "#/actions/add";
4
- import type { ContextValue } from "#/services/ctx";
5
- import { logger } from "#/services/logger";
6
- import { createPlopTemplateService } from "#/services/template";
3
+ import { AddAction } from "#src/actions/add.ts";
4
+ import type { ContextValue } from "#src/services/ctx.ts";
5
+ import { logger } from "#src/services/logger.ts";
6
+ import { createPlopTemplateService } from "#src/services/template.ts";
7
7
 
8
8
  type AddOptions = {
9
9
  dest: string;
@@ -1,9 +1,9 @@
1
1
  import { cwd } from "@vlandoss/clibuddy";
2
2
  import { Argument, createCommand, Option } from "commander";
3
- import { InitAction } from "#/actions/init";
4
- import type { ContextValue } from "#/services/ctx";
5
- import { logger } from "#/services/logger";
6
- import { createPlopTemplateService } from "#/services/template";
3
+ import { InitAction } from "#src/actions/init.ts";
4
+ import type { ContextValue } from "#src/services/ctx.ts";
5
+ import { logger } from "#src/services/logger.ts";
6
+ import { createPlopTemplateService } from "#src/services/template.ts";
7
7
 
8
8
  type InitOptions = {
9
9
  dest: string;
@@ -1,8 +1,8 @@
1
1
  import { getVersion } from "@vlandoss/clibuddy";
2
2
  import { Command } from "commander";
3
- import { createContext } from "#/services/ctx";
4
- import { createAddCommand } from "./commands/add";
5
- import { createInitCommand } from "./commands/init";
3
+ import { createContext } from "#src/services/ctx.ts";
4
+ import { createAddCommand } from "./commands/add.ts";
5
+ import { createInitCommand } from "./commands/init.ts";
6
6
  import { BANNER_TEXT } from "./ui";
7
7
 
8
8
  export type Options = {
@@ -1,7 +1,7 @@
1
1
  import fs from "node:fs";
2
2
  import { createPkgService, createShellService, type PkgService, type ShellService } from "@vlandoss/clibuddy";
3
- import { ConfigService } from "./config";
4
- import { logger } from "./logger";
3
+ import { ConfigService } from "./config.ts";
4
+ import { logger } from "./logger.ts";
5
5
 
6
6
  export type ContextValue = {
7
7
  binPkg: PkgService;
@@ -1,8 +1,8 @@
1
1
  import { join } from "node:path";
2
2
  import type { NodePlopAPI } from "node-plop";
3
3
  import nodePlop from "node-plop";
4
- import { logger } from "./logger";
5
- import type { GenerateOptions, TemplateService } from "./types";
4
+ import { logger } from "./logger.ts";
5
+ import type { GenerateOptions, TemplateService } from "./types.ts";
6
6
 
7
7
  type CreateOptions = {
8
8
  basePath: string;
package/tsconfig.json CHANGED
@@ -1,10 +1,3 @@
1
1
  {
2
- "extends": ["@total-typescript/tsconfig/bundler/no-dom/app"],
3
- "compilerOptions": {
4
- "baseUrl": ".",
5
- "paths": {
6
- "#/*": ["./src/*"],
7
- "@vlandoss/*": ["../../packages/*/src"]
8
- }
9
- }
2
+ "extends": ["@vlandoss/config/ts/no-dom/app"]
10
3
  }