-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c2e5b8
commit 1f351a7
Showing
2,648 changed files
with
178,366 additions
and
92,896 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
exercises/practice/accumulate/.vscode/.vscode/extensions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"arcanis.vscode-zipfs", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
exercises/practice/accumulate/.vscode/.vscode/settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"cSpell.words": ["exercism"], | ||
"search.exclude": { | ||
"**/.yarn": true, | ||
"**/.pnp.*": true | ||
}, | ||
"eslint.nodePath": ".yarn/sdks", | ||
"prettier.prettierPath": ".yarn/sdks/prettier/index.cjs", | ||
"typescript.tsdk": ".yarn/sdks/typescript/lib", | ||
"typescript.enablePromptUseWorkspaceTsdk": true | ||
} |
874 changes: 0 additions & 874 deletions
874
exercises/practice/accumulate/.yarn/releases/yarn-3.6.4.cjs
This file was deleted.
Oops, something went wrong.
894 changes: 894 additions & 0 deletions
894
exercises/practice/accumulate/.yarn/releases/yarn-4.3.1.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
exercises/practice/accumulate/.yarn/sdks/eslint/bin/eslint.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env node | ||
|
||
const { existsSync } = require(`fs`) | ||
const { createRequire, register } = require(`module`) | ||
const { resolve } = require(`path`) | ||
const { pathToFileURL } = require(`url`) | ||
|
||
const relPnpApiPath = '../../../../.pnp.cjs' | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath) | ||
const absRequire = createRequire(absPnpApiPath) | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`) | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath) | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require eslint/bin/eslint.js | ||
require(absPnpApiPath).setup() | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)) | ||
} | ||
} | ||
} | ||
|
||
// Defer to the real eslint/bin/eslint.js your application uses | ||
module.exports = absRequire(`eslint/bin/eslint.js`) |
27 changes: 27 additions & 0 deletions
27
exercises/practice/accumulate/.yarn/sdks/eslint/lib/api.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env node | ||
|
||
const { existsSync } = require(`fs`) | ||
const { createRequire, register } = require(`module`) | ||
const { resolve } = require(`path`) | ||
const { pathToFileURL } = require(`url`) | ||
|
||
const relPnpApiPath = '../../../../.pnp.cjs' | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath) | ||
const absRequire = createRequire(absPnpApiPath) | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`) | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath) | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require eslint | ||
require(absPnpApiPath).setup() | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)) | ||
} | ||
} | ||
} | ||
|
||
// Defer to the real eslint your application uses | ||
module.exports = absRequire(`eslint`) |
27 changes: 27 additions & 0 deletions
27
exercises/practice/accumulate/.yarn/sdks/eslint/lib/unsupported-api.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env node | ||
|
||
const { existsSync } = require(`fs`) | ||
const { createRequire, register } = require(`module`) | ||
const { resolve } = require(`path`) | ||
const { pathToFileURL } = require(`url`) | ||
|
||
const relPnpApiPath = '../../../../.pnp.cjs' | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath) | ||
const absRequire = createRequire(absPnpApiPath) | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`) | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath) | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require eslint/use-at-your-own-risk | ||
require(absPnpApiPath).setup() | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)) | ||
} | ||
} | ||
} | ||
|
||
// Defer to the real eslint/use-at-your-own-risk your application uses | ||
module.exports = absRequire(`eslint/use-at-your-own-risk`) |
14 changes: 14 additions & 0 deletions
14
exercises/practice/accumulate/.yarn/sdks/eslint/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "eslint", | ||
"version": "9.8.0-sdk", | ||
"main": "./lib/api.js", | ||
"type": "commonjs", | ||
"bin": { | ||
"eslint": "./bin/eslint.js" | ||
}, | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": "./lib/api.js", | ||
"./use-at-your-own-risk": "./lib/unsupported-api.js" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is automatically generated by @yarnpkg/sdks. | ||
# Manual changes might be lost! | ||
|
||
integrations: | ||
- vscode |
27 changes: 27 additions & 0 deletions
27
exercises/practice/accumulate/.yarn/sdks/prettier/bin/prettier.cjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, register} = require(`module`); | ||
const {resolve} = require(`path`); | ||
const {pathToFileURL} = require(`url`); | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absRequire = createRequire(absPnpApiPath); | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`); | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require prettier/bin/prettier.cjs | ||
require(absPnpApiPath).setup(); | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)); | ||
} | ||
} | ||
} | ||
|
||
// Defer to the real prettier/bin/prettier.cjs your application uses | ||
module.exports = absRequire(`prettier/bin/prettier.cjs`); |
27 changes: 27 additions & 0 deletions
27
exercises/practice/accumulate/.yarn/sdks/prettier/index.cjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, register} = require(`module`); | ||
const {resolve} = require(`path`); | ||
const {pathToFileURL} = require(`url`); | ||
|
||
const relPnpApiPath = "../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absRequire = createRequire(absPnpApiPath); | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`); | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require prettier | ||
require(absPnpApiPath).setup(); | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)); | ||
} | ||
} | ||
} | ||
|
||
// Defer to the real prettier your application uses | ||
module.exports = absRequire(`prettier`); |
7 changes: 7 additions & 0 deletions
7
exercises/practice/accumulate/.yarn/sdks/prettier/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "prettier", | ||
"version": "3.3.3-sdk", | ||
"main": "./index.cjs", | ||
"type": "commonjs", | ||
"bin": "./bin/prettier.cjs" | ||
} |
27 changes: 27 additions & 0 deletions
27
exercises/practice/accumulate/.yarn/sdks/typescript/bin/tsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, register} = require(`module`); | ||
const {resolve} = require(`path`); | ||
const {pathToFileURL} = require(`url`); | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absRequire = createRequire(absPnpApiPath); | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`); | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require typescript/bin/tsc | ||
require(absPnpApiPath).setup(); | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)); | ||
} | ||
} | ||
} | ||
|
||
// Defer to the real typescript/bin/tsc your application uses | ||
module.exports = absRequire(`typescript/bin/tsc`); |
27 changes: 27 additions & 0 deletions
27
exercises/practice/accumulate/.yarn/sdks/typescript/bin/tsserver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, register} = require(`module`); | ||
const {resolve} = require(`path`); | ||
const {pathToFileURL} = require(`url`); | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absRequire = createRequire(absPnpApiPath); | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`); | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require typescript/bin/tsserver | ||
require(absPnpApiPath).setup(); | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)); | ||
} | ||
} | ||
} | ||
|
||
// Defer to the real typescript/bin/tsserver your application uses | ||
module.exports = absRequire(`typescript/bin/tsserver`); |
27 changes: 27 additions & 0 deletions
27
exercises/practice/accumulate/.yarn/sdks/typescript/lib/tsc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env node | ||
|
||
const { existsSync } = require(`fs`) | ||
const { createRequire, register } = require(`module`) | ||
const { resolve } = require(`path`) | ||
const { pathToFileURL } = require(`url`) | ||
|
||
const relPnpApiPath = '../../../../.pnp.cjs' | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath) | ||
const absRequire = createRequire(absPnpApiPath) | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`) | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath) | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require typescript/lib/tsc.js | ||
require(absPnpApiPath).setup() | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)) | ||
} | ||
} | ||
} | ||
|
||
// Defer to the real typescript/lib/tsc.js your application uses | ||
module.exports = absRequire(`typescript/lib/tsc.js`) |
Oops, something went wrong.