Compare commits
7 Commits
1e18b9e768
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| e0acfcc27e | |||
| 906c13fde2 | |||
| 7bda79db00 | |||
| 2eca7fc22d | |||
| 200f76780b | |||
| cf89834fe9 | |||
| acbb4c9e2c |
@@ -32,6 +32,9 @@ jobs:
|
||||
with:
|
||||
lfs: true
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ^22.12.0
|
||||
- uses: browser-actions/setup-chrome@v1
|
||||
id: setup-chrome
|
||||
with:
|
||||
@@ -49,9 +52,8 @@ jobs:
|
||||
run: bun run build
|
||||
|
||||
- name: Publish to Cloudflare Pages
|
||||
uses: cloudflare/pages-action@v1
|
||||
uses: cloudflare/wrangler-action@v3
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
projectName: buf
|
||||
directory: dist/proto-creator/browser
|
||||
command: pages deploy dist/proto-creator/browser --project-name=buf
|
||||
|
||||
30
angular.json
30
angular.json
@@ -85,10 +85,10 @@
|
||||
"defaultConfiguration": "development"
|
||||
},
|
||||
"extract-i18n": {
|
||||
"builder": "@angular-devkit/build-angular:extract-i18n"
|
||||
"builder": "@angular/build:extract-i18n"
|
||||
},
|
||||
"test": {
|
||||
"builder": "@angular-devkit/build-angular:karma",
|
||||
"builder": "@angular/build:karma",
|
||||
"options": {
|
||||
"polyfills": [],
|
||||
"tsConfig": "tsconfig.spec.json",
|
||||
@@ -108,5 +108,31 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"schematics": {
|
||||
"@schematics/angular:component": {
|
||||
"type": "component"
|
||||
},
|
||||
"@schematics/angular:directive": {
|
||||
"type": "directive"
|
||||
},
|
||||
"@schematics/angular:service": {
|
||||
"type": "service"
|
||||
},
|
||||
"@schematics/angular:guard": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:interceptor": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:module": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:pipe": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:resolver": {
|
||||
"typeSeparator": "."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,13 +4,12 @@
|
||||
module.exports = function (config) {
|
||||
config.set({
|
||||
basePath: '',
|
||||
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
||||
frameworks: ['jasmine'],
|
||||
plugins: [
|
||||
require('karma-jasmine'),
|
||||
require('karma-chrome-launcher'),
|
||||
require('karma-jasmine-html-reporter'),
|
||||
require('karma-coverage'),
|
||||
require('@angular-devkit/build-angular/plugins/karma')
|
||||
],
|
||||
client: {
|
||||
jasmine: {
|
||||
|
||||
32
package.json
32
package.json
@@ -11,18 +11,17 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular-devkit/build-angular": "^19.2.5",
|
||||
"@angular/animations": "^19.2.4",
|
||||
"@angular/cdk": "^19.2.7",
|
||||
"@angular/common": "^19.2.4",
|
||||
"@angular/compiler": "^19.2.4",
|
||||
"@angular/core": "^19.2.4",
|
||||
"@angular/forms": "^19.2.4",
|
||||
"@angular/material": "^19.2.7",
|
||||
"@angular/platform-browser": "^19.2.4",
|
||||
"@angular/platform-browser-dynamic": "^19.2.4",
|
||||
"@angular/router": "^19.2.4",
|
||||
"@angular/service-worker": "^19.2.4",
|
||||
"@angular/animations": "^20.0.0",
|
||||
"@angular/cdk": "^20.0.1",
|
||||
"@angular/common": "^20.0.0",
|
||||
"@angular/compiler": "^20.0.0",
|
||||
"@angular/core": "^20.0.0",
|
||||
"@angular/forms": "^20.0.0",
|
||||
"@angular/material": "^20.0.1",
|
||||
"@angular/platform-browser": "^20.0.0",
|
||||
"@angular/platform-browser-dynamic": "^20.0.0",
|
||||
"@angular/router": "^20.0.0",
|
||||
"@angular/service-worker": "^20.0.0",
|
||||
"@tauri-apps/api": "^1.6.0",
|
||||
"@types/json-schema": "^7.0.15",
|
||||
"highlight.js": "^11.11.1",
|
||||
@@ -30,13 +29,12 @@
|
||||
"ngx-monaco-editor-v2": "^19.0.2",
|
||||
"protobufjs": "^7.4.0",
|
||||
"rxjs": "^7.8.2",
|
||||
"tslib": "^2.8.1",
|
||||
"zone.js": "^0.15.0"
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular/build": "^19.2.5",
|
||||
"@angular/cli": "^19.2.5",
|
||||
"@angular/compiler-cli": "^19.2.4",
|
||||
"@angular/build": "^20.0.0",
|
||||
"@angular/cli": "^20.0.0",
|
||||
"@angular/compiler-cli": "^20.0.0",
|
||||
"@tauri-apps/cli": "^1.6.3",
|
||||
"@types/jasmine": "^5.1.7",
|
||||
"@types/protobufjs": "^6.0.0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {
|
||||
ApplicationConfig,
|
||||
isDevMode,
|
||||
provideExperimentalZonelessChangeDetection,
|
||||
provideZonelessChangeDetection,
|
||||
provideAppInitializer,
|
||||
inject,
|
||||
} from '@angular/core';
|
||||
@@ -21,7 +21,7 @@ import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
provideExperimentalZonelessChangeDetection(),
|
||||
provideZonelessChangeDetection(),
|
||||
provideRouter(routes),
|
||||
provideAnimationsAsync(),
|
||||
provideAppInitializer(() => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
|
||||
import { provideExperimentalZonelessChangeDetection } from '@angular/core';
|
||||
import { provideZonelessChangeDetection } from '@angular/core';
|
||||
import {
|
||||
EnumMessage,
|
||||
ListMessage,
|
||||
@@ -58,7 +58,7 @@ describe('TestService', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({
|
||||
providers: [provideExperimentalZonelessChangeDetection()],
|
||||
providers: [provideZonelessChangeDetection()],
|
||||
});
|
||||
service = TestBed.inject(ProtoDefinitionService);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user