@vtex/checkout 0.6.1 → 0.7.0-beta.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.
@@ -0,0 +1,8 @@
1
+ import { Command } from '@oclif/core';
2
+ export declare class Build extends Command {
3
+ static args: {};
4
+ static description: string;
5
+ static examples: string[];
6
+ static flags: {};
7
+ run(): Promise<void>;
8
+ }
@@ -0,0 +1,16 @@
1
+ import { Command } from '@oclif/core';
2
+ import { logger } from '../lib/logger.js';
3
+ import fs from 'fs/promises';
4
+ import { CHECKOUTRC_PATH } from '../lib/constants.js';
5
+ import chalk from 'chalk';
6
+ export class Build extends Command {
7
+ static args = {};
8
+ static description = 'Build extensions for production deployment.';
9
+ static examples = ['<%= config.bin %> <%= command.id %>'];
10
+ static flags = {};
11
+ async run() {
12
+ await fs.writeFile(CHECKOUTRC_PATH, 'pristine');
13
+ logger.info(`✅ Checkout environment reset successfully! Run ${chalk.green('yarn fsp dev <account>')} to start development.`);
14
+ }
15
+ }
16
+ //# sourceMappingURL=reset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset.js","sourceRoot":"","sources":["../../src/commands/reset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAM,SAAQ,OAAO;IAChC,MAAM,CAAU,IAAI,GAAG,EAAE,CAAC;IAE1B,MAAM,CAAU,WAAW,GAAG,6CAA6C,CAAC;IAE5E,MAAM,CAAU,QAAQ,GAAG,CAAC,qCAAqC,CAAC,CAAC;IAEnE,MAAM,CAAU,KAAK,GAAG,EAAE,CAAC;IACpB,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,CAAC,SAAS,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;QAChD,MAAM,CAAC,IAAI,CACT,kDAAkD,KAAK,CAAC,KAAK,CAC3D,wBAAwB,CACzB,wBAAwB,CAC1B,CAAC;IACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtex/checkout",
3
- "version": "0.6.1",
3
+ "version": "0.7.0-beta.0",
4
4
  "author": "VTEX",
5
5
  "bin": {
6
6
  "checkout": "./bin/run.js"
@@ -25,7 +25,7 @@
25
25
  "ws": "^8.18.0",
26
26
  "cors": "2.8.5",
27
27
  "typescript": "^5.3.3",
28
- "@vtex/checkout-ui-core": "0.0.64",
28
+ "@vtex/checkout-ui-core": "0.0.70",
29
29
  "ora": "^8.1.0",
30
30
  "chalk": "^5.3.0"
31
31
  },