Skip to content

Commit

Permalink
feat: update to Angular 17
Browse files Browse the repository at this point in the history
  • Loading branch information
justindujardin committed Feb 9, 2024
2 parents ccaf995 + b1a3ad8 commit d3c2dc2
Show file tree
Hide file tree
Showing 215 changed files with 28,645 additions and 29,116 deletions.
18 changes: 0 additions & 18 deletions .browserslistrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v1
Expand Down
9 changes: 6 additions & 3 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ const { merge } = require("webpack-merge");
const SpriteSheetPlugin = require("../src/webpack/sprite-sheet-plugin");

module.exports = {
framework: "@storybook/angular",
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.ts"],
addons: ["@storybook/addon-links", "@storybook/addon-essentials"],
core: {
builder: "webpack5",
},

webpackFinal: async (config, { configType }) => {
// `configType` has a value of 'DEVELOPMENT' or 'PRODUCTION'
// You can change the configuration based on that.
Expand All @@ -21,4 +20,8 @@ module.exports = {
],
});
},

docs: {
autodocs: true
}
};
20 changes: 19 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular-rpg:build"
"buildTarget": "angular-rpg:build"
}
},
"test": {
Expand All @@ -107,6 +107,24 @@
"devServerTarget": "angular-rpg:serve:production"
}
}
},
"storybook": {
"builder": "@storybook/angular:start-storybook",
"options": {
"configDir": ".storybook",
"browserTarget": "angular-rpg:build",
"compodoc": false,
"port": 6006
}
},
"build-storybook": {
"builder": "@storybook/angular:build-storybook",
"options": {
"configDir": ".storybook",
"browserTarget": "angular-rpg:build",
"compodoc": false,
"outputDir": "storybook-static"
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion e2e/protractor.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ exports.config = {
spec: {
displayStacktrace: StacktraceOption.PRETTY,
},
})
}),
);
},
};
2 changes: 1 addition & 1 deletion e2e/src/app.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('workspace-project App', () => {
expect(logs).not.toContain(
jasmine.objectContaining({
level: logging.Level.SEVERE,
} as logging.Entry)
} as logging.Entry),
);
});
});

0 comments on commit d3c2dc2

Please sign in to comment.