Skip to content

Commit

Permalink
Merge pull request #84 from ololabs/codeowners
Browse files Browse the repository at this point in the history
Create CODEOWNERS
  • Loading branch information
dustinsoftware authored Sep 18, 2024
2 parents 9be9df9 + 958bf67 commit 27a99f2
Show file tree
Hide file tree
Showing 7 changed files with 3,779 additions and 2,558 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
Expand All @@ -32,6 +32,6 @@ jobs:
- run: yarn build
- run: yarn run pack
- name: Create Package
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
path: packages/**/*.tgz
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @ololabs/principalengineers
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"packages/data-generator"
],
"resolutions": {
"@types/babel__traverse": "7.0.6",
"minimist": "1.2.5"
}
}
5 changes: 1 addition & 4 deletions packages/data-generator/Generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,7 @@ export class Generator {
generate(count: number, depth: number): GenerateValues[] {
if (count <= 0) return [];

// eslint-disable-next-line prefer-spread
return Array.apply(null, Array(count)).map(() =>
this.createSchema([this.schema, this.opts], { _currentDepth: depth })
);
return [...Array(count)].map(() => this.createSchema([this.schema, this.opts], { _currentDepth: depth }));
}

createSchema([schema, opts]: GenerateSchemaTuple, objectOpts: GenerateOptions): GenerateValues {
Expand Down
4 changes: 3 additions & 1 deletion packages/data-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
"chance": "^1.1.4"
},
"devDependencies": {
"@types/babel__core": "7.1.19",
"@types/babel__traverse": "7.17.1",
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/preset-typescript": "^7.9.0",
Expand All @@ -45,7 +47,7 @@
"mini-css-extract-plugin": "^0.9.0",
"prettier": "^2.0.5",
"ts-loader": "^8.0.1",
"typescript": "^3.9.7",
"typescript": "^5.6.2",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-node-externals": "^1.7.2"
Expand Down
5 changes: 3 additions & 2 deletions tests/sample-webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"mocha": "^7.1.0",
"olo-gulp-helpers": "^0.9.0",
"rimraf": "^3.0.2",
"typescript": "^3.8.3"
}
"typescript": "^5.6.2"
},
"dependencies": {}
}
6,315 changes: 3,767 additions & 2,548 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 27a99f2

Please sign in to comment.