create-akan-workspace 2.3.5-rc.0 → 2.3.5-rc.10

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 (2) hide show
  1. package/index.js +3 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2169,7 +2169,7 @@ var run = async ({
2169
2169
  spawnCommand = spawn
2170
2170
  } = {}) => {
2171
2171
  const program2 = new Command().name("create-akan-workspace");
2172
- program2.argument("[org]", "organization name").option("-a, --app <string>", "application name").option("-d, --dir <string>", "directory").option("-l, --libs <boolean>", "install shared and util libraries", false).option("-i, --init <boolean>", "install dependencies and initialize git", true).option("-r, --registry <string>", "npm registry URL for installing Akan packages").action(async (org, options) => {
2172
+ program2.argument("[org]", "organization name").option("-a, --app <string>", "application name").option("-d, --dir <string>", "directory").option("-l, --libs <boolean>", "install shared and util libraries", false).option("-i, --init <boolean>", "install dependencies and initialize git", true).option("-r, --registry <string>", "npm registry URL for installing Akan packages").option("-o, --owner <string>", "owner of the workspace").action(async (org, options) => {
2173
2173
  const packageVersion = await getPackageVersion();
2174
2174
  const registry = options.registry ?? process.env.AKAN_NPM_REGISTRY;
2175
2175
  const registryUrl = registry ? normalizeRegistryUrl(registry) : undefined;
@@ -2185,7 +2185,8 @@ var run = async ({
2185
2185
  ...options.dir ? [`--dir=${options.dir}`] : [],
2186
2186
  `--libs=${libs}`,
2187
2187
  `--init=${init}`,
2188
- ...registryUrl ? [`--registry=${registryUrl}`] : []
2188
+ ...registryUrl ? [`--registry=${registryUrl}`] : [],
2189
+ ...options.owner ? [`--owner=${options.owner}`] : []
2189
2190
  ], spawnOptions);
2190
2191
  });
2191
2192
  await program2.parseAsync(argv);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sourceType": "module",
3
3
  "name": "create-akan-workspace",
4
- "version": "2.3.5-rc.0",
4
+ "version": "2.3.5-rc.10",
5
5
  "bin": {
6
6
  "create-akan-workspace": "index.js"
7
7
  },