Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@okamjs/okam

Package Overview
Dependencies
Maintainers
3
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@okamjs/okam - npm Package Compare versions

Comparing version 0.0.35 to 0.0.36-dev.20231117.1

1

index.d.ts

@@ -82,2 +82,3 @@ /* tslint:disable */

};
optimizePackageImports?: boolean;
}, callback: (...args: any[]) => any, watch: boolean): void

8

package.json
{
"name": "@okamjs/okam",
"version": "0.0.35",
"version": "0.0.36-dev.20231117.1",
"main": "index.js",

@@ -39,6 +39,6 @@ "types": "index.d.ts",

"optionalDependencies": {
"@okamjs/okam-darwin-arm64": "0.0.35",
"@okamjs/okam-darwin-x64": "0.0.35",
"@okamjs/okam-linux-x64-gnu": "0.0.35"
"@okamjs/okam-darwin-arm64": "0.0.36-dev.20231117.1",
"@okamjs/okam-darwin-x64": "0.0.36-dev.20231117.1",
"@okamjs/okam-linux-x64-gnu": "0.0.36-dev.20231117.1"
}
}
import 'zx/globals';
(async () => {
console.log('Check branch');
const branch = (await $`git branch --show-current`).stdout.trim();
if (branch !== 'master') {
throw new Error('Please run this script in master branch');
}
// console.log('Check branch');
// const branch = (await $`git branch --show-current`).stdout.trim();
// if (branch !== 'master') {
// throw new Error('Please run this script in master branch');
// }

@@ -15,7 +15,7 @@ // Check docker status

// Check git status
console.log('Check git status');
const status = (await $`git status --porcelain`).stdout.trim();
if (status) {
throw new Error('Please commit all changes before release');
}
// console.log('Check git status');
// const status = (await $`git status --porcelain`).stdout.trim();
// if (status) {
// throw new Error('Please commit all changes before release');
// }

@@ -77,24 +77,24 @@ // bump version

// set new version to bundler-okam
console.log('Set new version to bundler-okam');
const bundlerOkamPkgPath = path.join(
__dirname,
'../../../packages/bundler-okam/package.json',
);
const bundlerOkamPkg = JSON.parse(
fs.readFileSync(bundlerOkamPkgPath, 'utf-8'),
);
bundlerOkamPkg.dependencies['@okamjs/okam'] = `${newVersion}`;
fs.writeFileSync(
bundlerOkamPkgPath,
JSON.stringify(bundlerOkamPkg, null, 2) + '\n',
);
// console.log('Set new version to bundler-okam');
// const bundlerOkamPkgPath = path.join(
// __dirname,
// '../../../packages/bundler-okam/package.json',
// );
// const bundlerOkamPkg = JSON.parse(
// fs.readFileSync(bundlerOkamPkgPath, 'utf-8'),
// );
// bundlerOkamPkg.dependencies['@okamjs/okam'] = `${newVersion}`;
// fs.writeFileSync(
// bundlerOkamPkgPath,
// JSON.stringify(bundlerOkamPkg, null, 2) + '\n',
// );
await $`git commit -a -m "release: ${nodePkg.name}@${newVersion}"`;
// tag
console.log('Tag');
await $`git tag v${newVersion}`;
// await $`git commit -a -m "release: ${nodePkg.name}@${newVersion}"`;
// // tag
// console.log('Tag');
// await $`git tag v${newVersion}`;
// push
console.log('Push');
await $`git push origin ${branch} --tags`;
// // push
// console.log('Push');
// await $`git push origin ${branch} --tags`;
})().catch((e) => {

@@ -101,0 +101,0 @@ console.error(e);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc