Skip to content

Commit bd1bcab

Browse files
committed
feat: add packages
0 parents  commit bd1bcab

File tree

226 files changed

+22947
-0
lines changed

Some content is hidden

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

226 files changed

+22947
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
out
2+
node_modules
3+
*.tsbuildinfo

.vscode/settings.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"typescript.format.semicolons": "insert",
3+
"editor.insertSpaces": false,
4+
"editor.detectIndentation": false,
5+
"json.format.keepLines": true,
6+
"typescript.tsdk": "node_modules/typescript/lib",
7+
"[typescript]": {
8+
"editor.defaultFormatter": "vscode.typescript-language-features"
9+
},
10+
"[javascript]": {
11+
"editor.defaultFormatter": "vscode.typescript-language-features"
12+
},
13+
"[json]": {
14+
"editor.defaultFormatter": "vscode.json-language-features"
15+
},
16+
"[jsonc]": {
17+
"editor.defaultFormatter": "vscode.json-language-features"
18+
}
19+
}

.vscode/tasks.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "npm",
6+
"script": "compile",
7+
"group": "build",
8+
"presentation": {
9+
"panel": "dedicated",
10+
"reveal": "never"
11+
},
12+
"problemMatcher": [
13+
"$tsc"
14+
]
15+
},
16+
{
17+
"type": "npm",
18+
"script": "watch",
19+
"isBackground": true,
20+
"group": {
21+
"kind": "build",
22+
"isDefault": true
23+
},
24+
"presentation": {
25+
"panel": "dedicated",
26+
"reveal": "never"
27+
},
28+
"problemMatcher": [
29+
"$tsc-watch"
30+
]
31+
}
32+
]
33+
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021-present Johnson Chu
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, 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,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

lerna.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/lerna/lerna/main/core/lerna/schemas/lerna-schema.json",
3+
"npmClient": "pnpm",
4+
"packages": [
5+
"packages/*",
6+
"plugins/*"
7+
],
8+
"version": "1.0.24"
9+
}

package.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"private": true,
3+
"scripts": {
4+
"build": "tsc -b tsconfig.build.json",
5+
"build-ci": "tsc -b tsconfig.build-ci.json",
6+
"watch": "tsc -b tsconfig.build.json -w",
7+
"prerelease": "npm run build && npm run test",
8+
"version:test": "lerna version --exact --force-publish --yes --sync-workspace-lock --no-push --no-git-tag-version",
9+
"release": "lerna publish --exact --force-publish --yes --sync-workspace-lock",
10+
"release:next": "lerna publish --exact --force-publish --yes --sync-workspace-lock --dist-tag next",
11+
"test": "vitest run"
12+
},
13+
"devDependencies": {
14+
"@types/node": "latest",
15+
"typescript": "latest",
16+
"vite": "latest",
17+
"vitest": "0.25.8"
18+
},
19+
"optionalDependencies": {
20+
"@lerna-lite/cli": "latest"
21+
}
22+
}

packages/language-core/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021-present Johnson Chu
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, 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,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "@volar/language-core",
3+
"version": "1.0.24",
4+
"main": "out/index.js",
5+
"license": "MIT",
6+
"files": [
7+
"out/**/*.js",
8+
"out/**/*.d.ts"
9+
],
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/johnsoncodehk/volar.git",
13+
"directory": "packages/language-core"
14+
},
15+
"dependencies": {
16+
"@volar/source-map": "1.0.24",
17+
"muggle-string": "^0.1.0"
18+
}
19+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export * from './virtualFiles';
2+
export * from './languageContext';
3+
export * from './sourceMaps';
4+
export * from './types';

0 commit comments

Comments
 (0)