@cedarjs/structure 2.0.0 → 2.0.1-next.23

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/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { DiagnosticSeverity } from 'vscode-languageserver-types';
2
2
  export { DefaultHost, Host } from './hosts';
3
- export { RWProject } from './model';
3
+ export { RWProject, RWRoute } from './model';
4
4
  export { URL_file } from './x/URL';
5
5
  import { DefaultHost } from './hosts';
6
6
  import { RWProject } from './model';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAA;AAG/E,wBAAgB,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,cAAoB,aAKvE;AAED,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,EACnB,IAAI,CAAC,EAAE;IAAE,gBAAgB,CAAC,EAAE,wBAAwB,CAAA;CAAE,iBA8BvD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAA;AAG/E,wBAAgB,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,cAAoB,aAKvE;AAED,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,EACnB,IAAI,CAAC,EAAE;IAAE,gBAAgB,CAAC,EAAE,wBAAwB,CAAA;CAAE,iBA8BvD"}
package/dist/index.js CHANGED
@@ -28,6 +28,12 @@ _Object$defineProperty(exports, "RWProject", {
28
28
  return _model.RWProject;
29
29
  }
30
30
  });
31
+ _Object$defineProperty(exports, "RWRoute", {
32
+ enumerable: true,
33
+ get: function () {
34
+ return _model.RWRoute;
35
+ }
36
+ });
31
37
  _Object$defineProperty(exports, "URL_file", {
32
38
  enumerable: true,
33
39
  get: function () {
@@ -115,7 +115,7 @@ let CommandsManager = exports.CommandsManager = (_dec = (0, _decorators.lazy)(),
115
115
  vscodeWindowMethods.createTerminal2({
116
116
  name: 'Redwood',
117
117
  cwd,
118
- cmd: 'yarn redwood ' + cmd.processed
118
+ cmd: 'yarn cedar ' + cmd.processed
119
119
  });
120
120
  }
121
121
  }
@@ -1,2 +1,3 @@
1
1
  export { RWProject } from './RWProject';
2
+ export { RWRoute } from './RWRoute';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
@@ -10,4 +10,11 @@ _Object$defineProperty(exports, "RWProject", {
10
10
  return _RWProject.RWProject;
11
11
  }
12
12
  });
13
- var _RWProject = require("./RWProject");
13
+ _Object$defineProperty(exports, "RWRoute", {
14
+ enumerable: true,
15
+ get: function () {
16
+ return _RWRoute.RWRoute;
17
+ }
18
+ });
19
+ var _RWProject = require("./RWProject");
20
+ var _RWRoute = require("./RWRoute");
@@ -74,7 +74,7 @@ function _router_route(route) {
74
74
  kind: 'route',
75
75
  openComponent: route.page ? (0, _vscode.Command_open)(route.page.uri) : undefined,
76
76
  openRoute: (0, _vscode.Command_open)(route.location),
77
- openInBrowser: (0, _vscode.Command_cli)(`rw dev --open='${route.path}'`)
77
+ openInBrowser: (0, _vscode.Command_cli)(`cedar dev --open='${route.path}'`)
78
78
  }
79
79
  };
80
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/structure",
3
- "version": "2.0.0",
3
+ "version": "2.0.1-next.23+ee9637a66",
4
4
  "description": "noun: the arrangement of and relations between the parts or elements of something complex",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@babel/runtime-corejs3": "7.27.6",
29
- "@cedarjs/project-config": "2.0.0",
29
+ "@cedarjs/project-config": "2.0.1-next.23+ee9637a66",
30
30
  "@prisma/internals": "6.19.0",
31
31
  "@types/line-column": "1.0.2",
32
32
  "camelcase": "6.3.0",
@@ -54,14 +54,14 @@
54
54
  "@babel/cli": "7.27.2",
55
55
  "@babel/core": "^7.26.10",
56
56
  "@types/fs-extra": "11.0.4",
57
- "@types/lodash": "4.17.20",
57
+ "@types/lodash": "4.17.21",
58
58
  "@types/node": "20.19.17",
59
59
  "@types/vscode": "1.96.0",
60
- "typescript": "5.9.2",
60
+ "typescript": "5.9.3",
61
61
  "vitest": "3.2.4"
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "8ca868abf6694a49d0745a41437a60328aba31a4"
66
+ "gitHead": "ee9637a6646277cf451b4bc1f84718a97f336889"
67
67
  }