@aidc-toolkit/utility 0.9.3 → 0.9.5
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/.github/workflows/build-publish.yml +20 -0
- package/.idea/runConfigurations/Test_iterator_proxy.xml +12 -0
- package/dist/index.cjs +1714 -0
- package/dist/index.d.cts +909 -0
- package/dist/index.d.ts +909 -0
- package/dist/index.js +1674 -0
- package/package.json +6 -5
- package/src/index.ts +1 -0
- package/src/iterator_proxy.ts +517 -0
- package/src/transformer.ts +5 -4
- package/test/character_set.test.ts +7 -6
- package/test/iterator_proxy.test.ts +252 -0
- package/test/record.test.ts +1 -1
- package/test/reg_exp.test.ts +1 -1
- package/test/sequencer.test.ts +5 -5
- package/test/transformer.test.ts +3 -3
- package/.github/workflows/npm-publish.yml +0 -38
- package/.idea/runConfigurations/build_dev.xml +0 -12
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: Build and publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types:
|
|
6
|
+
- published
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build-and-publish:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
- name: Build and publish utility
|
|
14
|
+
uses: aidc-toolkit/dev/.github/actions/build-publish@main
|
|
15
|
+
with:
|
|
16
|
+
project: utility
|
|
17
|
+
node_version: ${{ vars.NODE_VERSION }}
|
|
18
|
+
node_auth_token: ${{ secrets.NODE_AUTH_TOKEN }}
|
|
19
|
+
terminal_pre_build: ${{ vars.TERMINAL_PRE_BUILD }}
|
|
20
|
+
terminal_post_build: ${{ vars.TERMINAL_POST_BUILD }}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<component name="ProjectRunConfigurationManager">
|
|
2
|
+
<configuration default="false" name="Test iterator proxy" type="JavaScriptTestRunnerVitest">
|
|
3
|
+
<node-interpreter value="project" />
|
|
4
|
+
<vitest-package value="$PROJECT_DIR$/node_modules/vitest" />
|
|
5
|
+
<working-dir value="$PROJECT_DIR$" />
|
|
6
|
+
<vitest-options value="--run" />
|
|
7
|
+
<envs />
|
|
8
|
+
<scope-kind value="TEST_FILE" />
|
|
9
|
+
<test-file value="$PROJECT_DIR$/test/iterator_proxy.test.ts" />
|
|
10
|
+
<method v="2" />
|
|
11
|
+
</configuration>
|
|
12
|
+
</component>
|