Skip to content

Commit 1a3eb1b

Browse files
committed
Update core library to 1.9.x
1 parent 2305c56 commit 1a3eb1b

File tree

10 files changed

+15652
-7114
lines changed

10 files changed

+15652
-7114
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ that you have [NPM](https://www.npmjs.com/) installed, then run:
7070
npm install
7171
```
7272

73+
## (re) Generating code
74+
75+
```
76+
cd ../
77+
git clone https://github.com/kubernetes-client/gen
78+
cd javascript
79+
../gen/openapi/javascript.sh node-client/src settings
80+
```
81+
7382
# Testing
7483

7584
Tests are written using the [Chai](http://chaijs.com/) library. See

node-client/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export * from './src/config';
2+
export * from './src/api';
3+
export * from './src/attach';
4+
export * from './src/watch';
5+
export * from './src/exec';

node-client/package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
22
"name": "@kubernetes/client-node",
3-
"version": "0.1.3",
3+
"version": "0.2.0",
44
"description": "NodeJS client for kubernetes",
55
"repository": {
66
"type": "git",
77
"url": "git+https://github.com/kubernetes-client/javascript.git"
88
},
99
"files": [
10-
"*.ts",
11-
"*.js"
10+
"dist/src/*.ts",
11+
"dist/src/*.js",
12+
"index.ts"
1213
],
13-
"main": "index.js",
14+
"main": "dist/index.js",
15+
"types": "dist/index.d.ts",
1416
"scripts": {
1517
"clean": "rm -Rf node_modules/ dist/",
1618
"build": "tsc",

node-client/src/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
wwwroot/*.js
2+
node_modules
3+
typings
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Swagger Codegen Ignore
2+
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Requested Commit: v2.2.3
2+
Actual Commit: 049b1b2bcc904e1179a0e9b11124ed8fa0e3be2e
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.2.3

0 commit comments

Comments
 (0)