Browse Source

Configure packages

Use correct names and IDs for imports and package.json files.
master
TheoryOfNekomata 1 week 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",
"files": [
"dist",
@@ -32,7 +32,7 @@
"test": "vitest"
},
"private": true,
"description": "CLI app.",
"description": "CLI app for Patchouli--Compile PDF and EPUB files from static Web assets.",
"repository": {
"url": "",
"type": "git"
@@ -64,7 +64,7 @@
},
"dependencies": {
"@clack/prompts": "^0.7.0",
"@modal-sh/core": "workspace:*",
"@modal-sh/patchouli-core": "workspace:*",
"pino": "^8.20.0",
"yargs": "^17.7.2"
}


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

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

export interface AdderService {
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",
"files": [
"dist",
@@ -31,7 +31,7 @@
"test": "vitest"
},
"private": true,
"description": "Core library.",
"description": "Compile PDF and EPUB files from static Web assets.",
"repository": {
"url": "",
"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",
"files": [
"dist",
@@ -20,7 +20,7 @@
"vitest": "^1.5.0"
},
"dependencies": {
"@modal-sh/core": "workspace:*",
"@modal-sh/patchouli-core": "workspace:*",
"fastify": "^4.26.2"
},
"scripts": {
@@ -35,7 +35,7 @@
"test": "vitest"
},
"private": true,
"description": "Web API.",
"description": "Web API for Patchouli--Compile PDF and EPUB files from static Web assets.",
"repository": {
"url": "",
"type": "git"


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

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

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


+ 2
- 2
pnpm-lock.yaml View File

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

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


Loading…
Cancel
Save