sliftutils 0.84.0 → 0.86.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/.cursorrules +2 -0
- package/builders/setup.ts +9 -0
- package/package.json +6 -3
- package/yarn.lock +12 -12
package/.cursorrules
CHANGED
|
@@ -26,6 +26,8 @@ We use MobX for state management. Components should use a variable called synced
|
|
|
26
26
|
|
|
27
27
|
The code automatically updates on save, so do not ever run commands to rerun the site.
|
|
28
28
|
|
|
29
|
+
Use tool calls to read files and directories where possible, instead of running "ls", "dir", etc.
|
|
30
|
+
|
|
29
31
|
Coding Styles
|
|
30
32
|
Comments go in the line before, never after the semicolon.
|
|
31
33
|
|
package/builders/setup.ts
CHANGED
|
@@ -162,6 +162,15 @@ function updatePackageJson(packageJsonPath: string) {
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
+
if (!packageJson.resolutions) {
|
|
166
|
+
packageJson.resolutions = {};
|
|
167
|
+
}
|
|
168
|
+
for (let [key, value] of Object.entries(sourcePackageJson.resolutions)) {
|
|
169
|
+
if (!packageJson.resolutions[key]) {
|
|
170
|
+
packageJson.resolutions[key] = value;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
165
174
|
// Add hard-coded commands
|
|
166
175
|
let hardCodedCommands: { [key: string]: string } = {
|
|
167
176
|
"run-web": "node ./node_modules/sliftutils/builders/webRun.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sliftutils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.86.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -46,14 +46,17 @@
|
|
|
46
46
|
"@types/shell-quote": "^1.7.5",
|
|
47
47
|
"js-sha256": "^0.11.1",
|
|
48
48
|
"mobx": "^6.13.3",
|
|
49
|
-
"preact": "^10.28.1",
|
|
49
|
+
"preact-old-types": "^10.28.1",
|
|
50
50
|
"shell-quote": "^1.8.3",
|
|
51
|
-
"socket-function": "^0.
|
|
51
|
+
"socket-function": "^0.165.0",
|
|
52
52
|
"typenode": "^6.0.0",
|
|
53
53
|
"typesafecss": "*",
|
|
54
54
|
"ws": "^8.18.3",
|
|
55
55
|
"yargs": "15.4.1"
|
|
56
56
|
},
|
|
57
|
+
"resolutions": {
|
|
58
|
+
"preact": "npm:preact-old-types@*"
|
|
59
|
+
},
|
|
57
60
|
"devDependencies": {
|
|
58
61
|
"@types/yargs": "15.0.19",
|
|
59
62
|
"debugbreak": "^0.9.9",
|
package/yarn.lock
CHANGED
|
@@ -1344,15 +1344,15 @@ picomatch@^2.3.1:
|
|
|
1344
1344
|
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
|
|
1345
1345
|
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
|
|
1346
1346
|
|
|
1347
|
-
preact
|
|
1348
|
-
version "10.
|
|
1349
|
-
resolved "https://registry.yarnpkg.com/preact/-/preact-10.
|
|
1350
|
-
integrity sha512-
|
|
1347
|
+
preact-old-types@^10.28.1:
|
|
1348
|
+
version "10.28.1"
|
|
1349
|
+
resolved "https://registry.yarnpkg.com/preact-old-types/-/preact-old-types-10.28.1.tgz#58f9400aa1b80768809c296534ec7b49f6f09a0d"
|
|
1350
|
+
integrity sha512-7r64HwL/PJtzE7jUMFkYVec+vSUf3z8Uozd8Bhl4HMvhcWINFzJsIEHKLAlkeCbzv+jTQl0UwVeMJQ26jK5bDg==
|
|
1351
1351
|
|
|
1352
|
-
preact
|
|
1352
|
+
preact@10.24.3, "preact@npm:preact-old-types@*":
|
|
1353
1353
|
version "10.28.1"
|
|
1354
|
-
resolved "https://registry.yarnpkg.com/preact/-/preact-10.28.1.tgz#
|
|
1355
|
-
integrity sha512-
|
|
1354
|
+
resolved "https://registry.yarnpkg.com/preact-old-types/-/preact-old-types-10.28.1.tgz#58f9400aa1b80768809c296534ec7b49f6f09a0d"
|
|
1355
|
+
integrity sha512-7r64HwL/PJtzE7jUMFkYVec+vSUf3z8Uozd8Bhl4HMvhcWINFzJsIEHKLAlkeCbzv+jTQl0UwVeMJQ26jK5bDg==
|
|
1356
1356
|
|
|
1357
1357
|
prelude-ls@^1.2.1:
|
|
1358
1358
|
version "1.2.1"
|
|
@@ -1494,17 +1494,17 @@ slash@^3.0.0:
|
|
|
1494
1494
|
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
|
|
1495
1495
|
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
|
|
1496
1496
|
|
|
1497
|
-
socket-function@^0.
|
|
1498
|
-
version "0.
|
|
1499
|
-
resolved "https://registry.yarnpkg.com/socket-function/-/socket-function-0.
|
|
1500
|
-
integrity sha512-
|
|
1497
|
+
socket-function@^0.165.0:
|
|
1498
|
+
version "0.165.0"
|
|
1499
|
+
resolved "https://registry.yarnpkg.com/socket-function/-/socket-function-0.165.0.tgz#2c262c5cc75a79233d08538517030c504745a94c"
|
|
1500
|
+
integrity sha512-VfpljEyUEjQD4flTboGwgcerK2vuVvDM0iPNL4L4Qyo76G5DQVGcHCaYDwZuuAJ8gvTXDq9j7P7vgdjElNAhXw==
|
|
1501
1501
|
dependencies:
|
|
1502
1502
|
"@types/pako" "^2.0.3"
|
|
1503
1503
|
"@types/ws" "^8.5.3"
|
|
1504
1504
|
cbor-x "^1.6.0"
|
|
1505
1505
|
mobx "^6.6.2"
|
|
1506
1506
|
pako "^2.1.0"
|
|
1507
|
-
preact "10.24.
|
|
1507
|
+
preact "10.24.3"
|
|
1508
1508
|
typedev "^0.4.0"
|
|
1509
1509
|
typenode "^5.13.0"
|
|
1510
1510
|
ws "^8.17.1"
|