mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Create varaible for updates M2 verbiage
This commit is contained in:
parent
374368ede5
commit
4b8c6a7eea
11 changed files with 28 additions and 18 deletions
|
|
@ -9,7 +9,8 @@ export default {
|
||||||
publicRuntimeConfig: {
|
publicRuntimeConfig: {
|
||||||
allUpdateSubscribe: process.env.ALL_UPDATE_SUBSCRIBE,
|
allUpdateSubscribe: process.env.ALL_UPDATE_SUBSCRIBE,
|
||||||
testResultStore: process.env.TEST_RESULT_STORE,
|
testResultStore: process.env.TEST_RESULT_STORE,
|
||||||
siteUrl: process.env.URL
|
siteUrl: process.env.URL,
|
||||||
|
...pkg.config
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "doesitarm",
|
"name": "doesitarm",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Find out the latest app support for Apple Silicon and the Apple M1 Pro and M1 Max Processors",
|
"description": "Find out the latest app support for Apple Silicon and the $npm_package_config_verbiage_processors Processors",
|
||||||
"author": "Sam Carlton",
|
"author": "Sam Carlton",
|
||||||
"private": true,
|
"private": true,
|
||||||
"ava": {
|
"ava": {
|
||||||
|
|
@ -9,6 +9,12 @@
|
||||||
"esm"
|
"esm"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"config": {
|
||||||
|
"verbiage": {
|
||||||
|
"processors": "Apple M2 and M1 Ultra",
|
||||||
|
"macs": "Apple M2 or M1 Ultra Mac"
|
||||||
|
}
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test-prebuild": "ava ./test/prebuild.js --verbose",
|
"test-prebuild": "ava ./test/prebuild.js --verbose",
|
||||||
"test": "ava --timeout=1m --verbose",
|
"test": "ava --timeout=1m --verbose",
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ export const makeTitle = function ( app ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const makeDescription = function ( app ) {
|
export const makeDescription = function ( app ) {
|
||||||
return `Latest reported support status of ${ app.name } on Apple Silicon and Apple M1 Pro and M1 Max Processors.`
|
return `Latest reported support status of ${ app.name } on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors.`
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://stackoverflow.com/a/15069646/1397641
|
// https://stackoverflow.com/a/15069646/1397641
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ export const makeTitle = function ( app ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const makeDescription = function ( app ) {
|
export const makeDescription = function ( app ) {
|
||||||
return `Latest reported support status of ${ app.name } on Apple Silicon and Apple M1 Pro and M1 Max Processors when installed via Homebrew. `
|
return `Latest reported support status of ${ app.name } on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors when installed via Homebrew. `
|
||||||
}
|
}
|
||||||
|
|
||||||
class FormulaTemplate extends AppTemplate {
|
class FormulaTemplate extends AppTemplate {
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ export default {
|
||||||
{
|
{
|
||||||
'hid': 'description',
|
'hid': 'description',
|
||||||
'name': 'description',
|
'name': 'description',
|
||||||
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M2 and M1 Ultra Processors`
|
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors`
|
||||||
},
|
},
|
||||||
|
|
||||||
// Twitter Card
|
// Twitter Card
|
||||||
|
|
@ -128,7 +128,7 @@ export default {
|
||||||
{
|
{
|
||||||
'hid': 'twitter:description',
|
'hid': 'twitter:description',
|
||||||
'property': 'twitter:description',
|
'property': 'twitter:description',
|
||||||
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M2 and M1 Ultra Processors`
|
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'property': 'twitter:url',
|
'property': 'twitter:url',
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 class="subtitle md:text-xl text-center">
|
<h2 class="subtitle md:text-xl text-center">
|
||||||
Check for Apple Silicon compatibility for your apps before you buy an M1 Pro or M1 Max Mac.
|
Check for Apple Silicon compatibility for your apps before you buy an {{ npm_package_config_verbiage_macs }}.
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
|
@ -199,6 +199,9 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
npm_package_config_verbiage_macs () {
|
||||||
|
return process.env.npm_package_config_verbiage_macs
|
||||||
|
},
|
||||||
foundFiles () {
|
foundFiles () {
|
||||||
return this.appsBeingScanned.filter( appScan => {
|
return this.appsBeingScanned.filter( appScan => {
|
||||||
return !appScan.statusMessage.includes('⏭')
|
return !appScan.statusMessage.includes('⏭')
|
||||||
|
|
@ -261,7 +264,7 @@ export default {
|
||||||
return `Apple Silicon Compatibility Test Online`
|
return `Apple Silicon Compatibility Test Online`
|
||||||
},
|
},
|
||||||
description () {
|
description () {
|
||||||
return `Check for Apple Silicon compatibility for any of your apps instantly before you buy an M1 Pro or M1 Max Mac. `
|
return `Check for Apple Silicon compatibility for any of your apps instantly before you buy an ${ process.env.npm_package_config_verbiage_macs }. `
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
|
|
||||||
|
|
@ -186,12 +186,12 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
title () {
|
title () {
|
||||||
return `Benchmarks for Apple M1 Pro and M1 Max Processors and Apple Silicon - Does It ARM`
|
return `Benchmarks for ${ process.env.npm_package_config_verbiage_processors } Processors and Apple Silicon - Does It ARM`
|
||||||
},
|
},
|
||||||
description () {
|
description () {
|
||||||
// const featuredAppsString = this.featuredApps.slice(0, 5).map(app => app.name).join(', ')
|
// const featuredAppsString = this.featuredApps.slice(0, 5).map(app => app.name).join(', ')
|
||||||
|
|
||||||
return `Apple Silicon benchmark, performance, and compatibility videos`
|
return `Apple Silicon benchmark, performance, and compatibility videos for Macs using the ${ process.env.npm_package_config_verbiage_processors } processors.`
|
||||||
},
|
},
|
||||||
activeVideoId () {
|
activeVideoId () {
|
||||||
return this.video.id
|
return this.video.id
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ export default {
|
||||||
{
|
{
|
||||||
'hid': 'description',
|
'hid': 'description',
|
||||||
'name': 'description',
|
'name': 'description',
|
||||||
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Pro and M1 Max Processors when installed via Homebrew. `
|
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors when installed via Homebrew. `
|
||||||
},
|
},
|
||||||
|
|
||||||
// Twitter Card
|
// Twitter Card
|
||||||
|
|
@ -71,7 +71,7 @@ export default {
|
||||||
{
|
{
|
||||||
'hid': 'twitter:description',
|
'hid': 'twitter:description',
|
||||||
'property': 'twitter:description',
|
'property': 'twitter:description',
|
||||||
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Pro and M1 Max Processors when installed via Homebrew. `
|
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors when installed via Homebrew. `
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'property': 'twitter:url',
|
'property': 'twitter:url',
|
||||||
|
|
|
||||||
|
|
@ -153,7 +153,7 @@ export default {
|
||||||
{
|
{
|
||||||
'hid': 'description',
|
'hid': 'description',
|
||||||
'name': 'description',
|
'name': 'description',
|
||||||
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Pro and M1 Max Processors for gaming. `
|
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors for gaming. `
|
||||||
},
|
},
|
||||||
|
|
||||||
// Twitter Card
|
// Twitter Card
|
||||||
|
|
@ -165,7 +165,7 @@ export default {
|
||||||
{
|
{
|
||||||
'hid': 'twitter:description',
|
'hid': 'twitter:description',
|
||||||
'property': 'twitter:description',
|
'property': 'twitter:description',
|
||||||
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Pro and M1 Max Processors for gaming. `
|
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors for gaming. `
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'property': 'twitter:url',
|
'property': 'twitter:url',
|
||||||
|
|
|
||||||
|
|
@ -160,10 +160,10 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
title () {
|
title () {
|
||||||
return `Apple Silicon and Apple M2 and M1 Ultra app and game compatibility list`
|
return `Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } app and game compatibility list`
|
||||||
},
|
},
|
||||||
description () {
|
description () {
|
||||||
return `List of compatibility apps and games for Apple Silicon and the Apple M2 and M1 Ultra Processors including performance reports and benchmarks`
|
return `List of compatibility apps and games for Apple Silicon and the ${ process.env.npm_package_config_verbiage_processors } Processors including performance reports and benchmarks`
|
||||||
},
|
},
|
||||||
allList () {
|
allList () {
|
||||||
return [
|
return [
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ export default {
|
||||||
return `List of ${this.pluralLabel || this.category.label} that work on Apple Silicon?`
|
return `List of ${this.pluralLabel || this.category.label} that work on Apple Silicon?`
|
||||||
},
|
},
|
||||||
description () {
|
description () {
|
||||||
return `Check the the latest reported support status of ${this.pluralLabel || this.category.label} on Apple Silicon and Apple M1 Pro and M1 Max Processors. `
|
return `Check the the latest reported support status of ${this.pluralLabel || this.category.label} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors. `
|
||||||
},
|
},
|
||||||
structuredData () {
|
structuredData () {
|
||||||
return {
|
return {
|
||||||
|
|
@ -139,7 +139,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
// https://schema.org/Question
|
// https://schema.org/Question
|
||||||
"@type": "Question",
|
"@type": "Question",
|
||||||
"name": `Does ${app.name} work on Apple Silicon and Apple M1 Pro and M1 Max Macs?`,
|
"name": `Does ${app.name} work on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Macs?`,
|
||||||
"acceptedAnswer": {
|
"acceptedAnswer": {
|
||||||
// https://schema.org/Answer
|
// https://schema.org/Answer
|
||||||
"@type": "Answer",
|
"@type": "Answer",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue