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

final update #25

Merged
merged 1 commit into from
Feb 2, 2024
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
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.0.4",
"version": "5.0.2",
"command": {
"publish": {
"ignoreChanges": [
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to the IBM® CICS® Plug-in for Zowe CLI will be documented in this file.

## `5.0.4`
## Recent Changes

- BugFix: Updated dependencies for technical currency
- BugFix: Migrated the package the CICS for Zowe Client Monorepo
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zowe/cics-for-zowe-cli",
"version": "5.0.4",
"version": "5.0.2",
"author": "Zowe",
"license": "EPL-2.0",
"description": "IBM CICS Plug-in for Zowe CLI",
Expand Down Expand Up @@ -48,7 +48,7 @@
"configurationModule": "lib/imperative.js"
},
"dependencies": {
"@zowe/cics-for-zowe-sdk": "5.0.4"
"@zowe/cics-for-zowe-sdk": "5.0.2"
},
"peerDependencies": {
"@zowe/imperative": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to the IBM® CICS® Plug-in for Zowe CLI will be documented in this file.

## `5.0.4`
## Recent Changes

- BugFix: Updated dependencies for technical currency
- BugFix: Migrated the package the CICS for Zowe Client Monorepo
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zowe/cics-for-zowe-sdk",
"version": "5.0.4",
"version": "5.0.2",
"author": "Zowe",
"license": "EPL-2.0",
"description": "IBM CICS for Zowe SDK",
Expand Down
2 changes: 1 addition & 1 deletion packages/vsce/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to the "cics-extension-for-zowe" extension will be documented in this file.

## `2.3.3`
## Recent Changes

- BugFix: Updated dependencies for technical currency
- BugFix: Migrated the package the CICS for Zowe Client Monorepo
Expand Down
4 changes: 2 additions & 2 deletions packages/vsce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git",
"url": "https://github.com/zowe/cics-for-zowe-client.git"
},
"version": "2.3.3",
"version": "2.3.2",
"engines": {
"vscode": "^1.53.2"
},
Expand Down Expand Up @@ -890,7 +890,7 @@
"vsce": "^2.15.0"
},
"dependencies": {
"@zowe/cics-for-zowe-sdk": "5.0.4",
"@zowe/cics-for-zowe-sdk": "5.0.2",
"@zowe/zowe-explorer-api": "^2.14.0",
"axios": "^1.6.7",
"https": "~1.0.0",
Expand Down
6 changes: 4 additions & 2 deletions scripts/bundleTgz.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ const fs = require("fs");
const path = require("path");

// Workaround for https://github.com/npm/cli/issues/3466
process.chdir(__dirname + "/..");
const rootDir = path.join(__dirname, "..");
process.chdir(rootDir);
const cliPkgDir = path.join(process.cwd(), "packages", "cli");
const pkgJsonFile = path.join(cliPkgDir, "package.json");
const execCmd = (cmd) => childProcess.execSync(cmd, { cwd: cliPkgDir, stdio: "inherit" });
Expand Down Expand Up @@ -49,6 +50,7 @@ try {
if(fs.existsSync(path.join(cliPkgDir, "node_modules_old"))) {
fsE.renameSync(path.join(cliPkgDir, "node_modules_old"), path.join(cliPkgDir, "node_modules"));
}
// fs.rmSync(path.join(cliPkgDir, "npm-shrinkwrap.json"), { force: true });
fs.rmSync(path.join(cliPkgDir, "npm-shrinkwrap.json"), { force: true });
fs.rmSync(path.join(rootDir, "npm-shrinkwrap.json"), { force: true });
fsE.renameSync(pkgJsonFile + ".bak", pkgJsonFile);
}
4 changes: 2 additions & 2 deletions scripts/rewriteShrinkwrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for (const [k, v] of Object.entries(shrinkwrap.packages)) {
fs.writeFileSync(cliShrinkwrapFile, JSON.stringify(shrinkwrap, null, 2));

// Build deduped shrinkwrap for @zowe/cics-for-zowe-cli
const zoweRegistry = require("../lerna.json").command.publish.registry;
const zoweRegistry = require(cliDir + "package.json").publishConfig.registry;;
getLockfile(cliShrinkwrapFile, undefined, { "@zowe:registry": zoweRegistry })
.then((lockfile) => fs.writeFileSync(cliShrinkwrapFile, lockfile))
.then(() => console.log(chalk.green("Lockfile contents written!")))
Expand Down Expand Up @@ -73,7 +73,7 @@ try {
}
fs.writeFileSync(cliShrinkwrapFile, JSON.stringify(shrinkwrap, null, 2));

// cp.execSync(`sed -i 's#file:../sdk#${require("../lerna.json").version}#g' npm-shrinkwrap.json`, {cwd: cliDir});
// cp.execSync(`sed -i 's#file:../sdk#${require(cliDir + "package.json").version}#g' npm-shrinkwrap.json`, {cwd: cliDir});
// cp.execSync("npm i ../sdk --install-links --package-lock-only", {cwd: cliDir});
} finally {
// revert back to workspaces monorepo
Expand Down
Loading