pascal-vscode 0.1.0-beta.6 → 0.1.0-beta.7
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/CHANGELOG.md +6 -0
- package/README.md +1 -3
- package/dist/utils.d.ts +0 -2
- package/dist/utils.js +1 -2
- package/dist/utils.js.map +1 -1
- package/package.json +2 -1
- package/src/utils.ts +0 -2
- package/examples/index.ts +0 -38
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# pascal-vscode
|
|
2
2
|
|
|
3
|
+
## 0.1.0-beta.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`565f1eb`](https://github.com/hadez8877/pascal/commit/565f1ebe93a95b8c8cd7ba71aa379bb086731efe) Thanks [@hadez8877](https://github.com/hadez8877)! - Fixes the broken preview image in the README
|
|
8
|
+
|
|
3
9
|
## 0.1.0-beta.6
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Pascal is a dark theme for editors, shells, and more. The palette is tuned for long coding sessions: enough contrast to read code clearly, not so intense that your eyes notice it after an hour.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-

|
|
5
|
+

|
|
8
6
|
|
|
9
7
|
## Installation
|
|
10
8
|
|
package/dist/utils.d.ts
CHANGED
package/dist/utils.js
CHANGED
|
@@ -33,9 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.reloadWindow = exports.UPDATE_TRIGGER = exports.logger =
|
|
36
|
+
exports.reloadWindow = exports.UPDATE_TRIGGER = exports.logger = void 0;
|
|
37
37
|
const vscode = __importStar(require("vscode"));
|
|
38
|
-
exports.rootDir = vscode.Uri.file(__dirname);
|
|
39
38
|
exports.logger = vscode.window.createOutputChannel('Pascal', { log: true });
|
|
40
39
|
/**
|
|
41
40
|
* The reason why an update has been triggered, and a reload is needed
|
package/dist/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,+CAAiC;AAEpB,QAAA,
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,+CAAiC;AAEpB,QAAA,MAAM,GAAqB,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;AAEnG;;GAEG;AACU,QAAA,cAAc,GAAG;IAC7B,YAAY,EAAE,sBAAsB;IACpC,YAAY,EAAE,QAAQ;CACb,CAAC;AAEX;;;GAGG;AACI,MAAM,YAAY,GAAG,CAAC,OAA6D,EAAE,EAAE;IAC7F,MAAM,MAAM,GAAG;QACd,KAAK,EAAE,eAAe;QACtB,OAAO,EAAE,yBAAyB,OAAO,kDAAkD;KAClF,CAAC;IAEX,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,EAAE;QAC1F,IAAI,cAAc,KAAK,MAAM,CAAC,KAAK,EAAE,CAAC;YACrC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC,+BAA+B,CAAC,CAAC;QACjE,CAAC;IACF,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAXW,QAAA,YAAY,gBAWvB"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"displayName": "Pascal for Visual Studio Code",
|
|
4
4
|
"publisher": "hadez8877",
|
|
5
5
|
"description": "A modern dark theme for many editors, shells, and more!",
|
|
6
|
-
"version": "0.1.0-beta.
|
|
6
|
+
"version": "0.1.0-beta.7",
|
|
7
7
|
"type": "commonjs",
|
|
8
8
|
"icon": "icon.png",
|
|
9
9
|
"main": "dist/extension.js",
|
|
@@ -87,6 +87,7 @@
|
|
|
87
87
|
},
|
|
88
88
|
"scripts": {
|
|
89
89
|
"build": "tsc -b && node scripts/build.mjs -- --minify",
|
|
90
|
+
"dev": "node scripts/build.mjs -- --watch",
|
|
90
91
|
"lint": "biome lint . && eslint --cache --concurrency=auto ."
|
|
91
92
|
}
|
|
92
93
|
}
|
package/src/utils.ts
CHANGED
package/examples/index.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
interface UserOptions {
|
|
2
|
-
name: string;
|
|
3
|
-
location?: string;
|
|
4
|
-
|
|
5
|
-
birthDate: number;
|
|
6
|
-
deathDate: number;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* User class
|
|
11
|
-
*/
|
|
12
|
-
class User implements UserOptions {
|
|
13
|
-
public name: string;
|
|
14
|
-
public location?: string;
|
|
15
|
-
|
|
16
|
-
public readonly birthDate: number;
|
|
17
|
-
public readonly deathDate: number;
|
|
18
|
-
|
|
19
|
-
constructor(opts: UserOptions) {
|
|
20
|
-
this.name = opts.name;
|
|
21
|
-
this.location = opts.location;
|
|
22
|
-
this.birthDate = opts.birthDate;
|
|
23
|
-
this.deathDate = opts.deathDate;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
getAge(): number {
|
|
27
|
-
return this.deathDate - this.birthDate;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
const user = new User({
|
|
32
|
-
name: 'Pedro',
|
|
33
|
-
birthDate: 1990,
|
|
34
|
-
deathDate: 2026
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
// biome-ignore lint/suspicious/noConsole: example file
|
|
38
|
-
console.log(`Hi, ${user.name}! You are ${user.getAge()} years old.`);
|