@forklaunch/implementation-billing-base 0.1.0 → 0.1.2

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.
Files changed (2) hide show
  1. package/package.json +5 -12
  2. package/tsconfig.json +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/implementation-billing-base",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Billing basic implementation for forklaunch",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "license": "MIT",
14
14
  "author": "Forklift Technologies, Inc.",
15
- "main": "server.ts",
15
+ "types": "./lib/index.d.ts",
16
16
  "dependencies": {
17
17
  "@forklaunch/common": "^0.2.5",
18
18
  "@forklaunch/core": "^0.6.0",
@@ -21,28 +21,21 @@
21
21
  "@sinclair/typebox": "^0.34.33",
22
22
  "ajv": "^8.17.1",
23
23
  "zod": "^3.24.2",
24
- "@forklaunch/interfaces-billing": "0.1.0"
24
+ "@forklaunch/interfaces-billing": "0.1.2"
25
25
  },
26
26
  "devDependencies": {
27
27
  "depcheck": "^1.4.7",
28
28
  "prettier": "^3.5.3",
29
29
  "typedoc": "^0.28.1"
30
30
  },
31
- "mikro-orm": {
32
- "configPaths": [
33
- "./mikro-orm.config.ts",
34
- "./dist/mikro-orm.config.js"
35
- ]
36
- },
37
31
  "scripts": {
38
- "build": "tsc",
32
+ "build": "tsc && pnpm package:eject",
39
33
  "clean": "rm -rf dist pnpm.lock.yaml node_modules",
40
34
  "docs": "typedoc --out docs *",
41
35
  "format": "prettier --ignore-path=.prettierignore --config .prettierrc '**/*.{ts,tsx,json}' --write",
42
36
  "lint": "eslint . -c eslint.config.mjs",
43
37
  "lint:fix": "eslint . -c eslint.config.mjs --fix",
44
- "start": "ENV_FILE_PATH=.env.local NODE_OPTIONS='--import=tsx' node dist/server.js",
45
- "start:bun": "bun run migrate:up && bun dist/server.js",
38
+ "package:eject": "mkdir -p lib/eject && cp -r schemas/zod lib/eject/schemas && cp -r services lib/eject/services",
46
39
  "test": "vitest --passWithNoTests"
47
40
  }
48
41
  }
package/tsconfig.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "extends": "../../../tsconfig.base.json",
3
3
  "compilerOptions": {
4
- "outDir": "dist"
4
+ "outDir": "lib"
5
5
  },
6
- "exclude": ["node_modules", "dist", "eslint.config.mjs"]
6
+ "exclude": ["node_modules", "lib", "eslint.config.mjs"]
7
7
  }