@open-press/create 2.0.0 → 2.0.1

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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/dist/index.js +1 -1
  3. package/package.json +8 -9
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 quan0715
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OF OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/dist/index.js CHANGED
@@ -102,7 +102,7 @@ export default DeckSlide;
102
102
  await writeFile(
103
103
  path.join(pressRoot, "slides", "intro", "slide.tsx"),
104
104
  `import type { SlideMeta } from "@open-press/core";
105
- import { BlankSlide } from "../layouts/SlideProtocol";
105
+ import { BlankSlide } from "../../layouts/SlideProtocol";
106
106
 
107
107
  export const meta = {
108
108
  layout: "blank",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-press/create",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "type": "module",
5
5
  "description": "Bootstrap a new OpenPress workspace.",
6
6
  "license": "MIT",
@@ -34,13 +34,6 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "scripts": {
38
- "build": "tsup",
39
- "dev": "tsup --watch",
40
- "typecheck": "tsc --noEmit",
41
- "test": "pnpm build && node --test tests/*.test.mjs",
42
- "prepack": "pnpm build"
43
- },
44
37
  "engines": {
45
38
  "node": ">=20"
46
39
  },
@@ -52,5 +45,11 @@
52
45
  "@types/prompts": "^2.4.9",
53
46
  "tsup": "^8.5.0",
54
47
  "typescript": "^6.0.3"
48
+ },
49
+ "scripts": {
50
+ "build": "tsup",
51
+ "dev": "tsup --watch",
52
+ "typecheck": "tsc --noEmit",
53
+ "test": "pnpm build && node --test tests/*.test.mjs"
55
54
  }
56
- }
55
+ }