1
0
Форкнуть 0
* add lerna
This commit is contained in:
Mark Wolff 2020-04-23 16:55:47 -04:00 коммит произвёл GitHub
Родитель 9f4ed58aab
Коммит bc51cdac9c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
47 изменённых файлов: 83 добавлений и 36 удалений

3
.github/workflows/nodejs.yml поставляемый
Просмотреть файл

@ -29,6 +29,7 @@ jobs:
run: |
npm install
npm run build
npm run lint
npm run test
- name: Generate coverage report
run: |
@ -36,5 +37,5 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage/coverage-final.json
file: ./packages/azure-opentelemetry-exporter/coverage/coverage-final.json
fail_ci_if_error: true

6
lerna.json Normal file
Просмотреть файл

@ -0,0 +1,6 @@
{
"packages": [
"packages/*"
],
"version": "0.0.0"
}

Просмотреть файл

@ -1,26 +1,17 @@
{
"name": "opentelemetry-azure-monitor-js",
"version": "0.0.0",
"description": "Application Insights exporter for the OpenTelemetry JavaScript (Node.js) SDK",
"main": "build/index.js",
"name": "root",
"private": true,
"scripts": {
"clean": "rimraf build",
"build": "tsc -p ./tsconfig.json",
"lint": "eslint . --ext .ts,.js",
"test": "c8 ts-mocha -p ./tsconfig.json 'test/**/*.test.ts'",
"report": "c8 report --reporter=json"
"postinstall": "npm run bootstrap",
"bootstrap": "lerna bootstrap --no-ci",
"build": "lerna run build",
"lint": "lerna run lint",
"report": "lerna run report",
"test": "lerna run test"
},
"engines": {
"node": ">=8.3.0"
},
"author": "appinsightssdk@microsoft.com",
"license": "MIT",
"devDependencies": {
"@opentelemetry/api": "^0.5.2",
"@opentelemetry/tracing": "^0.5.2",
"@types/mocha": "^7.0.2",
"@types/node": "^13.9.8",
"lerna": "^3.20.2",
"prettier": "^2.0.2",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-typescript": "^7.2.0",
@ -28,18 +19,6 @@
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.2",
"rimraf": "^3.0.2",
"mocha": "^7.1.1",
"nock": "^12.0.3",
"c8": "^7.1.0",
"prettier": "^2.0.2",
"sinon": "^9.0.1",
"ts-mocha": "^7.0.0",
"tslint": "^6.1.0",
"typescript": "^3.8.3"
},
"dependencies": {
"@opentelemetry/base": "^0.5.2",
"@opentelemetry/core": "^0.5.2"
}
}

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -0,0 +1,10 @@
# Ignore everything
*
# Except for...
!build
!src
!package.json
!README.md
!SECURITY.md
!LICENSE

Просмотреть файл

@ -0,0 +1,44 @@
{
"name": "@azure/opentelemetry-exporter",
"version": "0.0.0",
"description": "Application Insights exporter for the OpenTelemetry JavaScript (Node.js) SDK",
"main": "build/index.js",
"private": true,
"scripts": {
"clean": "rimraf build",
"build": "tsc -p ./tsconfig.json",
"lint": "eslint . --ext .ts",
"test": "c8 ts-mocha -p ./tsconfig.json 'test/**/*.test.ts'",
"report": "c8 report --reporter=json"
},
"engines": {
"node": ">=8.3.0"
},
"author": "appinsightssdk@microsoft.com",
"license": "MIT",
"devDependencies": {
"@opentelemetry/api": "^0.5.2",
"@opentelemetry/tracing": "^0.5.2",
"@types/mocha": "^7.0.2",
"@types/node": "^13.9.8",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-typescript": "^7.2.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.2",
"rimraf": "^3.0.2",
"mocha": "^7.1.1",
"nock": "^12.0.3",
"c8": "^7.1.0",
"prettier": "^2.0.2",
"sinon": "^9.0.1",
"ts-mocha": "^7.0.0",
"typescript": "^3.8.3"
},
"dependencies": {
"@opentelemetry/base": "^0.5.2",
"@opentelemetry/core": "^0.5.2"
}
}

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": ".",
"outDir": "build"
},
"include": [
"src/**/*.ts",
"test/**/*.ts"
]
}

Просмотреть файл

@ -17,9 +17,5 @@
"incremental": true,
"outDir": "build",
"lib": []
},
"include": [
"src/**/*.ts",
"test/**/*.ts"
]
}
}