Skip to content

Commit

Permalink
feat(spectacular)!: release 15.0.0-alpha.0 (#68)
Browse files Browse the repository at this point in the history
Merge pull request #68 from ngworker/spectacular/feat/release-15_0_0
  • Loading branch information
LayZeeDK committed Jul 30, 2023
2 parents cbd80c2 + d2a47b5 commit 87cae4a
Show file tree
Hide file tree
Showing 64 changed files with 6,882 additions and 3,197 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.20.1
18.17.0
79 changes: 0 additions & 79 deletions decorate-angular-cli.js

This file was deleted.

4 changes: 3 additions & 1 deletion jest.preset.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const nxPreset = require('@nrwl/jest/preset').default;

module.exports = { ...nxPreset };
module.exports = {
...nxPreset,
};
74 changes: 38 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "0.0.0",
"license": "MIT",
"scripts": {
"postinstall": "node ./decorate-angular-cli.js && ngcc --properties es2020 browser module main",
"nx": "nx",
"start": "nx serve",
"build": "nx run-many --target=build --configuration=production --all",
Expand Down Expand Up @@ -31,46 +30,49 @@
},
"private": true,
"dependencies": {
"@angular/animations": "14.0.7",
"@angular/common": "14.0.7",
"@angular/compiler": "14.0.7",
"@angular/core": "14.0.7",
"@angular/forms": "14.0.7",
"@angular/platform-browser": "14.0.7",
"@angular/platform-browser-dynamic": "14.0.7",
"@angular/router": "14.0.7",
"@nrwl/angular": "15.1.1",
"@angular/animations": "15.0.4",
"@angular/common": "15.0.4",
"@angular/compiler": "15.0.4",
"@angular/core": "15.0.4",
"@angular/forms": "15.0.4",
"@angular/platform-browser": "15.0.4",
"@angular/platform-browser-dynamic": "15.0.4",
"@angular/router": "15.0.4",
"@nrwl/angular": "15.9.4",
"rxjs": "6.6.7",
"tslib": "2.4.1",
"zone.js": "0.11.8"
"zone.js": "0.12.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "14.2.12",
"@angular-eslint/eslint-plugin": "14.0.4",
"@angular-eslint/eslint-plugin-template": "14.0.4",
"@angular-eslint/template-parser": "14.0.4",
"@angular/cli": "14.2.12",
"@angular/compiler-cli": "14.0.7",
"@angular/language-service": "14.0.7",
"@angular-devkit/build-angular": "15.2.9",
"@angular-devkit/core": "15.2.9",
"@angular-devkit/schematics": "15.2.9",
"@angular-eslint/eslint-plugin": "15.0.0",
"@angular-eslint/eslint-plugin-template": "15.0.0",
"@angular-eslint/template-parser": "15.0.0",
"@angular/cli": "15.2.9",
"@angular/compiler-cli": "15.0.4",
"@angular/language-service": "15.0.4",
"@docusaurus/core": "2.4.1",
"@docusaurus/module-type-aliases": "2.4.1",
"@docusaurus/preset-classic": "2.4.1",
"@docusaurus/theme-common": "2.4.1",
"@mdx-js/react": "1.6.22",
"@nrwl/cli": "15.1.1",
"@nrwl/eslint-plugin-nx": "15.1.1",
"@nrwl/jest": "15.1.1",
"@nrwl/linter": "15.1.1",
"@nrwl/node": "15.1.1",
"@nrwl/cli": "15.9.4",
"@nrwl/eslint-plugin-nx": "15.9.4",
"@nrwl/jest": "15.9.4",
"@nrwl/linter": "15.9.4",
"@nrwl/node": "15.9.4",
"@nrwl/nx-cloud": "15.3.5",
"@nrwl/workspace": "15.1.1",
"@nrwl/workspace": "15.9.4",
"@nx-plus/docusaurus": "15.0.0-rc.0",
"@testing-library/angular": "12.3.0",
"@schematics/angular": "15.2.9",
"@testing-library/angular": "13.0.2",
"@testing-library/dom": "9.3.1",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/user-event": "14.4.3",
"@tsconfig/docusaurus": "1.0.7",
"@types/jest": "28.1.8",
"@types/jest": "29.4.4",
"@types/node": "18.7.1",
"@types/react": "17.0.47",
"@typescript-eslint/eslint-plugin": "5.36.1",
Expand All @@ -81,27 +83,27 @@
"dotenv": "10.0.0",
"eslint": "8.15.0",
"eslint-config-prettier": "8.1.0",
"jest": "28.1.3",
"jest-environment-jsdom": "28.1.1",
"jest-preset-angular": "12.2.6",
"ng-packagr": "14.2.2",
"nx": "15.1.1",
"postcss": "^8.3.9",
"jest": "29.4.3",
"jest-environment-jsdom": "29.4.3",
"jest-preset-angular": "13.0.0",
"ng-packagr": "15.2.2",
"nx": "15.9.4",
"postcss": "8.4.26",
"postcss-import": "14.1.0",
"postcss-preset-env": "7.5.0",
"postcss-url": "10.1.3",
"prettier": "2.6.2",
"prism-react-renderer": "1.3.5",
"react": "17.0.2",
"react-dom": "17.0.2",
"ts-jest": "28.0.8",
"ts-jest": "29.0.5",
"ts-node": "10.9.1",
"typedoc": "0.24.8",
"typedoc-plugin-markdown": "3.15.3",
"typescript": "4.6.4"
"typescript": "4.8.4"
},
"volta": {
"node": "16.20.1",
"node": "18.17.0",
"yarn": "1.22.19"
}
}
15 changes: 8 additions & 7 deletions packages/examples/tour-of-heroes/crisis-center/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ export default {
displayName: 'examples-tour-of-heroes-crisis-center',
preset: '../../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {
'ts-jest': {
stringifyContentPathRegex: '\\.(html|svg)$',
tsconfig: '<rootDir>/tsconfig.spec.json',
},
},
globals: {},
coverageDirectory:
'../../../../coverage/packages/examples/tour-of-heroes/crisis-center',
snapshotSerializers: [
Expand All @@ -17,7 +12,13 @@ export default {
'jest-preset-angular/build/serializers/html-comment',
],
transform: {
'^.+\\.(ts|mjs|js|html)$': 'jest-preset-angular',
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
{
stringifyContentPathRegex: '\\.(html|svg)$',
tsconfig: '<rootDir>/tsconfig.spec.json',
},
],
},
transformIgnorePatterns: ['node_modules/(?!.*\\.mjs$)'],
};
3 changes: 2 additions & 1 deletion packages/examples/tour-of-heroes/crisis-center/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"strict": true,
"target": "es2020"
"target": "es2022",
"useDefineForClassFields": false
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
},
"exclude": [
"src/test-setup.ts",
"**/*.spec.ts",
"**/*.test.ts",
"src/**/*.spec.ts",
"src/**/*.test.ts",
"jest.config.ts"
],
"include": ["**/*.ts"]
"include": ["src/**/*.ts"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"compilerOptions": {
"outDir": "../../../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
"types": ["jest", "node"],
"target": "es2016"
},
"files": ["src/test-setup.ts"],
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"]
"include": [
"src/**/*.spec.ts",
"src/**/*.test.ts",
"src/**/*.d.ts",
"jest.config.ts"
]
}
15 changes: 8 additions & 7 deletions packages/internal/test-util/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@ export default {
displayName: 'internal-test-util',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {
'ts-jest': {
stringifyContentPathRegex: '\\.(html|svg)$',
tsconfig: '<rootDir>/tsconfig.spec.json',
},
},
globals: {},
coverageDirectory: '../../../coverage/packages/internal/test-util',
snapshotSerializers: [
'jest-preset-angular/build/serializers/no-ng-attributes',
'jest-preset-angular/build/serializers/ng-snapshot',
'jest-preset-angular/build/serializers/html-comment',
],
transform: {
'^.+\\.(ts|mjs|js|html)$': 'jest-preset-angular',
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
{
stringifyContentPathRegex: '\\.(html|svg)$',
tsconfig: '<rootDir>/tsconfig.spec.json',
},
],
},
transformIgnorePatterns: ['node_modules/(?!.*\\.mjs$)'],
};
2 changes: 1 addition & 1 deletion packages/internal/test-util/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"strict": true,
"target": "es2020"
"target": "es2022"
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
Expand Down
6 changes: 3 additions & 3 deletions packages/internal/test-util/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
},
"exclude": [
"src/test-setup.ts",
"**/*.spec.ts",
"**/*.test.ts",
"src/**/*.spec.ts",
"src/**/*.test.ts",
"jest.config.ts"
],
"include": ["**/*.ts"]
"include": ["src/**/*.ts"]
}
10 changes: 8 additions & 2 deletions packages/internal/test-util/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"compilerOptions": {
"outDir": "../../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
"types": ["jest", "node"],
"target": "es2016"
},
"files": ["src/test-setup.ts"],
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"]
"include": [
"src/**/*.spec.ts",
"src/**/*.test.ts",
"src/**/*.d.ts",
"jest.config.ts"
]
}
4 changes: 2 additions & 2 deletions packages/spectacular-docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ module.exports = {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/ngworker/ngworker/edit/main/packages/spectacular-docs',
lastVersion: 'current',
lastVersion: '14.1',
versions: {
current: {
label: '14.1',
label: '15.0 (next)',
},
},
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'API'

0 comments on commit 87cae4a

Please sign in to comment.