Skip to content

Commit

Permalink
release 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed Nov 26, 2024
1 parent a8a8349 commit 3eea86a
Show file tree
Hide file tree
Showing 29 changed files with 45 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/@node-kit/pnpm-workspace-root/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/@node-kit/yarn-workspace-info/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/@node-kit/yarn-workspace-root/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/workspace-info/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/@node-kit/workspace-info/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/workspace-root/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/monorepo-root/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/workspace-projects/sync"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ jobs:
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ./packages/workspace-projects/.npmrc
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ./packages/workspace-pkgs/.npmrc
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ./packages/pm-info/.npmrc
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ./packages/os-lang/.npmrc
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ./packages/which-pm/.npmrc
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ./packages/what-pm/.npmrc
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ./packages/os-lang/.npmrc

- run: pnpm pub
env:
Expand All @@ -80,7 +80,7 @@ jobs:
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/@node-kit/pnpm-workspace-root/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/@node-kit/yarn-workspace-info/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/@node-kit/yarn-workspace-root/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/workspace-info/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/@node-kit/workspace-info/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/workspace-root/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/monorepo-root/sync"
- run: curl -X PUT -d "sync_upstream=true" "https://registry-direct.npmmirror.com/workspace-projects/sync"
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Logs

## 2024.11.26 v3.3.1

1. document work

## 2024.11.21 v3.3.0

1. compatible for yarn workspaces.nohoist
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/monorepo",
"description": "Some simple utilities for nodejs",
"version": "3.3.0",
"version": "3.3.1",
"packageManager": "[email protected]",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/extra/cp/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/extra.cp",
"description": "Some shared extra utilities for nodejs build-in child_process modules",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/extra/fs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/extra.fs",
"description": "Some shared extra utilities for nodejs build-in fs modules",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/extra/path/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/extra.path",
"description": "Some shared extra utilities for nodejs build-in path modules",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/lerna-workspace-info/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/lerna-workspace-info",
"description": "A simple utility to get the lerna workspace information",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/lerna-workspace-root/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/lerna-workspace-root",
"description": "A simple utility to get the lerna workspace root",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions packages/monorepo-root/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $ npm install -D monorepo-root
use import

```js
import { monorepoRoot, monorepoRootSync } from '@node-kit/monorepo-root'
import { monorepoRoot, monorepoRootSync } from 'monorepo-root'

monorepoRoot()
// or
Expand All @@ -42,7 +42,7 @@ monorepoRootSync()
use require

```js
const { monorepoRoot, monorepoRootSync } = require('@node-kit/monorepo-root')
const { monorepoRoot, monorepoRootSync } = require('monorepo-root')

monorepoRoot()
// or
Expand Down Expand Up @@ -75,7 +75,7 @@ declare function monorepoRootSync(cwd?: string): string | null
1. simple use

```ts
import { monorepoRoot, monorepoRootSync } from '@node-kit/monorepo-root'
import { monorepoRoot, monorepoRootSync } from 'monorepo-root'
monorepoRoot().then(path => {
console.log('The monorepo root is: ', path) // /Users/user/path/of/package/root or null
Expand Down
2 changes: 1 addition & 1 deletion packages/monorepo-root/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "monorepo-root",
"description": "A simple utility to get the monorepo root",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/os-lang/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "os-lang",
"description": "Get the system lang",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions packages/pm-info/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $ npm install -D pm-info
use import

```js
import { pmInfo, pmInfoSync } from '@node-kit/pm-info'
import { pmInfo, pmInfoSync } from 'pm-info'

pmInfo()
// or
Expand All @@ -42,7 +42,7 @@ pmInfoSync()
use require

```js
const { pmInfo, pmInfoSync } = require('@node-kit/pm-info')
const { pmInfo, pmInfoSync } = require('pm-info')

pmInfo()
// or
Expand Down Expand Up @@ -86,7 +86,7 @@ declare function pmInfoSync(cwd?: string): PackageManager | null
1. simple use

```ts
import { pmInfo, pmInfoSync } from '@node-kit/pm-info'
import { pmInfo, pmInfoSync } from 'pm-info'
pmInfo().then(info => {
console.log('The package manager is: ', info) // { name: 'pnpm', version: '7.26.1' } | null
Expand Down
2 changes: 1 addition & 1 deletion packages/pm-info/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pm-info",
"description": "A simple utility to get the package manager information which used in the project",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/pnpm-workspace-info/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/pnpm-workspace-info",
"description": "A simple utility to get the pnpm workspace information",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/pnpm-workspace-root/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/pnpm-workspace-root",
"description": "A simple utility to get the pnpm workspace root",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/utils",
"description": "Some shared utilities",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions packages/what-pm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ npx whatpm
use import

```js
import { whatPM, whatPMSync } from '@node-kit/what-pm'
import { whatPM, whatPMSync } from 'what-pm'

whatPM()
// or
Expand All @@ -52,7 +52,7 @@ whatPMSync()
use require

```js
const { whatPM, whatPMSync } = require('@node-kit/what-pm')
const { whatPM, whatPMSync } = require('what-pm')

whatPM()
// or
Expand Down Expand Up @@ -91,7 +91,7 @@ declare function whatPMSync(pkgPath: string): WhatPMResult | null
1. simple use

```ts
import { whatPM, whatPMSync } from '@node-kit/what-pm'
import { whatPM, whatPMSync } from 'what-pm'
whatPM().then(info => {
console.log('The package manager is: ', info) // pnpm | null
Expand Down
2 changes: 1 addition & 1 deletion packages/what-pm/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "what-pm",
"description": "Detects what package manager was used for installation",
"version": "3.3.0",
"version": "3.3.1",
"bin": {
"what-pm": "./bin/index.mjs",
"whatpm": "./bin/index.mjs"
Expand Down
2 changes: 1 addition & 1 deletion packages/which-pm/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/which-pm",
"description": "A simple utility to get which package manager used in the project",
"version": "3.3.0",
"version": "3.3.1",
"bin": {
"which-pm": "./bin/index.mjs",
"whichpm": "./bin/index.mjs"
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace-info/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/workspace-info",
"description": "A simple utility to get the workspace information",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions packages/workspace-pkgs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $ npm install -D workspace-pkgs
use import

```js
import { workspacePkgs, workspacePkgsSync } from '@node-kit/workspace-pkgs'
import { workspacePkgs, workspacePkgsSync } from 'workspace-pkgs'

workspacePkgs()
// or
Expand All @@ -42,7 +42,7 @@ workspacePkgsSync()
use require

```js
const { workspacePkgs, workspacePkgsSync } = require('@node-kit/workspace-pkgs')
const { workspacePkgs, workspacePkgsSync } = require('workspace-pkgs')

workspacePkgs()
// or
Expand Down Expand Up @@ -75,7 +75,7 @@ declare function workspacePkgsSync(cwd?: string): string[] | null
1. simple use

```ts
import { workspacePkgs, workspacePkgsSync } from '@node-kit/workspace-pkgs'
import { workspacePkgs, workspacePkgsSync } from 'workspace-pkgs'
workspacePkgs().then(data => {
console.log('The workspace projects is: ', data) // [ 'packages/utils', 'packages/monorepo-root' ]
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace-pkgs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "workspace-pkgs",
"description": "A simple utility to get the workspace project list",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions packages/workspace-projects/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $ npm install -D workspace-projects
use import

```js
import { workspaceProjects, workspaceProjectsSync } from '@node-kit/workspace-projects'
import { workspaceProjects, workspaceProjectsSync } from 'workspace-projects'

workspaceProjects()
// or
Expand All @@ -42,7 +42,7 @@ workspaceProjectsSync()
use require

```js
const { workspaceProjects, workspaceProjectsSync } = require('@node-kit/workspace-projects')
const { workspaceProjects, workspaceProjectsSync } = require('workspace-projects')

workspaceProjects()
// or
Expand Down Expand Up @@ -75,7 +75,7 @@ declare function workspaceProjectsSync(cwd?: string): string[] | null
1. simple use

```ts
import { workspaceProjects, workspaceProjectsSync } from '@node-kit/workspace-projects'
import { workspaceProjects, workspaceProjectsSync } from 'workspace-projects'
workspaceProjects().then(data => {
console.log('The workspace projects is: ', data) // [ 'packages/utils', 'packages/monorepo-root' ]
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace-projects/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "workspace-projects",
"description": "A simple utility to get the workspace project list",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions packages/workspace-root/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $ npm install -D workspace-root
use import

```js
import { workspaceRoot, workspaceRootSync } from '@node-kit/workspace-root'
import { workspaceRoot, workspaceRootSync } from 'workspace-root'

workspaceRoot()
// or
Expand All @@ -42,7 +42,7 @@ workspaceRootSync()
use require

```js
const { workspaceRoot, workspaceRootSync } = require('@node-kit/workspace-root')
const { workspaceRoot, workspaceRootSync } = require('workspace-root')

workspaceRoot()
// or
Expand Down Expand Up @@ -75,7 +75,7 @@ declare function workspaceRootSync(cwd?: string): string | null
1. simple use

```ts
import { workspaceRoot, workspaceRootSync } from '@node-kit/workspace-root'
import { workspaceRoot, workspaceRootSync } from 'workspace-root'
workspaceRoot().then(path => {
console.log('The workspace root is: ', path) // /Users/user/path/of/package/root or null
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace-root/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "workspace-root",
"description": "A simple utility to get the workspace root",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/yarn-workspace-info/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/yarn-workspace-info",
"description": "A simple utility to get the yarn workspace information",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/yarn-workspace-root/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@node-kit/yarn-workspace-root",
"description": "A simple utility to get the yarn workspace root",
"version": "3.3.0",
"version": "3.3.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 3eea86a

Please sign in to comment.