create-squire-workspace 0.0.23 → 0.0.31
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/create-space.d.ts +2 -0
- package/create-space.js +13 -0
- package/create-space.js.map +1 -0
- package/package.json +14 -6
- package/create-workspace.d.ts +0 -1
- package/create-workspace.js +0 -5
- package/create-workspace.js.map +0 -1
package/create-space.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env tsx
|
|
2
|
+
import { instance } from "@code-squire/ioc";
|
|
3
|
+
import { FeatureModuleRegistry } from "@code-squire/feature-modules";
|
|
4
|
+
import { WorkspaceModule } from "@code-squire/workspace";
|
|
5
|
+
import { SqVirtualFileSystem } from "@code-squire/vfs";
|
|
6
|
+
instance(FeatureModuleRegistry).broadcastSpecific([
|
|
7
|
+
{ module: WorkspaceModule, parameters: [] }
|
|
8
|
+
]);
|
|
9
|
+
const vfs = instance(SqVirtualFileSystem);
|
|
10
|
+
const virtualRoot = vfs.createVirtualRoot(process.cwd());
|
|
11
|
+
const virtualApi = await virtualRoot.virtualize();
|
|
12
|
+
console.log('Ready to generate with the api', !!virtualApi);
|
|
13
|
+
//# sourceMappingURL=create-space.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-space.js","sourceRoot":"","sources":["../../../../squire/create-workspace/src/create-space.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,QAAQ,CAAC,qBAAqB,CAAC,CAAC,iBAAiB,CAAC;IAChD,EAAE,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,EAAE;CAC5C,CAAC,CAAC;AAEH,MAAM,GAAG,GAAG,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAC1C,MAAM,WAAW,GAAG,GAAG,CAAC,iBAAiB,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;AACzD,MAAM,UAAU,GAAG,MAAM,WAAW,CAAC,UAAU,EAAE,CAAC;AAElD,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-squire-workspace",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"main": "./create-
|
|
5
|
-
"bin": "./create-
|
|
3
|
+
"version": "0.0.31",
|
|
4
|
+
"main": "./create-space.js",
|
|
5
|
+
"bin": "./create-space.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@code-squire/
|
|
7
|
+
"@code-squire/common": "latest",
|
|
8
|
+
"@code-squire/utils": "latest",
|
|
9
|
+
"@code-squire/composition": "latest",
|
|
10
|
+
"@code-squire/vfs": "latest",
|
|
11
|
+
"@code-squire/node-cli": "latest",
|
|
12
|
+
"@code-squire/typescript": "latest",
|
|
13
|
+
"@code-squire/terminal": "latest",
|
|
8
14
|
"@code-squire/feature-modules": "latest",
|
|
9
|
-
"@code-squire/squire": "latest",
|
|
10
15
|
"@code-squire/workspace": "latest"
|
|
16
|
+
},
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"@code-squire/ioc": "latest"
|
|
11
19
|
}
|
|
12
|
-
}
|
|
20
|
+
}
|
package/create-workspace.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/create-workspace.js
DELETED
package/create-workspace.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-workspace.js","sourceRoot":"","sources":["../../../../squire/create-workspace/src/create-workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,GAAG,GAAG,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAE1C,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|