Skip to content

Commit

Permalink
chore(templates): bump faas-js-runtime to 0.3.0 and update the name (#…
Browse files Browse the repository at this point in the history
…150)

* chore(templates): bump faas-js-runtime to 0.3.0 and update the name

The module name lost its @redhat prefix, and bumped a version. This
pulls in that latest dependency.

Running pkger for the first time on a new system also resulted in a
minor version bump for that dependency.


Signed-off-by: Lance Ball <lball@redhat.com>
  • Loading branch information
lance committed Oct 7, 2020
1 parent d5839ea commit 6d30125
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.14

require (
github.com/buildpacks/pack v0.14.0
github.com/markbates/pkger v0.17.0
github.com/markbates/pkger v0.17.1
github.com/mitchellh/go-homedir v1.1.0
github.com/ory/viper v1.7.4
github.com/spf13/cobra v1.0.1-0.20201006035406-b97b5ead31f7
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -866,8 +866,8 @@ github.com/mailru/easyjson v0.7.1-0.20191009090205-6c0755d89d1e h1:jcoUdG1TzY/M/
github.com/mailru/easyjson v0.7.1-0.20191009090205-6c0755d89d1e/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs=
github.com/maratori/testpackage v1.0.1/go.mod h1:ddKdw+XG0Phzhx8BFDTKgpWP4i7MpApTE5fXSKAqwDU=
github.com/markbates/inflect v1.0.4/go.mod h1:1fR9+pO2KHEO9ZRtto13gDwwZaAKstQzferVeWqbgNs=
github.com/markbates/pkger v0.17.0 h1:RFfyBPufP2V6cddUyyEVSHBpaAnM1WzaMNyqomeT+iY=
github.com/markbates/pkger v0.17.0/go.mod h1:0JoVlrol20BSywW79rN3kdFFsE5xYM+rSCQDXbLhiuI=
github.com/markbates/pkger v0.17.1 h1:/MKEtWqtc0mZvu9OinB9UzVN9iYCwLWuyUv4Bw+PCno=
github.com/markbates/pkger v0.17.1/go.mod h1:0JoVlrol20BSywW79rN3kdFFsE5xYM+rSCQDXbLhiuI=
github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho=
github.com/matoous/godox v0.0.0-20190911065817-5d6d842e92eb/go.mod h1:1BELzlh859Sh1c6+90blK8lbYy0kwQf1bYlBhBysy1s=
github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a/go.mod h1:M1qoD/MqPgTZIk0EWKB38wE28ACRfVcn+cU08jyArI0=
Expand Down
2 changes: 1 addition & 1 deletion pkged.go

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions templates/node/events/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions templates/node/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
},
"scripts": {
"test": "node test/unit.js && node test/integration.js",
"local": "npx @redhat/faas-js-runtime ./index.js",
"debug": "nodemon --inspect ./node_modules/@redhat/faas-js-runtime/bin/cli.js ./index.js"
"local": "npx faas-js-runtime ./index.js",
"debug": "nodemon --inspect ./node_modules/faas-js-runtime/bin/cli.js ./index.js"
},
"devDependencies": {
"@redhat/faas-js-runtime": "0.2.3",
"faas-js-runtime": "0.3.0",
"nodemon": "^2.0.4",
"cloudevents": "^3.1.0",
"supertest": "^4.0.2",
Expand Down
2 changes: 1 addition & 1 deletion templates/node/events/test/integration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const runtime = require('@redhat/faas-js-runtime');
const runtime = require('faas-js-runtime');
const request = require('supertest');

const func = require('..');
Expand Down
30 changes: 15 additions & 15 deletions templates/node/http/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions templates/node/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"main": "index.js",
"scripts": {
"test": "node test/unit.js && node test/integration.js",
"local": "npx @redhat/faas-js-runtime ./index.js",
"debug": "nodemon --inspect ./node_modules/@redhat/faas-js-runtime/bin/cli.js ./index.js"
"local": "npx faas-js-runtime ./index.js",
"debug": "nodemon --inspect ./node_modules/faas-js-runtime/bin/cli.js ./index.js"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"@redhat/faas-js-runtime": "0.2.3",
"faas-js-runtime": "0.3.0",
"nodemon": "^2.0.4",
"supertest": "^4.0.2",
"tape": "^5.0.1"
Expand Down
2 changes: 1 addition & 1 deletion templates/node/http/test/integration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const runtime = require('@redhat/faas-js-runtime');
const runtime = require('faas-js-runtime');
const request = require('supertest');

const func = require('..');
Expand Down

0 comments on commit 6d30125

Please sign in to comment.