Skip to content

Commit 8402fe2

Browse files
authored
Merge branch 'main' into remove_symlink
2 parents 6bcc4a6 + cf00770 commit 8402fe2

15 files changed

Lines changed: 170 additions & 128 deletions

.eslintrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"parserOptions": {
1313
"ecmaVersion": 2018,
1414
"sourceType": "module",
15-
"project": "./tsconfig.jest.json"
15+
"project": "./tsconfig.eslint.json"
1616
},
1717
"extends": [
1818
"plugin:import/typescript"
@@ -27,7 +27,7 @@
2727
"import/resolver": {
2828
"node": {},
2929
"typescript": {
30-
"project": "./tsconfig.jest.json"
30+
"project": "./tsconfig.eslint.json"
3131
}
3232
}
3333
},

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
2+
23
name: Build
34
on:
45
pull_request: {}

.github/workflows/projenupgrade.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
2+
23
name: ProjenUpgrade
34
on:
45
schedule:

.github/workflows/rebuild-bot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
2+
23
name: rebuild-bot
34
on:
45
issue_comment:

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
2+
23
name: Release
34
on:
45
push:
56
branches:
6-
- master
7+
- main
78
workflow_dispatch: {}
89
jobs:
910
build:
@@ -46,13 +47,16 @@ jobs:
4647
name: Release to NPM
4748
needs: build
4849
runs-on: ubuntu-latest
50+
container:
51+
image: jsii/superchain
4952
steps:
5053
- name: Download build artifacts
51-
uses: actions/download-artifact@v1
54+
uses: actions/download-artifact@v2
5255
with:
5356
name: dist
57+
path: dist
5458
- name: Release
55-
run: npx -p jsii-release jsii-release-npm
59+
run: npx -p jsii-release@latest jsii-release-npm
5660
env:
5761
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5862
NPM_DIST_TAG: latest

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ yarn-error.log*
4444
!/package.json
4545
!/src
4646
!/test
47+
!/tsconfig.eslint.json
4748
!/tsconfig.jest.json
4849
!/tsconfig.json
4950
!version.json

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
/src
1212
/test
1313
/test-reports/
14+
/tsconfig.eslint.json
1415
/tsconfig.jest.json
1516
/tsconfig.json
1617
dist

.projen/deps.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
},
6464
{
6565
"name": "projen",
66-
"version": "^0.14.10",
66+
"version": "^0.16.3",
6767
"type": "build"
6868
},
6969
{

.projen/tasks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,13 @@
9999
"release": {
100100
"name": "release",
101101
"category": "20.release",
102-
"description": "Bumps version & push to master",
102+
"description": "Bumps version & push to main",
103103
"steps": [
104104
{
105105
"spawn": "bump"
106106
},
107107
{
108-
"exec": "git push --follow-tags origin master"
108+
"exec": "git push --follow-tags origin main"
109109
}
110110
],
111111
"condition": "! git log --oneline -1 | grep -q \"chore(release):\""

.projenrc.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
const { TypeScriptProject, Semver, Jest, Eslint } = require('projen');
1+
const { TypeScriptProject } = require('projen');
22

33
const project = new TypeScriptProject({
44
name: 'jsii-srcmak',
55
description: 'generate source code in multiple languages from typescript',
6-
repository: 'https://github.com/eladb/jsii-srcmak.git',
6+
repository: 'https://github.com/aws/jsii-srcmak.git',
77
authorName: 'Elad Ben-Israel',
88
authorEmail: 'benisrae@amazon.com',
99
stability: 'experimental',
10+
defaultReleaseBranch: 'main',
1011

1112
bin: {
1213
'jsii-srcmak': 'bin/jsii-srcmak',

0 commit comments

Comments
 (0)