Skip to content

Commit 5e5fe68

Browse files
committed
feat: gemfile
1 parent 32caf4e commit 5e5fe68

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ With some scripts to avoid duplication of works. And it's very opinionated.
1414
Open your VS Code, bring up your `settings.json`, copy-n-paste the snippet below, and you are good to go :)
1515

1616
```jsonc
17-
// updated 2022-03-08 03:56
17+
// updated 2022-03-08 03:58
1818
// https://github.com/antfu/vscode-file-nesting-config
1919
"explorer.experimental.fileNesting.enabled": true,
2020
"explorer.experimental.fileNesting.expand": false,
@@ -32,6 +32,7 @@ Open your VS Code, bring up your `settings.json`, copy-n-paste the snippet below
3232
"package.json": ".browserslist*, .circleci*, .editorconfig, .eslint*, .flowconfig, .gitlab*, .gitpod*, .huskyrc*, .markdownlint*, .node-version, .nodemon*, .npm*, .nvmrc, .prettier*, .releaserc*, .sentry*, .stackblitz, .stylelint*, .tazerc*, .travis.*, .vscode*, .watchman*, .yamllint*, .yarnrc*, api-extractor.json, appveyor.*, azure-pipelines.*, build.config.*, commitlint*, crowdin.*, dangerfile.*, gulp*, jenkins*, jsconfig.*, lerna*, lint-staged*, netlify.*, nx.*, package-lock.json, pnpm-*, renovate.*, rollup.config.*, stylelint*, tsconfig.*, tsdoc.*, tslint.*, tsup.config.*, turbo.json, vercel.*, vetur.config.*, webpack.config.*, yarn*",
3333
"readme.md": "authors, backers.md, changelog*.md, code_of_conduct.md, codeowners, contributing.md, governance.md, history.md, license*, readme*, security.md, sponsors.md",
3434
"cargo.toml": "cargo.lock, rust-toolchain.toml, rustfmt.toml",
35+
"gemfile": "gemfile.lock, .ruby-version",
3536
"vite.config.*": "*.env, .babelrc, .codecov, .env*, .mocha*, api-extractor.json, ava.config.*, babel.config.*, cypress.json, env.d.ts, jasmine.*, jest.config.*, jsconfig.*, karma.conf*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*",
3637
"vue.config.*": "*.env, .babelrc, .codecov, .env*, .mocha*, api-extractor.json, ava.config.*, babel.config.*, cypress.json, env.d.ts, jasmine.*, jest.config.*, jsconfig.*, karma.conf*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*",
3738
"nuxt.config.*": "*.env, .babelrc, .codecov, .env*, .mocha*, api-extractor.json, ava.config.*, babel.config.*, cypress.json, env.d.ts, jasmine.*, jest.config.*, jsconfig.*, karma.conf*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*",

update.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ const cargo = [
145145
'rustfmt.toml',
146146
]
147147

148+
const gemfile = [
149+
'gemfile.lock',
150+
'.ruby-version',
151+
]
152+
148153
const base = {
149154
'.gitignore': '.gitattributes, .gitmodules, .mailmap, .git-blame*',
150155
'*.js': '$(capture).js.map, $(capture).min.js, $(capture).d.ts',
@@ -163,6 +168,7 @@ const full = {
163168
'package.json': packageJSON.join(', '),
164169
'readme.md': readme.join(', '),
165170
'cargo.toml': cargo.join(', '),
171+
'gemfile': gemfile.join(', '),
166172
...Object.fromEntries(Object.entries(frameworks).map(([n, i]) => [n, [...i, ...libraries].join(', ')])),
167173
}
168174

0 commit comments

Comments
 (0)