Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update core-tracing to follow template #1

Merged
merged 1 commit into from
Aug 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions sdk/core/core-tracing/.typings/karma.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions sdk/core/core-tracing/.typings/rollup-plugin-alias.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions sdk/core/core-tracing/.typings/rollup-plugin-commonjs.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions sdk/core/core-tracing/.typings/rollup-plugin-json.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions sdk/core/core-tracing/.typings/rollup-plugin-multi-entry.d.ts

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions sdk/core/core-tracing/.typings/rollup-plugin-sourcemaps.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions sdk/core/core-tracing/.typings/rollup-plugin-visualizer.d.ts

This file was deleted.

32 changes: 32 additions & 0 deletions sdk/core/core-tracing/api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "types/index.d.ts",
"docModel": {
"enabled": false
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/core-tracing.d.ts"
},
"messages": {
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}

183 changes: 53 additions & 130 deletions sdk/core/core-tracing/package.json
Original file line number Diff line number Diff line change
@@ -1,172 +1,95 @@
{
"name": "@azure/core-tracing",
"version": "1.0.0-preview.1",
"description": "Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest",
"description": "Provides low-level interfaces and helper methods for tracing in Azure SDK",
"sdk-type": "client",
"main": "./dist/index.node.js",
"module": "./es/index.js",
"types": "./es/index.d.ts",
"author": {
"name": "Microsoft Corporation",
"email": "azsdkteam@microsoft.com",
"url": "https://github.com/Azure/azure-sdk-for-js"
},
"tags": [
"isomorphic",
"browser",
"javascript",
"node",
"microsoft",
"autorest",
"clientruntime"
],
"keywords": [
"isomorphic",
"browser",
"javascript",
"node",
"microsoft",
"autorest",
"clientruntime"
],
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
"es/**/*.js",
"es/**/*.js.map",
"es/**/*.d.ts",
"es/**/*.d.ts.map",
"lib/**/*.ts",
"LICENSE",
"README.md",
"ThirdPartyNotices.txt"
],
"license": "MIT",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/tracing",
"repository": {
"type": "git",
"url": "git@github.com:Azure/azure-sdk-for-js.git"
},
"bugs": {
"url": "http://github.com/Azure/azure-sdk-for-js/issues"
"main": "dist/index.js",
"module": "dist-esm/index.js",
"browser": {
"./dist/index.js": "./browser/index.js"
},
"types": "types/core-tracing.d.ts",
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build": "run-p build:lib",
"build:lib": "run-s build:tsc build:rollup build:minify-browser",
"build:scripts": "tsc -p ./.scripts/",
"build:test": "run-s build build:test-browser",
"build:tsc": "tsc -p tsconfig.es.json",
"build:rollup": "rollup -c rollup.config.ts 2>&1",
"build:minify-browser": "uglifyjs -c -m --comments --source-map \"content='./dist/index.browser.js.map'\" -o ./dist/index.browser.min.js ./dist/index.browser.js",
"build:test-browser": "webpack --config webpack.testconfig.ts",
"check-format": "prettier --list-different --config ../../.prettierrc.json \"lib/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf ./es ./dist",
"format": "prettier --write --config ../../.prettierrc.json \"lib/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1",
"build:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1",
"build:samples": "cd samples && tsc -p .",
"build:test": "tsc -p . && rollup -c rollup.test.config.js 2>&1",
"build": "tsc -p . && rollup -c 2>&1 && api-extractor run --local",
"check-format": "prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf dist dist-esm test-dist types *.tgz *.log",
"extract-api": "tsc -p . && api-extractor run --local",
"format": "prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"integration-test:browser": "echo skipped",
"integration-test:node": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "eslint \"lib/**/*.ts\" \"test/**/*.ts\" -c ../../.eslintrc.json --fix --fix-type [problem,suggestion]",
"lint": "eslint -c ../../.eslintrc.json lib test --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o core-http-lintReport.html || exit 0",
"lint:fix": "eslint \"src/**/*.ts\" \"test/**/*.ts\" -c ../../.eslintrc.json --fix --fix-type [problem,suggestion]",
"lint": "eslint -c ../../.eslintrc.json src test --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o template-lintReport.html || exit 0",
"pack": "npm pack 2>&1",
"prebuild": "npm run clean",
"test:browser": "npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"unit-test:browser": "node ./node_modules/karma/bin/karma start karma.conf.ts --browsers ChromeNoSecurity --single-run",
"unit-test:node": "nyc mocha",
"check:packagejsonversion": "ts-node ./.scripts/checkPackageJsonVersion.ts",
"check:foronlycalls": "ts-node ./.scripts/checkForOnlyCalls.ts",
"check:everything": "ts-node ./.scripts/checkEverything.ts",
"dep:autorest.typescript": "npx ts-node .scripts/testDependentProjects.ts autorest.typescript 'gulp build' 'gulp regenerate' 'npm run local'",
"dep:ms-rest-azure-js": "npx ts-node .scripts/testDependentProjects.ts ms-rest-azure-js",
"publish-preview": "mocha --no-colors && shx rm -rf dist/test && node ./.scripts/publish",
"local": "ts-node ./.scripts/local.ts",
"latest": "ts-node ./.scripts/latest.ts"
"unit-test:browser": "echo skipped",
"unit-test:node": "mocha test-dist/**/*.js --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=-",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
},
"files": [
"browser/*.js*",
"dist/",
"dist-esm/",
"src/",
"types/core-tracing.d.ts"
],
"repository": "github:Azure/azure-sdk-for-js",
"keywords": [
"azure",
"tracing"
],
"author": "Microsoft Corporation",
"license": "MIT",
"bugs": {
"url": "https://github.com/azure/azure-sdk-for-js/issues"
},
"engine": {
"node": ">=6.0.0"
},
"homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/core/core-tracing",
"sideEffects": false,
"nyc": {
"extension": [
".ts"
],
"exclude": [
"coverage/**/*",
"**/*.d.ts",
"**/*.js"
],
"reporter": [
"text",
"html",
"cobertura"
],
"all": true
"private": true,
"dependencies": {
"tslib": "^1.9.3"
},
"devDependencies": {
"@azure/logger-js": "^1.0.2",
"@types/chai": "^4.1.6",
"@types/express": "^4.16.0",
"@types/glob": "^7.1.1",
"@types/karma": "^3.0.0",
"@microsoft/api-extractor": "^7.1.5",
"@types/mocha": "^5.2.5",
"@types/node": "^8.0.0",
"@types/semver": "^5.5.0",
"@types/sinon": "^5.0.5",
"@types/tough-cookie": "^2.3.3",
"@types/uuid": "^3.4.3",
"@types/webpack": "^4.4.13",
"@types/webpack-dev-middleware": "^2.0.2",
"@types/xml2js": "^0.4.3",
"@typescript-eslint/eslint-plugin": "^1.11.0",
"@typescript-eslint/parser": "^1.11.0",
"abortcontroller-polyfill": "^1.1.9",
"axios-mock-adapter": "^1.16.0",
"chai": "^4.2.0",
"assert": "^1.4.1",
"cross-env": "^5.2.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.2.0",
"eslint-detailed-reporter": "^0.8.0",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-no-only-tests": "^2.3.0",
"eslint-plugin-promise": "^4.1.1",
"express": "^4.16.3",
"glob": "^7.1.2",
"karma": "^4.0.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-mocha": "^1.3.0",
"karma-rollup-preprocessor": "^7.0.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-typescript-es6-transform": "^4.0.0",
"karma-webpack": "^4.0.0-rc.6",
"inherits": "^2.0.3",
"mocha": "^5.2.0",
"mocha-chrome": "^1.1.0",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi-reporters": "^1.1.7",
"npm-run-all": "^4.1.5",
"nyc": "^14.0.0",
"opn-cli": "^4.0.0",
"puppeteer": "^1.11.0",
"mocha-multi": "^1.0.1",
"prettier": "^1.16.4",
"rimraf": "^2.6.2",
"rollup": "^1.16.3",
"rollup-plugin-alias": "^1.4.0",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-multi-entry": "^2.1.0",
"rollup-plugin-node-resolve": "^5.0.2",
"rollup-plugin-resolve": "0.0.1-predev.1",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-visualizer": "^2.0.0",
"semver": "^5.5.0",
"shx": "^0.3.2",
"sinon": "^7.1.0",
"ts-loader": "^5.3.1",
"ts-node": "^7.0.1",
"typescript": "^3.2.2",
"uglify-js": "^3.4.9",
"webpack": "^4.16.3",
"webpack-cli": "^3.2.3",
"webpack-dev-middleware": "^3.1.2",
"xhr-mock": "^2.4.1",
"yarn": "^1.6.0"
"util": "^0.11.1"
}
}
Loading