Skip to content

Commit

Permalink
refactor: change old utils to new std
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanga-Ganapathy committed Mar 25, 2024
1 parent 72495a5 commit f569890
Show file tree
Hide file tree
Showing 7 changed files with 201 additions and 85 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-starfishes-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@opentf/cli-pbar': minor
---

Changed utils lib to std.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
## Try it online at [https://node-repl.pages.dev](https://node-repl.pages.dev/)

### [@opentf/utils](https://js-utils.pages.dev/) - Our new JavaScript utility library, please review and give feedback.
### [@opentf/std](https://js-utils.pages.dev/) - An Extensive JavaScript Standard Library, please review and give feedback.

## Features

Expand Down Expand Up @@ -134,7 +134,7 @@ You can also pass `msg` text to be displayed after the instance stops.

## Related

- [@opentf/utils](https://www.npmjs.com/package/@opentf/utils) - A collection of JavaScript utility functions.
- [@opentf/std](https://www.npmjs.com/package/@opentf/std) - A collection of JavaScript utility functions.

- [@opentf/cli-styles](https://www.npmjs.com/package/@opentf/cli-styles) - Style your CLI text using ANSI escape sequences.

Expand Down
4 changes: 2 additions & 2 deletions demo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import https from 'node:https';
import path from 'node:path';
import { sleep } from '@opentf/utils';
import { sleep } from '@opentf/std';
import { style } from '@opentf/cli-styles';
import { ProgressBar } from './dist/index.js';

Expand Down Expand Up @@ -152,7 +152,7 @@ async function autoClear() {
'zustand',
'recoil',
'lodash',
'@opentf/utils',
'@opentf/std',
'emotion',
'material-ui',
'pandacss',
Expand Down
4 changes: 2 additions & 2 deletions demo.yml

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 @@ -65,7 +65,7 @@
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@opentf/eslint-config-base": "^0.1.0",
"@opentf/eslint-config-base": "^0.2.0",
"@swc/core": "^1.4.8",
"@swc/jest": "^0.2.24",
"@types/jest": "^29.5.2",
Expand All @@ -80,7 +80,7 @@
},
"dependencies": {
"@opentf/cli-styles": "^0.10.0",
"@opentf/utils": "^0.40.0"
"@opentf/std": "^0.1.0"
},
"publishConfig": {
"access": "public",
Expand Down

0 comments on commit f569890

Please sign in to comment.