skuba 4.3.0-beta.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/jest/moduleNameMapper.test.ts +7 -8
- package/lib/api/git/pull.d.ts +3 -3
- package/lib/api/git/pull.js +1 -1
- package/lib/api/github/index.d.ts +1 -1
- package/lib/api/github/index.js +4 -4
- package/lib/api/github/index.js.map +1 -1
- package/lib/api/github/push.d.ts +25 -14
- package/lib/api/github/push.js +41 -26
- package/lib/api/github/push.js.map +1 -1
- package/lib/api/jest/index.d.ts +23 -24
- package/lib/api/jest/index.js.map +1 -1
- package/lib/cli/configure/analyseDependencies.js +1 -2
- package/lib/cli/configure/analyseDependencies.js.map +1 -1
- package/lib/cli/configure/ensureTemplateCompletion.js +2 -2
- package/lib/cli/configure/ensureTemplateCompletion.js.map +1 -1
- package/lib/cli/configure/modules/tsconfig.js +3 -2
- package/lib/cli/configure/modules/tsconfig.js.map +1 -1
- package/lib/cli/configure/processing/package.d.ts +2 -2
- package/lib/cli/configure/processing/package.js +8 -10
- package/lib/cli/configure/processing/package.js.map +1 -1
- package/lib/cli/lint/autofix.js +3 -2
- package/lib/cli/lint/autofix.js.map +1 -1
- package/lib/cli/test/reporters/github/annotations.js +4 -1
- package/lib/cli/test/reporters/github/annotations.js.map +1 -1
- package/lib/utils/args.d.ts +1 -1
- package/lib/utils/version.d.ts +1 -0
- package/lib/utils/version.js +11 -3
- package/lib/utils/version.js.map +1 -1
- package/package.json +51 -24
- package/template/base/_.eslintignore +5 -2
- package/template/base/_.gitignore +3 -2
- package/template/base/_.prettierignore +5 -2
- package/template/express-rest-api/.buildkite/pipeline.yml +4 -4
- package/template/express-rest-api/.gantry/common.yml +1 -1
- package/template/express-rest-api/Dockerfile +1 -1
- package/template/express-rest-api/Dockerfile.dev-deps +1 -1
- package/template/express-rest-api/README.md +11 -14
- package/template/express-rest-api/gantry.apply.yml +2 -0
- package/template/express-rest-api/gantry.build.yml +2 -0
- package/template/express-rest-api/package.json +1 -1
- package/template/greeter/.buildkite/pipeline.yml +1 -1
- package/template/greeter/Dockerfile +1 -1
- package/template/greeter/README.md +12 -15
- package/template/koa-rest-api/.buildkite/pipeline.yml +4 -4
- package/template/koa-rest-api/.gantry/common.yml +1 -1
- package/template/koa-rest-api/Dockerfile +1 -1
- package/template/koa-rest-api/Dockerfile.dev-deps +1 -1
- package/template/koa-rest-api/README.md +11 -14
- package/template/koa-rest-api/gantry.apply.yml +2 -0
- package/template/koa-rest-api/gantry.build.yml +2 -0
- package/template/koa-rest-api/package.json +5 -5
- package/template/koa-rest-api/src/api/jobs/postJob.test.ts +7 -3
- package/template/koa-rest-api/src/framework/server.test.ts +18 -18
- package/template/koa-rest-api/src/framework/validation.test.ts +15 -6
- package/template/lambda-sqs-worker/.buildkite/pipeline.yml +2 -3
- package/template/lambda-sqs-worker/Dockerfile +1 -1
- package/template/lambda-sqs-worker/README.md +10 -13
- package/template/lambda-sqs-worker/package.json +1 -1
- package/template/lambda-sqs-worker/serverless.yml +0 -3
- package/template/lambda-sqs-worker/src/app.test.ts +7 -7
- package/template/lambda-sqs-worker/src/framework/handler.test.ts +3 -3
- package/template/lambda-sqs-worker/src/framework/validation.test.ts +17 -10
- package/template/lambda-sqs-worker/src/services/jobScorer.test.ts +2 -2
- package/template/lambda-sqs-worker/src/services/pipelineEventSender.test.ts +1 -1
- package/template/lambda-sqs-worker-cdk/.buildkite/pipeline.yml +2 -2
- package/template/lambda-sqs-worker-cdk/Dockerfile +1 -1
- package/template/lambda-sqs-worker-cdk/infra/__snapshots__/appStack.test.ts.snap +224 -218
- package/template/lambda-sqs-worker-cdk/infra/appStack.ts +1 -0
- package/template/oss-npm-package/README.md +9 -11
- package/template/oss-npm-package/_package.json +1 -1
- package/template/private-npm-package/README.md +6 -12
- package/template/private-npm-package/_package.json +1 -1
- package/template/express-rest-api/.me +0 -22
- package/template/greeter/.me +0 -20
- package/template/koa-rest-api/.me +0 -22
- package/template/lambda-sqs-worker/.me +0 -22
- package/template/lambda-sqs-worker-cdk/.me +0 -22
- package/template/oss-npm-package/.me +0 -21
- package/template/private-npm-package/.me +0 -21
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autofix.js","sourceRoot":"","sources":["../../../src/cli/lint/autofix.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA+B;AAE/B,4DAAmC;AAEnC,mDAAqC;AACrC,yDAA2C;AAC3C,qDAAqD;AACrD,yDAAyD;AACzD,yCAA0C;AAC1C,iDAAwD;AACxD,2CAAkD;AAIlD,MAAM,sBAAsB,GAAG,oBAAoB,CAAC;AAEpD,MAAM,UAAU,GAAG,KAAK,EAAE,EACxB,aAAa,EACb,GAAG,GAIJ,EAAE,EAAE;IACH,IAAI,CAAC,IAAA,aAAO,GAAE,EAAE;QACd,4EAA4E;QAC5E,2EAA2E;QAC3E,2DAA2D;QAC3D,OAAO,KAAK,CAAC;KACd;IAED,MAAM,wBAAwB,GAC5B,aAAa;QACb,CAAC,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,QAAQ,CACxE,aAAa,CACd,CAAC;IAEJ,MAAM,uBAAuB,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAoB,KAAK,MAAM,CAAC;IAE5E,IAAI,wBAAwB,IAAI,uBAAuB,EAAE;QACvD,4CAA4C;QAC5C,wEAAwE;QACxE,OAAO,KAAK,CAAC;KACd;IAED,IAAI,iBAAiB,CAAC;IACtB,IAAI;QACF,iBAAiB,GAAG,MAAM,GAAG,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;KAC7D;IAAC,MAAM,GAAE;IAEV,IAAI,iBAAiB,KAAK,sBAAsB,EAAE;QAChD,yEAAyE;QACzE,0EAA0E;QAC1E,OAAO,KAAK,CAAC;KACd;IAED,sEAAsE;IACtE,OAAO,IAAI,CAAC;AACd,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C;aAC3C;YAED,MAAM,IAAA,qBAAc,EAAC,IAAA,oBAAS,GAAE,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;YACpD,aAAG,CAAC,IAAI,CAAC,qBAAqB,GAAG,GAAG,CAAC,CAAC;YACtC,OAAO;SACR;QAED,wCAAwC;QACxC,IAAI,CAAC,aAAa,EAAE;YAClB,aAAG,CAAC,IAAI,CAAC,yCAAyC,CAAC,CAAC;YACpD,aAAG,CAAC,IAAI,CACN,+GAA+G,CAChH,CAAC;YACF,OAAO;SACR;QAED,MAAM,GAAG,GAAG,MAAM,IAAA,qBAAc,EAC9B,MAAM,CAAC,oBAAoB,CAAC;YAC1B,GAAG;YACH,MAAM,EAAE,aAAa;YACrB,eAAe,EAAE,sBAAsB;SACxC,CAAC,EACF,EAAE,CAAC,EAAE,EAAE,EAAE,CACV,CAAC;QAEF,IAAI,CAAC,GAAG,EAAE;YACR,OAAO,aAAG,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;SAC3C;QAED,aAAG,CAAC,IAAI,CAAC,qBAAqB,GAAG,GAAG,CAAC,CAAC;KACvC;IAAC,OAAO,GAAG,EAAE;QACZ,aAAG,CAAC,IAAI,CAAC,aAAG,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC;QACjD,aAAG,CAAC,IAAI,CACN,aAAG,CAAC,IAAI,CACN,oEAAoE,CACrE,CACF,CAAC;QACF,aAAG,CAAC,MAAM,CAAC,IAAA,cAAO,EAAC,GAAG,CAAC,CAAC,CAAC;KAC1B;AACH,CAAC,CAAC;AA/EW,QAAA,OAAO,WA+ElB"}
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.generateAnnotationEntries = exports.createAnnotations = void 0;
|
|
7
7
|
const path_1 = __importDefault(require("path"));
|
|
8
8
|
const strip_ansi_1 = __importDefault(require("strip-ansi"));
|
|
9
|
+
const ts_dedent_1 = __importDefault(require("ts-dedent"));
|
|
9
10
|
/**
|
|
10
11
|
* Matches the first stack trace location in a Jest failure message.
|
|
11
12
|
*
|
|
@@ -49,7 +50,9 @@ const createAnnotations = (testResults) => {
|
|
|
49
50
|
path: path_1.default.relative(cwd, testResult.testFilePath),
|
|
50
51
|
start_line: 1,
|
|
51
52
|
end_line: 1,
|
|
52
|
-
message: (0, strip_ansi_1.default)(testResult.
|
|
53
|
+
message: (0, strip_ansi_1.default)(testResult.failureMessage
|
|
54
|
+
? (0, ts_dedent_1.default)(testResult.failureMessage)
|
|
55
|
+
: testResult.testExecError.message),
|
|
53
56
|
title: 'Jest',
|
|
54
57
|
};
|
|
55
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotations.js","sourceRoot":"","sources":["../../../../../src/cli/test/reporters/github/annotations.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AAGxB,4DAAmC;
|
|
1
|
+
{"version":3,"file":"annotations.js","sourceRoot":"","sources":["../../../../../src/cli/test/reporters/github/annotations.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AAGxB,4DAAmC;AACnC,0DAA+B;AAI/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAM,mBAAmB,GAAG,iCAAiC,CAAC;AAEvD,MAAM,iBAAiB,GAAG,CAC/B,WAAyB,EACJ,EAAE;IACvB,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAE1B,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE;QACxC,IAAI,UAAU,CAAC,aAAa,EAAE;YAC5B,OAAO;gBACL,gBAAgB,EAAE,SAAS;gBAC3B,IAAI,EAAE,cAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,UAAU,CAAC,YAAY,CAAC;gBACjD,UAAU,EAAE,CAAC;gBACb,QAAQ,EAAE,CAAC;gBACX,OAAO,EAAE,IAAA,oBAAS,EAChB,UAAU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,MAAM,oBAAoB,GAAG,WAAW,CAAC,MAAM,CAC7C,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;QACd,MAAM,WAAW,GAAG,MAAM,CAAC,WAAW,EAAE,IAAI,IAAI,oBAAoB,CAAC;QAErE,CAAC,GAAG,CAAC,WAAW,MAAf,GAAG,CAAC,WAAW,IAAM,EAAE,EAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAEvC,OAAO,GAAG,CAAC;IACb,CAAC,EACD,EAAE,CACH,CAAC;IAEF,MAAM,cAAc,GAAG,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;IAElE,MAAM,OAAO,GAAG;QACd,GAAG,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAE,CAAC,CAAC,SAAS,EAAE,cAAc,CAAC,CAAW,CAAC,CAAC,CAAC,EAAE,CAAC;QAC3E,GAAG,MAAM,CAAC,OAAO,CAAC,oBAAoB,CAAC;KACxC,CAAC;IAEF,4CAA4C;IAC5C,OAAO,OAAO,CAAC,GAAG,CAAkB,CAAC,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC;QAC/D,WAAW,EAAE,IAAA,yBAAiB,EAAC,OAAO,CAAC;QACvC,WAAW;KACZ,CAAC,CAAC,CAAC;AACN,CAAC,CAAC;AA7BW,QAAA,yBAAyB,6BA6BpC"}
|
package/lib/utils/args.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare const hasSerialFlag: (args?: string[], env?: NodeJS.ProcessEnv) =
|
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
export declare const parseProcessArgs: (args?: string[]) => {
|
|
18
|
-
commandName: "format" | "node" | "test" | "release" | "build" | "build-package" | "configure" | "help" | "init" | "lint" | "start"
|
|
18
|
+
commandName: "format" | "node" | "test" | "release" | "version" | "build" | "build-package" | "configure" | "help" | "init" | "lint" | "start";
|
|
19
19
|
args: string[];
|
|
20
20
|
};
|
|
21
21
|
interface RunArgs {
|
package/lib/utils/version.d.ts
CHANGED
package/lib/utils/version.js
CHANGED
|
@@ -3,13 +3,21 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getSkubaVersionInfo = exports.getSkubaVersion = void 0;
|
|
7
|
-
const
|
|
6
|
+
exports.getSkubaVersionInfo = exports.getSkubaVersion = exports.latestNpmVersion = void 0;
|
|
7
|
+
const package_json_1 = __importDefault(require("package-json"));
|
|
8
8
|
const manifest_1 = require("./manifest");
|
|
9
9
|
const wait_1 = require("./wait");
|
|
10
|
+
const latestNpmVersion = async (packageName) => {
|
|
11
|
+
const { version } = await (0, package_json_1.default)(packageName);
|
|
12
|
+
if (typeof version !== 'string') {
|
|
13
|
+
throw new Error(`No version found for package "${packageName}"`);
|
|
14
|
+
}
|
|
15
|
+
return version;
|
|
16
|
+
};
|
|
17
|
+
exports.latestNpmVersion = latestNpmVersion;
|
|
10
18
|
const latestSkubaVersion = async () => {
|
|
11
19
|
try {
|
|
12
|
-
const result = await (0, wait_1.withTimeout)((0,
|
|
20
|
+
const result = await (0, wait_1.withTimeout)((0, exports.latestNpmVersion)('skuba'), { s: 2 });
|
|
13
21
|
return result.ok ? result.value : null;
|
|
14
22
|
}
|
|
15
23
|
catch {
|
package/lib/utils/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/utils/version.ts"],"names":[],"mappings":";;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/utils/version.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAuC;AAEvC,yCAA8C;AAC9C,iCAAqC;AAE9B,MAAM,gBAAgB,GAAG,KAAK,EACnC,WAAmB,EACF,EAAE;IACnB,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,IAAA,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
6
6
|
"url": "https://github.com/seek-oss/skuba/issues"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@
|
|
10
|
-
"@octokit/graphql
|
|
11
|
-
"@octokit/
|
|
12
|
-
"@octokit/
|
|
13
|
-
"@types
|
|
9
|
+
"@jest/types": "^29.0.0",
|
|
10
|
+
"@octokit/graphql": "^5.0.0",
|
|
11
|
+
"@octokit/graphql-schema": "^12.0.0",
|
|
12
|
+
"@octokit/rest": "^19.0.0",
|
|
13
|
+
"@octokit/types": "^7.0.0",
|
|
14
|
+
"@types/jest": "^29.0.0",
|
|
14
15
|
"@types/node": ">=14.18",
|
|
15
16
|
"chalk": "^4.1.0",
|
|
16
17
|
"concurrently": "^7.0.0",
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
"ejs": "^3.1.6",
|
|
19
20
|
"enquirer": "^2.3.6",
|
|
20
21
|
"eslint": "^8.11.0",
|
|
21
|
-
"eslint-config-skuba": "1.1.
|
|
22
|
+
"eslint-config-skuba": "1.1.4",
|
|
22
23
|
"execa": "^5.0.0",
|
|
23
24
|
"fdir": "^5.0.0",
|
|
24
25
|
"fs-extra": "^10.0.0",
|
|
@@ -27,51 +28,54 @@
|
|
|
27
28
|
"ignore": "^5.1.8",
|
|
28
29
|
"is-installed-globally": "^0.4.0",
|
|
29
30
|
"isomorphic-git": "^1.11.1",
|
|
30
|
-
"jest": "^
|
|
31
|
-
"jest-watch-typeahead": "^1.1
|
|
32
|
-
"latest-version": "^5.1.0",
|
|
31
|
+
"jest": "^29.0.1",
|
|
32
|
+
"jest-watch-typeahead": "^2.1.1",
|
|
33
33
|
"lodash.mergewith": "^4.6.2",
|
|
34
34
|
"normalize-package-data": "^4.0.0",
|
|
35
35
|
"npm-run-path": "^4.0.1",
|
|
36
36
|
"npm-which": "^3.0.1",
|
|
37
|
+
"package-json": "^7.0.0",
|
|
37
38
|
"picomatch": "^2.2.2",
|
|
38
|
-
"prettier": "~2.
|
|
39
|
+
"prettier": "~2.7.0",
|
|
39
40
|
"read-pkg-up": "^7.0.1",
|
|
40
41
|
"runtypes": "^6.0.0",
|
|
41
42
|
"semantic-release": "^19.0.0",
|
|
42
43
|
"serialize-error": "^8.0.1",
|
|
43
44
|
"simple-git": "^3.5.0",
|
|
45
|
+
"sort-package-json": "^1.57.0",
|
|
44
46
|
"strip-ansi": "^6.0.1",
|
|
45
|
-
"ts-
|
|
47
|
+
"ts-dedent": "^2.2.0",
|
|
48
|
+
"ts-jest": "^29.0.0-next.0",
|
|
46
49
|
"ts-node": "^10.7.0",
|
|
47
50
|
"ts-node-dev": "^2.0.0",
|
|
48
51
|
"tsconfig-paths": "^4.0.0",
|
|
49
52
|
"tsconfig-seek": "1.0.2",
|
|
50
|
-
"typescript": "~4.
|
|
53
|
+
"typescript": "~4.8.2"
|
|
51
54
|
},
|
|
52
55
|
"description": "SEEK development toolkit for backend applications and packages",
|
|
53
56
|
"devDependencies": {
|
|
54
|
-
"@changesets/cli": "2.
|
|
55
|
-
"@changesets/get-github-info": "0.5.
|
|
56
|
-
"@jest/reporters": "
|
|
57
|
+
"@changesets/cli": "2.24.3",
|
|
58
|
+
"@changesets/get-github-info": "0.5.1",
|
|
59
|
+
"@jest/reporters": "29.0.1",
|
|
57
60
|
"@types/ejs": "3.1.1",
|
|
58
61
|
"@types/express": "4.17.13",
|
|
59
62
|
"@types/fs-extra": "9.0.13",
|
|
60
|
-
"@types/koa": "2.13.
|
|
63
|
+
"@types/koa": "2.13.5",
|
|
61
64
|
"@types/lodash.mergewith": "4.6.7",
|
|
62
65
|
"@types/module-alias": "2.0.1",
|
|
63
66
|
"@types/npm-which": "3.0.1",
|
|
64
67
|
"@types/picomatch": "2.3.0",
|
|
65
68
|
"@types/supertest": "2.0.12",
|
|
66
|
-
"enhanced-resolve": "5.
|
|
69
|
+
"enhanced-resolve": "5.10.0",
|
|
67
70
|
"express": "4.18.1",
|
|
68
|
-
"graphql-tag": "2.12.6",
|
|
69
71
|
"jsonfile": "6.1.0",
|
|
70
72
|
"koa": "2.13.4",
|
|
71
|
-
"memfs": "3.4.
|
|
73
|
+
"memfs": "3.4.7",
|
|
74
|
+
"remark-cli": "11.0.0",
|
|
75
|
+
"remark-preset-lint-recommended": "6.1.2",
|
|
72
76
|
"semver": "7.3.7",
|
|
73
|
-
"supertest": "6.2.
|
|
74
|
-
"type-fest": "2.
|
|
77
|
+
"supertest": "6.2.4",
|
|
78
|
+
"type-fest": "2.18.0"
|
|
75
79
|
},
|
|
76
80
|
"engines": {
|
|
77
81
|
"node": ">=14.18"
|
|
@@ -98,9 +102,31 @@
|
|
|
98
102
|
}
|
|
99
103
|
},
|
|
100
104
|
"private": false,
|
|
105
|
+
"remarkConfig": {
|
|
106
|
+
"plugins": [
|
|
107
|
+
"remark-preset-lint-recommended",
|
|
108
|
+
[
|
|
109
|
+
"remark-lint-list-item-indent",
|
|
110
|
+
false
|
|
111
|
+
],
|
|
112
|
+
[
|
|
113
|
+
"remark-lint-no-shortcut-reference-link",
|
|
114
|
+
false
|
|
115
|
+
],
|
|
116
|
+
[
|
|
117
|
+
"remark-lint-no-undefined-references",
|
|
118
|
+
{
|
|
119
|
+
"allow": [
|
|
120
|
+
" ",
|
|
121
|
+
"x"
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
]
|
|
126
|
+
},
|
|
101
127
|
"repository": {
|
|
102
128
|
"type": "git",
|
|
103
|
-
"url": "git+
|
|
129
|
+
"url": "git+ssh://git@github.com/seek-oss/skuba.git"
|
|
104
130
|
},
|
|
105
131
|
"resolutions": {
|
|
106
132
|
"**/@types/node": ">=14.18"
|
|
@@ -109,7 +135,8 @@
|
|
|
109
135
|
"build": "ts-node --transpile-only src/skuba build && scripts/postbuild.sh",
|
|
110
136
|
"deploy": "scripts/deploy.sh",
|
|
111
137
|
"format": "yarn skuba format",
|
|
112
|
-
"lint": "yarn skuba lint",
|
|
138
|
+
"lint": "yarn skuba lint && yarn lint:md",
|
|
139
|
+
"lint:md": "remark --frail --quiet .",
|
|
113
140
|
"release": "yarn build && changeset publish",
|
|
114
141
|
"stage": "changeset version && yarn format",
|
|
115
142
|
"skuba": "yarn build && node lib/skuba",
|
|
@@ -127,5 +154,5 @@
|
|
|
127
154
|
"version": "4.0.0"
|
|
128
155
|
},
|
|
129
156
|
"types": "./lib/index.d.ts",
|
|
130
|
-
"version": "4.
|
|
157
|
+
"version": "4.4.0"
|
|
131
158
|
}
|
|
@@ -51,7 +51,7 @@ steps:
|
|
|
51
51
|
- *aws-sm
|
|
52
52
|
- *private-npm
|
|
53
53
|
- *docker-ecr-cache
|
|
54
|
-
- docker-compose#v3.
|
|
54
|
+
- docker-compose#v3.10.0:
|
|
55
55
|
run: app
|
|
56
56
|
timeout_in_minutes: 10
|
|
57
57
|
|
|
@@ -61,7 +61,7 @@ steps:
|
|
|
61
61
|
- *aws-sm
|
|
62
62
|
- *private-npm
|
|
63
63
|
- *docker-ecr-cache
|
|
64
|
-
- seek-jobs/gantry#
|
|
64
|
+
- seek-jobs/gantry#v2.0.0:
|
|
65
65
|
command: build
|
|
66
66
|
file: gantry.build.yml
|
|
67
67
|
region: <%- region %>
|
|
@@ -78,7 +78,7 @@ steps:
|
|
|
78
78
|
concurrency_group: <%- teamName %>/deploy/gantry/<%- devGantryEnvironmentName %>
|
|
79
79
|
key: deploy-dev
|
|
80
80
|
plugins:
|
|
81
|
-
- seek-jobs/gantry#
|
|
81
|
+
- seek-jobs/gantry#v2.0.0:
|
|
82
82
|
command: apply
|
|
83
83
|
environment: <%- devGantryEnvironmentName %>
|
|
84
84
|
file: gantry.apply.yml
|
|
@@ -93,7 +93,7 @@ steps:
|
|
|
93
93
|
concurrency_group: <%- teamName %>/deploy/gantry/<%- prodGantryEnvironmentName %>
|
|
94
94
|
depends_on: deploy-dev
|
|
95
95
|
plugins:
|
|
96
|
-
- seek-jobs/gantry#
|
|
96
|
+
- seek-jobs/gantry#v2.0.0:
|
|
97
97
|
command: apply
|
|
98
98
|
environment: <%- prodGantryEnvironmentName %>
|
|
99
99
|
file: gantry.apply.yml
|
|
@@ -4,7 +4,7 @@ image: '{{values "prodAccountId"}}.dkr.ecr.<%- region %>.amazonaws.com/{{values
|
|
|
4
4
|
service: '<%- serviceName %>'
|
|
5
5
|
|
|
6
6
|
# TODO: enable Datadog agent
|
|
7
|
-
# https://
|
|
7
|
+
# https://backstage.myseek.xyz/docs/default/component/gantry/v1/reference/resources/service/#datadogSecretId
|
|
8
8
|
# datadogSecretId: arn:aws:secretsmanager:<%- region %>:<aws-account-id>:secret:<secret-name>
|
|
9
9
|
|
|
10
10
|
tags:
|
|
@@ -4,24 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
Next steps:
|
|
6
6
|
|
|
7
|
-
1. [ ]
|
|
7
|
+
1. [ ] Check if your team has a Graviton-based Buildkite cluster;
|
|
8
|
+
see the [ARM64 guide] for more information.
|
|
9
|
+
2. [ ] Finish templating if this was skipped earlier:
|
|
8
10
|
|
|
9
11
|
```shell
|
|
10
12
|
yarn skuba configure
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
3. [ ] Create a new repository in the appropriate GitHub organisation.
|
|
16
|
+
4. [ ] Add the repository to BuildAgency;
|
|
15
17
|
see [Builds at SEEK] for more information.
|
|
16
|
-
4. [ ] Fill out [.me](.me) to power SEEK's system catalogue;
|
|
17
|
-
see the [Codex] documentation for more information.
|
|
18
18
|
5. [ ] Add Datadog configuration and data classification tags to [.gantry/common.yml](.gantry/common.yml);
|
|
19
19
|
see the [Gantry] documentation for more information.
|
|
20
20
|
6. [ ] Push local commits to the upstream GitHub branch.
|
|
21
21
|
7. [ ] Configure [GitHub repository settings].
|
|
22
|
-
8. [ ]
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
8. [ ] Delete this checklist 😌.
|
|
23
|
+
|
|
24
|
+
[arm64 guide]: https://seek-oss.github.io/skuba/docs/deep-dives/arm64.html
|
|
25
|
+
[builds at seek]: https://builds-at-seek.ssod.skinfra.xyz
|
|
26
|
+
[github repository settings]: https://github.com/<%-orgName%>/<%-repoName%>/settings
|
|
25
27
|
|
|
26
28
|
## Design
|
|
27
29
|
|
|
@@ -101,12 +103,7 @@ TODO: add support links for the prod environment.
|
|
|
101
103
|
- Splunk logs
|
|
102
104
|
-->
|
|
103
105
|
|
|
104
|
-
[builds at seek]: https://builds-at-seek.ssod.skinfra.xyz
|
|
105
106
|
[codedeploy]: https://docs.aws.amazon.com/codedeploy
|
|
106
|
-
[codex]: https://codex.ssod.skinfra.xyz/docs
|
|
107
107
|
[express]: https://expressjs.com
|
|
108
|
-
[gantry]: https://
|
|
109
|
-
[github repository settings]: https://github.com/<%-orgName%>/<%-repoName%>/settings
|
|
110
|
-
[renovate]: https://github.com/apps/renovate
|
|
111
|
-
[seek-jobs/renovate]: https://github.com/SEEK-Jobs/renovate
|
|
108
|
+
[gantry]: https://backstage.myseek.xyz/docs/default/component/gantry/
|
|
112
109
|
[technology strategy]: https://tech-strategy.ssod.skinfra.xyz
|
|
@@ -4,22 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
Next steps:
|
|
6
6
|
|
|
7
|
-
1. [ ]
|
|
7
|
+
1. [ ] Check if your team has a Graviton-based Buildkite cluster;
|
|
8
|
+
see the [ARM64 guide] for more information.
|
|
9
|
+
2. [ ] Finish templating if this was skipped earlier:
|
|
8
10
|
|
|
9
11
|
```shell
|
|
10
12
|
yarn skuba configure
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
3. [ ] Create a new repository in the appropriate GitHub organisation.
|
|
16
|
+
4. [ ] Add the repository to BuildAgency;
|
|
15
17
|
see [Builds at SEEK] for more information.
|
|
16
|
-
4. [ ] Fill out [.me](.me) to power SEEK's system catalogue;
|
|
17
|
-
see the [Codex] documentation for more information.
|
|
18
18
|
5. [ ] Push local commits to the upstream GitHub branch.
|
|
19
19
|
6. [ ] Configure [GitHub repository settings].
|
|
20
|
-
7. [ ]
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
7. [ ] Delete this checklist 😌.
|
|
21
|
+
|
|
22
|
+
[arm64 guide]: https://seek-oss.github.io/skuba/docs/deep-dives/arm64.html
|
|
23
|
+
[builds at seek]: https://builds-at-seek.ssod.skinfra.xyz
|
|
24
|
+
[github repository settings]: https://github.com/<%-orgName%>/<%-repoName%>/settings
|
|
23
25
|
|
|
24
26
|
## Design
|
|
25
27
|
|
|
@@ -29,8 +31,8 @@ or serve as a starting point for a backend project if the other built-in templat
|
|
|
29
31
|
|
|
30
32
|
It's a barebones Node.js application that comprises:
|
|
31
33
|
|
|
32
|
-
- A [src/app.ts] that can be run locally to greet the user
|
|
33
|
-
- A [src/app.test.ts] that demonstrates rudimentary Jest usage
|
|
34
|
+
- A [src/app.ts](src/app.ts) that can be run locally to greet the user
|
|
35
|
+
- A [src/app.test.ts](src/app.test.ts) that demonstrates rudimentary Jest usage
|
|
34
36
|
|
|
35
37
|
## Development
|
|
36
38
|
|
|
@@ -94,9 +96,4 @@ TODO: add support links for the prod environment.
|
|
|
94
96
|
- Splunk logs
|
|
95
97
|
-->
|
|
96
98
|
|
|
97
|
-
[builds at seek]: https://builds-at-seek.ssod.skinfra.xyz
|
|
98
|
-
[codex]: https://codex.ssod.skinfra.xyz/docs
|
|
99
|
-
[github repository settings]: https://github.com/<%-orgName%>/<%-repoName%>/settings
|
|
100
|
-
[renovate]: https://github.com/apps/renovate
|
|
101
|
-
[seek-jobs/renovate]: https://github.com/SEEK-Jobs/renovate
|
|
102
99
|
[technology strategy]: https://tech-strategy.ssod.skinfra.xyz
|
|
@@ -51,7 +51,7 @@ steps:
|
|
|
51
51
|
- *aws-sm
|
|
52
52
|
- *private-npm
|
|
53
53
|
- *docker-ecr-cache
|
|
54
|
-
- docker-compose#v3.
|
|
54
|
+
- docker-compose#v3.10.0:
|
|
55
55
|
run: app
|
|
56
56
|
timeout_in_minutes: 10
|
|
57
57
|
|
|
@@ -61,7 +61,7 @@ steps:
|
|
|
61
61
|
- *aws-sm
|
|
62
62
|
- *private-npm
|
|
63
63
|
- *docker-ecr-cache
|
|
64
|
-
- seek-jobs/gantry#
|
|
64
|
+
- seek-jobs/gantry#v2.0.0:
|
|
65
65
|
command: build
|
|
66
66
|
file: gantry.build.yml
|
|
67
67
|
region: <%- region %>
|
|
@@ -78,7 +78,7 @@ steps:
|
|
|
78
78
|
concurrency_group: <%- teamName %>/deploy/gantry/<%- devGantryEnvironmentName %>
|
|
79
79
|
key: deploy-dev
|
|
80
80
|
plugins:
|
|
81
|
-
- seek-jobs/gantry#
|
|
81
|
+
- seek-jobs/gantry#v2.0.0:
|
|
82
82
|
command: apply
|
|
83
83
|
environment: <%- devGantryEnvironmentName %>
|
|
84
84
|
file: gantry.apply.yml
|
|
@@ -93,7 +93,7 @@ steps:
|
|
|
93
93
|
concurrency_group: <%- teamName %>/deploy/gantry/<%- prodGantryEnvironmentName %>
|
|
94
94
|
depends_on: deploy-dev
|
|
95
95
|
plugins:
|
|
96
|
-
- seek-jobs/gantry#
|
|
96
|
+
- seek-jobs/gantry#v2.0.0:
|
|
97
97
|
command: apply
|
|
98
98
|
environment: <%- prodGantryEnvironmentName %>
|
|
99
99
|
file: gantry.apply.yml
|
|
@@ -4,7 +4,7 @@ image: '{{values "prodAccountId"}}.dkr.ecr.<%- region %>.amazonaws.com/{{values
|
|
|
4
4
|
service: '<%- serviceName %>'
|
|
5
5
|
|
|
6
6
|
# TODO: enable Datadog agent
|
|
7
|
-
# https://
|
|
7
|
+
# https://backstage.myseek.xyz/docs/default/component/gantry/v1/reference/resources/service/#datadogSecretId
|
|
8
8
|
# datadogSecretId: arn:aws:secretsmanager:<%- region %>:<aws-account-id>:secret:<secret-name>
|
|
9
9
|
|
|
10
10
|
tags:
|
|
@@ -4,24 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
Next steps:
|
|
6
6
|
|
|
7
|
-
1. [ ]
|
|
7
|
+
1. [ ] Check if your team has a Graviton-based Buildkite cluster;
|
|
8
|
+
see the [ARM64 guide] for more information.
|
|
9
|
+
2. [ ] Finish templating if this was skipped earlier:
|
|
8
10
|
|
|
9
11
|
```shell
|
|
10
12
|
yarn skuba configure
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
3. [ ] Create a new repository in the appropriate GitHub organisation.
|
|
16
|
+
4. [ ] Add the repository to BuildAgency;
|
|
15
17
|
see [Builds at SEEK] for more information.
|
|
16
|
-
4. [ ] Fill out [.me](.me) to power SEEK's system catalogue;
|
|
17
|
-
see the [Codex] documentation for more information.
|
|
18
18
|
5. [ ] Add Datadog configuration and data classification tags to [.gantry/common.yml](.gantry/common.yml);
|
|
19
19
|
see the [Gantry] documentation for more information.
|
|
20
20
|
6. [ ] Push local commits to the upstream GitHub branch.
|
|
21
21
|
7. [ ] Configure [GitHub repository settings].
|
|
22
|
-
8. [ ]
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
8. [ ] Delete this checklist 😌.
|
|
23
|
+
|
|
24
|
+
[arm64 guide]: https://seek-oss.github.io/skuba/docs/deep-dives/arm64.html
|
|
25
|
+
[builds at seek]: https://builds-at-seek.ssod.skinfra.xyz
|
|
26
|
+
[github repository settings]: https://github.com/<%-orgName%>/<%-repoName%>/settings
|
|
25
27
|
|
|
26
28
|
## Design
|
|
27
29
|
|
|
@@ -106,12 +108,7 @@ TODO: add support links for the prod environment.
|
|
|
106
108
|
- Splunk logs
|
|
107
109
|
-->
|
|
108
110
|
|
|
109
|
-
[builds at seek]: https://builds-at-seek.ssod.skinfra.xyz
|
|
110
111
|
[codedeploy]: https://docs.aws.amazon.com/codedeploy
|
|
111
|
-
[
|
|
112
|
-
[gantry]: https://gantry.ssod.skinfra.xyz
|
|
113
|
-
[github repository settings]: https://github.com/<%-orgName%>/<%-repoName%>/settings
|
|
112
|
+
[gantry]: https://backstage.myseek.xyz/docs/default/component/gantry/
|
|
114
113
|
[koa]: https://koajs.com
|
|
115
|
-
[renovate]: https://github.com/apps/renovate
|
|
116
|
-
[seek-jobs/renovate]: https://github.com/SEEK-Jobs/renovate
|
|
117
114
|
[technology strategy]: https://tech-strategy.ssod.skinfra.xyz
|