Skip to content

Commit

Permalink
feat: move to NordicSemiconductor organization
Browse files Browse the repository at this point in the history
BREAKING CHANGE: this renames the package

See bifravst/bifravst#56
  • Loading branch information
coderbyheart committed Feb 2, 2021
1 parent 0a422a1 commit f44bb0a
Show file tree
Hide file tree
Showing 11 changed files with 338 additions and 343 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "@bifravst/eslint-config-typescript"
"extends": "@nordicsemiconductor/eslint-config-asset-tracker-cloud-typescript"
}
2 changes: 1 addition & 1 deletion .github/workflows/test-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: push

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.CI_NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

jobs:
tests:
Expand Down
6 changes: 3 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ pull_request_rules:
- name: Automatic merge security PRs when all status checks pass
conditions:
- author~=^(snyk-bot|dependabot\[bot\])$
- status-success=security/snyk (Bifravst)
- status-success=security/snyk (Asset Tracker Cloud)
- status-success=tests
actions:
merge:
method: rebase
rebase_fallback: squash
bot_account: bifravst-ci
bot_account: asset-tracker-cloud-ci
label:
add:
- mergify
rebase:
bot_account: bifravst-ci
bot_account: asset-tracker-cloud-ci
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
...require('@bifravst/code-style/.prettierrc'),
...require('@nordicsemiconductor/asset-tracker-cloud-code-style/.prettierrc'),
}
3 changes: 2 additions & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
See https://github.com/bifravst/bifravst/blob/saga/CODE_OF_CONDUCT.md
See
https://github.com/NordicSemiconductor/asset-tracker-cloud-docs/blob/saga/CODE_OF_CONDUCT.md
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Timestream Helpers [![npm version](https://img.shields.io/npm/v/@bifravst/timestream-helpers.svg)](https://www.npmjs.com/package/@bifravst/timestream-helpers)
# Timestream Helpers [![npm version](https://img.shields.io/npm/v/@nordicsemiconductor/timestream-helpers.svg)](https://www.npmjs.com/package/@nordicsemiconductor/timestream-helpers)

[![GitHub Actions](https://github.com/bifravst/timestream-helpers/workflows/Test%20and%20Release/badge.svg)](https://github.com/bifravst/timestream-helpers/actions)
[![Known Vulnerabilities](https://snyk.io/test/github/bifravst/timestream-helpers/badge.svg)](https://snyk.io/test/github/bifravst/timestream-helpers)
[![GitHub Actions](https://github.com/NordicSemiconductor/cloud-aws-timestream-helpers-js/workflows/Test%20and%20Release/badge.svg)](https://github.com/NordicSemiconductor/cloud-aws-timestream-helpers-js/actions)
[![Known Vulnerabilities](https://snyk.io/test/NordicSemiconductor/cloud-aws-timestream-helpers-js/badge.svg?targetFile=package.json)](https://snyk.io/test/NordicSemiconductor/cloud-aws-timestream-helpers-js?targetFile=package.json)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Renovate](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com)
[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://dashboard.mergify.io/badges/bifravst/timestream-helpers&style=flat)](https://mergify.io)
[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://gh.mergify.io/badges/NordicSemiconductor/cloud-aws-timestream-helpers-js)](https://mergify.io)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier/)
[![ESLint: TypeScript](https://img.shields.io/badge/ESLint-TypeScript-blue.svg)](https://github.com/typescript-eslint/typescript-eslint)
Expand All @@ -13,4 +13,4 @@ Helper functions which simplify working with AWS Timestream.

## Installation

npm i --save @bifravst/timestream-helpers
npm i --save @nordicsemiconductor/timestream-helpers
629 changes: 312 additions & 317 deletions package-lock.json

Large diffs are not rendered by default.

21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@bifravst/timestream-helpers",
"name": "@nordicsemiconductor/timestream-helpers",
"version": "0.0.0-development",
"description": "Helper functions which simplify working with AWS Timestream",
"main": "dist/index.js",
Expand All @@ -9,30 +9,29 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/bifravst/timestream-helpers.git"
"url": "git+https://github.com/NordicSemiconductor/cloud-aws-timestream-helpers-js.git"
},
"bugs": {
"url": "https://github.com/bifravst/timestream-helpers/issues"
"url": "https://github.com/NordicSemiconductor/cloud-aws-timestream-helpers-js/issues"
},
"homepage": "https://github.com/bifravst/timestream-helpers",
"homepage": "https://github.com/NordicSemiconductor/cloud-aws-timestream-helpers-js",
"keywords": [
"Cloud",
"IoT",
"Bifravst",
"Asset Tracker",
"NordicSemiconductor"
"Asset Tracker Cloud Example",
"Nordic Semiconductor"
],
"author": "Nordic Semiconductor ASA | nordicsemi.no",
"license": "BSD-3-Clause",
"dependencies": {
"@aws-sdk/client-timestream-query": "^3.1.0",
"@aws-sdk/client-timestream-write": "^3.1.0"
"@aws-sdk/client-timestream-query": "3.4.1",
"@aws-sdk/client-timestream-write": "3.4.1"
},
"devDependencies": {
"@bifravst/code-style": "8.0.134",
"@bifravst/eslint-config-typescript": "5.0.90",
"@commitlint/cli": "11.0.0",
"@commitlint/config-angular": "11.0.0",
"@nordicsemiconductor/asset-tracker-cloud-code-style": "9.0.0",
"@nordicsemiconductor/eslint-config-asset-tracker-cloud-typescript": "^7.0.0",
"@types/backoff": "2.5.1",
"@types/jest": "26.0.20",
"@types/node": "14.14.22",
Expand Down
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": ["github>bifravst/code-style"]
"extends": ["github>nordicsemiconductor/asset-tracker-cloud-code-style-js"]
}
2 changes: 1 addition & 1 deletion src/parseResult.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const parseDatum = (
return a
}
throw new Error(
`[@bifravst/timestream-helper:parseDatum] Unexpected datum: ${JSON.stringify(
`[@nordicsemiconductor/timestream-helper:parseDatum] Unexpected datum: ${JSON.stringify(
datum,
)}`,
)
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@bifravst/code-style/tsconfig.json",
"extends": "@nordicsemiconductor/asset-tracker-cloud-code-style/tsconfig.json",
"include": ["**/*.ts"],
"compilerOptions": {
"outDir": "dist/"
Expand Down

0 comments on commit f44bb0a

Please sign in to comment.