Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
superbryntendo authored Nov 30, 2023
2 parents d861bbb + 2507982 commit d6d035e
Show file tree
Hide file tree
Showing 257 changed files with 10,255 additions and 2,065 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
* @fedeci @mschrage @SeparateRecords
* @grant0417 @mschrage
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
with:
skip-tag: 'true'
- name: Publish to npm
uses: JS-DevTools/npm-publish@v2
uses: JS-DevTools/npm-publish@v3
with:
access: public
token: ${{ secrets.NPM_PUBLISH_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: yarn install --no-immutable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: yarn install --no-immutable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 14.x
- run: yarn install --no-immutable
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"source.fixAll.eslint": true
},
"editor.formatOnSave": true,
"deno.enablePaths": [".cicada"],
"deno.enablePaths": ["migrate.ts"],
"deno.enable": true
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Use the steps below or follow our getting started guide: [fig.io/docs](https://f
3. Clone your forked repo and create an example spec

```bash
# Replace `YOUR_GITHUB_USERNAME` with your own github username
# Replace `YOUR_GITHUB_USERNAME` with your own GitHub username
git clone https://github.com/YOUR_GITHUB_USERNAME/autocomplete.git fig-autocomplete
cd fig-autocomplete

Expand Down
144 changes: 144 additions & 0 deletions cla/signatures.json
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,150 @@
"created_at": "2023-10-14T16:05:58Z",
"repoId": 299482335,
"pullRequestNo": 2122
},
{
"name": "atsaloli",
"id": 508704,
"comment_id": 1767452941,
"created_at": "2023-10-18T01:25:41Z",
"repoId": 299482335,
"pullRequestNo": 2128
},
{
"name": "gnosticdev",
"id": 64601257,
"comment_id": 1769526628,
"created_at": "2023-10-18T22:54:52Z",
"repoId": 299482335,
"pullRequestNo": 2132
},
{
"name": "kanersps",
"id": 12296463,
"comment_id": 1770880076,
"created_at": "2023-10-19T12:31:02Z",
"repoId": 299482335,
"pullRequestNo": 2143
},
{
"name": "toddlerer",
"id": 74579078,
"comment_id": 1771549933,
"created_at": "2023-10-19T19:00:58Z",
"repoId": 299482335,
"pullRequestNo": 2144
},
{
"name": "andvvo",
"id": 121371226,
"comment_id": 1774213257,
"created_at": "2023-10-22T22:11:52Z",
"repoId": 299482335,
"pullRequestNo": 2145
},
{
"name": "duanhash",
"id": 122394349,
"comment_id": 1774213479,
"created_at": "2023-10-22T22:12:41Z",
"repoId": 299482335,
"pullRequestNo": 2145
},
{
"name": "ObtuseGooose",
"id": 111467638,
"comment_id": 1774213550,
"created_at": "2023-10-22T22:12:58Z",
"repoId": 299482335,
"pullRequestNo": 2145
},
{
"name": "cpendery",
"id": 35637443,
"comment_id": 1774273391,
"created_at": "2023-10-23T01:11:57Z",
"repoId": 299482335,
"pullRequestNo": 2146
},
{
"name": "DarkMatter-999",
"id": 74810454,
"comment_id": 1781548025,
"created_at": "2023-10-26T17:33:01Z",
"repoId": 299482335,
"pullRequestNo": 2151
},
{
"name": "jpbnetley",
"id": 25173863,
"comment_id": 1783725071,
"created_at": "2023-10-28T06:49:43Z",
"repoId": 299482335,
"pullRequestNo": 2153
},
{
"name": "diegofcornejo",
"id": 7274655,
"comment_id": 1790084882,
"created_at": "2023-11-02T05:15:54Z",
"repoId": 299482335,
"pullRequestNo": 2158
},
{
"name": "vdmgolub",
"id": 87082,
"comment_id": 1793728071,
"created_at": "2023-11-05T12:48:53Z",
"repoId": 299482335,
"pullRequestNo": 1666
},
{
"name": "eltociear",
"id": 22633385,
"comment_id": 1804145442,
"created_at": "2023-11-09T16:22:10Z",
"repoId": 299482335,
"pullRequestNo": 2166
},
{
"name": "casseyshao",
"id": 60023562,
"comment_id": 1804915049,
"created_at": "2023-11-10T01:04:43Z",
"repoId": 299482335,
"pullRequestNo": 2167
},
{
"name": "rajyraman",
"id": 5035266,
"comment_id": 1806583874,
"created_at": "2023-11-11T00:11:08Z",
"repoId": 299482335,
"pullRequestNo": 2168
},
{
"name": "Yashwin-Sudarshan",
"id": 49670540,
"comment_id": 1817537761,
"created_at": "2023-11-18T15:27:37Z",
"repoId": 299482335,
"pullRequestNo": 2175
},
{
"name": "beeinger",
"id": 40423831,
"comment_id": 1819188302,
"created_at": "2023-11-20T14:38:12Z",
"repoId": 299482335,
"pullRequestNo": 2180
},
{
"name": "overbit",
"id": 2861984,
"comment_id": 1822651876,
"created_at": "2023-11-22T12:08:24Z",
"repoId": 299482335,
"pullRequestNo": 2182
}
]
}
30 changes: 30 additions & 0 deletions migrate.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { walkSync } from "https://deno.land/std/fs/walk.ts";
import { split } from "npm:shlex";

const walk = walkSync("src");

for (const entry of walk) {
// console.log(entry.path);

if (entry.isFile) {
const file = Deno.readTextFileSync(`${entry.path}`);

const re = /script:\s"([^"]*)"/g;
const newFile = file.replaceAll(re, (match) => {
const a = re.exec(match);
if (a && a[1]) {
console.log(a[1]);
console.log(split(a[1]));
if (confirm("abc")) {
return `script: ${JSON.stringify(split(a[1]))}`;
} else {
return match;
}
} else {
return match;
}
});

Deno.writeTextFileSync(entry.path, newFile);
}
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@withfig/autocomplete",
"version": "2.638.0",
"version": "2.644.0",
"description": "Fig Autocomplete Specs",
"schemaVersion": "v7",
"main": "./build/index",
Expand Down Expand Up @@ -73,7 +73,7 @@
"@typescript-eslint/parser": "^6.7.3",
"@vitejs/plugin-react": "^4.1.0",
"@withfig/autocomplete-tools": "^2.7.10",
"@withfig/autocomplete-types": "^1.28.0",
"@withfig/autocomplete-types": "^1.29.0",
"autoprefixer": "^10.4.16",
"chalk": "^5.3.0",
"chokidar": "^3.5.3",
Expand All @@ -84,19 +84,19 @@
"express": "^4.18.2",
"glob": "^10.3.10",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"lint-staged": "^15.0.2",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"pretty-quick": "^3.1.3",
"progress": "^2.0.3",
"tailwindcss": "^3.3.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.0",
"typescript": "~5.3.2",
"vite": "^4.4.9",
"vite-plugin-externals": "^0.6.2"
},
"dependencies": {
"@fig/autocomplete-generators": "^2.2.5",
"@fig/autocomplete-generators": "^2.4.0",
"@fig/autocomplete-helpers": "^1.0.7",
"@fig/autocomplete-hooks": "^1.0.2",
"@withfig/api-bindings": "^0.30.3",
Expand Down
Loading

0 comments on commit d6d035e

Please sign in to comment.