create-devvit 0.0.0 → 0.11.18-next-2025-06-17-14-32-51-677103e39.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/LICENSE ADDED
@@ -0,0 +1,26 @@
1
+ Copyright (c) 2023 Reddit Inc.
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions
5
+ are met:
6
+
7
+ 1. Redistributions of source code must retain the above copyright
8
+ notice, this list of conditions and the following disclaimer.
9
+ 2. Redistributions in binary form must reproduce the above copyright
10
+ notice, this list of conditions and the following disclaimer in the
11
+ documentation and/or other materials provided with the distribution.
12
+ 3. Neither the name of the copyright holder nor the names of its
13
+ contributors may be used to endorse or promote products derived from
14
+ this software without specific prior written permission.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26
+ SUCH DAMAGE.
package/README.md ADDED
@@ -0,0 +1,6 @@
1
+ # create-devvit
2
+
3
+ Package to allow for `npm create devvit` syntax to work. This does the same thing as calling
4
+ `devvit new` would.
5
+
6
+ Sign up for Reddit's Developer Platform [here!](https://developers.reddit.com)
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
package/index.js ADDED
@@ -0,0 +1,10 @@
1
+ import CreateApp from '@devvit/cli/commands/new.js';
2
+ try {
3
+ await CreateApp.run();
4
+ process.exit(0);
5
+ }
6
+ catch (err) {
7
+ console.error('An error occurred during app creation:');
8
+ console.error(err);
9
+ process.exit(1);
10
+ }
package/package.json CHANGED
@@ -1,4 +1,38 @@
1
1
  {
2
2
  "name": "create-devvit",
3
- "version": "0.0.0"
3
+ "version": "0.11.18-next-2025-06-17-14-32-51-677103e39.0",
4
+ "license": "BSD-3-Clause",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://developers.reddit.com/"
8
+ },
9
+ "type": "module",
10
+ "main": "./index.js",
11
+ "bin": "./dist/index.js",
12
+ "scripts": {
13
+ "build": "tsc",
14
+ "clean": "rm -rf .turbo coverage dist",
15
+ "clobber": "yarn clean && rm -rf node_modules",
16
+ "dev": "tsc -w",
17
+ "lint": "redlint .",
18
+ "lint:fix": "yarn lint --fix",
19
+ "prepublishOnly": "publish-package-json",
20
+ "test": "yarn test:types && yarn lint",
21
+ "test:types": "tsc --noEmit"
22
+ },
23
+ "types": "./index.d.ts",
24
+ "dependencies": {
25
+ "@devvit/cli": "0.11.18-next-2025-06-17-14-32-51-677103e39.0"
26
+ },
27
+ "devDependencies": {
28
+ "@devvit/repo-tools": "0.11.18-next-2025-06-17-14-32-51-677103e39.0",
29
+ "@devvit/tsconfig": "0.11.18-next-2025-06-17-14-32-51-677103e39.0",
30
+ "eslint": "9.11.1",
31
+ "typescript": "5.8.3"
32
+ },
33
+ "publishConfig": {
34
+ "directory": "dist"
35
+ },
36
+ "source": "./src/index.ts",
37
+ "gitHead": "c70f9b9484ff7f561c6ea3f951db4828765ae5f2"
4
38
  }