Skip to content

Commit 394b15f

Browse files
squash!
2 parents 27b9a02 + f710809 commit 394b15f

6 files changed

Lines changed: 162 additions & 11 deletions

File tree

Source/dev-requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
-r ./requirements.txt
2+
<<<<<<< HEAD
23
black==19.10b0
4+
=======
5+
black==24.3.0
6+
>>>>>>> f71080983a35952feb8382140808e52bce2606bf
37
pytest==5.0.1

Source/extension_utils/utils.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,11 @@ export function mkdirRecursivelySync(dirPath: string): void {
104104
export function directoryExistsSync(dirPath: string): boolean {
105105
try {
106106
return fs.statSync(dirPath).isDirectory();
107+
<<<<<<< HEAD
107108
} catch (e) {
109+
=======
110+
} catch (_Error) {
111+
>>>>>>> f71080983a35952feb8382140808e52bce2606bf
108112
return false;
109113
}
110114
}

Source/requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ pywin32==227; platform_system == "Windows"
66
PyObjC; platform_system == "darwin"
77
uflash==1.3.0
88
adafruit-circuitpython-fancyled==1.3.3
9+
<<<<<<< HEAD
910
Pillow==8.1.1
11+
=======
12+
Pillow==10.3.0
13+
>>>>>>> f71080983a35952feb8382140808e52bce2606bf
1014
adafruit-circuitpython-bitmap_font==1.1.0
1115
adafruit-circuitpython-display-shapes==1.2.0
1216
adafruit-circuitpython-neopixel==5.0.0

Source/view/tsconfig.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
<<<<<<< HEAD
23
"compilerOptions": {
34
"module": "esnext",
45
"moduleResolution": "node",
@@ -16,4 +17,32 @@
1617
},
1718
"exclude": ["node_modules"],
1819
"include": ["./index.tsx"]
20+
=======
21+
"compilerOptions": {
22+
"baseUrl": "./",
23+
"experimentalDecorators": true,
24+
"jsx": "react",
25+
"lib": [
26+
"es6",
27+
"dom"
28+
],
29+
"module": "esnext",
30+
"moduleResolution": "node",
31+
"noFallthroughCasesInSwitch": true,
32+
"noImplicitReturns": true,
33+
"noUnusedLocals": true,
34+
"outDir": "Target",
35+
"rootDir": "Source",
36+
"sourceMap": true,
37+
"strict": true,
38+
"target": "es6"
39+
},
40+
"exclude": [
41+
"node_modules"
42+
],
43+
"extends": "@playform/build/tsconfig",
44+
"include": [
45+
"Source"
46+
]
47+
>>>>>>> f71080983a35952feb8382140808e52bce2606bf
1948
}

package.json

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
<<<<<<< HEAD
23
"activationEvents": [
34
"onCommand:deviceSimulatorExpress.common.installDependencies",
45
"onCommand:deviceSimulatorExpress.common.openSerialMonitor",
@@ -18,6 +19,53 @@
1819
"bugs": {
1920
"url": "HTTPS://GitHub.Com/CodeEditorLand/LandPythonDeviceSimulator/issues"
2021
},
22+
=======
23+
"name": "__EXTENSIONNAME__",
24+
"displayName": "__DISPLAYNAME__",
25+
"version": "0.0.1",
26+
"private": false,
27+
"description": "__DESCRIPTION__",
28+
"keywords": [
29+
"land"
30+
],
31+
"homepage": "HTTPS://GitHub.Com/CodeEditorLand/LandPythonDeviceSimulator#readme",
32+
"bugs": {
33+
"url": "HTTPS://GitHub.Com/CodeEditorLand/LandPythonDeviceSimulator/issues"
34+
},
35+
"repository": {
36+
"type": "git",
37+
"url": "git+HTTPS://github.com/CodeEditorLand/LandPythonDeviceSimulator.git"
38+
},
39+
"license": "SEE LICENSE IN LICENSE",
40+
"author": {
41+
"name": "Land",
42+
"email": "Land@Playform.Cloud",
43+
"url": "HTTPS://Land.Playform.Cloud"
44+
},
45+
"type": "module",
46+
"main": "./out/extension.js",
47+
"scripts": {
48+
"Document": "Document 'Source/**/*.ts'",
49+
"build": "gulp build",
50+
"check:python": "black src --check",
51+
"check:ts": "prettier --config .prettierrc.yaml --check src/**/*.{css,ts,tsx}",
52+
"clean": "gulp clean",
53+
"compile": "npm-run-all compile:*",
54+
"compile:extension": "gulp compile",
55+
"compile:views": "webpack --mode development",
56+
"format:python": "black src",
57+
"format:ts": "prettier --config .prettierrc.yaml --write src/**/*.{css,ts,tsx}",
58+
"lint:python": "pylint src",
59+
"lint:ts": "tslint -c tslint.json src/**/*.{ts,tsx}",
60+
"prepublishOnly": "Build 'Source/**/*.ts'",
61+
"start": "webpack-dev-server",
62+
"test:api-tests": "pytest src",
63+
"test:extension-tests": "node ./out/test/runTest.js",
64+
"test:ts": "jest",
65+
"watch:extension": "tsc --watch",
66+
"watch:views": "webpack --watch --mode development"
67+
},
68+
>>>>>>> f71080983a35952feb8382140808e52bce2606bf
2169
"contributes": {
2270
"breakpoints": [
2371
{
@@ -202,6 +250,7 @@
202250
}
203251
]
204252
},
253+
<<<<<<< HEAD
205254
"dependencies": {
206255
"@types/open": "^6.1.0",
207256
"@types/socket.io": "^3.0.1",
@@ -276,4 +325,54 @@
276325
},
277326
"type": "module",
278327
"version": "0.0.1"
328+
=======
329+
"activationEvents": [
330+
"onCommand:deviceSimulatorExpress.common.installDependencies",
331+
"onCommand:deviceSimulatorExpress.common.openSerialMonitor",
332+
"onCommand:deviceSimulatorExpress.common.runSimulator",
333+
"onCommand:deviceSimulatorExpress.common.selectSerialPort",
334+
"onCommand:deviceSimulatorExpress.common.gettingStarted",
335+
"onCommand:deviceSimulatorExpress.common.deployToDevice",
336+
"onCommand:deviceSimulatorExpress.common.newFile",
337+
"onCommand:deviceSimulatorExpress.common.openSimulator",
338+
"onDebug"
339+
],
340+
"dependencies": {
341+
"@types/open": "6.1.0",
342+
"@types/socket.io": "3.0.1",
343+
"compare-versions": "6.1.0",
344+
"eventemitter2": "6.4.9",
345+
"glob": "10.3.12",
346+
"open": "10.1.0",
347+
"os": "0.1.2",
348+
"socket.io": "4.7.5",
349+
"usb-native": "6.0.0",
350+
"util": "0.12.5"
351+
},
352+
"devDependencies": {
353+
"@playform/build": "0.0.7",
354+
"@playform/document": "0.0.6",
355+
"@types/glob": "8.1.0",
356+
"@types/node": "20.12.7",
357+
"css-loader": "7.1.1",
358+
"del": "7.1.0",
359+
"event-stream": "4.0.1",
360+
"less": "4.2.0",
361+
"less-loader": "12.2.0",
362+
"npm-run-all": "4.1.5",
363+
"style-loader": "4.0.0",
364+
"ts-import-plugin": "3.0.0",
365+
"ts-loader": "9.5.1",
366+
"version-from-git": "1.1.1"
367+
},
368+
"extensionDependencies": [
369+
"ms-python.python"
370+
],
371+
"publishConfig": {
372+
"access": "public"
373+
},
374+
"icon": "assets/icon.png",
375+
"preview": true,
376+
"instrumentationKey": "__AIKEY__"
377+
>>>>>>> f71080983a35952feb8382140808e52bce2606bf
279378
}

tsconfig.json

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
{
2-
"compilerOptions": {
3-
"module": "commonjs",
4-
"target": "es6",
5-
"outDir": "out",
6-
"lib": ["es6", "dom"],
7-
"sourceMap": true,
8-
"rootDir": "src",
9-
"jsx": "react",
10-
"alwaysStrict": true
11-
},
12-
"exclude": ["node_modules", ".vscode-test"]
2+
"compilerOptions": {
3+
"alwaysStrict": true,
4+
"baseUrl": "./",
5+
"jsx": "react",
6+
"lib": [
7+
"es6",
8+
"dom"
9+
],
10+
"module": "commonjs",
11+
"outDir": "Target",
12+
"rootDir": "Source",
13+
"sourceMap": true,
14+
"target": "es6"
15+
},
16+
"exclude": [
17+
"node_modules",
18+
".vscode-test"
19+
],
20+
"extends": "@playform/build/tsconfig",
21+
"include": [
22+
"Source"
23+
]
1324
}

0 commit comments

Comments
 (0)