From 5e790f91832dafc1ac79f01e8cf7b0ff2ef78ee8 Mon Sep 17 00:00:00 2001 From: Ben Greenier Date: Thu, 12 Apr 2018 09:53:56 -0400 Subject: [PATCH] Re-release 1.0.0 (#4) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * renaming package, adding codeowners * add proper naming test ✔️ --- .github/CODEOWNERS | 5 +++++ package-lock.json | 2 +- package.json | 5 +++-- test/basic.js | 6 +++++- 4 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..7e7eae8 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,5 @@ +# These owners will be the default owners for everything in +# the repo. Unless a later match takes precedence, +# @global-owner1 and @global-owner2 will be requested for +# review when someone opens a pull request. +* @Azure/platform-chaos \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 5ebee8d..cbc0e7c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "azure-chaos-fn", + "name": "platform-chaos", "version": "1.0.0", "lockfileVersion": 1, "requires": true, diff --git a/package.json b/package.json index 0d6f83a..6a19b0f 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,14 @@ { - "name": "azure-chaos-fn", + "name": "platform-chaos", "version": "1.0.0", - "description": "The base module for all azure-chaos extensions", + "description": "A node sdk for building services capable of injecting chaos into PaaS offerings", "main": "index.js", "scripts": { "test": "mocha" }, "keywords": [ "azure", + "platform", "chaos" ], "author": "Ben Greenier", diff --git a/test/basic.js b/test/basic.js index afbcb8d..a7cde4e 100644 --- a/test/basic.js +++ b/test/basic.js @@ -1,7 +1,11 @@ const assert = require('assert') const index = require('../') -describe('azure-chaos-fn', () => { +describe('platform-chaos', () => { + it('is named properly', () => { + assert.equal(require('../package.json').name, 'platform-chaos') + assert.equal(require('../package-lock.json').name, 'platform-chaos') + }) it('parses resources', () => { assert.throws(() => { index.validators.resources({