@vtex/checkout 0.7.0-beta.0 → 0.7.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.
package/dist/cli.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  export { run } from '@oclif/core';
2
- import { Dev as dev, Build as build, Create as create } from './commands/index.js';
2
+ import { Dev as dev, Build as build, Create as create, Reset as reset } from './commands/index.js';
3
3
  export declare const commands: {
4
4
  dev: typeof dev;
5
5
  build: typeof build;
6
6
  create: typeof create;
7
+ reset: typeof reset;
7
8
  };
package/dist/cli.js CHANGED
@@ -1,8 +1,9 @@
1
1
  export { run } from '@oclif/core';
2
- import { Dev as dev, Build as build, Create as create, } from './commands/index.js';
2
+ import { Dev as dev, Build as build, Create as create, Reset as reset, } from './commands/index.js';
3
3
  export const commands = {
4
4
  dev,
5
5
  build,
6
6
  create,
7
+ reset,
7
8
  };
8
9
  //# sourceMappingURL=cli.js.map
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAElC,OAAO,EACL,GAAG,IAAI,GAAG,EACV,KAAK,IAAI,KAAK,EACd,MAAM,IAAI,MAAM,GACjB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,GAAG;IACH,KAAK;IACL,MAAM;CACP,CAAC"}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAElC,OAAO,EACL,GAAG,IAAI,GAAG,EACV,KAAK,IAAI,KAAK,EACd,MAAM,IAAI,MAAM,EAChB,KAAK,IAAI,KAAK,GACf,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,GAAG;IACH,KAAK;IACL,MAAM;IACN,KAAK;CACN,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './dev.js';
2
2
  export * from './build.js';
3
3
  export * from './create.js';
4
+ export * from './reset.js';
@@ -1,4 +1,5 @@
1
1
  export * from './dev.js';
2
2
  export * from './build.js';
3
3
  export * from './create.js';
4
+ export * from './reset.js';
4
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { Command } from '@oclif/core';
2
- export declare class Build extends Command {
2
+ export declare class Reset extends Command {
3
3
  static args: {};
4
4
  static description: string;
5
5
  static examples: string[];
@@ -3,9 +3,9 @@ import { logger } from '../lib/logger.js';
3
3
  import fs from 'fs/promises';
4
4
  import { CHECKOUTRC_PATH } from '../lib/constants.js';
5
5
  import chalk from 'chalk';
6
- export class Build extends Command {
6
+ export class Reset extends Command {
7
7
  static args = {};
8
- static description = 'Build extensions for production deployment.';
8
+ static description = 'Resets the Checkout environment, preserving your extensions project setup while restoring internal configurations. Use this command to resolve issues without affecting your current work';
9
9
  static examples = ['<%= config.bin %> <%= command.id %>'];
10
10
  static flags = {};
11
11
  async run() {
@@ -1 +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,C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IACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtex/checkout",
3
- "version": "0.7.0-beta.0",
3
+ "version": "0.7.0",
4
4
  "author": "VTEX",
5
5
  "bin": {
6
6
  "checkout": "./bin/run.js"