Skip to content

Commit

Permalink
workspace changes in tooling (#3374)
Browse files Browse the repository at this point in the history
Co-authored-by: Shreyas Sharma <shreysh2@cisco.com>
  • Loading branch information
Shreyas281299 and ShreyasSharma28 authored Feb 12, 2024
1 parent b779d58 commit 0a1773e
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .yarn/releases/yarn-3.4.1.cjs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
"@wdio/sauce-service": "^7.19.5",
"@wdio/spec-reporter": "^7.19.5",
"@wdio/static-server-service": "^7.19.5",
"@webex/cli-tools": "workspace:^",
"@webex/package-tools": "workspace:^",
"@webex/cli-tools": "workspace:*",
"@webex/package-tools": "workspace:*",
"appium-adb": "^8.17.0",
"babel-loader": "^8.2.2",
"babel-plugin-lodash": "^3.3.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"./static"
],
"devDependencies": {
"@webex/eslint-config": "workspace:^",
"@webex/eslint-config": "workspace:*",
"eslint": "^8.35.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/config/jasmine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"jasmine-spec-reporter": "^7.0.0"
},
"devDependencies": {
"@webex/eslint-config": "workspace:^",
"@webex/eslint-config": "workspace:*",
"eslint": "^8.35.0"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/config/nyc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"./static"
],
"devDependencies": {
"@webex/eslint-config": "workspace:^",
"@webex/eslint-config": "workspace:*",
"eslint": "^8.35.0"
},
"peerDependencies": {
"@webex/jasmine-config": "workspace:^",
"@webex/jasmine-config": "workspace:*",
"jasmine": "^4.5.0",
"nyc": "^15.1.0"
}
Expand Down
18 changes: 9 additions & 9 deletions packages/legacy/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@
"@types/karma-ie-launcher": "^1",
"@types/karma-mocha-reporter": "^2",
"@types/mocha": "^10",
"@webex/api-extractor-config": "workspace:^",
"@webex/esbuild-config": "workspace:^",
"@webex/eslint-config": "workspace:^",
"@webex/jasmine-config": "workspace:^",
"@webex/nyc-config": "workspace:^",
"@webex/typescript-config": "workspace:^",
"@webex/api-extractor-config": "workspace:*",
"@webex/esbuild-config": "workspace:*",
"@webex/eslint-config": "workspace:*",
"@webex/jasmine-config": "workspace:*",
"@webex/nyc-config": "workspace:*",
"@webex/typescript-config": "workspace:*",
"esbuild": "^0.17.11",
"eslint": "^8.35.0",
"jasmine": "^4.5.0",
Expand All @@ -72,9 +72,9 @@
"dependencies": {
"@babel/core": "^7.17.10",
"@babel/register": "^7.21.0",
"@webex/babel-config-legacy": "workspace:^",
"@webex/cli-tools": "workspace:^",
"@webex/env-config-legacy": "workspace:^",
"@webex/babel-config-legacy": "workspace:*",
"@webex/cli-tools": "workspace:*",
"@webex/env-config-legacy": "workspace:*",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"browserify-middleware": "^8.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
"typescript": "5.3.3"
},
"dependencies": {
"@webex/cli-tools": "workspace:^"
"@webex/cli-tools": "workspace:*"
}
}
4 changes: 2 additions & 2 deletions tooling/dep2.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ glob('packages/**/package.json', {}, (er, files) => {

let stringified = JSON.stringify(parsedPackages, null, 2);

// replace all the version which 'workspace:^' to the SDK version
stringified = stringified.replaceAll('workspace:^', parsedPackages.version);
// replace all the version which 'workspace:*' to the SDK version
stringified = stringified.replaceAll('workspace:*', parsedPackages.version);

fs.writeFileSync(file, `${stringified}\n`);
});
Expand Down
52 changes: 26 additions & 26 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6539,15 +6539,15 @@ __metadata:
languageName: node
linkType: hard

"@webex/api-extractor-config@workspace:^, @webex/api-extractor-config@workspace:packages/config/api-extractor":
"@webex/api-extractor-config@workspace:*, @webex/api-extractor-config@workspace:packages/config/api-extractor":
version: 0.0.0-use.local
resolution: "@webex/api-extractor-config@workspace:packages/config/api-extractor"
peerDependencies:
"@microsoft/api-extractor": ^7.34.4
languageName: unknown
linkType: soft

"@webex/babel-config-legacy@workspace:*, @webex/babel-config-legacy@workspace:^, @webex/babel-config-legacy@workspace:packages/legacy/babel":
"@webex/babel-config-legacy@workspace:*, @webex/babel-config-legacy@workspace:packages/legacy/babel":
version: 0.0.0-use.local
resolution: "@webex/babel-config-legacy@workspace:packages/legacy/babel"
dependencies:
Expand Down Expand Up @@ -6648,7 +6648,7 @@ __metadata:
languageName: unknown
linkType: soft

"@webex/cli-tools@workspace:^, @webex/cli-tools@workspace:packages/tools/cli":
"@webex/cli-tools@workspace:*, @webex/cli-tools@workspace:packages/tools/cli":
version: 0.0.0-use.local
resolution: "@webex/cli-tools@workspace:packages/tools/cli"
dependencies:
Expand Down Expand Up @@ -6737,7 +6737,7 @@ __metadata:
languageName: unknown
linkType: soft

"@webex/env-config-legacy@workspace:^, @webex/env-config-legacy@workspace:packages/legacy/env":
"@webex/env-config-legacy@workspace:*, @webex/env-config-legacy@workspace:packages/legacy/env":
version: 0.0.0-use.local
resolution: "@webex/env-config-legacy@workspace:packages/legacy/env"
dependencies:
Expand All @@ -6746,11 +6746,11 @@ __metadata:
languageName: unknown
linkType: soft

"@webex/esbuild-config@workspace:^, @webex/esbuild-config@workspace:packages/config/esbuild":
"@webex/esbuild-config@workspace:*, @webex/esbuild-config@workspace:packages/config/esbuild":
version: 0.0.0-use.local
resolution: "@webex/esbuild-config@workspace:packages/config/esbuild"
dependencies:
"@webex/eslint-config": "workspace:^"
"@webex/eslint-config": "workspace:*"
eslint: ^8.35.0
peerDependencies:
esbuild: ^0.17.11
Expand Down Expand Up @@ -6781,7 +6781,7 @@ __metadata:
languageName: unknown
linkType: soft

"@webex/eslint-config@workspace:^, @webex/eslint-config@workspace:packages/config/eslint":
"@webex/eslint-config@workspace:*, @webex/eslint-config@workspace:packages/config/eslint":
version: 0.0.0-use.local
resolution: "@webex/eslint-config@workspace:packages/config/eslint"
dependencies:
Expand Down Expand Up @@ -7536,11 +7536,11 @@ __metadata:
languageName: unknown
linkType: soft

"@webex/jasmine-config@workspace:^, @webex/jasmine-config@workspace:packages/config/jasmine":
"@webex/jasmine-config@workspace:*, @webex/jasmine-config@workspace:packages/config/jasmine":
version: 0.0.0-use.local
resolution: "@webex/jasmine-config@workspace:packages/config/jasmine"
dependencies:
"@webex/eslint-config": "workspace:^"
"@webex/eslint-config": "workspace:*"
eslint: ^8.35.0
jasmine-spec-reporter: ^7.0.0
peerDependencies:
Expand Down Expand Up @@ -7628,15 +7628,15 @@ __metadata:
"@types/karma-ie-launcher": ^1
"@types/karma-mocha-reporter": ^2
"@types/mocha": ^10
"@webex/api-extractor-config": "workspace:^"
"@webex/babel-config-legacy": "workspace:^"
"@webex/cli-tools": "workspace:^"
"@webex/env-config-legacy": "workspace:^"
"@webex/esbuild-config": "workspace:^"
"@webex/eslint-config": "workspace:^"
"@webex/jasmine-config": "workspace:^"
"@webex/nyc-config": "workspace:^"
"@webex/typescript-config": "workspace:^"
"@webex/api-extractor-config": "workspace:*"
"@webex/babel-config-legacy": "workspace:*"
"@webex/cli-tools": "workspace:*"
"@webex/env-config-legacy": "workspace:*"
"@webex/esbuild-config": "workspace:*"
"@webex/eslint-config": "workspace:*"
"@webex/jasmine-config": "workspace:*"
"@webex/nyc-config": "workspace:*"
"@webex/typescript-config": "workspace:*"
babelify: ^10.0.0
browserify: ^17.0.0
browserify-middleware: ^8.1.1
Expand Down Expand Up @@ -7693,27 +7693,27 @@ __metadata:
languageName: unknown
linkType: soft

"@webex/nyc-config@workspace:^, @webex/nyc-config@workspace:packages/config/nyc":
"@webex/nyc-config@workspace:*, @webex/nyc-config@workspace:packages/config/nyc":
version: 0.0.0-use.local
resolution: "@webex/nyc-config@workspace:packages/config/nyc"
dependencies:
"@webex/eslint-config": "workspace:^"
"@webex/eslint-config": "workspace:*"
eslint: ^8.35.0
peerDependencies:
"@webex/jasmine-config": "workspace:^"
"@webex/jasmine-config": "workspace:*"
jasmine: ^4.5.0
nyc: ^15.1.0
languageName: unknown
linkType: soft

"@webex/package-tools@workspace:^, @webex/package-tools@workspace:packages/tools/package":
"@webex/package-tools@workspace:*, @webex/package-tools@workspace:packages/tools/package":
version: 0.0.0-use.local
resolution: "@webex/package-tools@workspace:packages/tools/package"
dependencies:
"@microsoft/api-documenter": 7.23.20
"@microsoft/api-extractor": 7.39.4
"@types/eslint": 8.56.0
"@webex/cli-tools": "workspace:^"
"@webex/cli-tools": "workspace:*"
eslint: 8.56.0
eslint-config-airbnb-base: 15.0.0
eslint-config-airbnb-typescript: 17.1.0
Expand Down Expand Up @@ -8586,7 +8586,7 @@ __metadata:
languageName: node
linkType: hard

"@webex/typescript-config@workspace:^, @webex/typescript-config@workspace:packages/config/typescript":
"@webex/typescript-config@workspace:*, @webex/typescript-config@workspace:packages/config/typescript":
version: 0.0.0-use.local
resolution: "@webex/typescript-config@workspace:packages/config/typescript"
languageName: unknown
Expand Down Expand Up @@ -31012,8 +31012,8 @@ __metadata:
"@wdio/sauce-service": ^7.19.5
"@wdio/spec-reporter": ^7.19.5
"@wdio/static-server-service": ^7.19.5
"@webex/cli-tools": "workspace:^"
"@webex/package-tools": "workspace:^"
"@webex/cli-tools": "workspace:*"
"@webex/package-tools": "workspace:*"
appium-adb: ^8.17.0
babel-loader: ^8.2.2
babel-plugin-lodash: ^3.3.4
Expand Down

0 comments on commit 0a1773e

Please sign in to comment.