@constructor-io/constructorio-connect-cli 1.15.6 → 1.15.8

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/README.md CHANGED
@@ -138,7 +138,7 @@ USAGE
138
138
  $ constructorio-connect-cli help [COMMAND...] [-n]
139
139
 
140
140
  ARGUMENTS
141
- COMMAND... Command to show help for.
141
+ [COMMAND...] Command to show help for.
142
142
 
143
143
  FLAGS
144
144
  -n, --nested-commands Include all nested commands in the output.
@@ -0,0 +1,35 @@
1
+ # compiled output
2
+ /dist
3
+ /node_modules
4
+ # Logs
5
+ logs
6
+ *.log
7
+ npm-debug.log*
8
+ pnpm-debug.log*
9
+ yarn-debug.log*
10
+ yarn-error.log*
11
+ lerna-debug.log*
12
+ # OS
13
+ .DS_Store
14
+ # Tests
15
+ /coverage
16
+ /.nyc_output
17
+ # IDEs and editors
18
+ /.idea
19
+ .project
20
+ .classpath
21
+ .c9/
22
+ *.launch
23
+ .settings/
24
+ *.sublime-workspace
25
+ # IDE - VSCode
26
+ .vscode/*
27
+ *.code-workspace
28
+ !.vscode/settings.json
29
+ !.vscode/tasks.json
30
+ !.vscode/launch.json
31
+ !.vscode/extensions.json
32
+ # dotenv
33
+ .env
34
+ # npmrc should be ignored to avoid leaking credentials (e.g. AWS CodeArtifact)
35
+ .npmrc
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAMA,OAAO,EAAQ,OAAO,EAAE,MAAM,aAAa,CAAC;AA0B5C,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,OAAO;IACvC,MAAM,CAAC,WAAW,SAA4D;IAE9E,MAAM,CAAC,QAAQ,WAGb;IAEF,MAAM,CAAC,IAAI;;MAKT;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;YAyCnB,UAAU;IAmBxB,OAAO,CAAC,oBAAoB;YAUd,UAAU;YAsBV,uBAAuB;WA6BvB,mBAAmB,CAC/B,MAAM,EAAE,MAAM,EACd,4BAA4B,EAAE,OAAO,GACpC,IAAI;IAcP,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAWjC,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAuBlC,OAAO,CAAC,0BAA0B;CA4BnC"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAMA,OAAO,EAAQ,OAAO,EAAE,MAAM,aAAa,CAAC;AA0B5C,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,OAAO;IACvC,MAAM,CAAC,WAAW,SAA4D;IAE9E,MAAM,CAAC,QAAQ,WAGb;IAEF,MAAM,CAAC,IAAI;;MAKT;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;YAyCnB,UAAU;IAmBxB,OAAO,CAAC,oBAAoB;YAUd,UAAU;YAsBV,uBAAuB;WA6BvB,mBAAmB,CAC/B,MAAM,EAAE,MAAM,EACd,4BAA4B,EAAE,OAAO,GACpC,IAAI;IAsBP,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAWjC,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAuBlC,OAAO,CAAC,0BAA0B;CA4BnC"}
@@ -155,6 +155,12 @@ class Init extends core_1.Command {
155
155
  return !file.includes("mapping");
156
156
  },
157
157
  });
158
+ // Handle .gitignore file - npm renames it during publish, so we copy from 'gitignore' to '.gitignore'
159
+ const gitignoreSource = path.join(repoDir, "gitignore");
160
+ const gitignoreDest = path.join(newDir, ".gitignore");
161
+ if (fs_extra_1.default.existsSync(gitignoreSource)) {
162
+ fs_extra_1.default.copyFileSync(gitignoreSource, gitignoreDest);
163
+ }
158
164
  }
159
165
  static replacePackageName(name, repoPath) {
160
166
  const packageJsonPath = path.join(repoPath, "package.json");
@@ -101,7 +101,7 @@ function renderAuthHelperText() {
101
101
  `The ${kleur_1.default.bold("Index Key")} should follow this format: key_xxxxxxxxxxxxxxxx`,
102
102
  ]);
103
103
  (0, render_tip_1.renderTip)([
104
- `The ${kleur_1.default.bold("API Token")} should follow this format: tok_xxxxxxxxxxxxxxxx`,
104
+ `The ${kleur_1.default.bold("API Token")} should follow this format: CnstrcAuthTokV0-xxxxxxxxxxxxxxxx`,
105
105
  ]);
106
106
  (0, render_tip_1.renderTip)([
107
107
  `You can obtain an Index key and API Token from the customer dashboard under the ${(0, terminal_link_1.default)(kleur_1.default.bold("Integration > API Integration"), "https://app.constructor.io/dashboard/integration/api_tokens")} tab.`,
package/dist/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "1.15.6";
1
+ declare const _default: "1.15.8";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '1.15.6';
3
+ exports.default = '1.15.8';
@@ -200,5 +200,5 @@
200
200
  ]
201
201
  }
202
202
  },
203
- "version": "1.15.6"
203
+ "version": "1.15.8"
204
204
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructor-io/constructorio-connect-cli",
3
- "version": "1.15.6",
3
+ "version": "1.15.8",
4
4
  "description": "CLI tool to enable users to interface with the Constructor Connect Ecosystem",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",