@gurso/oxc-config 0.0.2 → 0.0.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/.gitlab-ci.yml +5 -2
- package/.npm/_cacache/content-v2/sha512/32/28/6a88fce224da16cb832a35257e8d503583ed3b8900e3662474bda09a0e83e0144889a4232cc5a9a4b732d5d3b704790b12274e2f41a5380b3090c08bed0c +0 -0
- package/.npm/_cacache/content-v2/sha512/3e/e8/2ab3a3349bb2efd48ec5b713786a8c93a0a8350b8b6efbfdfcd6f1f7e72f2810d33f022edfec2e12b5ca0ae3ff814b0f5e6dc4bc8d1895ace44528200b2f +0 -0
- package/.npm/_cacache/content-v2/sha512/8d/28/f6c024da93080f33191f895657d237fe9d7f8dcfac65c80663a8d134a974c574204f6253fa24037e3838e679a970ec35c18cecd86ddb2ac013006673d9e8 +0 -0
- package/.npm/_cacache/content-v2/sha512/cb/64/efbb14993c3c906a490544f6472859be28a56a222b1d83dfc26709bd7edbca5cb3fc3515a3dfcfce0e335baf8dd2b285ea36e022b047f519d0b1a9671d07 +0 -0
- package/.npm/_cacache/index-v5/3f/9c/1ee1185819bc2ca30a99923df9cf676025c77566eb9c1cb43e182ac69771 +2 -0
- package/.npm/_cacache/index-v5/a2/18/54adaf9f2ad7786c0ccf801c82df29e995adfed77dc48689f89a281be738 +2 -0
- package/.npm/_cacache/index-v5/a5/6b/04a0197912a7df41d1853ccf563ae8637ac97b69b693703dc89424e1cba3 +2 -0
- package/.npm/_cacache/index-v5/bb/65/7b2f40f1e944d87fe713e5d57907b832fabd26a381ceb8dfa97ac4024de8 +2 -0
- package/.npm/_logs/2026-06-19T18_50_49_369Z-debug-0.log +64 -0
- package/.npm/_logs/2026-06-19T18_50_50_280Z-debug-0.log +18 -0
- package/.npm/_logs/2026-06-19T18_51_23_418Z-debug-0.log +56 -0
- package/.npm/_logs/2026-06-19T18_51_24_130Z-debug-0.log +15 -0
- package/bin.sh +43 -0
- package/oxfmt.config.js +3 -0
- package/package.json +3 -2
- package/fmt.ts +0 -3
package/.gitlab-ci.yml
CHANGED
|
@@ -19,8 +19,11 @@ before_script:
|
|
|
19
19
|
|
|
20
20
|
.test_template:
|
|
21
21
|
stage: test
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
rules:
|
|
23
|
+
- if: $CI_COMMIT_TAG =~ /^v(\d+\.){2}\d+$/
|
|
24
|
+
- if: $CI_PIPELINE_SOURCE == "web"
|
|
25
|
+
- if: $CI_PIPELINE_SOURCE == "api"
|
|
26
|
+
- if: $CI_PIPELINE_SOURCE == "trigger"
|
|
24
27
|
|
|
25
28
|
lint:
|
|
26
29
|
extends: .test_template
|
package/.npm/_cacache/index-v5/3f/9c/1ee1185819bc2ca30a99923df9cf676025c77566eb9c1cb43e182ac69771
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
2fb6e10b2a729da529c09fe3914b7fc7e380afd4 {"key":"make-fetch-happen:request-cache:https://registry.npmjs.org/tinypool/-/tinypool-2.1.0.tgz","integrity":"sha512-Pugqs6M0m7Lv1I7FtxN4aoyToKg1C4tu+/381vH35y8oENM/Ai7f7C4StcoK4/+BSw9ebcS8jRiVrORFKCALLw==","time":1781895049833,"size":14170,"metadata":{"time":1781895049784,"url":"https://registry.npmjs.org/tinypool/-/tinypool-2.1.0.tgz","reqHeaders":{},"resHeaders":{"cache-control":"public, immutable, max-age=31557600","content-type":"application/octet-stream","date":"Fri, 19 Jun 2026 18:50:49 GMT","etag":"\"a1806b4be28f0bce287f51edb50fe540\"","last-modified":"Sat, 03 Jan 2026 07:37:54 GMT","vary":"Accept-Encoding"},"options":{"compress":true}}}
|
package/.npm/_cacache/index-v5/a2/18/54adaf9f2ad7786c0ccf801c82df29e995adfed77dc48689f89a281be738
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
fb5dd8efde4b012f6821af443c1e1d20fbfdeda9 {"key":"make-fetch-happen:request-cache:https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz","integrity":"sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==","time":1781895050180,"size":4515854,"metadata":{"time":1781895049776,"url":"https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz","reqHeaders":{},"resHeaders":{"cache-control":"public, immutable, max-age=31557600","content-type":"application/octet-stream","date":"Fri, 19 Jun 2026 18:50:49 GMT","etag":"\"0136d6b610a8ef0251f65aecb4c9fc24\"","last-modified":"Thu, 16 Apr 2026 23:38:31 GMT","vary":"Accept-Encoding"},"options":{"compress":true}}}
|
package/.npm/_cacache/index-v5/a5/6b/04a0197912a7df41d1853ccf563ae8637ac97b69b693703dc89424e1cba3
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
655d88bebac9bbd985aa440b855f93fcc2d45e2d {"key":"make-fetch-happen:request-cache:https://registry.npmjs.org/oxfmt/-/oxfmt-0.55.0.tgz","integrity":"sha512-jSj2wCTakwgPMxkfiVZX0jf+nX+Nz6xlyAZjqNE0qXTFdCBPYlP6JAN+ODjmealw7DXBjOzYbdsqwBMAZnPZ6A==","time":1781895050069,"size":1871359,"metadata":{"time":1781895049787,"url":"https://registry.npmjs.org/oxfmt/-/oxfmt-0.55.0.tgz","reqHeaders":{},"resHeaders":{"cache-control":"public, immutable, max-age=31557600","content-type":"application/octet-stream","date":"Fri, 19 Jun 2026 18:50:49 GMT","etag":"\"954e1dbe238d44968602fd6cd22678ba\"","last-modified":"Mon, 15 Jun 2026 13:36:25 GMT","vary":"Accept-Encoding"},"options":{"compress":true}}}
|
package/.npm/_cacache/index-v5/bb/65/7b2f40f1e944d87fe713e5d57907b832fabd26a381ceb8dfa97ac4024de8
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
8381ce9aee4addefeabfbb1b15ccaa1d155eac81 {"key":"make-fetch-happen:request-cache:https://registry.npmjs.org/@oxfmt/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.55.0.tgz","integrity":"sha512-MihqiPziJNoWy4MqNSV+jVA1g+07iQDjZiR0vaCaDoPgFEiJpCMsxamktzLV07cEeQsSJ04vQaU4CzCQwIvtDA==","time":1781895050050,"size":3283068,"metadata":{"time":1781895049793,"url":"https://registry.npmjs.org/@oxfmt/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.55.0.tgz","reqHeaders":{},"resHeaders":{"cache-control":"public, must-revalidate, max-age=31557600","content-type":"application/octet-stream","date":"Fri, 19 Jun 2026 18:50:49 GMT","etag":"\"6944748219cd91165852c05d93fddb4b\"","last-modified":"Mon, 15 Jun 2026 13:36:14 GMT","vary":"Accept-Encoding"},"options":{"compress":true}}}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
0 verbose cli /usr/local/bin/node /usr/local/bin/npm
|
|
2
|
+
1 info using npm@11.16.0
|
|
3
|
+
2 info using node@v26.3.1
|
|
4
|
+
3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc
|
|
5
|
+
4 silly config load:file:/builds/gurso/oxc-config/.npmrc
|
|
6
|
+
5 silly config load:file:/root/.npmrc
|
|
7
|
+
6 silly config load:file:/usr/local/etc/npmrc
|
|
8
|
+
7 verbose title npm ci
|
|
9
|
+
8 verbose argv "ci" "--prefer-offline"
|
|
10
|
+
9 verbose logfile logs-max:10 dir:/builds/gurso/oxc-config/.npm/_logs/2026-06-19T18_50_49_369Z-
|
|
11
|
+
10 verbose logfile /builds/gurso/oxc-config/.npm/_logs/2026-06-19T18_50_49_369Z-debug-0.log
|
|
12
|
+
11 silly logfile done cleaning log files
|
|
13
|
+
12 silly packumentCache heap:2248146944 maxSize:562036736 maxEntrySize:281018368
|
|
14
|
+
13 silly packumentCache heap:2248146944 maxSize:562036736 maxEntrySize:281018368
|
|
15
|
+
14 silly idealTree buildDeps
|
|
16
|
+
15 silly reify moves {}
|
|
17
|
+
16 silly audit bulk request {
|
|
18
|
+
16 silly audit '@oxfmt/binding-android-arm-eabi': [ '0.55.0' ],
|
|
19
|
+
16 silly audit '@oxfmt/binding-android-arm64': [ '0.55.0' ],
|
|
20
|
+
16 silly audit '@oxfmt/binding-darwin-arm64': [ '0.55.0' ],
|
|
21
|
+
16 silly audit '@oxfmt/binding-darwin-x64': [ '0.55.0' ],
|
|
22
|
+
16 silly audit '@oxfmt/binding-freebsd-x64': [ '0.55.0' ],
|
|
23
|
+
16 silly audit '@oxfmt/binding-linux-arm-gnueabihf': [ '0.55.0' ],
|
|
24
|
+
16 silly audit '@oxfmt/binding-linux-arm-musleabihf': [ '0.55.0' ],
|
|
25
|
+
16 silly audit '@oxfmt/binding-linux-arm64-gnu': [ '0.55.0' ],
|
|
26
|
+
16 silly audit '@oxfmt/binding-linux-arm64-musl': [ '0.55.0' ],
|
|
27
|
+
16 silly audit '@oxfmt/binding-linux-ppc64-gnu': [ '0.55.0' ],
|
|
28
|
+
16 silly audit '@oxfmt/binding-linux-riscv64-gnu': [ '0.55.0' ],
|
|
29
|
+
16 silly audit '@oxfmt/binding-linux-riscv64-musl': [ '0.55.0' ],
|
|
30
|
+
16 silly audit '@oxfmt/binding-linux-s390x-gnu': [ '0.55.0' ],
|
|
31
|
+
16 silly audit '@oxfmt/binding-linux-x64-gnu': [ '0.55.0' ],
|
|
32
|
+
16 silly audit '@oxfmt/binding-linux-x64-musl': [ '0.55.0' ],
|
|
33
|
+
16 silly audit '@oxfmt/binding-openharmony-arm64': [ '0.55.0' ],
|
|
34
|
+
16 silly audit '@oxfmt/binding-win32-arm64-msvc': [ '0.55.0' ],
|
|
35
|
+
16 silly audit '@oxfmt/binding-win32-ia32-msvc': [ '0.55.0' ],
|
|
36
|
+
16 silly audit '@oxfmt/binding-win32-x64-msvc': [ '0.55.0' ],
|
|
37
|
+
16 silly audit oxfmt: [ '0.55.0' ],
|
|
38
|
+
16 silly audit tinypool: [ '2.1.0' ],
|
|
39
|
+
16 silly audit typescript: [ '6.0.3' ]
|
|
40
|
+
16 silly audit }
|
|
41
|
+
17 http cache typescript@https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz 1ms (cache hit)
|
|
42
|
+
18 http cache tinypool@https://registry.npmjs.org/tinypool/-/tinypool-2.1.0.tgz 0ms (cache hit)
|
|
43
|
+
19 http cache oxfmt@https://registry.npmjs.org/oxfmt/-/oxfmt-0.55.0.tgz 0ms (cache hit)
|
|
44
|
+
20 http cache @oxfmt/binding-linux-x64-gnu@https://registry.npmjs.org/@oxfmt/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.55.0.tgz 0ms (cache hit)
|
|
45
|
+
21 silly tarball no local data for typescript@https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz. Extracting by manifest.
|
|
46
|
+
22 silly tarball no local data for tinypool@https://registry.npmjs.org/tinypool/-/tinypool-2.1.0.tgz. Extracting by manifest.
|
|
47
|
+
23 silly tarball no local data for oxfmt@https://registry.npmjs.org/oxfmt/-/oxfmt-0.55.0.tgz. Extracting by manifest.
|
|
48
|
+
24 silly tarball no local data for @oxfmt/binding-linux-x64-gnu@https://registry.npmjs.org/@oxfmt/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.55.0.tgz. Extracting by manifest.
|
|
49
|
+
25 http fetch GET 200 https://registry.npmjs.org/tinypool/-/tinypool-2.1.0.tgz 136ms (cache miss)
|
|
50
|
+
26 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 170ms
|
|
51
|
+
27 silly audit report {}
|
|
52
|
+
28 http fetch GET 200 https://registry.npmjs.org/@oxfmt/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.55.0.tgz 346ms (cache miss)
|
|
53
|
+
29 http fetch GET 200 https://registry.npmjs.org/oxfmt/-/oxfmt-0.55.0.tgz 365ms (cache miss)
|
|
54
|
+
30 http fetch GET 200 https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz 478ms (cache miss)
|
|
55
|
+
31 silly ADD node_modules/typescript
|
|
56
|
+
32 silly ADD node_modules/tinypool
|
|
57
|
+
33 silly ADD node_modules/oxfmt
|
|
58
|
+
34 silly ADD node_modules/@oxfmt/binding-linux-x64-gnu
|
|
59
|
+
35 verbose cwd /builds/gurso/oxc-config
|
|
60
|
+
36 verbose os Linux 5.15.154+
|
|
61
|
+
37 verbose node v26.3.1
|
|
62
|
+
38 verbose npm v11.16.0
|
|
63
|
+
39 verbose exit 0
|
|
64
|
+
40 info ok
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
0 verbose cli /usr/local/bin/node /usr/local/bin/npm
|
|
2
|
+
1 info using npm@11.16.0
|
|
3
|
+
2 info using node@v26.3.1
|
|
4
|
+
3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc
|
|
5
|
+
4 silly config load:file:/builds/gurso/oxc-config/.npmrc
|
|
6
|
+
5 silly config load:file:/root/.npmrc
|
|
7
|
+
6 silly config load:file:/usr/local/etc/npmrc
|
|
8
|
+
7 verbose title npm run lint
|
|
9
|
+
8 verbose argv "run" "lint"
|
|
10
|
+
9 verbose logfile logs-max:10 dir:/builds/gurso/oxc-config/.npm/_logs/2026-06-19T18_50_50_280Z-
|
|
11
|
+
10 verbose logfile /builds/gurso/oxc-config/.npm/_logs/2026-06-19T18_50_50_280Z-debug-0.log
|
|
12
|
+
11 silly logfile done cleaning log files
|
|
13
|
+
12 verbose cwd /builds/gurso/oxc-config
|
|
14
|
+
13 verbose os Linux 5.15.154+
|
|
15
|
+
14 verbose node v26.3.1
|
|
16
|
+
15 verbose npm v11.16.0
|
|
17
|
+
16 verbose exit 0
|
|
18
|
+
17 info ok
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
0 verbose cli /usr/local/bin/node /usr/local/bin/npm
|
|
2
|
+
1 info using npm@11.16.0
|
|
3
|
+
2 info using node@v26.3.1
|
|
4
|
+
3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc
|
|
5
|
+
4 silly config load:file:/builds/gurso/oxc-config/.npmrc
|
|
6
|
+
5 silly config load:file:/root/.npmrc
|
|
7
|
+
6 silly config load:file:/usr/local/etc/npmrc
|
|
8
|
+
7 verbose title npm ci
|
|
9
|
+
8 verbose argv "ci" "--prefer-offline"
|
|
10
|
+
9 verbose logfile logs-max:10 dir:/builds/gurso/oxc-config/.npm/_logs/2026-06-19T18_51_23_418Z-
|
|
11
|
+
10 verbose logfile /builds/gurso/oxc-config/.npm/_logs/2026-06-19T18_51_23_418Z-debug-0.log
|
|
12
|
+
11 silly logfile done cleaning log files
|
|
13
|
+
12 silly packumentCache heap:2248146944 maxSize:562036736 maxEntrySize:281018368
|
|
14
|
+
13 silly packumentCache heap:2248146944 maxSize:562036736 maxEntrySize:281018368
|
|
15
|
+
14 silly idealTree buildDeps
|
|
16
|
+
15 silly reify moves {}
|
|
17
|
+
16 silly audit bulk request {
|
|
18
|
+
16 silly audit '@oxfmt/binding-android-arm-eabi': [ '0.55.0' ],
|
|
19
|
+
16 silly audit '@oxfmt/binding-android-arm64': [ '0.55.0' ],
|
|
20
|
+
16 silly audit '@oxfmt/binding-darwin-arm64': [ '0.55.0' ],
|
|
21
|
+
16 silly audit '@oxfmt/binding-darwin-x64': [ '0.55.0' ],
|
|
22
|
+
16 silly audit '@oxfmt/binding-freebsd-x64': [ '0.55.0' ],
|
|
23
|
+
16 silly audit '@oxfmt/binding-linux-arm-gnueabihf': [ '0.55.0' ],
|
|
24
|
+
16 silly audit '@oxfmt/binding-linux-arm-musleabihf': [ '0.55.0' ],
|
|
25
|
+
16 silly audit '@oxfmt/binding-linux-arm64-gnu': [ '0.55.0' ],
|
|
26
|
+
16 silly audit '@oxfmt/binding-linux-arm64-musl': [ '0.55.0' ],
|
|
27
|
+
16 silly audit '@oxfmt/binding-linux-ppc64-gnu': [ '0.55.0' ],
|
|
28
|
+
16 silly audit '@oxfmt/binding-linux-riscv64-gnu': [ '0.55.0' ],
|
|
29
|
+
16 silly audit '@oxfmt/binding-linux-riscv64-musl': [ '0.55.0' ],
|
|
30
|
+
16 silly audit '@oxfmt/binding-linux-s390x-gnu': [ '0.55.0' ],
|
|
31
|
+
16 silly audit '@oxfmt/binding-linux-x64-gnu': [ '0.55.0' ],
|
|
32
|
+
16 silly audit '@oxfmt/binding-linux-x64-musl': [ '0.55.0' ],
|
|
33
|
+
16 silly audit '@oxfmt/binding-openharmony-arm64': [ '0.55.0' ],
|
|
34
|
+
16 silly audit '@oxfmt/binding-win32-arm64-msvc': [ '0.55.0' ],
|
|
35
|
+
16 silly audit '@oxfmt/binding-win32-ia32-msvc': [ '0.55.0' ],
|
|
36
|
+
16 silly audit '@oxfmt/binding-win32-x64-msvc': [ '0.55.0' ],
|
|
37
|
+
16 silly audit oxfmt: [ '0.55.0' ],
|
|
38
|
+
16 silly audit tinypool: [ '2.1.0' ],
|
|
39
|
+
16 silly audit typescript: [ '6.0.3' ]
|
|
40
|
+
16 silly audit }
|
|
41
|
+
17 http cache typescript@https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz 0ms (cache hit)
|
|
42
|
+
18 http cache tinypool@https://registry.npmjs.org/tinypool/-/tinypool-2.1.0.tgz 0ms (cache hit)
|
|
43
|
+
19 http cache oxfmt@https://registry.npmjs.org/oxfmt/-/oxfmt-0.55.0.tgz 0ms (cache hit)
|
|
44
|
+
20 http cache @oxfmt/binding-linux-x64-gnu@https://registry.npmjs.org/@oxfmt/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.55.0.tgz 0ms (cache hit)
|
|
45
|
+
21 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 326ms
|
|
46
|
+
22 silly audit report {}
|
|
47
|
+
23 silly ADD node_modules/typescript
|
|
48
|
+
24 silly ADD node_modules/tinypool
|
|
49
|
+
25 silly ADD node_modules/oxfmt
|
|
50
|
+
26 silly ADD node_modules/@oxfmt/binding-linux-x64-gnu
|
|
51
|
+
27 verbose cwd /builds/gurso/oxc-config
|
|
52
|
+
28 verbose os Linux 5.15.154+
|
|
53
|
+
29 verbose node v26.3.1
|
|
54
|
+
30 verbose npm v11.16.0
|
|
55
|
+
31 verbose exit 0
|
|
56
|
+
32 info ok
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
0 verbose cli /usr/local/bin/node /usr/local/bin/npm
|
|
2
|
+
1 info using npm@11.16.0
|
|
3
|
+
2 info using node@v26.3.1
|
|
4
|
+
3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc
|
|
5
|
+
4 silly config load:file:/builds/gurso/oxc-config/.npmrc
|
|
6
|
+
5 silly config load:file:/root/.npmrc
|
|
7
|
+
6 silly config load:file:/usr/local/etc/npmrc
|
|
8
|
+
7 verbose title npm publish
|
|
9
|
+
8 verbose argv "publish" "--access" "public"
|
|
10
|
+
9 verbose logfile logs-max:10 dir:/builds/gurso/oxc-config/.npm/_logs/2026-06-19T18_51_24_130Z-
|
|
11
|
+
10 verbose logfile /builds/gurso/oxc-config/.npm/_logs/2026-06-19T18_51_24_130Z-debug-0.log
|
|
12
|
+
11 silly logfile done cleaning log files
|
|
13
|
+
12 verbose publish [ '.' ]
|
|
14
|
+
13 silly packumentCache heap:2248146944 maxSize:562036736 maxEntrySize:281018368
|
|
15
|
+
14 warn gitignore-fallback No .npmignore file found, using .gitignore for file exclusion. Consider creating a .npmignore file to explicitly control published files.
|
package/bin.sh
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
src_dir=$(dirname "$0")
|
|
4
|
+
|
|
5
|
+
case "$1" in
|
|
6
|
+
"copy")
|
|
7
|
+
case "$2" in
|
|
8
|
+
"fmt")
|
|
9
|
+
echo "copy fmt conf >>> "
|
|
10
|
+
cp "$src_dir/oxfmt.config.ts" "$PWD/oxfmt.config.ts"
|
|
11
|
+
;;
|
|
12
|
+
"lint")
|
|
13
|
+
echo "Lint config not ready yet"
|
|
14
|
+
;;
|
|
15
|
+
"")
|
|
16
|
+
cp "$src_dir/oxfmt.config.ts" "$PWD/oxfmt.config.ts"
|
|
17
|
+
echo "Lint config not ready yet"
|
|
18
|
+
;;
|
|
19
|
+
*)
|
|
20
|
+
echo "copy accept 'fmt', 'lint' or no value"
|
|
21
|
+
esac
|
|
22
|
+
;;
|
|
23
|
+
"import")
|
|
24
|
+
case "$2" in
|
|
25
|
+
"fmt")
|
|
26
|
+
cp "$src_dir/oxfmt.config.js" "$PWD/oxfmt.config.ts"
|
|
27
|
+
;;
|
|
28
|
+
"lint")
|
|
29
|
+
echo "Lint config not ready yet for import"
|
|
30
|
+
;;
|
|
31
|
+
"")
|
|
32
|
+
cp "$src_dir/oxfmt.config.js" "$PWD/oxfmt.config.ts"
|
|
33
|
+
echo "Lint config not ready yet for import"
|
|
34
|
+
;;
|
|
35
|
+
*)
|
|
36
|
+
echo "import accept 'fmt', 'lint' or no value"
|
|
37
|
+
;;
|
|
38
|
+
esac
|
|
39
|
+
;;
|
|
40
|
+
*)
|
|
41
|
+
echo "unknown command: [$1], copy and import are allowed commands"
|
|
42
|
+
;;
|
|
43
|
+
esac
|
package/oxfmt.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gurso/oxc-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"oxc"
|
|
6
6
|
],
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "git+ssh://git@gitlab.com/gurso/oxc-config.git"
|
|
14
14
|
},
|
|
15
|
+
"bin": "./bin.sh",
|
|
15
16
|
"type": "module",
|
|
16
17
|
"scripts": {
|
|
17
18
|
"lint": "echo 'TODO: lint stuff'",
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
"typecheck": "tsc --noEmit"
|
|
20
21
|
},
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"oxfmt": "0.
|
|
23
|
+
"oxfmt": "0.55.0"
|
|
23
24
|
},
|
|
24
25
|
"devDependencies": {
|
|
25
26
|
"typescript": "6.0.3"
|
package/fmt.ts
DELETED