@devvit/cli 0.11.7-next-2025-02-10-a03b99540.0 → 0.11.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new.d.ts","sourceRoot":"","sources":["../../src/commands/new.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAMxE,OAAO,EAAE,aAAa,EAAwB,MAAM,mCAAmC,CAAC;AAuCxF,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,aAAa;;IAC5C,OAAgB,WAAW,SAAsB;IAEjD,OAAgB,QAAQ,WAAoB;IAE5C,OAAgB,KAAK;;;;;MA0BnB;IAEF,OAAgB,IAAI;;MAOlB;IAmDa,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"new.d.ts","sourceRoot":"","sources":["../../src/commands/new.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAMxE,OAAO,EAAE,aAAa,EAAwB,MAAM,mCAAmC,CAAC;AAuCxF,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,aAAa;;IAC5C,OAAgB,WAAW,SAAsB;IAEjD,OAAgB,QAAQ,WAAoB;IAE5C,OAAgB,KAAK;;;;;MA0BnB;IAEF,OAAgB,IAAI;;MAOlB;IAmDa,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;IA+MpB,KAAK,CAAC,GAAG,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;CAM1D"}
|
package/dist/commands/new.js
CHANGED
|
@@ -217,13 +217,7 @@ _New_createAppParams = new WeakMap(), _New_createAppFlags = new WeakMap(), _New_
|
|
|
217
217
|
}, _New_syncDependenciesToCurrentCliVersion = function _New_syncDependenciesToCurrentCliVersion(deps) {
|
|
218
218
|
for (const dep of Object.keys(deps)) {
|
|
219
219
|
if (dep.startsWith('@devvit')) {
|
|
220
|
-
|
|
221
|
-
// if we are in a dev version, we want to use a path to the neighboring copy of this dependency
|
|
222
|
-
deps[dep] = path.resolve(import.meta.dirname, '../../../', dep.replace('@devvit/', ''));
|
|
223
|
-
}
|
|
224
|
-
else {
|
|
225
|
-
deps[dep] = `${CLI_VERSION}`;
|
|
226
|
-
}
|
|
220
|
+
deps[dep] = `${CLI_VERSION}`;
|
|
227
221
|
}
|
|
228
222
|
}
|
|
229
223
|
}, _New_logWelcomeMessage = function _New_logWelcomeMessage(newProjectPath, props) {
|
|
@@ -26,6 +26,9 @@ Devvit.addCustomPostType({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
const webView = useWebView<WebViewMessage, DevvitMessage>({
|
|
29
|
+
// URL of your web view content
|
|
30
|
+
url: 'page.html',
|
|
31
|
+
|
|
29
32
|
// Handle messages sent from the web view
|
|
30
33
|
async onMessage(message, webView) {
|
|
31
34
|
switch (message.type) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devvit/cli",
|
|
3
|
-
"version": "0.11.7
|
|
3
|
+
"version": "0.11.7",
|
|
4
4
|
"description": "Reddit's Dev Platform CLI Tool",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"author": "@reddit/dev-platform",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
},
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@devvit/build-pack": "0.11.7
|
|
45
|
+
"@devvit/build-pack": "0.11.7",
|
|
46
46
|
"@devvit/play": "0.0.43",
|
|
47
|
-
"@devvit/protos": "0.11.7
|
|
48
|
-
"@devvit/public-api": "0.11.7
|
|
49
|
-
"@devvit/shared-types": "0.11.7
|
|
47
|
+
"@devvit/protos": "0.11.7",
|
|
48
|
+
"@devvit/public-api": "0.11.7",
|
|
49
|
+
"@devvit/shared-types": "0.11.7",
|
|
50
50
|
"@improbable-eng/grpc-web": "0.15.0",
|
|
51
51
|
"@improbable-eng/grpc-web-node-http-transport": "0.15.0",
|
|
52
52
|
"@oclif/core": "2.9.4",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"ws": "8.18.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@devvit/repo-tools": "0.11.7
|
|
82
|
-
"@devvit/tsconfig": "0.11.7
|
|
81
|
+
"@devvit/repo-tools": "0.11.7",
|
|
82
|
+
"@devvit/tsconfig": "0.11.7",
|
|
83
83
|
"@types/file-type": "10.9.1",
|
|
84
84
|
"@types/inquirer": "9.0.3",
|
|
85
85
|
"@types/js-yaml": "4.0.5",
|
|
@@ -120,5 +120,5 @@
|
|
|
120
120
|
]
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
|
-
"gitHead": "
|
|
123
|
+
"gitHead": "f0cc99e2032bd0206c09f25937880e92daf0300c"
|
|
124
124
|
}
|
|
File without changes
|