create-auto-app 0.8.13 → 0.8.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-auto-app",
3
- "version": "0.8.13",
3
+ "version": "0.8.14",
4
4
  "description": "Create Auto Engineer apps with no configuration",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1 @@
1
+ Keep this dir empty, it's used for blah...
@@ -1,7 +1,7 @@
1
1
  import {
2
- commandSlice,
3
- querySlice,
4
- reactSlice,
2
+ command,
3
+ query,
4
+ react,
5
5
  flow,
6
6
  should,
7
7
  specs,
@@ -75,7 +75,7 @@ type AddItemsToCart = Command<
75
75
  >;
76
76
 
77
77
  flow('Seasonal Assistant', () => {
78
- commandSlice('enters shopping criteria into assistant')
78
+ command('enters shopping criteria into assistant')
79
79
  .client(() => {
80
80
  specs('Assistant Chat Interface', () => {
81
81
  should('allow shopper to describe their shopping needs in natural language');
@@ -116,7 +116,7 @@ flow('Seasonal Assistant', () => {
116
116
  });
117
117
  });
118
118
 
119
- reactSlice('creates a chat session').server(() => {
119
+ react('creates a chat session').server(() => {
120
120
  specs('When shopping criteria are entered, request wishlist creation', () => {
121
121
  rule('Shopping criteria should trigger item suggestion', () => {
122
122
  example('Criteria entered triggers wishlist creation')
@@ -134,7 +134,7 @@ flow('Seasonal Assistant', () => {
134
134
  });
135
135
  });
136
136
 
137
- commandSlice('selects items relevant to the shopping criteria').server(() => {
137
+ command('selects items relevant to the shopping criteria').server(() => {
138
138
  data([
139
139
  sink()
140
140
  .command('SuggestShoppingItems')
@@ -223,7 +223,7 @@ flow('Seasonal Assistant', () => {
223
223
  });
224
224
  });
225
225
 
226
- querySlice('views suggested items')
226
+ query('views suggested items')
227
227
  .request(gql`
228
228
  query GetSuggestedItems($sessionId: ID!) {
229
229
  suggestedItems(sessionId: $sessionId) {
@@ -312,7 +312,7 @@ flow('Seasonal Assistant', () => {
312
312
  });
313
313
  });
314
314
 
315
- commandSlice('accepts items and adds to their cart')
315
+ command('accepts items and adds to their cart')
316
316
  .client(() => {
317
317
  specs('Suggested Items Screen', () => {
318
318
  should('allow selecting specific items to add');
@@ -0,0 +1,17 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2022",
4
+ "module": "ESNext",
5
+ "moduleResolution": "bundler",
6
+ "skipLibCheck": true,
7
+ "emitDecoratorMetadata": true,
8
+ "experimentalDecorators": true,
9
+ "outDir": "./dist",
10
+ "rootDir": ".",
11
+ "noEmit": false,
12
+ "strict": true,
13
+ "strictNullChecks": true
14
+ },
15
+ "include": ["flows/**/*", "vitest.config.ts"],
16
+ "exclude": ["dist", "node_modules"]
17
+ }
@@ -1,7 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "types": ["vitest/globals"]
5
- },
6
- "include": ["src/**/*.test.ts", "src/**/*.spec.ts"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "types": ["vitest/globals"]
5
- },
6
- "include": ["src/**/*.test.ts", "src/**/*.spec.ts"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "types": ["vitest/globals"]
5
- },
6
- "include": ["src/**/*.test.ts", "src/**/*.spec.ts"]
7
- }