Skip to content

Commit 7cdc58b

Browse files
authored
Merge pull request #108 from classmodel/include-json-npmjs
Include config.json on publish
2 parents a868f09 + f4443d9 commit 7cdc58b

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

apps/class-solid/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "class-solid",
33
"private": true,
4-
"version": "0.0.14",
4+
"version": "0.0.15",
55
"type": "module",
66
"scripts": {
77
"dev": "vinxi dev",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"private": true,
3-
"version": "0.0.14",
3+
"version": "0.0.15",
44
"scripts": {
55
"build": "turbo build",
66
"dev": "turbo dev",

packages/class/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pnpx @classmodel/class run config.json
3232
# Outputs h variable for each timestep in JSON format
3333

3434
# To output csv use
35-
pnpx @classmodel/class run --output output.csv --formtat csv config.json
35+
pnpx @classmodel/class run --output output.csv --format csv config.json
3636

3737
# To read from stdin use
3838
cat config.json | pnpx @classmodel/class -

packages/class/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@classmodel/class",
33
"description": "Chemistry Land-surface Atmosphere Soil Slab (CLASS) model",
44
"type": "module",
5-
"version": "0.0.14",
5+
"version": "0.0.15",
66
"exports": {
77
"./package.json": "./package.json",
88
"./class": {
@@ -69,7 +69,8 @@
6969
"dev": "concurrently -n \"tsc,json2ts\" -c \"blue,green\" \"pnpm dev:tsc\" \"pnpm json2ts --watch\"",
7070
"dev:tsc": "tsc --watch",
7171
"build:tsc": "tsc",
72-
"build": "pnpm json2ts && pnpm build:tsc",
72+
"build:config": "cp src/config.json dist/config.json",
73+
"build": "pnpm json2ts && pnpm build:tsc && pnpm build:config",
7374
"prepack": "pnpm build",
7475
"test": "tsx --test src/*.test.ts",
7576
"typecheck": "tsc --noEmit",

0 commit comments

Comments
 (0)