Skip to content

Commit 2128516

Browse files
committed
updated bir-vue to vue 3
- easier repl.it contributions!
1 parent 9919144 commit 2128516

11 files changed

+4125
-2002
lines changed

.replit

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
entrypoint = "index.js"
2+
3+
hidden = [".config"]
4+
5+
[interpreter]
6+
command = [
7+
"prybar-nodejs",
8+
"-q",
9+
"--ps1",
10+
"\u0001\u001b[33m\u0002\u0001\u001b[00m\u0002 ",
11+
"-i"
12+
]
13+
14+
[[hints]]
15+
regex = "Error \\[ERR_REQUIRE_ESM\\]"
16+
message = "We see that you are using require(...) inside your code. We currently do not support this syntax. Please use 'import' instead when using external modules. (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)"
17+
18+
[nix]
19+
channel = "stable-21_11"
20+
21+
[env]
22+
XDG_CONFIG_HOME = "/home/runner/.config"
23+
PATH = "/home/runner/$REPL_SLUG/.config/npm/node_global/bin:/home/runner/$REPL_SLUG/node_modules/.bin"
24+
npm_config_prefix = "/home/runner/$REPL_SLUG/.config/npm/node_global"
25+
26+
[gitHubImport]
27+
requiredFiles = [".replit", "replit.nix", ".config"]
28+
29+
[packager]
30+
language = "nodejs"
31+
32+
[packager.features]
33+
packageSearch = true
34+
guessImports = true
35+
enabledForHosting = false
36+
37+
[unitTest]
38+
language = "nodejs"
39+
40+
[languages.javascript]
41+
pattern = "**/{*.js,*.jsx,*.ts,*.tsx}"
42+
43+
[languages.javascript.languageServer]
44+
start = [ "typescript-language-server", "--stdio" ]
45+
46+
[debugger]
47+
support = true
48+
49+
[debugger.interactive]
50+
transport = "localhost:0"
51+
startCommand = [ "dap-node" ]
52+
53+
[debugger.interactive.initializeMessage]
54+
command = "initialize"
55+
type = "request"
56+
57+
[debugger.interactive.initializeMessage.arguments]
58+
clientID = "replit"
59+
clientName = "replit.com"
60+
columnsStartAt1 = true
61+
linesStartAt1 = true
62+
locale = "en-us"
63+
pathFormat = "path"
64+
supportsInvalidatedEvent = true
65+
supportsProgressReporting = true
66+
supportsRunInTerminalRequest = true
67+
supportsVariablePaging = true
68+
supportsVariableType = true
69+
70+
[debugger.interactive.launchMessage]
71+
command = "launch"
72+
type = "request"
73+
74+
[debugger.interactive.launchMessage.arguments]
75+
args = []
76+
console = "externalTerminal"
77+
cwd = "."
78+
environment = []
79+
pauseForSourceMap = false
80+
program = "./index.js"
81+
request = "launch"
82+
sourceMaps = true
83+
stopOnEntry = false
84+
type = "pwa-node"

dist/index.js

+613-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

replit.nix

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{ pkgs }: {
2+
deps = [
3+
pkgs.nodejs-16_x
4+
pkgs.nodePackages.typescript-language-server
5+
pkgs.yarn
6+
pkgs.replitPackages.jest
7+
];
8+
}

tests/bir-vue/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22

33
## Project setup
44
```
5-
yarn install
5+
npm install
66
```
77

88
### Compiles and hot-reloads for development
99
```
10-
yarn serve
10+
npm run serve
1111
```
1212

1313
### Compiles and minifies for production
1414
```
15-
yarn build
15+
npm run build
1616
```
1717

1818
### Lints and fixes files
1919
```
20-
yarn lint
20+
npm run lint
2121
```
2222

2323
### Customize configuration

tests/bir-vue/jsconfig.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "esnext",
5+
"baseUrl": "./",
6+
"moduleResolution": "node",
7+
"paths": {
8+
"@/*": [
9+
"src/*"
10+
]
11+
},
12+
"lib": [
13+
"esnext",
14+
"dom",
15+
"dom.iterable",
16+
"scripthost"
17+
]
18+
}
19+
}

0 commit comments

Comments
 (0)