Skip to content

Commit

Permalink
Merge pull request #77 from scheduleonce/pythons/ONCEHUB-82384
Browse files Browse the repository at this point in the history
Pythons/oncehub 82384
  • Loading branch information
oh-integrations authored Sep 4, 2024
2 parents ed3c6c9 + c4b8989 commit 4f20686
Show file tree
Hide file tree
Showing 11 changed files with 8,829 additions and 16,464 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- name: "Publish"
working-directory: ./builder
Expand Down
345 changes: 197 additions & 148 deletions builder/package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oncehub/ng-strictify",
"version": "2.0.5",
"version": "2.0.4",
"description": "Incrementally update your Angular project to use the Typescript strict flag.",
"main": "dist/src/index.js",
"builders": "builders.json",
Expand All @@ -14,11 +14,11 @@
"author": "Prakash-Verma <prakash.verma@oncehub.com>",
"license": "MIT",
"devDependencies": {
"@types/node": "^14.14.26",
"typescript": "4.1.5"
"@types/node": "^22.5.1",
"typescript": "^5.5.4"
},
"dependencies": {
"@angular-devkit/architect": "^0.901.15"
"@angular-devkit/architect": "^0.1802.1"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion builder/strictify/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function executeBuildCommandInChild(
`${options.buildScript}`,
`--`,
`--ts-config=${tsConfigPath}`,
]);
], { stdio: ['pipe', 'pipe', 'pipe'], shell: true });
return buildProcess;
}

Expand Down
17 changes: 0 additions & 17 deletions test-app/.browserslistrc

This file was deleted.

31 changes: 17 additions & 14 deletions test-app/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,24 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular/build:application",
"options": {
"outputPath": "dist/test-app",
"outputPath": {
"base": "dist/test-app"
},
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"src/polyfills.ts"
],
"tsConfig": "tsconfig.app.json",
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.scss"],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"namedChunks": true,
"browser": "src/main.ts"
},
"configurations": {
"production": {
Expand All @@ -48,8 +50,6 @@
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
Expand All @@ -67,20 +67,20 @@
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"builder": "@angular/build:dev-server",
"options": {
"browserTarget": "test-app:build"
"buildTarget": "test-app:build"
},
"configurations": {
"production": {
"browserTarget": "test-app:build:production"
"buildTarget": "test-app:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"builder": "@angular/build:extract-i18n",
"options": {
"browserTarget": "test-app:build"
"buildTarget": "test-app:build"
}
},
"strictify": {
Expand All @@ -92,5 +92,8 @@
}
}
}
},
"cli": {
"analytics": false
}
}
Loading

0 comments on commit 4f20686

Please sign in to comment.