diff --git a/integration/BUILD.bazel b/integration/BUILD.bazel index 5c1f73a2d6..3b60b997cc 100644 --- a/integration/BUILD.bazel +++ b/integration/BUILD.bazel @@ -69,7 +69,7 @@ INTEGRATION_TESTS = { "i18n": {"tags": ["no-ivy-aot"]}, "injectable-def": {"tags": ["no-ivy-aot"]}, "ivy-i18n": {"tags": ["no-ivy-aot"]}, - "ivy-trusted-types": {}, + "trusted-types": {}, "language_service_plugin": {}, "ng_elements": {"tags": ["no-ivy-aot"]}, "ng_elements_schematics": {"tags": ["no-ivy-aot"]}, diff --git a/integration/ivy-trusted-types/.browserslistrc b/integration/trusted-types/.browserslistrc similarity index 100% rename from integration/ivy-trusted-types/.browserslistrc rename to integration/trusted-types/.browserslistrc diff --git a/integration/ivy-trusted-types/.editorconfig b/integration/trusted-types/.editorconfig similarity index 100% rename from integration/ivy-trusted-types/.editorconfig rename to integration/trusted-types/.editorconfig diff --git a/integration/ivy-trusted-types/.gitignore b/integration/trusted-types/.gitignore similarity index 100% rename from integration/ivy-trusted-types/.gitignore rename to integration/trusted-types/.gitignore diff --git a/integration/ivy-trusted-types/README.md b/integration/trusted-types/README.md similarity index 100% rename from integration/ivy-trusted-types/README.md rename to integration/trusted-types/README.md diff --git a/integration/ivy-trusted-types/angular.json b/integration/trusted-types/angular.json similarity index 85% rename from integration/ivy-trusted-types/angular.json rename to integration/trusted-types/angular.json index 2f116f8ada..1b7d163be0 100644 --- a/integration/ivy-trusted-types/angular.json +++ b/integration/trusted-types/angular.json @@ -3,7 +3,7 @@ "version": 1, "newProjectRoot": "projects", "projects": { - "ivy-trusted-types": { + "trusted-types": { "projectType": "application", "schematics": { "@schematics/angular:application": { @@ -17,7 +17,7 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "outputPath": "dist/ivy-trusted-types", + "outputPath": "dist/trusted-types", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", @@ -66,20 +66,20 @@ "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { - "browserTarget": "ivy-trusted-types:build", + "browserTarget": "trusted-types:build", "headers": { "Content-Security-Policy": "trusted-types angular angular#unsafe-bypass; require-trusted-types-for 'script';" } }, "configurations": { "production": { - "browserTarget": "ivy-trusted-types:build:production" + "browserTarget": "trusted-types:build:production" }, "ci": { "progress": false }, "ci-production": { - "browserTarget": "ivy-trusted-types:build:production", + "browserTarget": "trusted-types:build:production", "progress": false } } @@ -87,7 +87,7 @@ "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "ivy-trusted-types:build" + "browserTarget": "trusted-types:build" } }, "test": { @@ -126,23 +126,23 @@ "builder": "@angular-devkit/build-angular:protractor", "options": { "protractorConfig": "e2e/protractor.conf.js", - "devServerTarget": "ivy-trusted-types:serve", + "devServerTarget": "trusted-types:serve", "webdriverUpdate": false }, "configurations": { "production": { - "devServerTarget": "ivy-trusted-types:serve:production" + "devServerTarget": "trusted-types:serve:production" }, "ci": { - "devServerTarget": "ivy-trusted-types:serve:ci" + "devServerTarget": "trusted-types:serve:ci" }, "ci-production": { - "devServerTarget": "ivy-trusted-types:serve:ci-production" + "devServerTarget": "trusted-types:serve:ci-production" } } } } } }, - "defaultProject": "ivy-trusted-types" + "defaultProject": "trusted-types" } diff --git a/integration/ivy-trusted-types/e2e/protractor.conf.js b/integration/trusted-types/e2e/protractor.conf.js similarity index 100% rename from integration/ivy-trusted-types/e2e/protractor.conf.js rename to integration/trusted-types/e2e/protractor.conf.js diff --git a/integration/ivy-trusted-types/e2e/src/app.e2e-spec.ts b/integration/trusted-types/e2e/src/app.e2e-spec.ts similarity index 96% rename from integration/ivy-trusted-types/e2e/src/app.e2e-spec.ts rename to integration/trusted-types/e2e/src/app.e2e-spec.ts index e3fe4bf722..9e51f5c673 100644 --- a/integration/ivy-trusted-types/e2e/src/app.e2e-spec.ts +++ b/integration/trusted-types/e2e/src/app.e2e-spec.ts @@ -10,7 +10,7 @@ describe('workspace-project App', () => { it('should display welcome message', async () => { await page.navigateTo(); - expect(await page.getTitleText()).toEqual('ivy-trusted-types app is running!'); + expect(await page.getTitleText()).toEqual('trusted-types app is running!'); }); it('should sanitize and inject bound innerHTML', async () => { diff --git a/integration/ivy-trusted-types/e2e/src/app.po.ts b/integration/trusted-types/e2e/src/app.po.ts similarity index 100% rename from integration/ivy-trusted-types/e2e/src/app.po.ts rename to integration/trusted-types/e2e/src/app.po.ts diff --git a/integration/ivy-trusted-types/e2e/tsconfig.json b/integration/trusted-types/e2e/tsconfig.json similarity index 100% rename from integration/ivy-trusted-types/e2e/tsconfig.json rename to integration/trusted-types/e2e/tsconfig.json diff --git a/integration/ivy-trusted-types/karma.conf.js b/integration/trusted-types/karma.conf.js similarity index 95% rename from integration/ivy-trusted-types/karma.conf.js rename to integration/trusted-types/karma.conf.js index b272ebe297..241729e66f 100644 --- a/integration/ivy-trusted-types/karma.conf.js +++ b/integration/trusted-types/karma.conf.js @@ -21,7 +21,7 @@ module.exports = function(config) { clearContext: false // leave Jasmine Spec Runner output visible in browser }, coverageReporter: { - dir: require('path').join(__dirname, './coverage/ivy-trusted-types'), + dir: require('path').join(__dirname, './coverage/trusted-types'), subdir: '.', reporters: [ { type: 'html' }, diff --git a/integration/ivy-trusted-types/package.json b/integration/trusted-types/package.json similarity index 98% rename from integration/ivy-trusted-types/package.json rename to integration/trusted-types/package.json index 6bfc000f65..1e4e5f764c 100644 --- a/integration/ivy-trusted-types/package.json +++ b/integration/trusted-types/package.json @@ -1,5 +1,5 @@ { - "name": "ivy-trusted-types", + "name": "trusted-types", "version": "0.0.0", "scripts": { "ng": "ng", diff --git a/integration/ivy-trusted-types/src/app/app-routing.module.ts b/integration/trusted-types/src/app/app-routing.module.ts similarity index 100% rename from integration/ivy-trusted-types/src/app/app-routing.module.ts rename to integration/trusted-types/src/app/app-routing.module.ts diff --git a/integration/ivy-trusted-types/src/app/app.component.css b/integration/trusted-types/src/app/app.component.css similarity index 100% rename from integration/ivy-trusted-types/src/app/app.component.css rename to integration/trusted-types/src/app/app.component.css diff --git a/integration/ivy-trusted-types/src/app/app.component.html b/integration/trusted-types/src/app/app.component.html similarity index 100% rename from integration/ivy-trusted-types/src/app/app.component.html rename to integration/trusted-types/src/app/app.component.html diff --git a/integration/ivy-trusted-types/src/app/app.component.spec.ts b/integration/trusted-types/src/app/app.component.spec.ts similarity index 85% rename from integration/ivy-trusted-types/src/app/app.component.spec.ts rename to integration/trusted-types/src/app/app.component.spec.ts index fcedba0818..c3103bd9fa 100644 --- a/integration/ivy-trusted-types/src/app/app.component.spec.ts +++ b/integration/trusted-types/src/app/app.component.spec.ts @@ -20,16 +20,16 @@ describe('AppComponent', () => { expect(app).toBeTruthy(); }); - it(`should have as title 'ivy-trusted-types'`, () => { + it(`should have as title 'trusted-types'`, () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.componentInstance; - expect(app.title).toEqual('ivy-trusted-types'); + expect(app.title).toEqual('trusted-types'); }); it('should render title', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); const compiled = fixture.nativeElement; - expect(compiled.querySelector('.content span').textContent).toContain('ivy-trusted-types app is running!'); + expect(compiled.querySelector('.content span').textContent).toContain('trusted-types app is running!'); }); }); diff --git a/integration/ivy-trusted-types/src/app/app.component.ts b/integration/trusted-types/src/app/app.component.ts similarity index 96% rename from integration/ivy-trusted-types/src/app/app.component.ts rename to integration/trusted-types/src/app/app.component.ts index f4dd761a03..6828cda15e 100644 --- a/integration/ivy-trusted-types/src/app/app.component.ts +++ b/integration/trusted-types/src/app/app.component.ts @@ -7,7 +7,7 @@ import {DomSanitizer, SafeHtml, SafeResourceUrl} from '@angular/platform-browser styleUrls: ['./app.component.css'] }) export class AppComponent { - title = 'ivy-trusted-types'; + title = 'trusted-types'; html = `Hello from bound HTML`; iframeHtml = `

Hello from iframe

`; replace = `Hello from second outerHTML`; diff --git a/integration/ivy-trusted-types/src/app/app.module.ts b/integration/trusted-types/src/app/app.module.ts similarity index 100% rename from integration/ivy-trusted-types/src/app/app.module.ts rename to integration/trusted-types/src/app/app.module.ts diff --git a/integration/ivy-trusted-types/src/assets/.gitkeep b/integration/trusted-types/src/assets/.gitkeep similarity index 100% rename from integration/ivy-trusted-types/src/assets/.gitkeep rename to integration/trusted-types/src/assets/.gitkeep diff --git a/integration/ivy-trusted-types/src/environments/environment.prod.ts b/integration/trusted-types/src/environments/environment.prod.ts similarity index 100% rename from integration/ivy-trusted-types/src/environments/environment.prod.ts rename to integration/trusted-types/src/environments/environment.prod.ts diff --git a/integration/ivy-trusted-types/src/environments/environment.ts b/integration/trusted-types/src/environments/environment.ts similarity index 100% rename from integration/ivy-trusted-types/src/environments/environment.ts rename to integration/trusted-types/src/environments/environment.ts diff --git a/integration/ivy-trusted-types/src/favicon.ico b/integration/trusted-types/src/favicon.ico similarity index 100% rename from integration/ivy-trusted-types/src/favicon.ico rename to integration/trusted-types/src/favicon.ico diff --git a/integration/ivy-trusted-types/src/index.html b/integration/trusted-types/src/index.html similarity index 100% rename from integration/ivy-trusted-types/src/index.html rename to integration/trusted-types/src/index.html diff --git a/integration/ivy-trusted-types/src/main.ts b/integration/trusted-types/src/main.ts similarity index 100% rename from integration/ivy-trusted-types/src/main.ts rename to integration/trusted-types/src/main.ts diff --git a/integration/ivy-trusted-types/src/polyfills.ts b/integration/trusted-types/src/polyfills.ts similarity index 100% rename from integration/ivy-trusted-types/src/polyfills.ts rename to integration/trusted-types/src/polyfills.ts diff --git a/integration/ivy-trusted-types/src/styles.css b/integration/trusted-types/src/styles.css similarity index 100% rename from integration/ivy-trusted-types/src/styles.css rename to integration/trusted-types/src/styles.css diff --git a/integration/ivy-trusted-types/src/test.ts b/integration/trusted-types/src/test.ts similarity index 100% rename from integration/ivy-trusted-types/src/test.ts rename to integration/trusted-types/src/test.ts diff --git a/integration/ivy-trusted-types/tsconfig.app.json b/integration/trusted-types/tsconfig.app.json similarity index 100% rename from integration/ivy-trusted-types/tsconfig.app.json rename to integration/trusted-types/tsconfig.app.json diff --git a/integration/ivy-trusted-types/tsconfig.json b/integration/trusted-types/tsconfig.json similarity index 100% rename from integration/ivy-trusted-types/tsconfig.json rename to integration/trusted-types/tsconfig.json diff --git a/integration/ivy-trusted-types/tsconfig.spec.json b/integration/trusted-types/tsconfig.spec.json similarity index 100% rename from integration/ivy-trusted-types/tsconfig.spec.json rename to integration/trusted-types/tsconfig.spec.json diff --git a/integration/ivy-trusted-types/tslint.json b/integration/trusted-types/tslint.json similarity index 100% rename from integration/ivy-trusted-types/tslint.json rename to integration/trusted-types/tslint.json diff --git a/integration/ivy-trusted-types/yarn.lock b/integration/trusted-types/yarn.lock similarity index 100% rename from integration/ivy-trusted-types/yarn.lock rename to integration/trusted-types/yarn.lock