Home
last modified time | relevance | path

Searched refs:slug (Results 1 – 25 of 179) sorted by relevance

12345678

/expo/packages/expo-dev-client/plugin/src/__tests__/
H A DgetDefaultScheme-test.ts4 expect(getDefaultScheme({ slug: 'hello-world' })).toMatchInlineSnapshot(`"exp+hello-world"`);
5 expect(getDefaultScheme({ slug: 'my app 2000' })).toMatchInlineSnapshot(`"exp+myapp2000"`);
6 expect(getDefaultScheme({ slug: 'Yolo ¯\\_(ツ)_/¯' })).toMatchInlineSnapshot(`"exp+yolo"`);
11 expect(getDefaultScheme({ slug: 'miun äppi!1!!!!!@' })).toMatch(/^[A-Za-z][A-Za-z0-9+\-.]*/);
16 expect(getDefaultScheme({ slug: '650-industries' })).toMatch(/^[A-Za-z][A-Za-z0-9+\-.]*/);
20 expect(() => getDefaultScheme({ slug: '��' })).toThrowErrorMatchingInlineSnapshot(
H A DwithGeneratedIosScheme-test.ts4 const config = { slug: 'cello' };
21 const config = { slug: 'cello' };
/expo/packages/expo-tracking-transparency/plugin/src/__tests__/
H A DwithTrackingTransparency-test.ts7 slug: 'testSlug',
17 slug: 'testSlug',
30 slug: 'testSlug',
39 slug: 'testSlug',
54 slug: 'testSlug',
/expo/apps/eas-expo-go/
H A Dapp.config.ts11 slug: 'versioned-expo-go-add-sdk', constant
21 slug: 'versioned-expo-go', constant
31 slug: 'unversioned-expo-go', constant
41 slug: 'release-expo-go', constant
51 slug: 'release-expo-go', constant
/expo/packages/@expo/config-plugins/src/plugins/__tests__/
H A DwithStaticPlugin-test.ts28 slug: 'foo',
56 slug: 'foo',
74 slug: 'foo',
91 slug: 'foo',
102 slug: 'foo',
125 slug: 'foo',
140 slug: 'foo',
H A DwithMod-test.ts8 const exportedConfig: ExportedConfig = { name: 'app', slug: '', mods: null };
36 slug: '',
44 { name: 'app', slug: '', mods: null },
75 { name: 'app', slug: '' },
/expo/tools/src/commands/
H A DPublishDevExpoHomeCommand.ts91 slug,
94 slug: string;
97 console.log(`Publishing ${chalk.green(slug)}...`);
109 `Done publishing ${chalk.green(slug)}. Update Group ID is: ${chalk.blue(
148 const slug = `home`; constant
165 console.log(`Modifying home's slug to ${chalk.green(slug)}...`);
166 appJson.expo.slug = slug;
181 await publishAppOnDevelopmentBranchAsync({ slug, message: expoHomeHashNode.hash })
184 console.log(`Restoring home's slug to ${chalk.green(appJsonBackup.expo.slug)}...`);
185 appJson.expo.slug = appJsonBackup.expo.slug;
H A DPublishProdExpoHomeCommand.ts64 slug,
67 slug: string;
70 console.log(`Publishing ${chalk.green(slug)}...`);
78 `Done publishing ${chalk.green(slug)}. Update Group ID is: ${chalk.blue(
174 const slug = 'home'; constant
195 console.log(`Modifying home's slug to ${chalk.green(slug)}...`);
196 appJson.expo.slug = slug;
211 await publishAppAsync({ slug, message: `Publish ${appJson.expo.sdkVersion}` })
H A DWorkflowDispatch.ts81 `\n⚠️ Triggering custom workflow ${chalk.green(workflow.slug)} has been canceled.`
119 logger.warn(`⚠️ Cannot find any triggered jobs for ${chalk.green(workflow.slug)} workflow`);
135 (workflow) => workflow.slug === workflowConfig.baseWorkflowSlug
142 slug: customWorkflowSlug,
167 return workflows.find((workflow) => workflow.slug === workflowSlug) ?? null;
181 name: `${chalk.yellow(workflow.name)} (${chalk.green.italic(workflow.slug)})`,
/expo/packages/create-expo-module/src/
H A Dprompts.ts39 export async function getSubstitutionDataPrompts(slug: string): Promise<PromptObject<string>[]> {
46 return slug
65 const namespace = slug
97 initial: async (_, answers: Answers<string>) => await guessRepoUrl(answers.authorUrl, slug),
104 slug: string
112 return slug
124 const namespace = slug
H A Dcreate-expo-module.ts90 const slug = await askForPackageSlugAsync(target, options.local); constant
92 ? await getCorrectLocalDirectory(target || slug)
93 : path.join(CWD, target || slug);
103 const data = await askForSubstitutionDataAsync(slug, options.local);
171 printFurtherLocalInstructions(slug, data.project.moduleName);
301 const { slug } = await prompts( constant
307 return slug;
315 slug: string,
320 : getSubstitutionDataPrompts)(slug);
340 slug,
[all …]
H A Dtypes.ts20 slug: string;
36 slug: string;
/expo/packages/expo-auth-session/src/__tests__/
H A DSessionUrlProvider-test.ts18 slug: 'wat',
90 slug: 'wat',
116 slug: 'wat',
134 slug: 'wat',
156 slug: 'wat',
203 slug: 'wat',
236 slug: 'wat',
258 slug: 'wat',
280 slug: 'wat',
308 slug: 'wat',
[all …]
H A DAuthSession-test.native.ts33 slug: 'wat',
56 slug: 'wat',
79 slug: 'wat',
107 slug: 'wat',
131 slug: 'wat',
158 slug: 'wat',
/expo/packages/expo-dev-client/plugin/src/
H A DgetDefaultScheme.ts12 if (!config.slug || typeof config.slug !== 'string') {
17 let scheme = config.slug.replace(/[^A-Za-z0-9+\-.]/g, '');
/expo/packages/expo-dev-client/plugin/build/
H A DgetDefaultScheme.js12 if (!config.slug || typeof config.slug !== 'string') {
16 let scheme = config.slug.replace(/[^A-Za-z0-9+\-.]/g, '');
/expo/packages/create-expo-module/build/
H A Dprompts.js38 async function getSubstitutionDataPrompts(slug) { argument
45 return slug
64 const namespace = slug
95 initial: async (_, answers) => await (0, utils_1.guessRepoUrl)(answers.authorUrl, slug),
101 async function getLocalSubstitutionDataPrompts(slug) { argument
108 return slug
120 const namespace = slug
H A Dcreate-expo-module.js62 const slug = await askForPackageSlugAsync(target, options.local);
64 ? await getCorrectLocalDirectory(target || slug)
65 : path_1.default.join(CWD, target || slug);
72 const data = await askForSubstitutionDataAsync(slug, options.local);
134 printFurtherLocalInstructions(slug, data.project.moduleName);
244 return slug;
250 async function askForSubstitutionDataAsync(slug, isLocal = false) { argument
253 : prompts_2.getSubstitutionDataPrompts)(slug);
262 slug,
273 slug,
[all …]
H A Dprompts.d.ts4 export declare function getSubstitutionDataPrompts(slug: string): Promise<PromptObject<string>[]>;
5 export declare function getLocalSubstitutionDataPrompts(slug: string): Promise<PromptObject<string>…
H A Dtypes.d.ts18 slug: string;
33 slug: string;
/expo/packages/@expo/cli/src/start/doctor/web/__tests__/
H A DWebSupportProjectPrerequisite-test.ts19 slug: 'my-app',
39 expect(isWebPlatformExcluded({ expo: { name: '', slug: '', platforms: ['android'] } })).toBe(
44 expect(isWebPlatformExcluded({ expo: { name: '', slug: '', platforms: [] } })).toBe(false);
48 isWebPlatformExcluded({ expo: { name: '', slug: '', platforms: ['android', 'web'] } })
52 expect(isWebPlatformExcluded({ expo: { name: '', slug: '' } })).toBe(false);
/expo/packages/@expo/cli/src/export/__tests__/
H A DgetPublicExpoManifest-test.ts20 slug: 'hello',
37 slug: 'hello',
56 slug: 'hello',
/expo/packages/@expo/cli/src/start/server/middleware/
H A DExpoGoManifestHandlerMiddleware.ts125 slug: exp.slug,
257 slug,
260 slug: string;
273 return await getAnonymousScopeKeyAsync(slug);
277 async function getAnonymousScopeKeyAsync(slug: string): Promise<string> {
279 return `@${ANONYMOUS_USERNAME}/${slug}-${userAnonymousIdentifier}`;
/expo/packages/@expo/cli/src/start/doctor/dependencies/__tests__/
H A DensureDependenciesAsync-test.ts13 slug: 'my-app',
57 slug: 'my-app',
88 slug: 'my-app',
118 slug: 'my-app',
143 slug: 'my-app',
/expo/docs/components/
H A DDocumentationSidebarRight.tsx72 for (const { ref, slug } of headings) {
82 if (slug !== this.state.activeSlug) {
84 if (slug === this.slugScrollingTo) {
87 this.setState({ activeSlug: slug }, this.updateSelfScroll);
122 const isActive = heading.slug === this.state.activeSlug;
125 key={heading.slug}
166 const { slug, ref } = heading;
168 // disable sidebar scrolling until we reach that slug
169 this.slugScrollingTo = slug;
175 history.replaceState(history.state, '', '#' + slug);

12345678