This repository was archived by the owner on Sep 21, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Convert to vite build #188
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d3cb348
v5.12.0...v6.6.0
locks 519e75e
run format with template single quote active
locks 434b34f
ember-vite-codemod
locks 21a47a8
run vite codemod
locks 47f23e6
add missing dependencies
locks acb2a8e
fix missing icons
locks 5cfed49
format codebase
locks 5f615de
fix eslint configuration
locks 24b5d09
cache banned cards
locks af25195
Use pnpm version specified in package.json in CI
locks 8b9e44c
remove FFG icon from navbar
locks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,16 @@ | ||
| # unconventional js | ||
| /blueprints/*/files/ | ||
|
|
||
| # vendored bootstrap CSS | ||
| /public/vendor/bootstrap.css | ||
|
|
||
| # compiled output | ||
| /dist/ | ||
|
|
||
| # misc | ||
| /coverage/ | ||
| !.* | ||
| .*/ | ||
|
|
||
| # ember-try | ||
| /.node_modules.ember-try/ | ||
| /pnpm-lock.yaml | ||
| ember-cli-update.json | ||
| *.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,8 @@ | ||
| # unconventional files | ||
| /blueprints/*/files/ | ||
|
|
||
| # vendored bootstrap CSS | ||
| /public/vendor/bootstrap.css | ||
|
|
||
| # compiled output | ||
| /dist/ | ||
|
|
||
| # addons | ||
| /.node_modules.ember-try/ | ||
|
|
||
| # vendor | ||
| public/vendor/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,20 @@ | ||
| import Application from '@ember/application'; | ||
| import Resolver from 'ember-resolver'; | ||
| import loadInitializers from 'ember-load-initializers'; | ||
| import config from 'netrunnerdb/config/environment'; | ||
| import config from './config/environment'; | ||
| import './font-awesome'; // Add this import statement for Font Awesome setup | ||
| import { importSync, isDevelopingApp, macroCondition } from '@embroider/macros'; | ||
|
|
||
| import compatModules from '@embroider/virtual/compat-modules'; | ||
|
|
||
| if (macroCondition(isDevelopingApp())) { | ||
| importSync('./deprecation-workflow'); | ||
| } | ||
|
|
||
| export default class App extends Application { | ||
| modulePrefix = config.modulePrefix; | ||
| podModulePrefix = config.podModulePrefix; | ||
| Resolver = Resolver; | ||
| Resolver = Resolver.withModules(compatModules); | ||
| } | ||
|
|
||
| loadInitializers(App, config.modulePrefix); | ||
| loadInitializers(App, config.modulePrefix, compatModules); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| import loadConfigFromMeta from '@embroider/config-meta-loader'; | ||
|
|
||
| export default loadConfigFromMeta('netrunnerdb'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| import setupDeprecationWorkflow from 'ember-cli-deprecation-workflow'; | ||
|
|
||
| /** | ||
| * Docs: https://github.com/ember-cli/ember-cli-deprecation-workflow | ||
| */ | ||
| setupDeprecationWorkflow({ | ||
| /** | ||
| false by default, but if a developer / team wants to be more aggressive about being proactive with | ||
| handling their deprecations, this should be set to "true" | ||
| */ | ||
| throwOnUnhandled: false, | ||
| workflow: [ | ||
| /* ... handlers ... */ | ||
| /* to generate this list, run your app for a while (or run the test suite), | ||
| * and then run in the browser console: | ||
| * | ||
| * deprecationWorkflow.flushDeprecations() | ||
| * | ||
| * And copy the handlers here | ||
| */ | ||
| /* example: */ | ||
| /* { handler: 'silence', matchId: 'template-action' }, */ | ||
| ], | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.