@toa.io/origin 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -4
- package/.github/workflows/release.yaml +0 -36
- package/.husky/pre-commit +0 -1
- package/.releaserc +0 -17
- package/.vscode/settings.json +0 -10
- package/CHANGELOG.md +0 -70
- package/eslint.config.js +0 -78
- package/tsconfig.json +0 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/origin",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,15 +12,20 @@
|
|
|
12
12
|
"homepage": "https://github.com/toa-io/origin#readme",
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "dist/index.cjs",
|
|
15
|
-
"module": "dist/index.
|
|
15
|
+
"module": "dist/index.js",
|
|
16
16
|
"types": "dist/index.d.ts",
|
|
17
17
|
"exports": {
|
|
18
18
|
".": {
|
|
19
|
-
"import": "./dist/index.
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
20
|
"require": "./dist/index.cjs",
|
|
21
|
-
"default": "./dist/index.
|
|
21
|
+
"default": "./dist/index.js"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"source",
|
|
27
|
+
"README.md"
|
|
28
|
+
],
|
|
24
29
|
"peerDependencies": {
|
|
25
30
|
"typescript": "^5.8.3"
|
|
26
31
|
},
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
name: Release
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- dev
|
|
7
|
-
|
|
8
|
-
permissions:
|
|
9
|
-
contents: write
|
|
10
|
-
issues: write
|
|
11
|
-
pull-requests: write
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
release:
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
|
|
17
|
-
steps:
|
|
18
|
-
- name: Checkout
|
|
19
|
-
uses: actions/checkout@v4
|
|
20
|
-
with:
|
|
21
|
-
fetch-depth: 0
|
|
22
|
-
persist-credentials: false
|
|
23
|
-
|
|
24
|
-
- name: Setup Node
|
|
25
|
-
uses: actions/setup-node@v4
|
|
26
|
-
with:
|
|
27
|
-
node-version: "22"
|
|
28
|
-
|
|
29
|
-
- name: Install dependencies
|
|
30
|
-
run: npm ci
|
|
31
|
-
|
|
32
|
-
- name: Semantic release
|
|
33
|
-
env:
|
|
34
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
35
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
36
|
-
run: npx semantic-release
|
package/.husky/pre-commit
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
npm test
|
package/.releaserc
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"branches": ["dev"],
|
|
3
|
-
"plugins": [
|
|
4
|
-
"@semantic-release/commit-analyzer",
|
|
5
|
-
"@semantic-release/release-notes-generator",
|
|
6
|
-
|
|
7
|
-
["@semantic-release/changelog", { "changelogFile": "CHANGELOG.md" }],
|
|
8
|
-
["@semantic-release/npm"],
|
|
9
|
-
|
|
10
|
-
["@semantic-release/git", {
|
|
11
|
-
"assets": ["package.json", "package-lock.json", "CHANGELOG.md"],
|
|
12
|
-
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
|
|
13
|
-
}],
|
|
14
|
-
|
|
15
|
-
"@semantic-release/github"
|
|
16
|
-
]
|
|
17
|
-
}
|
package/.vscode/settings.json
DELETED
package/CHANGELOG.md
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
## [1.3.3](https://github.com/toa-io/origin/compare/v1.3.2...v1.3.3) (2025-10-06)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Bug Fixes
|
|
5
|
-
|
|
6
|
-
* add `tsup` arguments ([bf15eca](https://github.com/toa-io/origin/commit/bf15eca888b53cc33f41ea19d05f424e2b1ab1fa))
|
|
7
|
-
|
|
8
|
-
## [1.3.2](https://github.com/toa-io/origin/compare/v1.3.1...v1.3.2) (2025-10-06)
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
### Bug Fixes
|
|
12
|
-
|
|
13
|
-
* add `tsup` ([313239a](https://github.com/toa-io/origin/commit/313239ac40799a450c304d4e2e72959baf7aaf05))
|
|
14
|
-
|
|
15
|
-
## [1.3.1](https://github.com/toa-io/origin/compare/v1.3.0...v1.3.1) (2025-10-06)
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
### Bug Fixes
|
|
19
|
-
|
|
20
|
-
* rebuild package-lock ([3b3b253](https://github.com/toa-io/origin/commit/3b3b2537ee92d51f4d9e2d9804882d3ac78ebe3a))
|
|
21
|
-
|
|
22
|
-
# [1.3.0](https://github.com/toa-io/origin/compare/v1.2.2...v1.3.0) (2025-10-06)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
### Features
|
|
26
|
-
|
|
27
|
-
* add type `module` ([ac98595](https://github.com/toa-io/origin/commit/ac985959aeb940a4a316e526625ab4b5e984608d))
|
|
28
|
-
|
|
29
|
-
## [1.2.2](https://github.com/toa-io/origin/compare/v1.2.1...v1.2.2) (2025-10-06)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
### Bug Fixes
|
|
33
|
-
|
|
34
|
-
* rename file ([de63ef8](https://github.com/toa-io/origin/commit/de63ef889d9ca247f36ddbb52453d46f0f7655ab))
|
|
35
|
-
|
|
36
|
-
## [1.2.1](https://github.com/toa-io/origin/compare/v1.2.0...v1.2.1) (2025-10-06)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
### Bug Fixes
|
|
40
|
-
|
|
41
|
-
* update tsconfig ([3a69b4a](https://github.com/toa-io/origin/commit/3a69b4a873675a1214d01b1c119df624a6978fd5))
|
|
42
|
-
|
|
43
|
-
# [1.2.0](https://github.com/toa-io/origin/compare/v1.1.0...v1.2.0) (2025-10-06)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
### Features
|
|
47
|
-
|
|
48
|
-
* change type to `module` ([5b70fd5](https://github.com/toa-io/origin/commit/5b70fd5cb7cfacefcb05ea4d0b8fa7f0c5b58d9e))
|
|
49
|
-
|
|
50
|
-
# [1.1.0](https://github.com/toa-io/origin/compare/v1.0.0...v1.1.0) (2025-10-06)
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
### Features
|
|
54
|
-
|
|
55
|
-
* remove singleton ([df8e18a](https://github.com/toa-io/origin/commit/df8e18a4e9a5c065e9ea33e20e6437374c3bebb3))
|
|
56
|
-
|
|
57
|
-
# 1.0.0 (2025-10-05)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### Bug Fixes
|
|
61
|
-
|
|
62
|
-
* actually use `settings.delay` ([350af9c](https://github.com/toa-io/origin/commit/350af9c1db7874dafcbf6699f255c9fa7a4a021b))
|
|
63
|
-
* assert origin ([e1c6dd1](https://github.com/toa-io/origin/commit/e1c6dd15ec31b2b9bb6b8fa2d16a193c6d2600ce))
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
### Features
|
|
67
|
-
|
|
68
|
-
* import implementation ([b5b769f](https://github.com/toa-io/origin/commit/b5b769fc78c9b0e1a2886c0564066992501a5655))
|
|
69
|
-
* set file type as content-type ([58e24f2](https://github.com/toa-io/origin/commit/58e24f246c07f753fe897f9828212a0d7a745e00))
|
|
70
|
-
* update tsconfig ([7d583c1](https://github.com/toa-io/origin/commit/7d583c1c8fe7df2aca3cd2150cd3cb4628b6b1d4))
|
package/eslint.config.js
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import importPlugin from 'eslint-plugin-import'
|
|
2
|
-
import neostandard from 'neostandard'
|
|
3
|
-
|
|
4
|
-
export default [
|
|
5
|
-
...neostandard({
|
|
6
|
-
ts: true,
|
|
7
|
-
ignores: [
|
|
8
|
-
...neostandard.resolveIgnoresFromGitignore(),
|
|
9
|
-
'dist',
|
|
10
|
-
],
|
|
11
|
-
}),
|
|
12
|
-
{
|
|
13
|
-
plugins: {
|
|
14
|
-
import: importPlugin
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
rules: {
|
|
19
|
-
'no-void': ['error', { allowAsStatement: true }],
|
|
20
|
-
curly: ['error', 'multi'],
|
|
21
|
-
'@stylistic/space-before-function-paren': ['error', {
|
|
22
|
-
asyncArrow: 'always',
|
|
23
|
-
named: 'never',
|
|
24
|
-
anonymous: 'never'
|
|
25
|
-
}],
|
|
26
|
-
'@stylistic/padding-line-between-statements': [
|
|
27
|
-
'error',
|
|
28
|
-
{
|
|
29
|
-
blankLine: 'always',
|
|
30
|
-
prev: ['block-like', 'if', 'multiline-expression'],
|
|
31
|
-
next: '*'
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
blankLine: 'always',
|
|
35
|
-
prev: '*',
|
|
36
|
-
next: ['block-like', 'if', 'multiline-expression']
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
blankLine: 'always',
|
|
40
|
-
prev: ['const', 'let'],
|
|
41
|
-
next: ['expression', 'for']
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
blankLine: 'always',
|
|
45
|
-
prev: 'expression',
|
|
46
|
-
next: ['const', 'let']
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
blankLine: 'always',
|
|
50
|
-
prev: ['multiline-const', 'multiline-let'],
|
|
51
|
-
next: '*'
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
blankLine: 'always',
|
|
55
|
-
prev: '*',
|
|
56
|
-
next: ['multiline-const', 'multiline-let']
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
blankLine: 'always',
|
|
60
|
-
prev: '*',
|
|
61
|
-
next: 'return'
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
'import/order': ['error', {
|
|
65
|
-
groups: ['builtin', 'external', 'internal', 'unknown', 'parent', 'sibling', 'index', 'type'],
|
|
66
|
-
alphabetize: {
|
|
67
|
-
order: 'asc'
|
|
68
|
-
}
|
|
69
|
-
}],
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
files: ['**/*.ts'],
|
|
74
|
-
rules: {
|
|
75
|
-
'@typescript-eslint/consistent-type-imports': 'error'
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
]
|
package/tsconfig.json
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"strict": true,
|
|
5
|
-
"esModuleInterop": true,
|
|
6
|
-
"skipLibCheck": true,
|
|
7
|
-
"forceConsistentCasingInFileNames": true,
|
|
8
|
-
"target": "ES2022",
|
|
9
|
-
"module": "ESNext",
|
|
10
|
-
"moduleResolution": "Node",
|
|
11
|
-
"declaration": true,
|
|
12
|
-
"declarationDir": "./dist",
|
|
13
|
-
"outDir": "./dist"
|
|
14
|
-
},
|
|
15
|
-
"include": [
|
|
16
|
-
"source/**/*"
|
|
17
|
-
]
|
|
18
|
-
}
|