Skip to content

Commit d735498

Browse files
authored
Update deps to [email protected] (#59)
1 parent 625f5bd commit d735498

File tree

11 files changed

+21
-70
lines changed

11 files changed

+21
-70
lines changed

docs/contributor_guide.md

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
# kpt functions Contributor Guide
2-
3-
## Building and testing all kpt functions packages
4-
5-
```console
6-
# Run the package.json scripts for validation after making changes
7-
npm run build
8-
npm run watch
9-
npm test
10-
```
1+
# KPT Functions Contributor Guide
112

123
## Adding a new dependency
134

@@ -31,16 +22,11 @@ we need to check licenses:
3122
npm run lint-license
3223
```
3324

34-
## Building typgen binary
35-
36-
TO re-build typegen binary:
25+
## Releases
3726

38-
```console
39-
./scripts/build-typegen.sh
40-
```
41-
42-
## Generate example package
43-
44-
```console
45-
./scripts/generate-example.sh
46-
```
27+
1. Update version in package.json to e.g. `0.10.0-rc.1`
28+
2. Create a RC in GitHub, e.g: `release-kpt-functions-v0.10.0-rc.1`
29+
This will trigger a release job in GitHub actions
30+
3. Create a PR changing dependant packages to use the rc version.
31+
4. If the CI passes for this PR, edit release created in #2 and remove `-rc.1`.
32+
5. Edit PR in #4 to remove `-rc.1`.

ts/create-kpt-functions/templates/package.json.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"kpt:type-create": "kpt type-create"
1616
},
1717
"dependencies": {
18-
"@googlecontainertools/kpt-functions": "^0.9.0"
18+
"@googlecontainertools/kpt-functions": "^0.10.0"
1919
},
2020
"devDependencies": {
2121
"@googlecontainertools/create-kpt-functions": "^0.11.0",

ts/demo-functions/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts/demo-functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"kpt:type-create": "kpt type-create"
2323
},
2424
"dependencies": {
25-
"@googlecontainertools/kpt-functions": "^0.9.0",
25+
"@googlecontainertools/kpt-functions": "^0.10.0",
2626
"glob": "^7.1.3",
2727
"js-yaml": "^3.13.1"
2828
},

ts/hello-world/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts/hello-world/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"kpt:type-create": "kpt type-create"
1616
},
1717
"dependencies": {
18-
"@googlecontainertools/kpt-functions": "^0.9.0"
18+
"@googlecontainertools/kpt-functions": "^0.10.0"
1919
},
2020
"devDependencies": {
2121
"@googlecontainertools/create-kpt-functions": "^0.11.0",

ts/hello-world/src/my_func.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

ts/hello-world/src/my_func_run.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

ts/hello-world/src/my_func_test.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

ts/init-package/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)