@cervio/create-plugin 1.2.0 → 1.3.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.
@@ -47,7 +47,8 @@ var TYPE_ALIASES = {
47
47
  var RESERVED_NAMES = /* @__PURE__ */ new Set([".", "..", "node_modules", ".git"]);
48
48
  var BINARY_EXTENSIONS = /* @__PURE__ */ new Set([".png", ".jpg", ".jpeg", ".gif", ".ico", ".woff", ".woff2"]);
49
49
  var DOTFILE_RENAMES = {
50
- gitignore: ".gitignore"
50
+ gitignore: ".gitignore",
51
+ cervioignore: ".cervioignore"
51
52
  };
52
53
  function toKebabCase(input) {
53
54
  return input.trim().toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createPlugin
4
- } from "./chunk-AGG3S6VV.js";
4
+ } from "./chunk-3N3PDL7K.js";
5
5
 
6
6
  // src/cli.ts
7
7
  createPlugin(process.argv.slice(2)).catch((err) => {
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createPlugin
3
- } from "./chunk-AGG3S6VV.js";
3
+ } from "./chunk-3N3PDL7K.js";
4
4
  export {
5
5
  createPlugin
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cervio/create-plugin",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Scaffold a Cervio plugin (route, task or write-gate) wired to the Cervio toolchain. Run with: npm create @cervio/plugin",
5
5
  "keywords": [
6
6
  "cervio",
@@ -0,0 +1,6 @@
1
+ # Left out of the plugin ZIP by "cervio pack" (gitignore syntax, read after .gitignore).
2
+ # manifest.json, dist/ and server/ are always packed.
3
+ # Local preview fixtures and sample documents:
4
+ public-preview/
5
+ src/preview/
6
+ *.zip
@@ -12,14 +12,14 @@
12
12
  "push:dev": "cervio push --dev"
13
13
  },
14
14
  "dependencies": {
15
- "@cervio/plugin-sdk": "^2.0.0",
15
+ "@cervio/plugin-sdk": "^2.2.0",
16
16
  "@fontsource-variable/geist": "^5.2.0",
17
17
  "react": "^19.0.0",
18
18
  "react-dom": "^19.0.0"
19
19
  },
20
20
  "devDependencies": {
21
- "@cervio/cli": "^1.0.0",
22
- "@cervio/plugin-core": "^1.0.0",
21
+ "@cervio/cli": "^1.5.0",
22
+ "@cervio/plugin-core": "^1.5.0",
23
23
  "@types/react": "^19.0.0",
24
24
  "@types/react-dom": "^19.0.0",
25
25
  "@vitejs/plugin-react": "^6.2.0",
@@ -0,0 +1,3 @@
1
+ # Left out of the plugin ZIP by "cervio pack" (gitignore syntax, read after .gitignore).
2
+ # manifest.json, server/ and the hook entries are always packed.
3
+ *.zip
@@ -10,10 +10,10 @@
10
10
  "push:dev": "npm run build && cervio push --dev"
11
11
  },
12
12
  "dependencies": {
13
- "@cervio/plugin-sdk": "^2.0.0"
13
+ "@cervio/plugin-sdk": "^2.2.0"
14
14
  },
15
15
  "devDependencies": {
16
- "@cervio/cli": "^1.0.0",
16
+ "@cervio/cli": "^1.5.0",
17
17
  "esbuild": "^0.28.0"
18
18
  }
19
19
  }
@@ -0,0 +1,6 @@
1
+ # Left out of the plugin ZIP by "cervio pack" (gitignore syntax, read after .gitignore).
2
+ # manifest.json, dist/ and server/ are always packed.
3
+ # Local preview fixtures and sample documents:
4
+ public-preview/
5
+ src/preview/
6
+ *.zip
@@ -12,14 +12,14 @@
12
12
  "push:dev": "cervio push --dev"
13
13
  },
14
14
  "dependencies": {
15
- "@cervio/plugin-sdk": "^2.0.0",
15
+ "@cervio/plugin-sdk": "^2.2.0",
16
16
  "@fontsource-variable/geist": "^5.2.0",
17
17
  "react": "^19.0.0",
18
18
  "react-dom": "^19.0.0"
19
19
  },
20
20
  "devDependencies": {
21
- "@cervio/cli": "^1.0.0",
22
- "@cervio/plugin-core": "^1.0.0",
21
+ "@cervio/cli": "^1.5.0",
22
+ "@cervio/plugin-core": "^1.5.0",
23
23
  "@types/react": "^19.0.0",
24
24
  "@types/react-dom": "^19.0.0",
25
25
  "@vitejs/plugin-react": "^6.2.0",