Skip to content
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
4 changes: 2 additions & 2 deletions .dependency-cruiser.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ module.exports = {
dependencyTypes: ["npm", "npm-dev", "npm-optional", "npm-peer", "npm-bundled", "npm-no-pkg"],
},

/* conditions specifying which dependencies to exclude
/* conditions specifying which dependencies to exclude
- path: a regular expression to match
- dynamic: a boolean indicating whether to ignore dynamic (true) or static (false) dependencies.
leave out if you want to exclude neither (recommended!)
Expand All @@ -115,7 +115,7 @@ module.exports = {
// , dynamic: true
// }

/* pattern specifying which files to include (regular expression)
/* pattern specifying which files to include (regular expression)
dependency-cruiser will skip everything not matching this pattern
*/
// , includeOnly : ''
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/initialize/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "initialize"
description: "Setup Config"

runs:
using: "composite"
Expand All @@ -7,6 +8,6 @@ runs:
run: |
git config --global core.autocrlf false
git config --global core.eol lf
git config --global user.email "actions@gihub.com"
git config --global user.email "actions@github.com"
git config --global user.name "gh-actions"
shell: bash
22 changes: 12 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,28 @@ jobs:
build:
runs-on: ${{ matrix.os }}

# @see https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.workflow }}-${{ matrix.os }}-${{ github.ref }}
cancel-in-progress: true

strategy:
matrix:
node-version: [20.x]
os: [windows-latest, ubuntu-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/initialize
- uses: pnpm/action-setup@v2.2.2
with:
version: 8.15.1
- uses: actions/setup-node@v2
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "20.x"
node-version-file: "package.json"
cache: "pnpm"
- run: pnpm i --frozen-lockfile
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Use Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node-version }}
node-version-file: "package.json"
- name: Test & Build
run: |
pnpm build
Expand Down
38 changes: 17 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: main
- uses: ./.github/actions/initialize
- uses: pnpm/action-setup@v2.2.2
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
version: 8.15.1
- uses: actions/setup-node@v2
with:
node-version: "20.x"
node-version-file: "package.json"
registry-url: https://npm.pkg.github.com
scope: "@Himenon"
cache: "pnpm"
Expand All @@ -27,17 +25,17 @@ jobs:

release-github-registry:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: main
- uses: ./.github/actions/initialize
- uses: pnpm/action-setup@v2.2.2
with:
version: 8.15.1
- uses: actions/setup-node@v2
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "20.x"
node-version-file: "package.json"
registry-url: https://npm.pkg.github.com
scope: "@Himenon"
cache: "pnpm"
Expand All @@ -50,20 +48,18 @@ jobs:

release-npm-registry:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: main
- uses: pnpm/action-setup@v2.2.2
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
version: 8.15.1
- uses: actions/setup-node@v2
with:
node-version: "20.x"
node-version-file: "package.json"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- run: pnpm run release:npm:registry
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: NPM_CONFIG_PROVENANCE=true pnpm run release:npm:registry
10 changes: 4 additions & 6 deletions .github/workflows/versionUp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ jobs:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: main
- uses: ./.github/actions/initialize
- uses: pnpm/action-setup@v2.2.2
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
version: 8.15.1
- uses: actions/setup-node@v2
with:
node-version: "20.x"
node-version-file: "package.json"
cache: "pnpm"
- run: pnpm i --frozen-lockfile
- name: Auto version update
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ package-lock.json
*.log
private_npm_cache
dist
lefthook-local.yml
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

8 changes: 8 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"printWidth": 200,
"singleQuote": false,
"sortPackageJson": true,
"tabWidth": 2,
"useTabs": false,
"ignorePatterns": ["node_modules/**", "dist/**"]
}
112 changes: 112 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn", "oxc"],
"ignorePatterns": ["src/__tests__/**", "dist/**"],
"options": {
"typeAware": true,
"typeCheck": true
},
"categories": {
"correctness": "error",
"suspicious": "error",
"pedantic": "error",
"perf": "error",
"style": "error",
"restriction": "error"
},
"rules": {
"new-cap": "off",
"no-warning-comments": "off",
"strict-boolean-expressions": "off",
"sort-keys": "off",
"promise-function-async": "off",
"prefer-template": "off",
"max-statements": "off",
"no-async-await": "off",
"no-undefined": "off",
"group-exports": "off",
"no-rest-spread-properties": "off",
"switch-case-braces": "off",
"capitalized-comments": "off",
"no-namespace": "off",
"sort-imports": "off",
"import/no-relative-parent-imports": "off",
"func-style": "off",
"import/consistent-type-specifier-style": "off",
"init-declarations": "off",
"no-inferrable-types": "off",
"import/no-default-export": "off",
"prefer-object-spread": "off",
"id-length": "off",
"unicorn/prefer-ternary": "off",
"unicorn/prefer-module": "off",
"unicorn/no-process-exit": "off",
"promise/prefer-await-to-then": "off",
"promise/prefer-await-to-callbacks": "off",
"no-continue": "off",
"import/exports-last": "off",
"oxc/no-optional-chaining": "off",
"import/prefer-default-export": "off",
"no-ternary": "off",
"unicorn/no-null": "off",
"import/no-named-export": "off",
"import/no-nodejs-modules": "off",
"prefer-dom-node-text-content": "off",
"avoid-new": "off",
"explicit-function-return-type": "off",
"filename-case": "off",
"prefer-destructuring": "off",
"max-params": "off",
"unicorn/no-array-for-each": "off",
"eslint/max-lines-per-function": [
"warn",
{
"skipComments": true,
"skipBlankLines": true
}
],
"eslint/no-alert": "off",
"eslint/no-void": ["warn", { "allowAsStatement": true }],
"eslint/no-magic-numbers": "warn",
"eslint/no-underscore-dangle": "warn",
"eslint/no-console": "warn",
"eslint/no-inline-comments": "warn",
"eslint/object-shorthand": "warn",
"typescript/no-misused-promises": ["warn", { "checksVoidReturn": false }],
"typescript/strict-void-return": "off",
"typescript/ban-types": "warn",
"typescript/consistent-type-definitions": "warn",
"typescript/no-empty-object-type": "warn",
"typescript/no-explicit-any": "warn",
"typescript/no-unsafe-type-assertion": "warn",
"typescript/no-unsafe-assignment": "warn",
"typescript/no-redundant-type-constituents": "warn",
"typescript/prefer-nullish-coalescing": "warn",
"typescript/consistent-type-exports": "warn",
"typescript/explicit-member-accessibility": "warn",
"typescript/parameter-properties": "warn",
"typescript/use-unknown-in-catch-callback-variable": "warn",
"typescript/return-await": "warn",
"typescript/prefer-readonly": "warn",
"unicorn/text-encoding-identifier-case": "warn",
"unicorn/prefer-top-level-await": "warn",
"unicorn/no-array-reduce": "warn",
"unicorn/prefer-spread": "warn",
"unicorn/prefer-array-some": "warn",
"prefer-readonly-parameter-types": "off",
"eslint/class-methods-use-this": "warn",
"eslint/no-useless-return": "warn",
"eslint/arrow-body-style": "warn",
"eslint/no-plusplus": "warn",
"eslint/no-unused-expressions": "warn",
"eslint/require-unicode-regexp": "warn",
"typescript/consistent-indexed-object-style": "warn",
"typescript/no-unnecessary-type-arguments": "warn",
"typescript/consistent-return": "warn",
"unicorn/prefer-string-raw": "warn",
"unicorn/prefer-negative-index": "warn"
},
"env": {
"builtin": true
}
}
54 changes: 14 additions & 40 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,87 +4,61 @@ All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="1.0.2"></a>
## 1.0.2 (2024-02-04)

## 1.0.2 (2024-02-04)

### Bug Fixes

* remove private field ([#11](https://github.com/Himenon/path-oriented-data-structure/issues/11)) ([644bc45](https://github.com/Himenon/path-oriented-data-structure/commit/644bc45))




- remove private field ([#11](https://github.com/Himenon/path-oriented-data-structure/issues/11)) ([644bc45](https://github.com/Himenon/path-oriented-data-structure/commit/644bc45))

<a name="1.0.1"></a>
## 1.0.1 (2024-02-04)

## 1.0.1 (2024-02-04)

### Chores

* **deps:** update dependencies ([#10](https://github.com/Himenon/path-oriented-data-structure/issues/10)) ([eb7d044](https://github.com/Himenon/path-oriented-data-structure/commit/eb7d044))




- **deps:** update dependencies ([#10](https://github.com/Himenon/path-oriented-data-structure/issues/10)) ([eb7d044](https://github.com/Himenon/path-oriented-data-structure/commit/eb7d044))

<a name="0.2.1"></a>
## 0.2.1 (2021-05-02)

## 0.2.1 (2021-05-02)

### Builds

* **deps:** bump ssri from 6.0.1 to 6.0.2 ([#7](https://github.com/Himenon/path-oriented-data-structure/issues/7)) ([29ec056](https://github.com/Himenon/path-oriented-data-structure/commit/29ec056))




- **deps:** bump ssri from 6.0.1 to 6.0.2 ([#7](https://github.com/Himenon/path-oriented-data-structure/issues/7)) ([29ec056](https://github.com/Himenon/path-oriented-data-structure/commit/29ec056))

<a name="0.2.0"></a>
# 0.2.0 (2021-05-02)

# 0.2.0 (2021-05-02)

### Features

* create getChildPaths API ([#8](https://github.com/Himenon/path-oriented-data-structure/issues/8)) ([2bdd19f](https://github.com/Himenon/path-oriented-data-structure/commit/2bdd19f))




- create getChildPaths API ([#8](https://github.com/Himenon/path-oriented-data-structure/issues/8)) ([2bdd19f](https://github.com/Himenon/path-oriented-data-structure/commit/2bdd19f))

<a name="0.1.3"></a>

## 0.1.3 (2021-04-01)

**Note:** Version bump only for package @himenon/path-oriented-data-structure





<a name="0.1.2"></a>

## 0.1.2 (2021-04-01)

**Note:** Version bump only for package @himenon/path-oriented-data-structure





<a name="0.1.1"></a>
## 0.1.1 (2021-01-18)

## 0.1.1 (2021-01-18)

### Documentation

* update readme ([#2](https://github.com/Himenon/path-oriented-data-structure/issues/2)) ([136038e](https://github.com/Himenon/path-oriented-data-structure/commit/136038e))




- update readme ([#2](https://github.com/Himenon/path-oriented-data-structure/issues/2)) ([136038e](https://github.com/Himenon/path-oriented-data-structure/commit/136038e))

<a name="0.1.0"></a>
# 0.1.0 (2021-01-17)

# 0.1.0 (2021-01-17)

### Features

* create path-oriented data structure ([#1](https://github.com/Himenon/path-oriented-data-structure/issues/1)) ([2f8240f](https://github.com/Himenon/path-oriented-data-structure/commit/2f8240f))
- create path-oriented data structure ([#1](https://github.com/Himenon/path-oriented-data-structure/issues/1)) ([2f8240f](https://github.com/Himenon/path-oriented-data-structure/commit/2f8240f))
Loading
Loading