Browse Source

Configure packages

Use correct names and IDs for imports and package.json files.
master
TheoryOfNekomata 7 months ago
parent
commit
cdc9f1991f
6 changed files with 12 additions and 12 deletions
  1. +3
    -3
      packages/cli/package.json
  2. +1
    -1
      packages/cli/src/modules/adder/adder.service.ts
  3. +2
    -2
      packages/core/package.json
  4. +3
    -3
      packages/web-api/package.json
  5. +1
    -1
      packages/web-api/src/modules/adder/adder.service.ts
  6. +2
    -2
      pnpm-lock.yaml

+ 3
- 3
packages/cli/package.json View File

@@ -1,5 +1,5 @@
{ {
"name": "@modal-sh/cli",
"name": "@modal-sh/patchouli-cli",
"version": "0.0.0", "version": "0.0.0",
"files": [ "files": [
"dist", "dist",
@@ -32,7 +32,7 @@
"test": "vitest" "test": "vitest"
}, },
"private": true, "private": true,
"description": "CLI app.",
"description": "CLI app for Patchouli--Compile PDF and EPUB files from static Web assets.",
"repository": { "repository": {
"url": "", "url": "",
"type": "git" "type": "git"
@@ -64,7 +64,7 @@
}, },
"dependencies": { "dependencies": {
"@clack/prompts": "^0.7.0", "@clack/prompts": "^0.7.0",
"@modal-sh/core": "workspace:*",
"@modal-sh/patchouli-core": "workspace:*",
"pino": "^8.20.0", "pino": "^8.20.0",
"yargs": "^17.7.2" "yargs": "^17.7.2"
} }


+ 1
- 1
packages/cli/src/modules/adder/adder.service.ts View File

@@ -3,7 +3,7 @@ import {
AddFunctionOptions, AddFunctionOptions,
ArgumentOutOfRangeError, ArgumentOutOfRangeError,
InvalidArgumentTypeError, InvalidArgumentTypeError,
} from '@modal-sh/core';
} from '@modal-sh/patchouli-core';


export interface AdderService { export interface AdderService {
addNumbers(options: AddFunctionOptions): number; addNumbers(options: AddFunctionOptions): number;


+ 2
- 2
packages/core/package.json View File

@@ -1,5 +1,5 @@
{ {
"name": "@modal-sh/core",
"name": "@modal-sh/patchouli-core",
"version": "0.0.0", "version": "0.0.0",
"files": [ "files": [
"dist", "dist",
@@ -31,7 +31,7 @@
"test": "vitest" "test": "vitest"
}, },
"private": true, "private": true,
"description": "Core library.",
"description": "Compile PDF and EPUB files from static Web assets.",
"repository": { "repository": {
"url": "", "url": "",
"type": "git" "type": "git"


+ 3
- 3
packages/web-api/package.json View File

@@ -1,5 +1,5 @@
{ {
"name": "@modal-sh/web-api",
"name": "@modal-sh/patchouli-web-api",
"version": "0.0.0", "version": "0.0.0",
"files": [ "files": [
"dist", "dist",
@@ -20,7 +20,7 @@
"vitest": "^1.5.0" "vitest": "^1.5.0"
}, },
"dependencies": { "dependencies": {
"@modal-sh/core": "workspace:*",
"@modal-sh/patchouli-core": "workspace:*",
"fastify": "^4.26.2" "fastify": "^4.26.2"
}, },
"scripts": { "scripts": {
@@ -35,7 +35,7 @@
"test": "vitest" "test": "vitest"
}, },
"private": true, "private": true,
"description": "Web API.",
"description": "Web API for Patchouli--Compile PDF and EPUB files from static Web assets.",
"repository": { "repository": {
"url": "", "url": "",
"type": "git" "type": "git"


+ 1
- 1
packages/web-api/src/modules/adder/adder.service.ts View File

@@ -3,7 +3,7 @@ import {
AddFunctionOptions, AddFunctionOptions,
ArgumentOutOfRangeError, ArgumentOutOfRangeError,
InvalidArgumentTypeError, InvalidArgumentTypeError,
} from '@modal-sh/core';
} from '@modal-sh/patchouli-core';


export interface AdderService { export interface AdderService {
addNumbers(options: AddFunctionOptions): number; addNumbers(options: AddFunctionOptions): number;


+ 2
- 2
pnpm-lock.yaml View File

@@ -11,7 +11,7 @@ importers:
'@clack/prompts': '@clack/prompts':
specifier: ^0.7.0 specifier: ^0.7.0
version: 0.7.0 version: 0.7.0
'@modal-sh/core':
'@modal-sh/patchouli-core':
specifier: workspace:* specifier: workspace:*
version: link:../core version: link:../core
pino: pino:
@@ -60,7 +60,7 @@ importers:


packages/web-api: packages/web-api:
dependencies: dependencies:
'@modal-sh/core':
'@modal-sh/patchouli-core':
specifier: workspace:* specifier: workspace:*
version: link:../core version: link:../core
fastify: fastify:


Loading…
Cancel
Save