Skip to content

Commit

Permalink
feat: final fix for publish (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirien authored Oct 2, 2024
1 parent 6f2820c commit 629d9eb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 30 deletions.
2 changes: 0 additions & 2 deletions hack/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ cat ../../.yarnrc.yml

jq --arg new_version "$STRIPPED_NEW_VERSION" '.version = $new_version' package.json > tmp.json && mv tmp.json package.json

sleep 5

yarn clean
yarn tsc
yarn build
Expand Down
2 changes: 1 addition & 1 deletion plugins/backstage-plugin-pulumi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@testing-library/user-event": "^14.5.1",
"@types/node": "*",
"msw": "^1.3.2",
"typescript": "~5.2.2"
"typescript": "~5.6.2"
},
"files": [
"LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion plugins/backstage-scaffolder-backend-pulumi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"devDependencies": {
"@backstage/backend-common": "^0.25.0",
"@backstage/cli": "^0.27.1",
"typescript": "~5.2.2"
"typescript": "~5.6.2"
},
"files": [
"LICENSE",
Expand Down
8 changes: 6 additions & 2 deletions plugins/catalog-backend-module-pulumi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
},
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
"access": "public",
"main": "src/index.ts",
"types": "src/index.ts"
},
"exports": {
".": "./src/index.ts",
Expand All @@ -28,6 +30,7 @@
"pluginId": "catalog",
"pluginPackage": "@backstage/plugin-catalog-backend"
},
"sideEffects": false,
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build",
Expand All @@ -52,7 +55,8 @@
},
"devDependencies": {
"@backstage/backend-test-utils": "^1.0.0",
"@backstage/cli": "^0.27.1"
"@backstage/cli": "^0.27.1",
"typescript": "~5.6.2"
},
"files": [
"dist",
Expand Down
29 changes: 5 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9516,7 +9516,7 @@ __metadata:
"@types/node": "npm:*"
msw: "npm:^1.3.2"
react-use: "npm:^17.4.0"
typescript: "npm:~5.2.2"
typescript: "npm:~5.6.2"
peerDependencies:
react: ^16.13.1 || ^17.0.0 || ^18.0.0
languageName: unknown
Expand All @@ -9536,7 +9536,7 @@ __metadata:
"@backstage/types": "npm:^1.1.1"
"@pulumi/pulumi": "npm:^3.112.0"
"@types/node": "npm:*"
typescript: "npm:~5.2.2"
typescript: "npm:~5.6.2"
zod: "npm:^3.22.4"
languageName: unknown
linkType: soft
Expand All @@ -9556,6 +9556,7 @@ __metadata:
"@types/uuid": "npm:^9.0.7"
lodash: "npm:^4.17.21"
node-fetch: "npm:^3.3.2"
typescript: "npm:~5.6.2"
uuid: "npm:^9.0.1"
winston: "npm:^3.11.0"
languageName: unknown
Expand Down Expand Up @@ -33456,7 +33457,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:>=3 < 6":
"typescript@npm:>=3 < 6, typescript@npm:~5.6.2":
version: 5.6.2
resolution: "typescript@npm:5.6.2"
bin:
Expand All @@ -33466,16 +33467,6 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:~5.2.2":
version: 5.2.2
resolution: "typescript@npm:5.2.2"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/91ae3e6193d0ddb8656d4c418a033f0f75dec5e077ebbc2bd6d76439b93f35683936ee1bdc0e9cf94ec76863aa49f27159b5788219b50e1cd0cd6d110aa34b07
languageName: node
linkType: hard

"typescript@npm:~5.4.4":
version: 5.4.5
resolution: "typescript@npm:5.4.5"
Expand All @@ -33496,7 +33487,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin<compat/typescript>":
"typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A~5.6.2#optional!builtin<compat/typescript>":
version: 5.6.2
resolution: "typescript@patch:typescript@npm%3A5.6.2#optional!builtin<compat/typescript>::version=5.6.2&hash=8c6c40"
bin:
Expand All @@ -33506,16 +33497,6 @@ __metadata:
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A~5.2.2#optional!builtin<compat/typescript>":
version: 5.2.2
resolution: "typescript@patch:typescript@npm%3A5.2.2#optional!builtin<compat/typescript>::version=5.2.2&hash=f3b441"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/062c1cee1990e6b9419ce8a55162b8dc917eb87f807e4de0327dbc1c2fa4e5f61bc0dd4e034d38ff541d1ed0479b53bcee8e4de3a4075c51a1724eb6216cb6f5
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A~5.4.4#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
Expand Down

0 comments on commit 629d9eb

Please sign in to comment.