@yvhitxcel/opencode-remote 0.15.0
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/README.md +82 -0
- package/bin/opencode-remote.js +70 -0
- package/bin/opencode-weixin.js +10 -0
- package/dist/AGENTS.md +20 -0
- package/dist/MEMORY.md +21 -0
- package/dist/bot-runner.js +180 -0
- package/dist/cli.js +256 -0
- package/dist/core/approval.js +95 -0
- package/dist/core/auth.js +119 -0
- package/dist/core/config.js +61 -0
- package/dist/core/notifications.js +134 -0
- package/dist/core/qiniu.js +267 -0
- package/dist/core/registry.js +86 -0
- package/dist/core/router.js +344 -0
- package/dist/core/session.js +403 -0
- package/dist/core/setup.js +418 -0
- package/dist/core/types.js +16 -0
- package/dist/feishu/adapter.js +72 -0
- package/dist/feishu/bot.js +168 -0
- package/dist/feishu/commands.js +601 -0
- package/dist/feishu/handler.js +380 -0
- package/dist/index.js +60 -0
- package/dist/opencode/client.js +823 -0
- package/dist/package-lock.json +762 -0
- package/dist/patch_spawn.js +28 -0
- package/dist/plugins/agents/acp/acp-adapter.js +42 -0
- package/dist/plugins/agents/claude-code/index.js +69 -0
- package/dist/plugins/agents/codex/index.js +44 -0
- package/dist/plugins/agents/copilot/index.js +44 -0
- package/dist/plugins/agents/opencode/index.js +66 -0
- package/dist/telegram/bot.js +288 -0
- package/dist/utils/message-split.js +38 -0
- package/dist/web/code-viewer.js +266 -0
- package/dist/weixin/adapter.js +135 -0
- package/dist/weixin/api.js +179 -0
- package/dist/weixin/bot.js +183 -0
- package/dist/weixin/commands.js +758 -0
- package/dist/weixin/handler.js +577 -0
- package/dist/weixin/node_modules/encodeurl/LICENSE +22 -0
- package/dist/weixin/node_modules/encodeurl/README.md +109 -0
- package/dist/weixin/node_modules/encodeurl/index.js +60 -0
- package/dist/weixin/node_modules/encodeurl/package.json +40 -0
- package/dist/weixin/node_modules/qiniu/.claude/settings.local.json +7 -0
- package/dist/weixin/node_modules/qiniu/.github/workflows/ci-test.yml +36 -0
- package/dist/weixin/node_modules/qiniu/.github/workflows/npm-publish.yml +20 -0
- package/dist/weixin/node_modules/qiniu/.github/workflows/version-check.yml +19 -0
- package/dist/weixin/node_modules/qiniu/.idea/MarsCodeWorkspaceAppSettings.xml +7 -0
- package/dist/weixin/node_modules/qiniu/.idea/codeStyles/Project.xml +44 -0
- package/dist/weixin/node_modules/qiniu/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/dist/weixin/node_modules/qiniu/.idea/git_toolbox_blame.xml +6 -0
- package/dist/weixin/node_modules/qiniu/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/dist/weixin/node_modules/qiniu/.idea/jsLibraryMappings.xml +6 -0
- package/dist/weixin/node_modules/qiniu/.idea/modules.xml +8 -0
- package/dist/weixin/node_modules/qiniu/.idea/nodejs-sdk.iml +12 -0
- package/dist/weixin/node_modules/qiniu/.idea/vcs.xml +6 -0
- package/dist/weixin/node_modules/qiniu/CHANGELOG.md +292 -0
- package/dist/weixin/node_modules/qiniu/README.md +56 -0
- package/dist/weixin/node_modules/qiniu/StorageResponseInterface.d.ts +239 -0
- package/dist/weixin/node_modules/qiniu/codecov.yml +28 -0
- package/dist/weixin/node_modules/qiniu/index.d.ts +1995 -0
- package/dist/weixin/node_modules/qiniu/index.js +32 -0
- package/dist/weixin/node_modules/qiniu/node_modules/encodeurl/HISTORY.md +14 -0
- package/dist/weixin/node_modules/qiniu/node_modules/encodeurl/LICENSE +22 -0
- package/dist/weixin/node_modules/qiniu/node_modules/encodeurl/README.md +128 -0
- package/dist/weixin/node_modules/qiniu/node_modules/encodeurl/index.js +60 -0
- package/dist/weixin/node_modules/qiniu/node_modules/encodeurl/package.json +40 -0
- package/dist/weixin/node_modules/qiniu/package.json +80 -0
- package/dist/weixin/node_modules/qiniu/qiniu/auth/digest.js +13 -0
- package/dist/weixin/node_modules/qiniu/qiniu/cdn.js +149 -0
- package/dist/weixin/node_modules/qiniu/qiniu/conf.js +254 -0
- package/dist/weixin/node_modules/qiniu/qiniu/fop.js +112 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/client.js +253 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/endpoint.js +66 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/endpointsProvider.js +27 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/endpointsRetryPolicy.js +76 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/middleware/base.js +31 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/middleware/index.js +9 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/middleware/qiniuAuth.js +53 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/middleware/retryDomains.js +101 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/middleware/ua.js +36 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/region.js +349 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/regionsProvider.js +788 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/regionsRetryPolicy.js +242 -0
- package/dist/weixin/node_modules/qiniu/qiniu/httpc/responseWrapper.js +40 -0
- package/dist/weixin/node_modules/qiniu/qiniu/retry/index.js +4 -0
- package/dist/weixin/node_modules/qiniu/qiniu/retry/retrier.js +99 -0
- package/dist/weixin/node_modules/qiniu/qiniu/retry/retryPolicy.js +55 -0
- package/dist/weixin/node_modules/qiniu/qiniu/rpc.js +237 -0
- package/dist/weixin/node_modules/qiniu/qiniu/rtc/app.js +123 -0
- package/dist/weixin/node_modules/qiniu/qiniu/rtc/credentials.js +57 -0
- package/dist/weixin/node_modules/qiniu/qiniu/rtc/room.js +118 -0
- package/dist/weixin/node_modules/qiniu/qiniu/rtc/util.js +16 -0
- package/dist/weixin/node_modules/qiniu/qiniu/sms/message.js +58 -0
- package/dist/weixin/node_modules/qiniu/qiniu/storage/form.js +442 -0
- package/dist/weixin/node_modules/qiniu/qiniu/storage/internal.js +214 -0
- package/dist/weixin/node_modules/qiniu/qiniu/storage/resume.js +1272 -0
- package/dist/weixin/node_modules/qiniu/qiniu/storage/rs.js +1764 -0
- package/dist/weixin/node_modules/qiniu/qiniu/util.js +382 -0
- package/dist/weixin/node_modules/qiniu/qiniu/zone.js +230 -0
- package/dist/weixin/node_modules/qiniu/tsconfig.json +112 -0
- package/dist/weixin/types.js +25 -0
- package/package.json +56 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Encode URL
|
|
2
|
+
|
|
3
|
+
Encode a URL to a percent-encoded form, excluding already-encoded sequences.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install encodeurl
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## API
|
|
12
|
+
|
|
13
|
+
```js
|
|
14
|
+
var encodeUrl = require('encodeurl')
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### encodeUrl(url)
|
|
18
|
+
|
|
19
|
+
Encode a URL to a percent-encoded form, excluding already-encoded sequences.
|
|
20
|
+
|
|
21
|
+
This function accepts a URL and encodes all the non-URL code points (as UTF-8 byte sequences). It will not encode the "%" character unless it is not part of a valid sequence (`%20` will be left as-is, but `%foo` will be encoded as `%25foo`).
|
|
22
|
+
|
|
23
|
+
This encode is meant to be "safe" and does not throw errors. It will try as hard as it can to properly encode the given URL, including replacing any raw, unpaired surrogate pairs with the Unicode replacement character prior to encoding.
|
|
24
|
+
|
|
25
|
+
## Examples
|
|
26
|
+
|
|
27
|
+
### Encode a URL containing user-controlled data
|
|
28
|
+
|
|
29
|
+
```js
|
|
30
|
+
var encodeUrl = require('encodeurl')
|
|
31
|
+
var escapeHtml = require('escape-html')
|
|
32
|
+
|
|
33
|
+
http.createServer(function onRequest (req, res) {
|
|
34
|
+
// get encoded form of inbound url
|
|
35
|
+
var url = encodeUrl(req.url)
|
|
36
|
+
|
|
37
|
+
// create html message
|
|
38
|
+
var body = '<p>Location ' + escapeHtml(url) + ' not found</p>'
|
|
39
|
+
|
|
40
|
+
// send a 404
|
|
41
|
+
res.statusCode = 404
|
|
42
|
+
res.setHeader('Content-Type', 'text/html; charset=UTF-8')
|
|
43
|
+
res.setHeader('Content-Length', String(Buffer.byteLength(body, 'utf-8')))
|
|
44
|
+
res.end(body, 'utf-8')
|
|
45
|
+
})
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Encode a URL for use in a header field
|
|
49
|
+
|
|
50
|
+
```js
|
|
51
|
+
var encodeUrl = require('encodeurl')
|
|
52
|
+
var escapeHtml = require('escape-html')
|
|
53
|
+
var url = require('url')
|
|
54
|
+
|
|
55
|
+
http.createServer(function onRequest (req, res) {
|
|
56
|
+
// parse inbound url
|
|
57
|
+
var href = url.parse(req)
|
|
58
|
+
|
|
59
|
+
// set new host for redirect
|
|
60
|
+
href.host = 'localhost'
|
|
61
|
+
href.protocol = 'https:'
|
|
62
|
+
href.slashes = true
|
|
63
|
+
|
|
64
|
+
// create location header
|
|
65
|
+
var location = encodeUrl(url.format(href))
|
|
66
|
+
|
|
67
|
+
// create html message
|
|
68
|
+
var body = '<p>Redirecting to new site: ' + escapeHtml(location) + '</p>'
|
|
69
|
+
|
|
70
|
+
// send a 301
|
|
71
|
+
res.statusCode = 301
|
|
72
|
+
res.setHeader('Content-Type', 'text/html; charset=UTF-8')
|
|
73
|
+
res.setHeader('Content-Length', String(Buffer.byteLength(body, 'utf-8')))
|
|
74
|
+
res.setHeader('Location', location)
|
|
75
|
+
res.end(body, 'utf-8')
|
|
76
|
+
})
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Similarities
|
|
80
|
+
|
|
81
|
+
This function is _similar_ to the intrinsic function `encodeURI`. However, it will not encode:
|
|
82
|
+
|
|
83
|
+
* The `\`, `^`, or `|` characters
|
|
84
|
+
* The `%` character when it's part of a valid sequence
|
|
85
|
+
* `[` and `]` (for IPv6 hostnames)
|
|
86
|
+
* Replaces raw, unpaired surrogate pairs with the Unicode replacement character
|
|
87
|
+
|
|
88
|
+
As a result, the encoding aligns closely with the behavior in the [WHATWG URL specification][whatwg-url]. However, this package only encodes strings and does not do any URL parsing or formatting.
|
|
89
|
+
|
|
90
|
+
It is expected that any output from `new URL(url)` will not change when used with this package, as the output has already been encoded. Additionally, if we were to encode before `new URL(url)`, we do not expect the before and after encoded formats to be parsed any differently.
|
|
91
|
+
|
|
92
|
+
## Testing
|
|
93
|
+
|
|
94
|
+
```sh
|
|
95
|
+
$ npm test
|
|
96
|
+
$ npm run lint
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## References
|
|
100
|
+
|
|
101
|
+
- [RFC 3986: Uniform Resource Identifier (URI): Generic Syntax][rfc-3986]
|
|
102
|
+
- [WHATWG URL Living Standard][whatwg-url]
|
|
103
|
+
|
|
104
|
+
[rfc-3986]: https://tools.ietf.org/html/rfc3986
|
|
105
|
+
[whatwg-url]: https://url.spec.whatwg.org/
|
|
106
|
+
|
|
107
|
+
## License
|
|
108
|
+
|
|
109
|
+
[MIT](LICENSE)
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* encodeurl
|
|
3
|
+
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
4
|
+
* MIT Licensed
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
'use strict'
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Module exports.
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
module.exports = encodeUrl
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* RegExp to match non-URL code points, *after* encoding (i.e. not including "%")
|
|
18
|
+
* and including invalid escape sequences.
|
|
19
|
+
* @private
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
var ENCODE_CHARS_REGEXP = /(?:[^\x21\x23-\x3B\x3D\x3F-\x5F\x61-\x7A\x7C\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* RegExp to match unmatched surrogate pair.
|
|
26
|
+
* @private
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
var UNMATCHED_SURROGATE_PAIR_REGEXP = /(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* String to replace unmatched surrogate pair with.
|
|
33
|
+
* @private
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
var UNMATCHED_SURROGATE_PAIR_REPLACE = '$1\uFFFD$2'
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Encode a URL to a percent-encoded form, excluding already-encoded sequences.
|
|
40
|
+
*
|
|
41
|
+
* This function will take an already-encoded URL and encode all the non-URL
|
|
42
|
+
* code points. This function will not encode the "%" character unless it is
|
|
43
|
+
* not part of a valid sequence (`%20` will be left as-is, but `%foo` will
|
|
44
|
+
* be encoded as `%25foo`).
|
|
45
|
+
*
|
|
46
|
+
* This encode is meant to be "safe" and does not throw errors. It will try as
|
|
47
|
+
* hard as it can to properly encode the given URL, including replacing any raw,
|
|
48
|
+
* unpaired surrogate pairs with the Unicode replacement character prior to
|
|
49
|
+
* encoding.
|
|
50
|
+
*
|
|
51
|
+
* @param {string} url
|
|
52
|
+
* @return {string}
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
function encodeUrl (url) {
|
|
57
|
+
return String(url)
|
|
58
|
+
.replace(UNMATCHED_SURROGATE_PAIR_REGEXP, UNMATCHED_SURROGATE_PAIR_REPLACE)
|
|
59
|
+
.replace(ENCODE_CHARS_REGEXP, encodeURI)
|
|
60
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "encodeurl",
|
|
3
|
+
"description": "Encode a URL to a percent-encoded form, excluding already-encoded sequences",
|
|
4
|
+
"version": "2.0.0",
|
|
5
|
+
"contributors": [
|
|
6
|
+
"Douglas Christopher Wilson <doug@somethingdoug.com>"
|
|
7
|
+
],
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"encode",
|
|
11
|
+
"encodeurl",
|
|
12
|
+
"url"
|
|
13
|
+
],
|
|
14
|
+
"repository": "pillarjs/encodeurl",
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"eslint": "5.11.1",
|
|
17
|
+
"eslint-config-standard": "12.0.0",
|
|
18
|
+
"eslint-plugin-import": "2.14.0",
|
|
19
|
+
"eslint-plugin-node": "7.0.1",
|
|
20
|
+
"eslint-plugin-promise": "4.0.1",
|
|
21
|
+
"eslint-plugin-standard": "4.0.0",
|
|
22
|
+
"istanbul": "0.4.5",
|
|
23
|
+
"mocha": "2.5.3"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"LICENSE",
|
|
27
|
+
"HISTORY.md",
|
|
28
|
+
"README.md",
|
|
29
|
+
"index.js"
|
|
30
|
+
],
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">= 0.8"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"lint": "eslint .",
|
|
36
|
+
"test": "mocha --reporter spec --bail --check-leaks test/",
|
|
37
|
+
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
|
|
38
|
+
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: NodeJS CI with NPM
|
|
2
|
+
|
|
3
|
+
on: [push, pull_request]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
strategy:
|
|
8
|
+
fail-fast: false
|
|
9
|
+
matrix:
|
|
10
|
+
node_version: ['6', '8', '10', '12', '14', '16', '18', '20']
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout
|
|
14
|
+
uses: actions/checkout@v2
|
|
15
|
+
- name: Setup NodeJS
|
|
16
|
+
uses: actions/setup-node@v2
|
|
17
|
+
with:
|
|
18
|
+
node-version: ${{ matrix.node_version }}
|
|
19
|
+
- name: Setup dependencies
|
|
20
|
+
run: |
|
|
21
|
+
npm install
|
|
22
|
+
# nyc@14 support nodejs >= 6
|
|
23
|
+
npm install -g nyc@14
|
|
24
|
+
- name: Run cases
|
|
25
|
+
run: |
|
|
26
|
+
npm run check-type
|
|
27
|
+
nyc --reporter=lcov npm test
|
|
28
|
+
env:
|
|
29
|
+
QINIU_ACCESS_KEY: ${{ secrets.QINIU_ACCESS_KEY }}
|
|
30
|
+
QINIU_SECRET_KEY: ${{ secrets.QINIU_SECRET_KEY }}
|
|
31
|
+
QINIU_TEST_BUCKET: ${{ secrets.QINIU_TEST_BUCKET }}
|
|
32
|
+
QINIU_TEST_DOMAIN: ${{ secrets.QINIU_TEST_DOMAIN }}
|
|
33
|
+
- name: Upload coverage reports
|
|
34
|
+
uses: codecov/codecov-action@v4
|
|
35
|
+
with:
|
|
36
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: Npm publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
publish:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v3
|
|
12
|
+
- uses: actions/setup-node@v3
|
|
13
|
+
with:
|
|
14
|
+
node-version: 12
|
|
15
|
+
registry-url: https://registry.npmjs.org/
|
|
16
|
+
- run: npm install
|
|
17
|
+
- run: npm run build
|
|
18
|
+
- run: npm publish
|
|
19
|
+
env:
|
|
20
|
+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: NodeJS SDK Version Check
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
tags:
|
|
5
|
+
- "v[0-9]+.[0-9]+.[0-9]+"
|
|
6
|
+
jobs:
|
|
7
|
+
linux:
|
|
8
|
+
name: Version Check
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- name: Checkout code
|
|
12
|
+
uses: actions/checkout@v2
|
|
13
|
+
- name: Set env
|
|
14
|
+
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
|
|
15
|
+
- name: Check
|
|
16
|
+
run: |
|
|
17
|
+
set -e
|
|
18
|
+
grep -qF "## ${RELEASE_VERSION}" CHANGELOG.md
|
|
19
|
+
grep -qF "\"version\": \"${RELEASE_VERSION}\"" package.json
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="com.codeverse.userSettings.MarscodeWorkspaceAppSettingsState">
|
|
4
|
+
<option name="chatAppRouterInfo" value="builder/6971a13cbf36e23cdcbea6fc" />
|
|
5
|
+
<option name="progress" value="1.0" />
|
|
6
|
+
</component>
|
|
7
|
+
</project>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<component name="ProjectCodeStyleConfiguration">
|
|
2
|
+
<code_scheme name="Project" version="173">
|
|
3
|
+
<HTMLCodeStyleSettings>
|
|
4
|
+
<option name="HTML_UNIFORM_INDENT" value="true" />
|
|
5
|
+
</HTMLCodeStyleSettings>
|
|
6
|
+
<JSCodeStyleSettings version="0">
|
|
7
|
+
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
8
|
+
<option name="SPACE_BEFORE_GENERATOR_MULT" value="true" />
|
|
9
|
+
<option name="USE_DOUBLE_QUOTES" value="false" />
|
|
10
|
+
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
11
|
+
<option name="OBJECT_LITERAL_WRAP" value="2" />
|
|
12
|
+
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
13
|
+
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
14
|
+
</JSCodeStyleSettings>
|
|
15
|
+
<codeStyleSettings language="JSON">
|
|
16
|
+
<indentOptions>
|
|
17
|
+
<option name="INDENT_SIZE" value="4" />
|
|
18
|
+
<option name="USE_TAB_CHARACTER" value="true" />
|
|
19
|
+
<option name="KEEP_INDENTS_ON_EMPTY_LINES" value="true" />
|
|
20
|
+
</indentOptions>
|
|
21
|
+
</codeStyleSettings>
|
|
22
|
+
<codeStyleSettings language="JavaScript">
|
|
23
|
+
<option name="BLOCK_COMMENT_ADD_SPACE" value="true" />
|
|
24
|
+
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
|
|
25
|
+
<option name="INDENT_CASE_FROM_SWITCH" value="false" />
|
|
26
|
+
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
|
|
27
|
+
<option name="ALIGN_MULTILINE_FOR" value="false" />
|
|
28
|
+
<option name="SPACE_BEFORE_METHOD_PARENTHESES" value="true" />
|
|
29
|
+
<option name="IF_BRACE_FORCE" value="1" />
|
|
30
|
+
<option name="DOWHILE_BRACE_FORCE" value="1" />
|
|
31
|
+
<option name="WHILE_BRACE_FORCE" value="1" />
|
|
32
|
+
<option name="FOR_BRACE_FORCE" value="1" />
|
|
33
|
+
</codeStyleSettings>
|
|
34
|
+
<codeStyleSettings language="TypeScript">
|
|
35
|
+
<option name="KEEP_BLANK_LINES_IN_CODE" value="4" />
|
|
36
|
+
</codeStyleSettings>
|
|
37
|
+
<codeStyleSettings language="Vue">
|
|
38
|
+
<indentOptions>
|
|
39
|
+
<option name="INDENT_SIZE" value="4" />
|
|
40
|
+
<option name="TAB_SIZE" value="4" />
|
|
41
|
+
</indentOptions>
|
|
42
|
+
</codeStyleSettings>
|
|
43
|
+
</code_scheme>
|
|
44
|
+
</component>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/nodejs-sdk.iml" filepath="$PROJECT_DIR$/.idea/nodejs-sdk.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
+
</content>
|
|
9
|
+
<orderEntry type="inheritedJdk" />
|
|
10
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
+
</component>
|
|
12
|
+
</module>
|