Skip to content

Commit 4fe9ece

Browse files
committed
feat: create first version
- Implement tests for buildDeep, createService, and uploadDeep functionalities. - Add integration tests for build and upload processes, including fixture-based tests. - Introduce utility tests for directory and file retrieval functions. - Create tests for dynamic module imports and configuration loading. - Establish TypeScript configuration for compilation and output. - Set up build configurations using tsup and tsdown for module bundling.
0 parents  commit 4fe9ece

43 files changed

Lines changed: 8945 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
[*]
4+
insert_final_newline = true
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
end_of_line = lf
8+
9+
[*.{js,jsx,ts,tsx,json}]
10+
indent_style = space
11+
indent_size = 2
12+
13+
[*.{md,markdown}]
14+
trim_trailing_whitespace = false

.github/workflows/release.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: read # for checkout
10+
11+
jobs:
12+
release:
13+
name: Release
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write # to be able to publish a GitHub release
17+
issues: write # to be able to comment on released issues
18+
pull-requests: write # to be able to comment on released pull requests
19+
id-token: write # to enable use of OIDC for trusted publishing and npm provenance
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
26+
- name: Setup Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: "lts/*"
30+
31+
- name: Install pnpm
32+
uses: pnpm/action-setup@v4
33+
with:
34+
version: 9
35+
36+
- name: Install dependencies
37+
run: pnpm install --frozen-lockfile --ignore-scripts
38+
39+
- name: Build
40+
run: pnpm run build
41+
42+
- name: Test
43+
run: pnpm run test
44+
45+
- name: Release
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
49+
GIT_AUTHOR_NAME: LSK.js
50+
GIT_AUTHOR_EMAIL: lskjsru@gmail.com
51+
GIT_COMMITTER_NAME: LSK.js
52+
GIT_COMMITTER_EMAIL: lskjsru@gmail.com
53+
run: |
54+
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc && \
55+
npx semantic-release
56+

.github/workflows/test.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
node-version: [20, 22]
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
24+
- name: Install pnpm
25+
uses: pnpm/action-setup@v4
26+
with:
27+
version: 9
28+
29+
- name: Install dependencies
30+
run: pnpm install --frozen-lockfile --ignore-scripts
31+
32+
- name: Build
33+
run: pnpm run build
34+
35+
- name: Test
36+
run: pnpm run test

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules/
2+
cjs/
3+
lib/
4+
lib-*/

.vscode/settings.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"[typescript]": {
3+
"editor.defaultFormatter": "biomejs.biome"
4+
},
5+
"[typescriptreact]": {
6+
"editor.defaultFormatter": "biomejs.biome"
7+
},
8+
"[javascript]": {
9+
"editor.defaultFormatter": "biomejs.biome"
10+
},
11+
"[javascriptreact]": {
12+
"editor.defaultFormatter": "biomejs.biome"
13+
},
14+
"[jsonc]": {
15+
"editor.defaultFormatter": "vscode.json-language-features",
16+
},
17+
"[json]": {
18+
"editor.defaultFormatter": "vscode.json-language-features",
19+
},
20+
}

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# [1.1.0](https://github.com/ycmds/release-test/compare/v1.0.0...v1.1.0) (2025-11-09)
2+
3+
4+
### Features
5+
6+
* change commiter ([3e396b9](https://github.com/ycmds/release-test/commit/3e396b9a1b07bd4d6eb53a6bdcca847f1b11072a))
7+
8+
# 1.0.0 (2025-11-09)
9+
10+
11+
### Bug Fixes
12+
13+
* readme ([bb57651](https://github.com/ycmds/release-test/commit/bb5765149900e553f7f898caa321fee2340f3283))
14+
15+
16+
### Features
17+
18+
* v1 ([9add14a](https://github.com/ycmds/release-test/commit/9add14a04f0b74c058a7236ffe74971bbcd57c5c))

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017-2026 Igor Suvorov <mit@isuvorov.com>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)