Skip to content

Commit 557ca79

Browse files
committed
Update Nutmeg
1 parent 17c814f commit 557ca79

File tree

4 files changed

+35
-28
lines changed

4 files changed

+35
-28
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
"watch": "npx nutmeg watch ."
3838
},
3939
"dependencies": {
40-
"@nutmeg/seed": "0.13.0",
40+
"@nutmeg/seed": "0.17.0",
4141
"approximate-number": "2.0.0"
4242
},
4343
"devDependencies": {
44-
"@nutmeg/cli": "0.15.0"
44+
"@nutmeg/cli": "0.17.0"
4545
}
4646
}

src/github-repository.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { Seed, Property, html, svg, TemplateResult } from '@nutmeg/seed';
1+
import { Seed, property, html, svg, TemplateResult } from '@nutmeg/seed';
22
import approximateNumber from 'approximate-number';
33

44
import { Cache } from './cache';
55
import { EmptyRepo, Repo, RepoData } from './repo';
66

77
export class GithubRepository extends Seed {
8-
@Property() public ownerRepo: string = '';
8+
@property({ type: String }) public ownerRepo: string = '';
99

1010
private _repo: Repo | EmptyRepo = new EmptyRepo();
1111
private cache: Cache;

tsconfig.json

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,7 @@
11
{
2-
"compilerOptions": {
3-
"declaration": true,
4-
"emitDecoratorMetadata": true,
5-
"experimentalDecorators": true,
6-
"inlineSources": true,
7-
"lib": ["esnext", "dom"],
8-
"module": "esnext",
9-
"moduleResolution": "node",
10-
"noFallthroughCasesInSwitch": true,
11-
"noImplicitAny": true,
12-
"noImplicitReturns": true,
13-
"noUnusedParameters": true,
14-
"outDir": "dist",
15-
"skipLibCheck": true,
16-
"sourceMap": true,
17-
"sourceRoot": "src",
18-
"strict": true,
19-
"target": "esnext",
20-
},
21-
"exclude": [
22-
"node_modules",
23-
"dist",
24-
],
2+
"extends": "./tsconfig.production",
253
"include": [
264
"src",
27-
],
5+
"test"
6+
]
287
}

tsconfig.production.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"compilerOptions": {
3+
"declaration": true,
4+
"emitDecoratorMetadata": true,
5+
"experimentalDecorators": true,
6+
"inlineSources": true,
7+
"lib": ["esnext", "dom"],
8+
"module": "esnext",
9+
"moduleResolution": "node",
10+
"noFallthroughCasesInSwitch": true,
11+
"noImplicitAny": true,
12+
"noImplicitReturns": true,
13+
"noUnusedParameters": true,
14+
"outDir": "dist",
15+
"skipLibCheck": true,
16+
"sourceMap": true,
17+
"sourceRoot": "src",
18+
"strict": true,
19+
"target": "esnext"
20+
},
21+
"include": [
22+
"src"
23+
],
24+
"exclude": [
25+
"node_modules",
26+
"dist"
27+
]
28+
}

0 commit comments

Comments
 (0)